Skip to main content

nuance-datacite

DataCite DOIs for NUANCE Center instruments and the data they collect, at Northwestern University (DataCite repository NU.NUANCE, prefix 10.82427).

Created by Roberto dos Reis (@rmsreis), NUANCE Center.

pip install nuance-datacite
nuance-datacite instruments --check          # registry; --check asks DataCite which DOIs are public
nuance-datacite find --vendor Hitachi --model S-3400
nuance-datacite draft payload.json           # DRAFT DOI only (test DataCite unless configured)
  • Instrument registry (nuance_datacite.registry): one entry per instrument DOI, with a rule that recognizes the instrument from file metadata (vendor, model, serial). NUScope records the matching DOI in every dataset's metadata and provenance, so the file's cryptographic seal covers it.
  • Dataset DOIs (nuance_datacite.payloads): DataCite 4.5+ metadata linking the data to the instruments that collected it (IsCollectedBy), to the exact file (NUScope seal id and file SHA-256 as alternateIdentifiers), and to its creators (validated ORCID iDs, Northwestern ROR).
  • Safe client (nuance_datacite.DataCite): drafts only; publishing (permanent) needs the DOI repeated as confirmation, and on production also DATACITE_ALLOW_PRODUCTION_PUBLISH=1.

Credentials are read from DATACITE_REPOSITORY_ID, DATACITE_PASSWORD, DATACITE_PREFIX and DATACITE_ENVIRONMENT (test by default), from the environment or a .env file. Never commit them.

Add or override instruments with a JSON file at $NUANCE_INSTRUMENTS or ~/.nuance/instruments.json (same shape as src/nuance_datacite/data/instruments.json).

Metadata

Release files for nuance-datacite 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nuance-datacite 0.1.0
File Size Uploaded
nuance_datacite-0.1.0.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nuance-datacite 0.1.0
File Interpreter ABI Platform
nuance_datacite-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / nuance_datacite-0.1.0.tar.gz

Download URL nuance_datacite-0.1.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
695a334652f0bae5b8c0c082ce1dde2edabab89adb259c2836577df413594f42
BLAKE2b-256 checksum
How to use checksums
0f0612100cb0cd902e41a5667e3145bbaafc09949db872fc48a5a800dc392418
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release files / nuance_datacite-0.1.0-py3-none-any.whl

Download URL nuance_datacite-0.1.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87e671e1cda5e69260cc1a4d2ffa343b6ae279729060e581d053bc2d310665a1
BLAKE2b-256 checksum
How to use checksums
f583db4b24922cddaccd8c32bafedb6cf3dbfb28a750d428ff3640ac3700d315
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page