Skip to main content

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')

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ImageThief-2.0.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ImageThief-2.0.3-py2-none-any.whl (3.6 kB view details)

Uploaded Python 2

File details

Details for the file ImageThief-2.0.3.tar.gz.

File metadata

  • Download URL: ImageThief-2.0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ImageThief-2.0.3.tar.gz
Algorithm Hash digest
SHA256 6f70e67cb8cba5117320f502614a706da2c056158f70869367b276d55c3e40e0
MD5 b12596578dcb623b98ecb04080a80678
BLAKE2b-256 e35d8dc20ce1d9ea273f60df3db2e5db44abd9b1c97e041467497b444d5f7319

See more details on using hashes here.

File details

Details for the file ImageThief-2.0.3-py2-none-any.whl.

File metadata

  • Download URL: ImageThief-2.0.3-py2-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for ImageThief-2.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 6b878346e272d9ff5dd3afbafe96d8b3125d41e1dbfcf24ec4aec7cd4c0d7546
MD5 fc6696fa55b63b83907120d8001258a2
BLAKE2b-256 455b1100dcc67f874bff88cf3f5160d34949b91369cbd09951fb84e6229d112e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.3 This release

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.1.0

2 files

1.0.1

2 files

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