Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Python Parser Projects
-
Project mention: utype VS pydantic - a user suggested alternative | libhunt.com/r/utype | 2024-02-15
utype is a concise alternative of pydantic with simplified parameters and usages, supporting both sync/async functions and generators parsing, and capable of using native logic operators to define logical types like AND/OR/NOT, also provides custom type parsing by register mechanism that supports libraries like pydantic, attrs and dataclasses
-
I love to use PDFMiner and PDFQuery for this https://github.com/pdfminer/pdfminer.six https://towardsdatascience.com/scrape-data-from-pdf-files-using-python-and-pdfquery-d033721c3b28
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Recommend checking out https://github.com/tobymao/sqlglot if you are interested in this capability for other SQL dialects
Tools like this are helpful for:
- Rendering SQL in a consistent way, eg for snapshot testing
-
Lark
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
Project mention: Show HN: I wrote a RDBMS (SQLite clone) from scratch in pure Python | news.ycombinator.com | 2023-08-13Lark supports, and recommends, writing and storing the grammar in a .lark file. We have syntax highlighting support in all major IDEs, and even in github itself. For example, here is Lark's built-in grammar for Python: https://github.com/lark-parser/lark/blob/master/lark/grammar...
You can also test grammars "live" in our online IDE: https://www.lark-parser.org/ide/
The rationale is that it's more terse and has less visual clutter than a DSL over Python, which makes it easier to read and write.
-
Project mention: Show HN: Databasediagram.com – Private, Text to Entity-Relationship Diagram Tool | news.ycombinator.com | 2023-06-08
Suggest checking out the sqlparse library for a way to do the different flavours without needing to address each case directly: https://github.com/andialbrecht/sqlparse
-
-
oletools
oletools - python tools to analyze MS OLE2 files (Structured Storage, Compound File Binary Format) and MS Office documents, for malware analysis, forensics and debugging.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
Project mention: Osint update of the Snoop Project tool search for user by nickname | news.ycombinator.com | 2024-01-02
-
rdflib
RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
-
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
Project mention: Htmx, Rust and Shuttle: A New Rapid Prototyping Stack | news.ycombinator.com | 2023-11-01 -
-
-
python-user-agents
A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.
-
cinemagoer
Cinemagoer is a Python package useful to retrieve and manage the data of the IMDb (to which we are not affiliated in any way) movie database about movies, people, characters and companies
-
-
Construct
Construct: Declarative data structures for python that allow symmetric parsing and building
-
guessit
GuessIt is a python library that extracts as much information as possible from a video filename.
-
-
There's also https://github.com/earwig/mwparserfromhell, if you don't want to roll your own.
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Parser related posts
- SQLGlot: No-dependency SQL parser, transpiler, optimizer for 21 SQL dialects
- Ship Faster by Organising Less
- SQLglot: Python SQL Parser and Transpiler
-
utype VS pydantic - a user suggested alternative
2 projects | 15 Feb 2024
- 100% User-Supported
- Show HN: Find consistent and conflict-free shortcuts for your app
- Pydantic v2 ruined the elegance of Pydantic v1
-
A note from our sponsor - InfluxDB
www.influxdata.com | 17 Apr 2024
Index
What are some of the best open-source Parser projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | pydantic | 18,442 |
2 | pdfminer.six | 5,404 |
3 | sqlglot | 5,389 |
4 | Lark | 4,458 |
5 | sqlparse | 3,570 |
6 | phonenumbers | 3,396 |
7 | oletools | 2,736 |
8 | PLY | 2,691 |
9 | snoop | 2,670 |
10 | rdflib | 2,073 |
11 | m3u8 | 1,910 |
12 | msgspec | 1,839 |
13 | typeguard | 1,428 |
14 | strictyaml | 1,407 |
15 | python-user-agents | 1,404 |
16 | cinemagoer | 1,188 |
17 | ViperMonkey | 1,018 |
18 | Construct | 874 |
19 | guessit | 802 |
20 | textX | 753 |
21 | mwparserfromhell | 698 |
22 | wiktextract | 696 |
23 | crossplane | 674 |