Skip to main content

setup.py contains a function named setup.

When writing software that works with python packages it is very inconvenient to retrieve the package metadata from setup.py. This package makes it easy, just point it at setup.py and get a dict.

>>> import setupreader, json
>>> foo = setupreader.load('setup.py')
>>> print json.dumps(foo, indent=4)
{
    "description": "retrieve package specification from setup,py",
    "install_requires": [
        "setuptools",
        "mock"
    ],
    "zip_safe": false,
    "keywords": "",
    "packages": [],
    "classifiers": [],
    "entry_points": {
        "console_scripts": [
            "read-setup = setupreader:main"
        ]
    },
    "name": "setupreader",
    "license": "",
    "author": "Lars van de Kerkhof",
    "url": "",
    "include_package_data": true,
    "py_modules": [
        "setupreader"
    ],
    "long_description": "",
    "author_email": "lars@permanentmarkers.nl",
    "version": "0.0.1"
}

Metadata

Release files for setupreader 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for setupreader 0.0.3
File Size Uploaded Provenance Actions
setupreader-0.0.3.tar.gz 2.7 kB Without provenance Details for setupreader-0.0.3.tar.gz

Release files / setupreader-0.0.3.tar.gz

Download URL setupreader-0.0.3.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2dc388726e4842fc3a5095a2591d5bb49f4915c2d0d91e450302d803bcae9912
BLAKE2b-256 checksum
How to use checksums
97e7a5c3c4d31d67fc8aa8389a71b9c04e175b3b3c2e6ff7c42d2a17c78a5c74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for setupreader 0.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page