Skip to main content

Linting and structural checking for python-packages

Project description

TestStatus PyPiStatus BlackStyle BlackPackStyle MITLicenseBadge

BlackPackLogo

BlackPackStyle

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

black_pack-0.1.16-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for black_pack-0.1.16.tar.gz
Algorithm Hash digest
SHA256 b8b1204638999dac7de5b4dcc0d82efd2e49057887c8c592d60228becf7d2a88
MD5 c3be313fe2327fd27426d2472485a993
BLAKE2b-256 d064079bd992b4e9a3449d6053385eefc821641fd172f031a5e8a86a15c0faa6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for black_pack-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 459c037df168c2f1c657fe9d49629a19ba33763b176fa0f0d7a758fdc71c267b
MD5 ce50d5669d07888ea3cd592d4ea9c03d
BLAKE2b-256 ba88fe3bf22428191aaeb7ddb09f7d2c9e99d9250d2a5413703a378a277f1630

See more details on using hashes here.

Supported by

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