Skip to main content

Automatically create citations for packages

Project description

citepy

Python 3.7+

Easily cite software libraries using information from automatically gathered from their package repository.

Installation

pip install citepy

Usage

usage: citepy [-h] [--all] [--repo {pypi,crates}] [--output OUTPUT]
              [--format FORMAT] [--threads THREADS] [--verbose]
              [--version VERSION]
              [package [package ...]]

positional arguments:
  package               names of python packages you want to cite, optionally
                        with (full) version string. e.g. numpy==1.16.3
                        beautifulsoup4==4.7.1

optional arguments:
  -h, --help            show this help message and exit
  --all, -a             if set, will get information for all python packages
                        accessible to `pip freeze`
  --repo {pypi,crates}, -r {pypi,crates}
                        which package repository to use (default pypi)
  --output OUTPUT, -o OUTPUT
                        path to write output to (default write to stdout)
  --format FORMAT, -f FORMAT
                        format to write out (default json)
  --threads THREADS, -t THREADS
                        how many threads to use to fetch data
  --verbose, -v         Increase verbosity of logging (can be repeated). One
                        for DEBUG, two for NOTSET, three includes all library
                        logging.
  --version VERSION     print version information and exit

Supported package repos

  • PyPI
  • crates.io

Supported output formats

  • CSL-data JSON

CSL-data can be converted into bibtex, HTML, or a plaintext bibliography using another tool, e.g. citation-js.

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

citepy-0.2.2.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

citepy-0.2.2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file citepy-0.2.2.tar.gz.

File metadata

  • Download URL: citepy-0.2.2.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for citepy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7c82087fcdcdc2b466020fed680167b31154d6cbdc038a989f3edbfb2e8a5816
MD5 785c8dddb2708ef66a9ae98897d52248
BLAKE2b-256 913a9e0c854f8a477dd90b1abcb77a871d569283f37e15df29c735252e3065b9

See more details on using hashes here.

File details

Details for the file citepy-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: citepy-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for citepy-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e5d129d7041dfd4c1bdd421572c6c8bd512db63ca997c6788f0265dc2adc844
MD5 74d8887020ccc7a6ede03cc04f93f907
BLAKE2b-256 2dd4a6beccbed96dddbc58085a6d2af4226f9bac6954cd21c412b25e2c2df41b

See more details on using hashes here.

Supported by

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