Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f6430ec
feat: prepare "contrib" area
jkowalleck Nov 26, 2025
a8a4190
feat: prepare "contrib" area
jkowalleck Nov 27, 2025
0e68f6e
feat: prepare "contrib" area
jkowalleck Nov 27, 2025
3c2ad7d
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
3947eb7
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
885d47e
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
bd37a9e
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
119690d
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
562049c
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
ef83a07
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
7d14191
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
b88d831
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
28b94a7
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
66d199c
feat: prepare "contrib" area
jkowalleck Nov 28, 2025
c1abdc3
feat: prep contrib
jkowalleck Nov 30, 2025
f8c43e6
feat: prepare "contrib" area
jkowalleck Nov 30, 2025
c0ca9bc
feat: prepare "contrib" area
jkowalleck Dec 1, 2025
be8d607
feat: prepare "contrib" area
jkowalleck Dec 1, 2025
840fbd4
feat: prepare "contrib" area
jkowalleck Dec 1, 2025
f61abe9
feat: prepare "contrib" area
jkowalleck Dec 1, 2025
5b98ab4
feat: prepare "contrib" area
jkowalleck Dec 1, 2025
07c2a70
feat: prepare "contrib" area
jkowalleck Dec 1, 2025
0e36aac
feat: prepare "contrib" area
jkowalleck Dec 1, 2025
bccb7e3
feat: prepare "contrib" area
jkowalleck Dec 1, 2025
ff0e11d
typos
jkowalleck Dec 2, 2025
9436747
typos
jkowalleck Dec 2, 2025
0d0443d
typos
jkowalleck Dec 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: prepare "contrib" area
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Nov 28, 2025
commit 3947eb7a7fa34fcdb8b08c338b40e096624ba211
5 changes: 5 additions & 0 deletions cyclonedx/__test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .builder.this import this_tool as o
from .contrib.this import this_tool as n

a = o()
b = n()
24 changes: 11 additions & 13 deletions cyclonedx/builder/this.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,28 @@

"""Representation of this very python library."""

from ..contrib.this import this_tool as _this_tool, this_component as _this_component
__all__ = ['this_component', 'this_tool', ]

from ..contrib.this import this_component as _this_component, this_tool as _this_tool

# endregion deprecated re-export

this_component = _this_component
"""
Alias of :func:`cyclonedx..contrib.this.this_component`.

This re-export location is deprecated.
Use ``from ...contrib.this import this_component`` instead.
The exported symbol itself is NOT deprecated - only this import path.
"""Deprecated — Alias of :func:`cyclonedx.contrib.this.this_component`.

.. deprecated:: next
This re-export location is deprecated.
Use ``from cyclonedx.contrib.this import this_component`` instead.
The exported symbol itself is NOT deprecated - only this import path.
"""

this_tool = _this_tool
"""
Alias of :func:`cyclonedx..contrib.this.this_tool`.

This re-export location is deprecated.
Use ``from ...contrib.this import this_tool`` instead.
The exported symbol itself is NOT deprecated - only this import path.
"""Deprecated — Alias of :func:`cyclonedx.contrib.this.this_tool`.

.. deprecated:: next
This re-export location is deprecated.
Use ``from cyclonedx.contrib.this import this_tool`` instead.
The exported symbol itself is NOT deprecated - only this import path.
"""

# endregion deprecated re-export
1 change: 0 additions & 1 deletion cyclonedx/contrib/this.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# This file is part of CycloneDX Python Library
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
12 changes: 6 additions & 6 deletions cyclonedx/factory/license.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.

__all__ = ['LicenseFactory']

from ..contrib.license import LicenseFactory as _LicenseFactory

# region deprecated re-export

LicenseFactory = _LicenseFactory
"""
Alias of :class:`cyclonedx.contrib.license.LicenseFactory`.

This re-export location is deprecated.
Use ``from ...contrib.license import LicenseFactory`` instead.
The exported symbol itself is NOT deprecated - only this import path.
"""Deprecated — Alias of :class:`cyclonedx.contrib.license.LicenseFactory`.

.. deprecated:: next
This re-export location is deprecated.
Use ``from cyclonedx.contrib.license import LicenseFactory`` instead.
The exported symbol itself is NOT deprecated - only this import path.
"""

# endregion deprecated re-export