REST WebService for GuessIt
GuessIt is a python library that extracts as much information as possible from a video filename.
This is the REST WebService for GuessIt.
Install with pip
Python package is available on PyPI.
$ pip install guessit-rest
Then run guessit rest API using entry point.
$ guessit-rest
Install from sources
$ git clone https://github.com/guessit-io/guessit-rest
$ cd guessit-rest
Then configure a virtualenv with pyenv or any virtualenv manager you may like.
$ pyenv virtualenv ...
Then install dependencies in the virtualenv.
$ pip install -e .
Then run guessit rest API using main module.
$ python guessitrest
Run with Docker
An automated build is available at Docker Hub.
$ docker run -p 5000:80 -it guessit/guessit-rest
Usage
Connect your browser to http://localhost:5000/?filename=test.avi
API Documentation is available on Swagger UI
A test server is available on https://api.guessit.io. This server has a small API rate limit, so if you really need a GuessIt REST API, you have to host it on your own server.
usage: guessitrest [-h] [-l LISTENING_ADRESS] [-p LISTENING_PORT]
optional arguments:
-h, --help show this help message and exit
-l LISTENING_ADRESS, --listening-adress LISTENING_ADRESS
Listening IP Adress of the HTTP Server.
-p LISTENING_PORT, --listening-port LISTENING_PORT
Listening TCP Port of the HTTP Server.
flask-restful
This project currently use a fork of flask-restful. See flask-restful/flask-restful#645.
As a workaround, we use a copy of the forked flask-restul module to make it available from sources.
You can still run REST API with original flask-restful, but using POST with multiple filenames on `/list/` resource is broken.
License
GuessIt is licensed under the LGPLv3 license.
Metadata
Release files for guessit-rest 2.1.2
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 |
|---|---|---|---|---|
| guessit-rest-2.1.2.tar.gz | 13.6 kB | Without provenance | Details for guessit-rest-2.1.2.tar.gz |
Release files / guessit-rest-2.1.2.tar.gz
| Download URL | guessit-rest-2.1.2.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c943d783a9750b51c6e72d19269f65c084a31875862bab72b182cd8a4bb1a27a
|
|
BLAKE2b-256 checksum How to use checksums |
24bf89ebd21ba773ce561951771aeb7ccc195b44533399fcec1d87e8f667f277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for guessit-rest 2.1.2
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.