Ini2toml

Latest version: v0.15

Safety actively analyzes 702106 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.3

===========

- Removed dependency on ``typing_extensions`` for Python <= 3.8
- Removed dependency on ``dataclasses`` for Python <= 3.6
- Removed dependency on ``importlib-metadata`` for Python <= 3.8,
but only for minimal install
- ``setuptools`` plugin:
- Added support for ``cmdclass``

0.2

===========

- Improved support for writing inline dicts and inline AoTs in the generated TOML
- ``setuptools`` plugin:
- Added ``data-files`` support (although this option is marked as deprecated).
- Unified ``tool.setuptools.packages.find`` and ``tool.setuptools.packages.find-namespace``
options by adding a new keyword ``namespaces``
- ``tool.setuptools.packages.find.where`` is now associated with a list of directories
(instead of a single value).
- When not present in the original config file, ``include_package_data`` is
explicitly added with the ``False`` value.
- Fixed ``authors`` vs. ``maintainers`` mixing (now they are handled independently).
- Added dynamic option for ``readme`` (e.g. when multiple license files are combined).
- Reordered set of transformations (which includes making ``apply_value_processing`` the first one).
- Improved directive handling.
- Added deprecation warnings.

0.1

===========

- Adopt ``atoml>=1.1.0`` as a dependency and stabilise the list conversion.

0.0.3

=============

- Add validation tests via :pypi:`validate-pyproject`.
- Move ``setuptools.scripts`` to ``setuptools.script-files`` to avoid confusion
with the ``scripts`` field defined in :pep:`621`.
- Separate ``Translator`` and ``BaseTranslator`` classes.
This allows API users to call ``BaseTranslator`` directly with explicit
arguments and bypass the autodiscovery of drivers and plugins
(therefore reducing the amount of dependencies and files necessary when
*"vendorising"* ``ini2toml``).
- The type signature of ``BaseTranslator`` was made more flexible to allow
returning a :class:`dict` representing the TOML instead of a string.
- Add a ``plain_builtins`` driver.
The objective of this change is allowing the removal of the dependency on
:pypi:`atoml` or :pypi:`tomli-w` when using ``ini2toml`` as API only.
- Improve the choice of ``InlineTable`` vs. ``Table`` for the generated TOML
when using the ``full_toml`` adapter.
- Improve heuristic to remove superfluous empty tables in the generated TOML string.
- ``distutils.commands``-related sections in ``setup.cfg`` are now better
recognised and transferred to the ``tool.distutils`` table in the generated
TOML (previously they were placed under ``tool.setuptools.commands``).
The normalisation of the command names using ``kebab-case`` is no longer
performed.
- Prevent empty ``entry-points`` field to be kept in the TOML when separating
``scripts`` and ``gui-scripts``.
- ``version`` is now automatically added to ``dynamic`` if not provided.
- Fix ``find:`` directive to match :pypi:`validate-pyproject`.
Previously ``{find = ""}`` was generated, which now is converted to ``{find = {}}``.
- Add new helpers to the ``transformations`` library: ``deprecated`` and ``pipe``.
- Add new test derived from :pypi:`setuptools`'s docs directly.

0.0.2

=============

- Small improvements
- Documentation updates
- Fix virtualenv test example.

0.0.1

=============

- Initial release with basic functionalities

Page 4 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.