Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
.. 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.