Contents

solidity-parser 0.1.1

0

A Solidity parser for Python built on top of a robust ANTLR4 grammar

A Solidity parser for Python built on top of a robust ANTLR4 grammar

Stars: 131, Watchers: 131, Forks: 37, Open Issues: 7

The Consensys/python-solidity-parser repo was created 5 years ago and the last code push was 7 months ago.
The project is popular with 131 github stars!

How to Install solidity_parser

You can install solidity_parser using pip

pip install solidity_parser

or add it to a project with poetry

poetry add solidity_parser

Package Details

Author
tintinweb
License
MIT
Homepage
https://github.com/consensys/python-solidity-parser/
PyPi:
https://pypi.org/project/solidity-parser/
GitHub Repo:
https://github.com/consensys/python-solidity-parser
No  solidity_parser  pypi packages just yet.

Errors

A list of common solidity_parser errors.

Code Examples

Here are some solidity_parser code examples and snippets.

GitHub Issues

The solidity_parser package has 7 open issues on GitHub

  • Missing spaces in PragmaDirective
  • Parser can't handle the following line
  • Feature Request: Get object's raw source
  • Parser can't handle call

See more issues on GitHub

Related Packages & Articles

pycparser 2.22

pycparser is a Python package that provides a complete parser for the C programming language. It is written purely in Python and is often used as a front-end for C compilers or analysis tools. The package can parse C source code into an abstract syntax tree (AST), which can then be traversed and manipulated using Python. pycparser is library for developers that want to analyze or transform C code programmatically.

pykml 0.2.0

pyKML is a Python package for creating, parsing, manipulating, and validating KML, a language for encoding and annotating geographic data.

PyWavefront 1.3.3

PyWavefront is a Python library designed for importing Wavefront 3D object files (.obj and .obj.gz) and material files (.mtl). It generates interleaved vertex data for each material, making it ready for rendering. The library supports Python 3.4+ and offers a simple optional visualization module for rendering the objects. PyWavefront supports positions, texture coordinates, normals, vertex color, material parsing, texture, and texture parameters. It's an ideal tool for Python developers working with 3D graphics and Wavefront files.

starlette-context 0.3.6

Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.

authx 1.1.0

Ready to use and customizable Authentications and Oauth2 management for FastAPI