Opine
Most people either hand-write a setup.py, or crib one from someone else. Either
way, this usually results in not using the most recent features that can make
the job of a distro easier, such as putting the static parts in setup.cfg.
This is a kind of linter for packaging, that can suggest changes to your configuration in {setup.py, setup.cfg, pyproject.toml} for easier consumption by others.
A related project is honesty, whose job it is to make sure that your bdists appear built from the same revision with the same contents as your sdists are.
Usage
opine [-a] /path/to/root
This will run all suggestions and print a sequence of diffs. If you want to
apply the changes use -a.
Suggestions
- Move tox.ini to setup.cfg
- Move coverage.ini to setup.cfg
- Move static config from setup.py to setup.cfg
Status
Beta
License
opine is copyright Tim Hatch, and licensed under
the MIT license. I am providing code in this repository to you under an open
source license. This is my personal repository; the license you receive to
my code is from me and not from my employer. See the LICENSE file for details.
Metadata
Release files for opine 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opine-0.6.0.tar.gz | 10.7 kB | Without provenance | Details for opine-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opine-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for opine-0.6.0-py3-none-any.whl |
Total release size: 31.3 kB
Release files / opine-0.6.0.tar.gz
| Download URL | opine-0.6.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7201b36c4cac8f669c63fc2295b8f4b9a08fa23f663f312b00dff18be95a15a0
|
|
BLAKE2b-256 checksum How to use checksums |
155b81069ac991fc5aa6a6db36038b348f4cc469e1d956a00436f097579c58c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / opine-0.6.0-py3-none-any.whl
| Download URL | opine-0.6.0-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b215024332b9cf57677e1c69c77c3bc57159342ee6c43f485d18b129b4879ce
|
|
BLAKE2b-256 checksum How to use checksums |
278fb2b2e45aef5018cbffe9c9560b002199c26960c64dc23eae2192981ab531
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for opine 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.