Skip to main content

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 package's 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 deckr_fonts/licenses/{fontname}/OFL.txt file (when the package is installed), 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

Release files for deckr-fonts 0.2.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 deckr-fonts 0.2.0
File Size Uploaded
deckr_fonts-0.2.0.tar.gz 11.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for deckr-fonts 0.2.0
File Interpreter ABI Platform
deckr_fonts-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 MB

Release files / deckr_fonts-0.2.0.tar.gz

Download URL deckr_fonts-0.2.0.tar.gz
Size 11.1 MB
Tags Source
SHA-256 checksum
How to use checksums
c63bf56141df90750ec12d34d26b3e00d5903b47b0fa80098490cf41643fc64c
BLAKE2b-256 checksum
How to use checksums
a574472c72df927f9f7680f5cbdb8c777b96781716181ca4f28bfcb0377ddbbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.10.6 Darwin/24.6.0

Release files / deckr_fonts-0.2.0-py3-none-any.whl

Download URL deckr_fonts-0.2.0-py3-none-any.whl
Size 11.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6b3801ebb5c91c731a8677842097fbc77d448952201e0f39612bd0860ef52560
BLAKE2b-256 checksum
How to use checksums
6d5f208ea99cf900af5fc9e69382559e7256af743264d2373599876ee1da27b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.10.6 Darwin/24.6.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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