bids2cite
Create a citation file for a BIDS dataset.
Can also be used to update references, authors and add license to a dataset.
Installation
git clone https://github.com/Remi-Gau/bids2cite.git
cd bids2cite
pip install .
For developers
pip install .[dev]
Basic tests can be run with:
make test
make test-cli
Usage
The most basic usage is:
bids2cite path_to_bids_dataset
An example of call with all the options:
bids2cite "tests/bids" \
--keywords "foo, bar, me" \
--description "this is the description of my dataset" \
--authors_file "inputs/authors.tsv" \
--skip-prompt false \
--verbosity INFO
--keywords and --description allow you to pass keywords and description to
add to the citation file.
--skip-prompt is set to false (default) to prompt you for information to add
to the citation file.
--authors_file points to a TSV file containing potential authors to add
citation file. This can be useful if you need to have a single file to keep
track of several lab members and only pick the relevant ones to add to a given
dataset.
This TSV file must at least have first_name and last_name columns, but can
also include ORCID and affiliation columns.
| first_name | last_name | ORCID | affiliation |
|---|---|---|---|
| Rémi | Gau | 0000-0002-1535-9767 | UCLouvain |
| Mohamed | Rezk | 0000-0002-1866-8645 | UCLouvain |
There is a sample TSV in the inputs folder.
Type the following for more info on how to run it:
bids2cite --help
Metadata
Release files for bids2cite 0.1.1
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 |
|---|---|---|---|---|
| bids2cite-0.1.1.tar.gz | 30.2 kB | Without provenance | Details for bids2cite-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bids2cite-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for bids2cite-0.1.1-py3-none-any.whl |
Total release size: 42.9 kB
Release files / bids2cite-0.1.1.tar.gz
| Download URL | bids2cite-0.1.1.tar.gz |
|---|---|
| Size | 30.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5633bf7bd6035a983b51dcf2ae3a0b6e1e68abf95351e7632ab9dc17ed5c386e
|
|
BLAKE2b-256 checksum How to use checksums |
12215c5fa41b4fbb7695024c23329835b0726e462ce7004d48c3605a511acfd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Release files / bids2cite-0.1.1-py3-none-any.whl
| Download URL | bids2cite-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
252ee5085b4d345ce231fe91f93ecb7840791b222571e81427b1e22ed6264cd7
|
|
BLAKE2b-256 checksum How to use checksums |
52b7f36d6d5c8709f22ccebe04c955dd839bf43935ebbb255e9e503cb83cfc12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Security for bids2cite 0.1.1
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.