2.1.0 (2024-06-16)
No significant changes.
- Bumped dependencies.
No significant changes.
No significant changes.
- Allow defining entry points implicitly (without providing the
__name__
). The name will instead be fetched from the__module__
of the function provided. (#69)
entrypoint
now usesnamed
andtyping-aliases
under the hood.
entrypoint
now usesattrs
under the hood.
-
Main
type alias is now exported fromentrypoint
:Main = Nullary[None]
This ensures
main
functions do not take arguments and return nothing at type-checking time.
No significant changes.
No significant changes.
No significant changes.
No significant changes.
No significant changes.
No significant changes.
No significant changes.
entrypoint.py -> entrypoint
migration. (#20)
No significant changes.
No significant changes.
- Add documentation.
No significant changes.
Initial stable release.
No significant changes.
-
Exported the following constant:
MAIN = "__main__"
MAIN
can be used to ensure entry points will always get called. (#11)
- Migrated from module to library layout. (#9)
No significant changes.
No significant changes.
No significant changes.
Initial release.