bids2cite-0.1.1
توضیحات
create a citation file for a BIDS dataset
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bids2cite-0.1.1 |
| نام | bids2cite |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | ['Remi Gau'] |
| ایمیل نگهدارنده | ['remi.gau@gmail.com'] |
| نویسنده | Remi Gau |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/Remi-Gau/bids2cite |
| آدرس اینترنتی | https://pypi.org/project/bids2cite/ |
| مجوز | LGPL-3.0 |
[](https://codecov.io/gh/Remi-Gau/bids2cite)
[](./LICENSE)

[](https://results.pre-commit.ci/latest/github/Remi-Gau/bids2cite/main)
# bids2cite
Create a citation file for a BIDS dataset.
Can also be used to update references, authors and add license to a dataset.
## Installation
```bash
git clone https://github.com/Remi-Gau/bids2cite.git
cd bids2cite
pip install .
```
### For developers
```bash
pip install .[dev]
```
Basic tests can be run with:
```bash
make test
make test-cli
```
## Usage
The most basic usage is:
```bash
bids2cite path_to_bids_dataset
```
An example of call with all the options:
```bash
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](./inputs).
Type the following for more info on how to run it:
```bash
bids2cite --help
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.0 | sphinx |
| - | sphinx-argparse |
| - | rich |
| - | ruamel.yaml |
| - | black |
| - | requests |
| - | isort |
| - | crossref-commons |
| - | pandas |
| >=2.0 | sphinx |
| - | sphinx-argparse |
| - | sphinx-rtd-theme |
| - | sphinx-copybutton |
| - | myst-parser |
| - | rstcheck |
| >=3.7 | flake8 |
| >=1.5 | flake8-docstrings |
| >=21 | black |
| - | pre-commit |
| - | sourcery |
| - | mypy |
| - | types-requests |
| >=6.2.5 | pytest |
| - | pytest-cov |
| - | coverage |
| >=2.0 | sphinx |
| - | sphinx-argparse |
| - | sphinx-rtd-theme |
| - | sphinx-copybutton |
| - | myst-parser |
| - | rstcheck |
| - | sphinx-rtd-theme |
| - | sphinx-copybutton |
| - | myst-parser |
| - | rstcheck |
| >=3.7 | flake8 |
| >=1.5 | flake8-docstrings |
| >=21 | black |
| - | pre-commit |
| - | sourcery |
| - | mypy |
| - | types-requests |
| >=6.2.5 | pytest |
| - | pytest-cov |
| - | coverage |
| >=6.2.5 | pytest |
| - | pytest-cov |
| - | coverage |
نحوه نصب
نصب پکیج whl bids2cite-0.1.1:
pip install bids2cite-0.1.1.whl
نصب پکیج tar.gz bids2cite-0.1.1:
pip install bids2cite-0.1.1.tar.gz