Skip to main content

Simple API proxy that uses Flask/requests/gunicorn.

Use cases

  • Centralize API requests - Sometimes only a specific IP can access APIs. Run Proxapy on that machine and access the API from everywhere.

  • Implement custom pre/post operation on API request/response - Fork the project, add routes and implement your changes. Common changes include content filtering, add authentication key header not known by the end user.

Usage

  1. Make sure you have virtualenv

  2. make run

  3. Visit http://<proxyhost>:<proxyport>/<API> to access http://<API>

By default <proxyhost> is bound to 0.0.0.0 and <proxyport> to 5000, so for example you could run Proxapy and then visit: http://localhost:5000/api.left-pad.io/?str=proxied&len=20

Metadata

Release files for proxapy 0.1.5

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

Source distribution (sdist)

Source distribution for proxapy 0.1.5
File Size Uploaded
proxapy-0.1.5.tar.gz 2.3 kB Details

Release files / proxapy-0.1.5.tar.gz

Download URL proxapy-0.1.5.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
221f040953c159ab11d82e00173527f241db58915cb799b251d212c3e6746431
BLAKE2b-256 checksum
How to use checksums
07891d1904328ce56722ac34c70be51d5158306a90f9c5f7d4668e2fccd1f5d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

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