Skip to main content

Automatically create citations for packages

Project description

citepy

Python 3.7+

Easily cite software packages using their package repository URL.

Installation

pip install citepy

Usage

usage: citepy [-h] [--all] [--repo REPO] [--with_version WITH_VERSION]
              [--output OUTPUT] [--format FORMAT] [--threads THREADS]
              [package [package ...]]

positional arguments:
  package               names of python packages you want to cite

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 REPO           which package repository to use (default pypi)
  --with_version WITH_VERSION, -w WITH_VERSION
                        fetch data for a specific version, not what is
                        currently installed
  --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

Supported package repos

  • PyPI

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.1.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

citepy-0.1.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: citepy-0.1.1.tar.gz
  • Upload date:
  • Size: 10.6 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.1.1.tar.gz
Algorithm Hash digest
SHA256 1b15b552513a53006709696f20132a6bbe4abfc8c8617e15008e0f793cc76576
MD5 fdda9c844a24303811e679e65d47b487
BLAKE2b-256 43e9017423707f8e3ccbea313a804cf64a724e9bddf6677411fffef5b596de5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: citepy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea404fcc3ccd1bd48532ea8b867ec068276c70f3dce02439c27a88aa91314fb1
MD5 fe270b7010bce8b017e2050137a6cd48
BLAKE2b-256 38c498074b770729ae757561eb0399b9c99f6505f4829cf06a1b2452a291cbe6

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