Skip to main content
https://travis-ci.org/square/reqpi.svg?branch=master https://readthedocs.org/projects/reqpi/badge/?version=latest

The build-friendly PyPI fake.

Introduction

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.

Usage

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

Contributing

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)

Credits

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

License

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

http://www.apache.org/licenses/LICENSE-2.0

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.

Release files for reqpi 0.0.1

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

Source distribution (sdist)

Source distribution for reqpi 0.0.1
File Size Uploaded
reqpi-0.0.1.zip 34.9 kB Details

Built distribution (wheel)

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

Total release size: 52.8 kB

Release files / reqpi-0.0.1.zip

Download URL reqpi-0.0.1.zip
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4aad88f6ed88be6733bebeeb0b02ffa37db6909fa67bf1a419e89b16b054f4be
BLAKE2b-256 checksum
How to use checksums
3980ada38e26c48fbf95b854a5e2f51724393f3cff4b446374b4a555f8627088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / reqpi-0.0.1-py2-none-any.whl

Download URL reqpi-0.0.1-py2-none-any.whl
Size 17.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
e1849206d8204e7513ffbb3c4f380582137de67e807345905cf3a9a65b0a1cff
BLAKE2b-256 checksum
How to use checksums
9d610f1a8f49f9dcea7b92a840d270fb14ecd8edf3e7a8cedd2b7297f7f470ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 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