Releases: hitblast/avro.py
2024.4.27
2024.4.7
What's Changed
This update adds two new, quality-of-life feature flags to the command-line interface of avro.py. These apply to both commands (parse
and reverse
):
- A new
--from-clip
flag, which draws input text for parsing from the system clipboard. - A new
--copy
flag, which saves the output (parsed) text to clipboard.
# Using additional flags to ease workflow.
$ avro parse --from-clip # (fetching input from clipboard)
$ avro parse "asolei!" --copy && avro reverse "আসলেই" --copy # (copying output to clipboard)
$ avro parse --from-clip --copy # (clipboard input -> output)
Full Changelog: 2024.2.17...2024.3.31
2024.3.31
What's Changed
This update adds a compact, tiny command-line interface (CLI) to avro.py, which you can install easily using the following command:
# Install with the "cli" extra.
$ pip install avro.py[cli]
Then, you can access the tool using the following commands:
# Main help section.
$ avro --help # or, use: avro <command> --help
# Parsing some text.
$ avro parse "tumi onek bhalO!"
$ avro parse --bijoy "amio kharap na, taina?" # (bijoy keyboard format)
# Reversing.
$ avro reverse "তাই তো!"
Full Changelog: 2024.2.17...2024.3.31
2024.2.17
What's Changed
This releases focuses on one, big feature addition.
We know that there's been a long debate on how Avro Keyboard and Bijoy Keyboard have been different in their approaches for creating a more enjoyable typing experience for Bengali journalists and typists, and that this difference had created a number of issues which still exist to this day.
Due to Avro and Bijoy using different fonts and ligatures by nature, typists have to use separate iterations of the same-looking font styles to properly display their work. The difference in their learning curves also create an unwanted monotony among their users.
✨ Well, we've added on-the-fly conversion to Bijoy Keyboard format to avro.py!
Meaning, now we can -
- Use the
parse()
function as intended, but just by passingbijoy=True
as a parameter, we can now get the output in the Bijoy format! - Use the newly added
to_bijoy()
function to convert existing unicode-compliant Bengali text to Bijoy as well.
These two features eliminate the use of using two different applications (or the use of web apps for text conversion) altogether, ultimately increasing the interoperability of the two different platforms. We hope you'll enjoy this new feature and since it's a very new addition to our project, we'll constantly be looking for optimizations and rooms for improvement.
Full Changelog: 2024.1.1...2024.2.17
2024.1.1
What's Changed
As the first avro.py release of the year 2024, it doesn't contain any major changes and is only a maintenance bump in contrast to the previous version.
🎊 Happy new year to every contributor and developer who are using avro.py, and to all GitHub users in general!
Full Changelog: 2023.12.30...2024.1.1
2023.12.30
What's Changed
This release focuses on general optimization for text processing inside avro.py, making adjustments for a faster experience. It also focuses on prettier code for making the package even more contributor-friendly!
- Optimized thread pool execution by using faster data types for text processing.
- Faster
parse()
with the use of generators, compiled regex and more. - Faster
reverse()
with organized code and comprehensions (minimal). - Overall reduced boilerplate and duplicate code.
- Added ruff as the default linter and formatter.
Full Changelog: 2023.10.26...2023.12.30
2023.10.26
What's Changed
This is only a maintenance release and does not contain any changes other than version bumps for several dependencies and pipelines.
Automated PRs
- Bump black from 23.3.0 to 23.7.0 by @dependabot in #19
- Bump ruff from 0.0.281 to 0.0.282 by @dependabot in #24
Full Changelog: 2023.7.9...2023.10.26
2023.7.9
What's Changed
- (Experimental) Added high-level multithreading support for the
parse()
andreverse()
functions. - Optimized the LRU cache used for the following functions and discouraged directly wrapping around them.
- Removed the
in_ascii
boolean parameter from theparse()
function. - Improved overall codebase structure.
Automated PRs
- Bump ruff from 0.0.276 to 0.0.277 by @dependabot in #18
Full Changelog: 2023.6.30...2023.7.9
2023.6.30
What's Changed
- Implemented Least Recently Used (LRU) in some of the core functions.
- As for style-checking and linting, Flake8 has been replaced with Ruff as the primary option.
Automated PRs
- Bump pytest from 7.3.1 to 7.3.2 by @dependabot in #14
- Bump pytest from 7.3.2 to 7.4.0 by @dependabot in #16
Full Changelog: 2023.6.12...2023.6.30
2023.6.12
What's Changed
Even though there are no functional changes, major type annotations and other structural changes have been made all across the codebase. Some of them have been noted down below:
- Static type annotation has been encouraged. Although this is a minor change and requires more work for completion, hopefully it'll pave the way to eventually migrate avro.py to a static compiler like Cython for faster operations.
- Tiny changes to the Avro Dictionary have been made to reduce unused entries.
- Chores have been made easy with additional developer configurations for Visual Studio Code.
Full Changelog: 2023.4.21...2023.6.12