Skip to main content

A small utility to make alias distributions on PyPI.

Project description

A small utility to make alias distributions on PyPI.

It will create an “empty” package with a different name (the “alias”) that depends on the package in your current working directory.

  • Free software: BSD 2-Clause License


pip install pypi-alias

You can also install the in-development version with:

pip install


Make sure you run pypi-alias in a directory that has a file.


pypi-alias foobar sdist bdist_wheel
twine upload dist\foobar*


To use the project:

import pypi_alias


To run all the tests run:


Note, to combine the coverage data from all the tox environments run:


set PYTEST_ADDOPTS=--cov-append


PYTEST_ADDOPTS=--cov-append tox


1.0.0 (2021-04-08)

  • Added support for Python 3. Contributed by Emil Stenström in #5.

  • Dropped support for Python 2.

  • Switched to argparse and added the --version and --dirty arguments.

  • Added some light CI/testing.

0.2.0 (2015-06-18)

  • Fix regression in __main__.

0.1.0 (2015-06-18)

  • First release on PyPI.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypi-alias-1.0.0.tar.gz (12.5 kB view hashes)

Uploaded source

Built Distribution

pypi_alias-1.0.0-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page