Linting and structural checking for python-packages
Project description
Linting and structural checking for python-packages. Black-pack helps you to organize your python-package. Black-pack is very basic and not meant to support custom structures. Black-pack only checks if a python-package has a specific structure which the author thinks is ‘reasonable practice’ and which is now backed into black-pack. Black-pack is meant to help you keep your various python-packages in ‘reasonable’ shape with ease. The name ‘black-pack’ is becasue black-pack adopts parts of the mindset found in ‘black’.
Install
pip install black_pack
Usage on command-line
Check
black-pack check /path/to/my/python-package
Black-pack will print a list of errors to stdout when your package differs from black-pack’s backed in expectations.
Init
black-pack init /path/to/my/new/python-package
Will write an entire skeleton for your python-package (All directories and files). You can pass optional arguments to e.g. specify the package’s name.
Write
black-pack write /path/to/my/python-package .gitignore
Writes a single specific file, e.g. the .gitignore.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file black_pack-0.1.13.tar.gz
.
File metadata
- Download URL: black_pack-0.1.13.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 752f0933f13969e342253209d9fa624a6830ad1d0e366fbf70bf3014b3f11c2f |
|
MD5 | 19a6a034e5bfe64a3421b500803466b0 |
|
BLAKE2b-256 | 21c42a26382aa995c06dbd6aa928fc34fab3e447be107109e8a59f88119d72ee |
File details
Details for the file black_pack-0.1.13-py3-none-any.whl
.
File metadata
- Download URL: black_pack-0.1.13-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 792b58ecbada2371f53020ed92dad80256af0e7fbb5dc76db7aaa17800d8b8a7 |
|
MD5 | 91b519805a846cc780c37ebb18728490 |
|
BLAKE2b-256 | b53275fa846ad86e9662100c0b77b020fa71483ee03bede390923313e5c96387 |