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.2.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

black_pack-0.1.2-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: black_pack-0.1.2.tar.gz
  • Upload date:
  • Size: 27.0 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.2.tar.gz
Algorithm Hash digest
SHA256 e0a6d4d55697a8b1bd8db3bafc6860c6c1af85d8c7703f425a990c5b7ec34680
MD5 4bb192853a6785f163b32583318f202d
BLAKE2b-256 df339b7f819ed56e95f5e13d776135c03afd5852ea6cbe77b4b8811bb9e2a26d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: black_pack-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 28.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 663884d257c51d8c87a676cff23435a396cb02497d10591bf4456409e250cb29
MD5 b2230067b0fa73178410eafe9b4342b5
BLAKE2b-256 d3c2557f1f28943a0958f7eb39321548c99e5eff444a58f242273174f0f80e73

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