Skip to main content

Hatch CodeMeta

CodeMeta schema is a standard metadata syntax to describe "Scientific software and code". This syntax depends of a codemeta.json file in the root folder of your project, which act as a single source of trust.

Hatch is a python project manager which is also linked to a build system named Hatchling. This build system also manage the pyproject.toml file, that contains metadata information about the given project, authors, description and such.

These information are also specified in codemeta.json file. This project allows to specify all such metadata only in codemeta.json and fill pyproject.toml information dynamically from this file.

Getting Started

Include it as a plugin to your pyproject.toml

[build-system]
requires = ["hatchling", "hatch-codemeta"]
build-backend = "hatchling.build"

Make the fields you want to import as dynamic

[project]
...
dynamic = ["version", "description", "authors"]

And then, make sure Hatchling uses it

[tool.hatch.metadata.hooks.codemeta]

Documentation

The documentation is available as markdown files.

Metadata

Release files for hatch-codemeta 0.3.1

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

Source distribution (sdist)

Source distribution for hatch-codemeta 0.3.1
File Size Uploaded Provenance Actions
hatch_codemeta-0.3.1.tar.gz 37.3 kB Without provenance Details for hatch_codemeta-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hatch-codemeta 0.3.1
File Interpreter ABI Platform Actions
hatch_codemeta-0.3.1-py3-none-any.whl Python 3 none any Details for hatch_codemeta-0.3.1-py3-none-any.whl

Total release size: 43.7 kB

Release files / hatch_codemeta-0.3.1.tar.gz

Download URL hatch_codemeta-0.3.1.tar.gz
Size 37.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bd6a584536ebb1ddeade38f912421d59009a9d27fbe03ffba0768842b2327be6
BLAKE2b-256 checksum
How to use checksums
9204aa22a463a6218602761da2db53f341d990e112f8c8da5f9eed1c5ff194ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / hatch_codemeta-0.3.1-py3-none-any.whl

Download URL hatch_codemeta-0.3.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3053b007f04e41eacb1be0c16455fde56dc67a86e512f90066c62b429b2f87d4
BLAKE2b-256 checksum
How to use checksums
e794f841d0cc6504d8e22fab6dc4a9ad7aa45c86ef00e433e0f175e1fb5fda9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Security for hatch-codemeta 0.3.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.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files No provenance

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