Skip to main content

langful

PyPI version Python version license Github issues

[ English | 简体中文 ]


About

This is a simple module which is used for internationalization(i18n).

You just need place localization files in a directory, like this:

  • lang
    • en_us.json
    • zh_cn.json
import langful

lang = langful( "lang" )

print( lang )

The default language code is obtained using the locale module and follows the RFC 1766 standard.

langful supports three default localization file types, and you can easily add custom loaders.

Install

pip install langful

Links

[ github | pypi ]

Metadata

Release files for langful 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for langful 1.0.6
File Interpreter ABI Platform Actions
langful-1.0.6-py3-none-any.whl Python 3 none any Details for langful-1.0.6-py3-none-any.whl

Release files / langful-1.0.6-py3-none-any.whl

Download URL langful-1.0.6-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a769fa5ec95e4c4c097520df8542830d1c5f1b4467844908b01520a52ea06b0a
BLAKE2b-256 checksum
How to use checksums
4e5026ea5a405625a49d8ea2b37acc92aa24c50205d0b6489d8c17d7920d0eca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2025.

Transparency log

Security for langful 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for langful-1.0.6-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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