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.5
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.5.tar.gz | 986.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qc_core-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / qc_core-0.0.5.tar.gz
| Download URL | qc_core-0.0.5.tar.gz |
|---|---|
| Size | 986.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6fca8e3751e078df0a58cd8d40b6093d5a99d5b720a4e54694ea81455b44a83
|
|
BLAKE2b-256 checksum How to use checksums |
60f3f638cbd09b4e90b56b065222eca178503898bc071088dc72b4bb6812a85e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.5-py3-none-any.whl
| Download URL | qc_core-0.0.5-py3-none-any.whl |
|---|---|
| Size | 985.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ab19cbb9b606aee457c2054ca14c8f99b08de2bc6fc2b78f9d224c215ba92c3
|
|
BLAKE2b-256 checksum How to use checksums |
b9660f2e0e016c9280024d9cf21ae0df4b60c6c5ca797146253e07aa095984d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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}
|