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

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.2.0.tar.gz (11.1 MB 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.2.0-py3-none-any.whl (11.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deckr_fonts-0.2.0.tar.gz
  • Upload date:
  • Size: 11.1 MB
  • 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.2.0.tar.gz
Algorithm Hash digest
SHA256 c63bf56141df90750ec12d34d26b3e00d5903b47b0fa80098490cf41643fc64c
MD5 8c7cccf4f7f323c58c76c3d19531701b
BLAKE2b-256 a574472c72df927f9f7680f5cbdb8c777b96781716181ca4f28bfcb0377ddbbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deckr_fonts-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 MB
  • 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b3801ebb5c91c731a8677842097fbc77d448952201e0f39612bd0860ef52560
MD5 064646af750d004884407a93dcbe678a
BLAKE2b-256 6d5f208ea99cf900af5fc9e69382559e7256af743264d2373599876ee1da27b0

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