Skip to content

a python library example with well-know tools and best practices of software engineer

Notifications You must be signed in to change notification settings

arnaldog12/python-library

Repository files navigation

python-library

a python library example with well-know tools and best practices of software engineer

features and tools

  • poetry for requirements management

setup

$ poetry new my-library
$ poetry add numpy Pillow "typer[all]"
$ poetry add --group dev black isort pytest pylint flake8 ruff mypy interrogate pre-commit "bandit[toml]" types-Pillow
$ pre-commmit install --install-hooks

build

$ poetry build
$ pip install dist/my_library-0.1.0-py3-none-any.whl

library will be in dist folder

CLI

$ my-library bright ~/Documents/image.jpg 100 --output-path ~/Documents/bright.jpg
$ my-library crop ~/Documents/image.jpg 150 150 500 500 ~/Documents/crop.jpg

About

a python library example with well-know tools and best practices of software engineer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published