Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
.. Copyright (C) 2020 CERN.
Babel-EDTF is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
A Python module for localization of Extended Date Time Format (EDTF) level 0 strings.
EDTF is a syntax for specifying imprecise dates. See
http://www.loc.gov/standards/datetime/. This modules relies on
python-edtf <https://pypi.org/project/edtf/>
_ for
EDTF parsing.
Babel-EDTF is on PyPI so all you need is:
.. code-block:: console
$ pip install babel-edtf
Let's format some EDTF strings:
from babel_edtf import format_edtf format_edtf('2020-01', locale='en') 'Jan 2020'
format_edtf('2020-01/2020-09', locale='da') 'jan.–sep. 2020'
format_edtf('2020-01/2020-09', format='long', locale='en') 'January\u2009–\u2009September 2020'
The following formats are supported:
short
medium
long
full
.. Copyright (C) 2020-2024 CERN.
Babel-EDTF is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
Version 1.2.1 (released 2024-11-07)
Version 1.2.0 (released 2024-10-28)
Version 1.1.4 (released 2024-03-05)
Version 1.1.3 (released 2023-11-01)
Version 1.1.2 (released 2023-10-19)
Version 1.1.1 (released 2023-10-19)
Version 1.1.0 (released 2023-10-19)
Version 1.0.0 (released 2020-11-06)
FAQs
Localization of Extended Date Time Format level 0 strings.
We found that babel-edtf 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.