Skip to content

Releases: cvzi/flag

v2.0.1

05 Jul 07:27
397b8a9
Compare
Choose a tag to compare

Functions to check support and validity of flags.
Only convert supported flags:

flag.Flag(only_supported=True).flagize("Convert supported flags like :US: but not things like :XX:")
>>> "Convert supported flags like 🇺🇸 but not things like :XX:"

What's Changed

  • Remove stray print() in flag() by @calebj in #68

Version 2.0.0

23 Jun 21:30
6bf0694
Compare
Choose a tag to compare
Version 2.0.0 Pre-release
Pre-release

Functions to check support and validity of flags.
Only convert supported flags:

flag.Flag(only_supported=True).flagize("Convert supported flags like :US: but not things like :XX:")
>>> "Convert supported flags like 🇺🇸 but not things like :XX:"

Version 2.0.0 RC1

19 Jun 19:55
19c64b1
Compare
Choose a tag to compare
Version 2.0.0 RC1 Pre-release
Pre-release
v2.0.0rc1

Fix upload to PyPi

Version 1.3.2

02 Feb 16:35
18c1073
Compare
Choose a tag to compare

Change build/setup configuration to pyproject.toml

Version 1.3.1

07 Aug 13:20
f318084
Compare
Choose a tag to compare
  • Support Python 3.11 and remove Python 3.6
  • Include LICENSE in wheel

Version 1.3.0

23 Jun 22:48
864c996
Compare
Choose a tag to compare
  • Support Python 3.10 and remove 2.7, 3.4 and 3.5
  • Type information added
  • Custom suffix and prefix in a separate class flag.Flag(prefix, suffix)

Version 1.2.4

15 Mar 19:46
0a5dc20
Compare
Choose a tag to compare

Last version to support Python 2.7, 3.4 and 3.5

Changes:

  • Add method flag() to __all__

Version 1.2.3

01 Nov 11:47
010d5f2
Compare
Choose a tag to compare
v1.2.3

Version 1.2.3

v1.2.1

26 Jan 15:20
fc57073
Compare
Choose a tag to compare
Create pythonpublish.yml

v1.2.0

05 Jan 14:08
Compare
Choose a tag to compare

Added function flag.flag(countrycode) to convert a single code to one flag