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/>`__.


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
packagebuilder-0.1.0.tar.gz 12.7 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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