Module Overview:
This module will interact with Tor to get real time statistical and analytical information.
Usages-
from dnaApi import dna
dna.authenticate()
Functionality-
|-is_alive - check tor process is alive or killed.
|-is_valid_ipv4_address-check for valid ip address.
|-authenticate- cookie authentication of control port.
|-get_version- get version of tor.
|-get_pid- find pid of tor service.
|-get_info- get information like version,exit policy,network status etc.
|-set_conf- change the value of one or more configurable variable.
|-reset_conf-set the configurable variable to default values.
|-get_conf- Request the value of zero or more configuration variable.
|-get_ports- retreive informations about listeners of different ports.
|-get_network_statuses- Router status info (v3 directory style) for all ORs.
|-get_exit_policy-The default exit policy lines that Tor will append to the ExitPolicy config option.
|-prt_check-check validity of ports.
|-can_exit_to- check whether one can exit through a particular port.
|-get_circuit- get information about circuits present for use.
|-port_usage-Usage of particular port.
|-get_info_relay- retrieve information from database about a particular relay.
|-status-tell status of a circuit BUILT or not.
|-build_flag- build flag on circuit and relays.
|-path- return path of circuit.
|-created- circuit created info.
|-signal-signal control port like NEWNYM,RELOAD etc.
|-get_fingerprint-the contents of the fingerprint file that Tor writes as a relay, or a 551 if we're not a relay currently.
|-get_network_status-network status of a relay with given fingerprint.
Metadata
Release files for dnaApi 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dnaApi-0.2.5.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dnaApi-0.2.5-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 5.0 kB
Release files / dnaApi-0.2.5.tar.gz
| Download URL | dnaApi-0.2.5.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81411e639824e78cdebf8e0e07d26cff9196de2e387da0de469a7efb75eedd5f
|
|
BLAKE2b-256 checksum How to use checksums |
f8e07fdaf2e09466750fb8fbd62aaeeaae270bcd2617e4a605365a6a58fdb4a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
|
Release files / dnaApi-0.2.5-py2-none-any.whl
| Download URL | dnaApi-0.2.5-py2-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
215a747b7ffbecfd6224171d82678a6784e26e2712398557f9749b23a26ae180
|
|
BLAKE2b-256 checksum How to use checksums |
9ff9be8cb573c4e663e41a7a2f14c9393728b17f45e7ad52f55f3ab3ba93dc51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
|