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.
“Do One Thing and Do It Well” - this package helps turning two or three letter codes into short English names.
shortcountrynames
is maintained by Robert Gieseke (rob.g@web.de).
Data Package, a simple CSV file, with two and three-letter country codes and short English country names based on the country-codes Data Package with some changes and additions to the choice of short names.
Install with
pip install shortcountrynames
Usage
from shortcountrynames import to_name
assert to_name("DE") == "Germany"
assert to_name("DEU") == "Germany"
Install with
npm install shortcountrynames
Usage
var shortcountrynames = require("shortcountrynames")
// Define custom codes
shortcountrynames.names["TEST"] = 'test'
console.log(shortcountrynames.to_name("DEU")) // Germany
console.log(shortcountrynames.to_name("TEST")) // test
Non-standard codes:
EU
, EUU
- European Union
XK
, XKX
- Kosovo
CC0
FAQs
Maps from two or three letter country codes to short names
We found that shortcountrynames 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.