Skip to content

Releases: adamlui/python-utils

is-unicode-supported v1.1.1

21 Mar 10:21
c371405

Choose a tag to compare

is-legacy-terminal v1.0.1

21 Mar 10:37
f006cea

Choose a tag to compare

get-min-py v1.1.2

21 Mar 10:34
04b4e00

Choose a tag to compare

📃 Changelog

  • Added missing non-latin-locales dependency
  • Bumped is-unicode-supported from 1.0.0 to 1.1.1

Full Changelog: get-min-py-1.1.1...get-min-py-1.1.2

README for this release: https://github.com/adamlui/python-utils/tree/get-min-py-1.1.2/get-min-py/#readme

is-unicode-supported v1.1.0

20 Mar 13:38
a73a54c

Choose a tag to compare

is-legacy-terminal v1.0.0

20 Mar 13:20
be8198f

Choose a tag to compare

🚀 Initial Release

Checks if terminal is legacy (flicker-prone, limited rendering, etc.). On Windows, returns True if CMD or PowerShell ISE not hosted in modern shell. On *nix systems, returns True if env.TERM is dumb or unknown (indicating a very basic terminal).

To install:

pip install is-legacy-terminal

CLI usage:

is-legacy-terminal  # or islegacyterm
# e.g. => True

API usage:

import is_legacy_terminal

if is_legacy_terminal():
    print('Is legacy terminal!')
else:
    print('Is modern terminal!')

README for this release: https://github.com/adamlui/python-utils/tree/is-legacy-terminal-1.0.0/is-legacy-terminal/#readme

prose-languages v1.0.0

18 Mar 02:26
5835899

Choose a tag to compare

🚀 Initial Release

File extensions for prose languages. It's just a JSON file, so you can use it in any environment. Sourced from GitHub's Linguist project (defines all 18 prose languages known to GitHub). Data is updated via script and released via new package version.

To install:

pip install prose-languages

Usage:

import prose_languages

md_lang_data = prose_languages['Markdown']

print(md_lang_data['extensions']) # => ['.livemd', '.markdown', '.md', ...]

README for this release: https://github.com/adamlui/python-utils/tree/markup-languages-1.0.0/markup-languages/#readme

programming-languages v2.0.0

18 Mar 03:25
49f87eb

Choose a tag to compare

⚠️ Breaking Changes

Full Changelog: programming-languages-1.0.0...programming-languages-2.0.0

README for this release: https://github.com/adamlui/python-utils/tree/programming-languages-2.0.0/programming-languages/#readme

markup-languages v1.0.1

18 Mar 01:24
ed34c61

Choose a tag to compare

markup-languages v1.0.0

18 Mar 01:03
691643a

Choose a tag to compare

🚀 Initial Release

File extensions for markup languages. It's just a JSON file, so you can use it in any environment. Sourced from GitHub's Linguist project (defines all 69 markup languages known to GitHub). Data is updated via script and released via new package version.

To install:

pip install markup-languages

Usage:

import markup_languages

html_lang_data = markup_languages['HTML']

print(html_lang_data['extensions']) # => ['.hta', '.htm', '.html', '.html.hl', ...]

README for this release: https://github.com/adamlui/python-utils/tree/markup-languages-1.0.0/markup-languages/#readme

is-unicode-supported v1.0.2

18 Mar 07:08
5a2c681

Choose a tag to compare