Skip to main content

somestuff-corestuff

Shared settings loader for the somestuff.* packages that read the repo-wide config.yaml (ecowittstuff, netatmostuff, hydromailstuff, llmstuff).

from somestuff.corestuff.config import get_settings, get_timezone, settings

get_settings().mqtt.host      # explicit
settings.mqtt.host            # lazy proxy, same object

Nothing is read at import time. The first access loads, in this order of precedence:

Source Where it is looked for
environment variables nested with __, e.g. MQTT__HOST=broker
config.local.yaml SOMESTUFF_CONFIG_LOCAL_PATH, else SOMESTUFF_CONFIG_DIR_PATH, else the CWD, else /app
config.yaml SOMESTUFF_CONFIG_PATH, else SOMESTUFF_CONFIG_DIR_PATH, else the CWD, else /app, else the packaged sample

config.local.yaml carries the secrets and is never part of a distribution; keep it in the directory you start the tool from. python3 -m somestuff.corestuff.config (or somestuff-config-dump) prints the effective settings.

somestuff.corestuff.configure_logging() installs the shared loguru format and routes stdlib logging into it; somestuff.corestuff.helper has the JSON encoder (ComplexEncoder) and update_deep().

Metadata

Release files for somestuff-corestuff 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 somestuff-corestuff 0.1.0
File Size Uploaded Provenance Actions
somestuff_corestuff-0.1.0.tar.gz 12.2 kB Without provenance Details for somestuff_corestuff-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for somestuff-corestuff 0.1.0
File Interpreter ABI Platform Actions
somestuff_corestuff-0.1.0-py3-none-any.whl Python 3 none any Details for somestuff_corestuff-0.1.0-py3-none-any.whl

Total release size: 24.5 kB

Release files / somestuff_corestuff-0.1.0.tar.gz

Download URL somestuff_corestuff-0.1.0.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
497468320359c343be135b0c76444a14a219976167a2f66e3f7cff4155693f78
BLAKE2b-256 checksum
How to use checksums
4b2083deda93a40e90717ba1cc50607ee818845438918987104fa0f61daddb12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"id":"resolute","libc":{"lib":"glibc","version":"2.43"},"name":"Ubuntu","version":"26.04"},"implementation":{"name":"CPython","version":"3.14.4"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.5.5 27 Jan 2026","python":"3.14.4","system":{"name":"Linux","release":"7.2.10-custom"}} HTTPX2/2.16.0

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

Download URL somestuff_corestuff-0.1.0-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7175f0529dbdc63fafc099c413639748bc90313ffe8b40fc55188ac135292ef
BLAKE2b-256 checksum
How to use checksums
d826c0dc6daf1553d82d32b9d9d35e2217ad6fda67eb66bb4e16ed7e6400ed6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"id":"resolute","libc":{"lib":"glibc","version":"2.43"},"name":"Ubuntu","version":"26.04"},"implementation":{"name":"CPython","version":"3.14.4"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.5.5 27 Jan 2026","python":"3.14.4","system":{"name":"Linux","release":"7.2.10-custom"}} HTTPX2/2.16.0

Security for somestuff-corestuff 0.1.0

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.1.0 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