Skip to main content

Simple image uploader

Project description

About

Microservice for uploading all insecure images to Imgur by url.

Use Redis as cache backend and metadata storage.

Installation

From PyPI:

pip install imgtohttps

From GitHub:

git clone https://github.com/Orhideous/imgtohttps.git

Usage

Request:

curl -X POST -H "Content-Type: application/json" -d '{"url": "http://example.com/image.png"}' http://localhost:5000

Response:

{"url": "https://i.imgur.com/AxQwu0h.png"}

Error:

{"error": "Some error message"}

Project details


Download files

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

Source Distribution

imgtohttps-0.3.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

imgtohttps-0.3-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file imgtohttps-0.3.tar.gz.

File metadata

  • Download URL: imgtohttps-0.3.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for imgtohttps-0.3.tar.gz
Algorithm Hash digest
SHA256 5abdbdd7ba1ba26020d94be98a19bdb4f5b455ef61c84ae8ad731e26b3c72387
MD5 b637c11c9518710d1a44d47bb8473f60
BLAKE2b-256 558e52760c11aad6e754c80786dfb87b1b10eb2f43675c91bdf903a1f452b80f

See more details on using hashes here.

File details

Details for the file imgtohttps-0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for imgtohttps-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eb5dfc14c493907486a99fc3288d6899f9326726166ed332ff9b515f34c96086
MD5 39b4f5fa29ae21f9c1e012f538677ea4
BLAKE2b-256 584013771caace4502369b6ec1592bad4c56eb6ca952d7507ec038b4f9f10e9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page