Skip to main content
===========================================================================================
packagebuilder: A library for building python packages into binary or source distributions.
===========================================================================================

.. image:: https://img.shields.io/pypi/v/packagebuilder.svg
:target: https://pypi.org/project/packagebuilder

.. image:: https://img.shields.io/pypi/l/packagebuilder.svg
:target: https://pypi.org/project/packagebuilder

.. image:: https://api.travis-ci.com/sarugaku/packagebuilder.svg?branch=master
:target: https://travis-ci.com/sarugaku/packagebuilder

.. image:: https://ci.appveyor.com/api/projects/status/y9kpdaqy4di5nhyk/branch/master?svg=true
:target: https://ci.appveyor.com/project/sarugaku/packagebuilder

.. image:: https://img.shields.io/pypi/pyversions/packagebuilder.svg
:target: https://pypi.org/project/packagebuilder

.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
:target: https://saythanks.io/to/techalchemy

.. image:: https://readthedocs.org/projects/packagebuilder/badge/?version=latest
:target: https://packagebuilder.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status


Summary
=======

Packagebuilder_ is a library designed for building packages. It takes `InstallRequirement`
objects as inputs and first attempts to build a wheel, but falls back to producing a
source distribution if necessary. Invocation is straightforward:

::

>>> import packagebuilder
>>> import pip_shims
>>> ireq = pip_shims.shims.InstallRequirement.from_line('vistir')
>>> builder = packagebuilder.BuiltDist(ireq, sources=packagebuilder.get_sources())
>>> dist = builder.build()
>>> dist.metadata.run_requires
['requests', 'six', 'backports.weakref; python_version < "3.3"', 'backports.shutil-get-terminal-size; python_version < "3.3"', 'pathlib2; python_version < "3.5"', "yaspin; extra == 'spinner'", "pytest; extra == 'tests'", "pytest-xdist; extra == 'tests'", "pytest-cov; extra == 'tests'", "pytest-timeout; extra == 'tests'", "hypothesis-fspaths; extra == 'tests'", "hypothesis; extra == 'tests'"]

`Read the documentation <https://packagebuilder.readthedocs.io/>`__.


Metadata

Release files for packagebuilder 0.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 packagebuilder 0.1.0
File Size Uploaded Provenance Actions
packagebuilder-0.1.0.tar.gz 12.7 kB Without provenance Details for packagebuilder-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for packagebuilder 0.1.0
File Interpreter ABI Platform Actions
packagebuilder-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for packagebuilder-0.1.0-py2.py3-none-any.whl

Total release size: 21.2 kB

Release files / packagebuilder-0.1.0.tar.gz

Download URL packagebuilder-0.1.0.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1e85c4e0e994322996b93cd6685c12834d30f3558889154f8e3de8fb1f3fd1e7
BLAKE2b-256 checksum
How to use checksums
f47d0457b6b2c9c73dfa7c4f4c5037fdd4bf98ad0183dc0a40f58436177e72f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Release files / packagebuilder-0.1.0-py2.py3-none-any.whl

Download URL packagebuilder-0.1.0-py2.py3-none-any.whl
Size 8.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
dc525d06ecd102db23ab421b879d7d27021d784ff933e33e8c411a53af5c9dbe
BLAKE2b-256 checksum
How to use checksums
a9a07fcb21fe9db29c14601b6cf5758c74c34c119faacef089faaf4b57b2778c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Security for packagebuilder 0.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

0.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