Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solocore-0.2.0-py3-none-any.whl (4.7 MB view details)

Uploaded Python 3

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

Hashes for solocore-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4beb5f6d440b3dd0cfebe72e3ce117493ca7bccc869c9c785ac32b6ec191c7f8
MD5 e9784924905cebe83ac0e4a646301739
BLAKE2b-256 2ca57ece944fdfb2c45245929a2836232cbb72a23387c0b601e94b79eb4beb2d

See more details on using hashes here.

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

Hashes for solocore-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f53299ce005316b793fbc2d3a7435f540e5c6cad1520ba4ccc8fbfa31936003
MD5 144c0c5e6f5e55bbcfd9383ffde5bb9c
BLAKE2b-256 8ccdfa419ef6cac3306df738559f3de4490557591424cc9d173ea6fdd394c19d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page