SoloCore
The shared foundation for the SoloGrove family — the bits SoloSheet and SoloTyp both rely on. Seeded by extracting battle-tested helpers out of SoloSheet.
| Module | What it provides |
|---|---|
bootstrap |
setup_appearance(app) — forces the Fusion style and registers BUNDLED_FONT_FAMILIES, so a document renders identically on macOS/Windows/Linux/BSD: IBM Plex Sans/Serif/Mono for body and UI, IBM Plex Sans Arabic and IBM Plex Sans Hebrew for the RTL scripts in the same voice as the rest, and the scholarly faces Gentium, Ezra SIL and Cardo. All OFL. APP_FONT_FAMILY is IBM Plex Sans; LEGACY_FONT_MAP remaps families we do not bundle — including the Liberation set this used to ship — so older files degrade gracefully rather than falling back per-OS. Also apply_theme(app, mode) for light/dark/system. Fonts ship inside the package. |
icons |
svg_to_icon() — render inline-SVG markup strings as QIcons, with fill, stroke and mask tinting. No icon files to ship. |
paths |
asset_dir() / require_asset_dir() — resolve bundled assets identically from a source checkout, an editable install, a wheel, and a PyInstaller freeze. The lookups degrade silently by design, which is why require_asset_dir exists. |
safety |
@safe_slot — error-containment decorator for Qt slots: logs the exception (logger "SoloCore") and surfaces it in the window's status bar instead of crashing. |
fileformat |
parse_version() + atomic_write_text() — the shared conventions behind SoloGrove's plain, AI-readable JSON formats: version compatibility checks and corruption-proof atomic saves. |
from solocore import setup_appearance, svg_to_icon, safe_slot, atomic_write_text
Licensed LGPLv3 (the apps are GPLv3) so the library can be reused beyond the family.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
solocore-0.2.0.tar.gz
(4.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solocore-0.2.0.tar.gz.
File metadata
- Download URL: solocore-0.2.0.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4beb5f6d440b3dd0cfebe72e3ce117493ca7bccc869c9c785ac32b6ec191c7f8
|
|
| MD5 |
e9784924905cebe83ac0e4a646301739
|
|
| BLAKE2b-256 |
2ca57ece944fdfb2c45245929a2836232cbb72a23387c0b601e94b79eb4beb2d
|
File details
Details for the file solocore-0.2.0-py3-none-any.whl.
File metadata
- Download URL: solocore-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f53299ce005316b793fbc2d3a7435f540e5c6cad1520ba4ccc8fbfa31936003
|
|
| MD5 |
144c0c5e6f5e55bbcfd9383ffde5bb9c
|
|
| BLAKE2b-256 |
8ccdfa419ef6cac3306df738559f3de4490557591424cc9d173ea6fdd394c19d
|