Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
A Python framework for distributing and managing fonts.
While Python can access system fonts, it has no direct way of guaranteeing a particular font is available, or any way of including it as a dependency.
Fonts aims to tackle this problem with tools for packaging and distributing fonts via PyPi, which can be easily located and used in Python using PIL or otherwise.
Fonts uses entry_points
to expose the font files located in each package.
To use these fonts in your project you should include them as a dependency and either grab the font paths using pkg_resources.iter_entry_points('fonts_ttf')
or use this fonts module to collate them for you.
For example::
from PIL import ImageFont
from fonts.ttf import AmaticSC
font = ImageFont.truetype(AmaticSC)
FAQs
Python Fonts
We found that fonts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.