Skip to main content

Font pack for Deckr project - Google Fonts bundle for JustMyType

Project description

Deckr Fonts

A font pack for the JustMyType library, providing bundled Google Fonts for the Deckr project.

Overview

This package bundles a curated selection of Google Fonts and makes them available as a JustMyType font pack. The fonts are automatically discovered and registered when the package is installed, allowing seamless font resolution through JustMyType's unified font discovery system.

Installation

pip install deckr-fonts

Or install in development mode:

pip install -e .

Usage

Once installed, the font pack is automatically registered with JustMyType. No additional configuration is required:

from justmytype import get_default_registry

registry = get_default_registry()

# Find and use bundled fonts
font_info = registry.find_font("Roboto", weight=400)
if font_info:
    font = font_info.load(size=16)
    print(f"Found font at: {font_info.path}")

Available Font Families

This package includes the following font families:

  • Audiowide - Display font
  • DM Sans - Sans-serif with variable weight and optical size
  • Inter - Sans-serif with variable weight and optical size
  • Monofett - Display font
  • Noto Color Emoji - Color emoji font
  • Noto Emoji - Emoji font with variable weight
  • Roboto - Sans-serif with variable width and weight
  • Roboto Mono - Monospace with variable weight
  • Sixtyfour Convergence - Pixel-style display font with multiple variable axes

Blocking the Font Pack

If you need to disable this font pack (e.g., for testing or to use system fonts instead):

from justmytype import FontRegistry

# Block via constructor
registry = FontRegistry(blocklist={"deckr-fonts"})

# Or via environment variable
# FONT_DISCOVERY_BLOCKLIST="deckr-fonts" python app.py

License

Package License

This package itself is licensed under the MIT License. See LICENSE for details.

Font Licenses

All fonts included in this package are licensed under the SIL Open Font License (OFL) Version 1.1. Each font family has its own license file in the licenses/ directory.

Font Attribution

SIL Open Font License

The SIL Open Font License (OFL) allows the fonts to be:

  • Used, studied, modified, and redistributed freely
  • Bundled, embedded, redistributed, and/or sold with any software
  • Used in commercial products

The fonts cannot be sold by themselves, and derivative works must also be released under the OFL.

Full license text is available in each font's licenses/{fontname}/OFL.txt file, and online at https://openfontlicense.org

Development

Project Structure

deckr_fonts/
├── src/
│   └── deckr_fonts/
│       ├── __init__.py      # Entry point factory
│       └── pack.py          # FontPack implementation
├── fonts/                   # Font files
├── licenses/                # Individual font license files
├── pyproject.toml          # PEP 621 project configuration
└── README.md                # This file

Building

This package uses Poetry for building:

poetry build

Requirements

  • Python >= 3.10
  • justmytype >= 0.3.0

Related Projects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deckr_fonts-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

deckr_fonts-0.1.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file deckr_fonts-0.1.0.tar.gz.

File metadata

  • Download URL: deckr_fonts-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.6 Darwin/24.6.0

File hashes

Hashes for deckr_fonts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d552b549d61dc85fcb527b0066940e739a7dc2591aa37b77b3c2f5f75e6bafd5
MD5 d69bc8509e5e718fb148c7f6edbfdc5b
BLAKE2b-256 b2a200b0c6a2deb179815d9a33018836ec3cb41c4c43d2fbef00d67c1c7d36a7

See more details on using hashes here.

File details

Details for the file deckr_fonts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: deckr_fonts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.6 Darwin/24.6.0

File hashes

Hashes for deckr_fonts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 637ef8f17ea9abdf8f7739987e4e6da08ee537ef11e787ec3f3a6da2e2ca4f6c
MD5 0229258501a103c9cd6028dde0b57c35
BLAKE2b-256 c68fc6c7c9862929f0b45310283a73fcf50db324bf70a326557ab22dd67acf65

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 Pingdom Monitoring Sentry Error logging StatusPage Status page