How to use:
from torcello import Tor
from threading import Thread
def do_something():
tor = Tor()
for one in range(5):
response = tor.get('http://domain-name.com')
print('Hooray, here is desired data: %s' % response.text)
tor.new_ip()
tor.destroy()
for incident in range(5):
Thread(target=do_something).start()
also try it as rotating proxy:
from time import sleep
from torcello import Tor
from threading import Thread
for one in range(12):
Thread(target=Tor).start()
while len(Tor.order) < 10:
print('Waiting for tor, %s tor instances is ready' % len(Tor.order))
sleep(5)
for incident in range(20):
response = Tor.first().get('http://domain-name')
print('Hooray, here is desired data: %s' % response.text)
while not Tor.next_tor():
sleep(1)
# Delete all instances and close all Tor daemons
Tor.clean()
Metadata
Release files for Torcello 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Torcello-0.3.1.tar.gz | 4.9 kB | Without provenance | Details for Torcello-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Torcello-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for Torcello-0.3.1-py3-none-any.whl |
Total release size: 10.1 kB
Release files / Torcello-0.3.1.tar.gz
| Download URL | Torcello-0.3.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de81373c6d91857a5670f887820ef51dc955387bb5d162c703dd9aa5b21af2d0
|
|
BLAKE2b-256 checksum How to use checksums |
3e603fc7b4ce3da24aacbd1efd30b9a3fab894a48b31597c08e9e199fdc0f61a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3
|
Release files / Torcello-0.3.1-py3-none-any.whl
| Download URL | Torcello-0.3.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ad7ab14362306efab767ced5583b19de414a867845e499b71fba4845ff6733a
|
|
BLAKE2b-256 checksum How to use checksums |
941fbcb19fc7eb46eca644207d62374a7dbdc24904f9def445af55b13dc0290b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3
|
Security for Torcello 0.3.1
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.