Skip to main content

Linting and structural checking for python-packages

Project description

TestStatus PyPiStatus BlackStyle

BlackPackLogo

PackStyleBlack

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

black_pack-0.1.3.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

black_pack-0.1.3-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file black_pack-0.1.3.tar.gz.

File metadata

  • Download URL: black_pack-0.1.3.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for black_pack-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cfa75ae1e22a38d0ec9616d62df212d9c8cdf42a98f068460f0c6bf5a66c508e
MD5 b5d20100bf81c4b37fc3832ffbfb1f8c
BLAKE2b-256 5feb219f15bd57b34a415e36facdf6c65dcdb9ced7fa2c367ffa23a31f5d800c

See more details on using hashes here.

File details

Details for the file black_pack-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: black_pack-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for black_pack-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f75c6d426949373c292e3cb064f3e5cc8385508f2c6c6232bee361212196b416
MD5 749dc2273eb74d7b7e1e1f1633beec9d
BLAKE2b-256 b1a563193f23c789de8f13497fe663a38c0f9c8026a5222a2b15ea9fa5074ccf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page