Skip to main content

os-docid

Build Status codecov PyPI - Python Version PyPI

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.

Metadata

Release files for os-docid 0.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for os-docid 0.5.7
File Size Uploaded Provenance Actions
os-docid-0.5.7.tar.gz 6.5 kB Without provenance Details for os-docid-0.5.7.tar.gz

Release files / os-docid-0.5.7.tar.gz

Download URL os-docid-0.5.7.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7e029753f4bec6b855284408a66a43361790334f68bb9bc5d9cad6b8a983aa5c
BLAKE2b-256 checksum
How to use checksums
ded2a2993b3e7838c6674ef85e6e6fc4fc2fee22de2fa3adff391eb7edc4c750
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for os-docid 0.5.7

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.

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