Skip to main content

[![PyPI version](https://badge.fury.io/py/script2package.svg)](https://badge.fury.io/py/script2package)

script2package

script2package is a Python script which converts a single python script into a package which can then be installed via python setup.py install.

Usage: script2package script.py –base base_folder

To extend the flexibility of this package, you can enable setup options through providing setup.cfg if you so desire.

Installation

You can install this package via pip (pip install script2package) or python setup.py install.

Examples

A bootstrap example has been provided by running script2package script2package.py, which will produce a self contained version within the folder package.

A simple standalone example with no setup.cfg file is provided in Example/add/add.py with the generated package in Example/add/package.

Metadata

Release files for script2package 1.1.0

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

Source distribution (sdist)

Source distribution for script2package 1.1.0
File Size Uploaded Provenance Actions
script2package-1.1.0.tar.gz 2.6 kB Without provenance Details for script2package-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for script2package 1.1.0
File Interpreter ABI Platform Actions
script2package-1.1.0-py2-none-any.whl Python 2 none any Details for script2package-1.1.0-py2-none-any.whl

Total release size: 9.7 kB

Release files / script2package-1.1.0.tar.gz

Download URL script2package-1.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
75420d71faf15996751ed8541fdddf151e5dc59177a125dd50ddb53cb5aff55e
BLAKE2b-256 checksum
How to use checksums
a512284d2b7f3bcae4e1c41313b592f20c2f25a6ad72d882273eedb35597bed4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / script2package-1.1.0-py2-none-any.whl

Download URL script2package-1.1.0-py2-none-any.whl
Size 7.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
fdb404fb64052bfd040c2f91a4ed13138a89528741f67f802d290dc234ae00aa
BLAKE2b-256 checksum
How to use checksums
2dc0e2cb59ec226c5c7d13e295469e178718699fafd183459d7eacbe5f1672d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for script2package 1.1.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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

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