Metadata-Version: 2.3
Name: cmipcite
Version: 0.2.0
Summary: Tool for gathering citations for CMIP data using the unique id (PID) tracking service maintained by DKRZ
Author: Juliette Lavoie
Author-email: Juliette Lavoie <juliette-tbd@invalid.com>
License: 3-Clause BSD License
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Dist: httpx>=0.28.1
Requires-Dist: pyhandle>=1.5.0 ; python_full_version < '4'
Requires-Dist: typer>=0.20.0
Requires-Dist: backports-strenum>=1.3.1 ; python_full_version < '3.11'
Requires-Dist: anyio==4.11.0 ; extra == 'locked'
Requires-Dist: backports-strenum==1.3.1 ; python_full_version < '3.11' and extra == 'locked'
Requires-Dist: certifi==2025.10.5 ; extra == 'locked'
Requires-Dist: charset-normalizer==3.4.4 ; python_full_version < '4' and extra == 'locked'
Requires-Dist: click==8.1.8 ; python_full_version < '3.10' and extra == 'locked'
Requires-Dist: click==8.3.0 ; python_full_version >= '3.10' and extra == 'locked'
Requires-Dist: colorama==0.4.6 ; sys_platform == 'win32' and extra == 'locked'
Requires-Dist: datetime==5.5 ; python_full_version < '4' and extra == 'locked'
Requires-Dist: exceptiongroup==1.3.0 ; python_full_version < '3.11' and extra == 'locked'
Requires-Dist: future==1.0.0 ; python_full_version < '4' and extra == 'locked'
Requires-Dist: h11==0.16.0 ; extra == 'locked'
Requires-Dist: httpcore==1.0.9 ; extra == 'locked'
Requires-Dist: httpx==0.28.1 ; extra == 'locked'
Requires-Dist: idna==3.11 ; extra == 'locked'
Requires-Dist: markdown-it-py==3.0.0 ; python_full_version < '3.10' and extra == 'locked'
Requires-Dist: markdown-it-py==4.0.0 ; python_full_version >= '3.10' and extra == 'locked'
Requires-Dist: mdurl==0.1.2 ; extra == 'locked'
Requires-Dist: pygments==2.19.2 ; extra == 'locked'
Requires-Dist: pyhandle==1.5.0 ; python_full_version < '4' and extra == 'locked'
Requires-Dist: pymysql==0.8.0 ; python_full_version < '3.11' and extra == 'locked'
Requires-Dist: pymysql==1.1.0 ; python_full_version >= '3.11' and python_full_version < '4' and extra == 'locked'
Requires-Dist: pytz==2025.2 ; python_full_version < '4' and extra == 'locked'
Requires-Dist: requests==2.32.5 ; python_full_version < '4' and extra == 'locked'
Requires-Dist: rich==14.2.0 ; extra == 'locked'
Requires-Dist: shellingham==1.5.4 ; extra == 'locked'
Requires-Dist: six==1.17.0 ; python_full_version < '4' and extra == 'locked'
Requires-Dist: sniffio==1.3.1 ; extra == 'locked'
Requires-Dist: typer==0.20.0 ; extra == 'locked'
Requires-Dist: typing-extensions==4.15.0 ; extra == 'locked'
Requires-Dist: urllib3==2.5.0 ; python_full_version < '4' and extra == 'locked'
Requires-Dist: zope-interface==8.0.1 ; python_full_version < '4' and extra == 'locked'
Requires-Python: >=3.9
Project-URL: Changelog, https://cmipcite.readthedocs.io/en/stable/changelog
Project-URL: Documentation, https://cmipcite.readthedocs.io
Project-URL: Homepage, https://cmipcite.readthedocs.io
Project-URL: Issues, https://github.com/WCRP-CMIP/cmipcite/issues
Project-URL: Repository, https://github.com/WCRP-CMIP/cmipcite
Provides-Extra: locked
Description-Content-Type: text/markdown

<!--- --8<-- [start:description] -->
# CMIP Cite

Tool for gathering citations for CMIP data using the unique id (PID) tracking service maintained by DKRZ

**Key info :**
[![Docs](https://readthedocs.org/projects/cmipcite/badge/?version=latest)](https://cmipcite.readthedocs.io)
[![Main branch: supported Python versions](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2FWCRP-CMIP%2Fcmipcite%2Fmain%2Fpyproject.toml)](https://github.com/WCRP-CMIP/cmipcite/blob/main/pyproject.toml)
[![Licence](https://img.shields.io/pypi/l/cmipcite?label=licence)](https://github.com/WCRP-CMIP/cmipcite/blob/main/LICENCE)

**PyPI :**
[![PyPI](https://img.shields.io/pypi/v/cmipcite.svg)](https://pypi.org/project/cmipcite/)
[![PyPI install](https://github.com/WCRP-CMIP/cmipcite/actions/workflows/install-pypi.yaml/badge.svg?branch=main)](https://github.com/WCRP-CMIP/cmipcite/actions/workflows/install-pypi.yaml)

**Tests :**
[![CI](https://github.com/WCRP-CMIP/cmipcite/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/WCRP-CMIP/cmipcite/actions/workflows/ci.yaml)
[![Coverage](https://codecov.io/gh/WCRP-CMIP/cmipcite/branch/main/graph/badge.svg)](https://codecov.io/gh/WCRP-CMIP/cmipcite)

**Other info :**
[![Last Commit](https://img.shields.io/github/last-commit/WCRP-CMIP/cmipcite.svg)](https://github.com/WCRP-CMIP/cmipcite/commits/main)
[![Contributors](https://img.shields.io/github/contributors/WCRP-CMIP/cmipcite.svg)](https://github.com/WCRP-CMIP/cmipcite/graphs/contributors)
## Status

<!---

We recommend having a status line in your repo
to tell anyone who stumbles on your repository where you're up to.
Some suggested options:

- prototype: the project is just starting up and the code is all prototype
- development: the project is actively being worked on
- finished: the project has achieved what it wanted
  and is no longer being worked on, we won't reply to any issues
- dormant: the project is no longer worked on
  but we might come back to it,
  if you have questions, feel free to raise an issue
- abandoned: this project is no longer worked on
  and we won't reply to any issues
-->

- prototype: the project is just starting up and the code is all prototype

<!--- --8<-- [end:description] -->

Full documentation can be found at:
[cmipcite.readthedocs.io](https://cmipcite.readthedocs.io/en/latest/).
We recommend reading the docs there because the internal documentation links
don't render correctly on GitHub's viewer.

## Installation

<!--- --8<-- [start:installation] -->
### As an application

If you want to use CMIP Cite as an application,
then we recommend using the 'locked' version of the package.
This version pins the version of all dependencies too,
which reduces the chance of installation issues
because of breaking updates to dependencies.

The locked version of CMIP Cite can be installed with

=== "pip"
    ```sh
    pip install 'cmipcite[locked]'
    ```

### As a library

If you want to use CMIP Cite as a library,
for example you want to use it
as a dependency in another package/application that you're building,
then we recommend installing the package with the commands below.
This method provides the loosest pins possible of all dependencies.
This gives you, the package/application developer,
as much freedom as possible to set the versions of different packages.
However, the tradeoff with this freedom is that you may install
incompatible versions of CMIP Cite's dependencies
(we cannot test all combinations of dependencies,
particularly ones which haven't been released yet!).
Hence, you may run into installation issues.
If you believe these are because of a problem in CMIP Cite,
please [raise an issue](https://github.com/WCRP-CMIP/cmipcite/issues).

The (non-locked) version of CMIP Cite can be installed with

=== "pip"
    ```sh
    pip install cmipcite
    ```

### For developers

For development, we rely on [uv](https://docs.astral.sh/uv/)
for all our dependency management.
To get started, you will need to make sure that uv is installed
([instructions here](https://docs.astral.sh/uv/getting-started/installation/)
(we found that the self-managed install was best,
particularly for upgrading uv later).

For all of our work, we use our `Makefile`.
You can read the instructions out and run the commands by hand if you wish,
but we generally discourage this because it can be error prone.
In order to create your environment, run `make virtual-environment`.

If there are any issues, the messages from the `Makefile` should guide you through.
If not, please raise an issue in the
[issue tracker](https://github.com/WCRP-CMIP/cmipcite/issues).

For the rest of our developer docs, please see [development][development].

<!--- --8<-- [end:installation] -->

## Original template

This project was generated from this template:
[copier core python repository](https://gitlab.com/openscm/copier-core-python-repository).
[copier](https://copier.readthedocs.io/en/stable/) is used to manage and
distribute this template.
