qc-core
Shared Python utilities for QuantClimate. The package includes the Calibrated Ledger Matplotlib style and plotting helpers.
Installation
pip install qc-core
qc-core requires Python 3.11 or later.
Matplotlib style
Load the packaged style globally:
import qc_core
qc_core.use_ledger_style()
Use the plotting module for the complete plotting API:
from qc_core import plotting
plotting.use_ledger_style()
qc_core.style_path() returns the installed style file's path.
Fonts
The style sets labels, ticks and legends in Noto Sans. The Regular, SemiBold
and Bold files ship with the package, and use_ledger_style() registers them
with Matplotlib, so you do not need to install the font. If you load the style
file directly, call qc_core.plotting.register_fonts() first.
Noto Sans is licensed under the SIL Open Font License 1.1. The licence is in
src/qc_core/fonts/OFL.txt.
Metadata
Release files for qc-core 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qc_core-0.0.4.tar.gz | 985.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qc_core-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / qc_core-0.0.4.tar.gz
| Download URL | qc_core-0.0.4.tar.gz |
|---|---|
| Size | 985.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57ca906269fee22a8bc63e10ab24e45a531fc925da910142bd0a786ead637871
|
|
BLAKE2b-256 checksum How to use checksums |
a3f9455c4568d27a9103dce16d68b39034759837ac37315fced082590abc3e43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / qc_core-0.0.4-py3-none-any.whl
| Download URL | qc_core-0.0.4-py3-none-any.whl |
|---|---|
| Size | 985.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dab55e0cf797a5c88b2e2799009aee7d7306723562dc89879cbe14366f7c022
|
|
BLAKE2b-256 checksum How to use checksums |
8f9d5061a16bbe69e1a121ed12f3f9024571535cb04025fc6ac6bff964c96622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|