Maat
wiktextract
Maat | wiktextract | |
---|---|---|
5 | 7 | |
30 | 704 | |
- | - | |
2.6 | 9.8 | |
8 months ago | 7 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Maat
-
[Guide] A Tour Through the Python Framework Galaxy: Discovering the Stars
Try msgspec | Maat | turbo for fast serialization and validation
-
Pydantic V2 leverages Rust's Superpowers [video]
Personally, I think it's great to have many projects solving the same problem and pushing each other further. Although the differences between the faster validations are small, the older ones were quite slow. This will save unnecessary CPU cycles, making it eco-friendly. And now the bar will be even higher with a Rust version, which is really great.
[0]Maat is 2.5 times faster than Pydantic on their own benchmark, as stated in their readme.
[0]https://github.com/Attumm/Maat
- Pydantic
-
Parse, Don't Validate (2019)
https://github.com/Attumm/Maat/blob/main/tests/test_validati...
Since validation is written as dictionaries its possible to store the validations in caching db such as Redis.
And since its simple its easy to extend for anyone use case.
Benchmarks of pydantic has Maat around twice as Pydantic.
wiktextract
- Wiktionary dump file parser and multilingual data extractor
- How to Download All of Wikipedia onto a USB Flash Drive
-
I built a dictionary app even with more than and300 apps available at AppStore
Great work
I'm working on similar dictionary app and found wiktionary insanely usable as dictionary source.
Here is one more project aiming to make wiktionary data usable as json data structure: https://github.com/tatuylonen/wiktextract.
It has a link to a site https://kaikki.org/ which hosts dictionary data dumps.
-
Dynamically generating minimal pair decks for Anki
Hm, that would be a good idea... if I didn't have to download so much data (over 20GB for just audio?!). But, looking at the Python library that processed those dumps (https://github.com/tatuylonen/wiktextract), which is more manageable, using it would involve getting the WikiMedia dump file for every word on the list, then parsing them for the relevant data and what follows is mostly the same, except I end up with a bunch of cached files.
-
What are some of the best digital free dictionaries available online (even for commercial use)?
Many parsers are available. https://github.com/tatuylonen/wiktextract
-
Best Approach to importing a languages dictionary
I'd probably try pulling from Wiktionary, there looks to be a Python package that can do it here.
-
This is not perfect but it's a start
And the json is built with https://github.com/tatuylonen/wiktextract whom I have to thank
What are some alternatives?
io-ts - Runtime type system for IO decoding/encoding
WiktionaryParser - A Python Wiktionary Parser
baize - Powerful and exquisite WSGI/ASGI framework/toolkit.
trankit - Trankit is a Light-Weight Transformer-based Python Toolkit for Multilingual Natural Language Processing
pydantic - Data validation using Python type hints
laserembeddings - LASER multilingual sentence embeddings as a pip package
traitlets - A lightweight Traits like module
zim-tools - Various ZIM command line tools
hupper - in-process file monitor / reloader for reloading your code automatically during development
Kotoba - Quickly search the built-in iOS dictionary to see definitions of words. Collect words you want to remember.
OpenAlchemy - Define SQLAlchemy models using the OpenAPI specification.
browsertrix-crawler - Run a high-fidelity browser-based crawler in a single Docker container