Skip to main content
Carmen
------

.. image:: images/carmen_sandiego.jpg
:height: 100px
:width: 120 px
:scale: 50 %
:alt: alternate text
:align: right

.. image:: https://img.shields.io/pypi/v/carmen.svg
:target: https://pypi.python.org/pypi/carmen
:alt: Latest PyPI version

.. image:: https://travis-ci.org/mark-hoffmann/carmen.png
:target: https://travis-ci.org/mark-hoffmann/carmen
:alt: Latest Travis CI build status

.. image:: https://codecov.io/gh/mark-hoffmann/carmen/branch/master/graph/badge.svg
:target: https://codecov.io/gh/mark-hoffmann/carmen
:alt: Coverage

Carmen is a tool for proxying programmatic HTTP requests. It finds a list of free proxy servers and routes your request traffic randomly, making everyone ask the question "Where in the world [is Carmen SanDiego] are my network requests coming from?"

This can be useful for webcrawlers where sites block bots after only a few requests.

**Disclaimer: Please use responsibily. Writing a large scale scraper can have detrimental effects on a websites performance and can cost a company a lot of money. DO NOT use this maliciously. Remember, with great power comes great responsibility. **

Installation
------------

Carmen can easily be downloaded straight from github via the following:

.. code-block:: python

pip install carmenproxy


Usage
-----

This package connects to 'https://www.sslproxies.org/' and finds free available proxies to then cycle through, discarding those that do not initially work.

To use Carmen, simply instantiate the ProxyRotator object, get the available proxies and pass your url into the *make_request* method. You are then returned a Response object.

.. code-block:: python

from carmenproxy import ProxyRotator

pr = ProxyRotator()
pr.get_proxies()

r = pr.make_request('http://url.com')

r.read()


Requirements
^^^^^^^^^^^^
- bs4
- `fake-useragent <https://github.com/hellysmile/fake-useragent>`_



Compatibility
-------------

carmenproxy currently supports Python 3.6

Licence
-------

`MIT <https://github.com/mark-hoffmann/carmenproxy/blob/master/LICENSE.txt>`_

Authors
-------

`carmenproxy` was written by `Mark Hoffmann <markkhoffmann@gmail.com>`_.


Metadata

Release files for carmenproxy 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 carmenproxy 0.1.0
File Size Uploaded Provenance Actions
carmenproxy-0.1.0.tar.gz 3.2 kB Without provenance Details for carmenproxy-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for carmenproxy 0.1.0
File Interpreter ABI Platform Actions
carmenproxy-0.1.0-py3-none-any.whl Python 3 none any Details for carmenproxy-0.1.0-py3-none-any.whl

Total release size: 8.9 kB

Release files / carmenproxy-0.1.0.tar.gz

Download URL carmenproxy-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8b8c37252b2415a267f822216b7580cc82a61442c77d9a62b43ae188a3042908
BLAKE2b-256 checksum
How to use checksums
34026af291a10fa75a1b05af53ed8476070c8b910e59146642ecba7b4bd03311
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / carmenproxy-0.1.0-py3-none-any.whl

Download URL carmenproxy-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50123a3833168ddb5bed3a2a52101539a6ac1c8c63713dd20a3174b98e1072ab
BLAKE2b-256 checksum
How to use checksums
6e6f7d1713c76bf0e0292b1e2ebe2fe10900f842d4c4bed040199b507927d469
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for carmenproxy 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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