Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Requirements-only PyPI-compatible server

Project description

The build-friendly PyPI fake.


reqpi is a server that can pretend to be a PyPI clone, but is optimized to be friendy to be a build system. It creates ad-hoc end-points which serve an extremely limited subset of PyPI.


$ twistd reqpi --http $PORT
$ url=`python -m reqpi gethash --url http://localhost:2000/ requirements.txt`
$ pip install --index-url $url requirements.txt

This will make sure that if requirements.txt is incomplete, the build will fail, rather than getting the latest version of the dependency that is missing.

The URL should also work with other things that access PyPI, like PEX or Pants. For appropriate ways to get those systems to access the ad-hoc URL, refer to the package documentation.


If you would like to contribute code to this project you can do so through GitHub by forking the repository and sending a pull request.

When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible. Please also make sure your code is correct by running tox.

Before your code can be accepted into the project you must also sign the Individual Contributor License Agreement (CLA)


Thanks to our employer, Square, for sponsoring the time for us to write this.


Copyright 2015 Square Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
reqpi-0.0.1-py2-none-any.whl (17.9 kB) Copy SHA256 hash SHA256 Wheel 2.7 Dec 16, 2015 (34.9 kB) Copy SHA256 hash SHA256 Source None Dec 16, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page