DocID for fun.
Project description
os-docid
DocID for fun.
Install
$ pip install os-docid
Usage
-
API
>>> from os_docid import docid >>> docid('http://www.google.com/') 1d5920f4b44b27a8-ed646a3334ca891f-ff90821feeb2b02a33a6f9fc8e5f3fcd >>> docid('1d5920f4b44b27a8-ed646a3334ca891f-ff90821feeb2b02a33a6f9fc8e5f3fcd') 1d5920f4b44b27a8-ed646a3334ca891f-ff90821feeb2b02a33a6f9fc8e5f3fcd >>> docid('1d5920f4b44b27a8ed646a3334ca891fff90821feeb2b02a33a6f9fc8e5f3fcd') 1d5920f4b44b27a8-ed646a3334ca891f-ff90821feeb2b02a33a6f9fc8e5f3fcd >>> docid('abc') NotImplementedError: Not supported data format
-
Command line
$ os-docid -h usage: os-docid [-h] [-v] [-f FILES [FILES ...]] Generate DocID. optional arguments: -h, --help show this help message and exit -v, --version show program's version number and exit -f FILES [FILES ...], --files FILES [FILES ...] files to be process (default: stdin)
Unit Tests
$ tox
License
MIT licensed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
os-docid-0.5.7.tar.gz
(6.5 kB
view details)
File details
Details for the file os-docid-0.5.7.tar.gz
.
File metadata
- Download URL: os-docid-0.5.7.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e029753f4bec6b855284408a66a43361790334f68bb9bc5d9cad6b8a983aa5c |
|
MD5 | adbf40d8819c86edc47daaed033f637d |
|
BLAKE2b-256 | ded2a2993b3e7838c6674ef85e6e6fc4fc2fee22de2fa3adff391eb7edc4c750 |