mkinit

Auto-generate explicit readable __init__.py files without `import *`

APACHE-2.0 License

Downloads
4.4K
Stars
68
Committers
3
mkinit - Version: 1.1.0 Latest Release

Published by Erotemic 9 months ago

Version: 1.1.0 Released 2024-01-17

Added

  • Added --lazy_loader_typed option, #40.

  • Initial support for Python 3.12

Removed

  • Removed support for Python 3.6

Changed

  • Code cleanup

  • Workaround Python 3.12 tokenize changes - new format strings may not be supported yet.

Fixed

  • Extra newlines in generated files

What's Changed

New Contributors

Full Changelog: https://github.com/Erotemic/mkinit/compare/v1.0.0...v1.1.0

mkinit - Version 1.0.0

Published by Erotemic almost 2 years ago

Added

  • Can now specify "*" in __submodules__ to pattern match on available submodules.
  • Added --lazy_loader option to use the lazy_loader package for reduced boilerplate.

Fixed

  • GH Issue #14: async functions are now handled correctly
  • Issue with EAGER_IMPORT

Changed

  • The CLI now errors on unknown arguments unless the MKINIT_ARGPARSE_LOOSE environ is et.
  • Drop support for Python 2.7 and 3.5
  • Vendored in orderedset
  • Can now detect other existing names in the file and insert them into __all__
mkinit - Version 0.3.4

Published by Erotemic almost 3 years ago

Fixed

  • GH Issue #14: async functions are now handled correctly
mkinit -

Published by Erotemic over 3 years ago

mkinit -

Published by Erotemic over 3 years ago

Package Rankings
Top 7.11% on Pypi.org