makecite
Generate latex + bibtex citation commands by looking at what packages are imported in your Python code.
Installation
The recommended installation procedure is to use pip:
pip install makecite
To install the development version, you can pip install directly from this
GitHub repository with:
pip install git+https://github.com/adrn/makecite
Examples
Get bibtex records for packages used in a single script, and store to a .bib file in the current working directory:
makecite my_script.py
Get bibtex records for packages used in all .py scripts in the current directory and store to a .bib file called "software_refs.bib":
makecite --ext=.py -o software_refs.bib .
Get bibtex records for packages used in all .py scripts and IPython notebook, .ipynb, files in two paths my_code and my_notebooks:
makecite --ext=.py --ext=.ipynb my_code my_notebooks
Get bibtex records for packages used in all .py scripts in the current directory and output a AAS journals \software{} tag:
makecite --ext=.py --aas .
Citing this script
If you use this script, please consider citing our Zenodo record:
@misc{makecite:2018,
author = {Adrian Price-Whelan and
Alexandar Mechev and
jumeroag},
title = {adrn/makecite: v0.1},
month = aug,
year = 2018,
doi = {10.5281/zenodo.1343295},
url = {https://doi.org/10.5281/zenodo.1343295}
}
License
Copyright 2018 the developers.
makecite is free software made available under the MIT License. For details
see the LICENSE file.
Metadata
Release files for makecite 0.5
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 |
|---|---|---|---|---|
| makecite-0.5.tar.gz | 14.0 kB | Without provenance | Details for makecite-0.5.tar.gz |
Release files / makecite-0.5.tar.gz
| Download URL | makecite-0.5.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1609f9675e95a10e7536b0423bf637fd1e126db091fa6d157b45f8c9429513d
|
|
BLAKE2b-256 checksum How to use checksums |
9f4ff65f6db8c06c05dafcec49655cbb7d39b1a5e968270eff6e4558e210886d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for makecite 0.5
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.