IMAGE THIEF
This is a python library for capturing files over default route (http://0.0.0.0)
Functions:
Capture files from raspberryPi and access on your system.
Capture files on one system and access on other.
Installation :
Python
python -m pip install imagethief --user
Server Demo:
from ImageThief import Thief
app = Thief(name=__name__)
app.add_plan('/image','image')
app.add_plan('/audio','audio')
app.steal()
Client Demo:
from requests import get
from ImageThief import Decoder as fileSaver
url = 'http://localhost:5000'
plan = '/audio'
a = get(url + plan, headers={'Ext': '.mp3', 'filename': 'sampa.mp3'}).json()
secondfile = 'some.mp3'
if a['message'] == 'OK':
fileSaver(a['data'], secondfile)
print('File Saved with name ' + secondfile)
else:
print('Error')
Metadata
Release files for ImageThief 2.0.3
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 | |
|---|---|---|---|---|
| ImageThief-2.0.3.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ImageThief-2.0.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.3 kB
Release files / ImageThief-2.0.3.tar.gz
| Download URL | ImageThief-2.0.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f70e67cb8cba5117320f502614a706da2c056158f70869367b276d55c3e40e0
|
|
BLAKE2b-256 checksum How to use checksums |
e35d8dc20ce1d9ea273f60df3db2e5db44abd9b1c97e041467497b444d5f7319
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
|
Release files / ImageThief-2.0.3-py2-none-any.whl
| Download URL | ImageThief-2.0.3-py2-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
6b878346e272d9ff5dd3afbafe96d8b3125d41e1dbfcf24ec4aec7cd4c0d7546
|
|
BLAKE2b-256 checksum How to use checksums |
455b1100dcc67f874bff88cf3f5160d34949b91369cbd09951fb84e6229d112e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
|
Security for ImageThief 2.0.3
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.