Giter Club home page Giter Club logo

python-code-data's Introduction

python-code-data

Test workflow Documentation Status Binder PyPI - Python Version PyPi - Version

python-code-data is a tool for introspecting Python code as data objects, by translating from Python's built in Code object.

python-code-data's People

Contributors

saulshanabrook avatar pre-commit-ci[bot] avatar github-actions[bot] avatar dependabot[bot] avatar

Stargazers

Masanori Ogino avatar Max Bernstein avatar codeѕ тeaм avatar Suha Sabi Hussain avatar  avatar Jeff Carpenter avatar Jevin Sweval avatar  avatar Andreas Motl avatar Diwank Singh Tomer avatar Muhammad Rivaldi avatar Andrew Johnson avatar 0xsaif avatar Paul Everitt avatar André Roberge avatar frankfanslc avatar Anna Papitto avatar Yifan Wu avatar

Watchers

Jevin Sweval avatar Andreas Motl avatar  avatar

python-code-data's Issues

Try removing const nesting

Although it makes the types work statically, we should probably remove the nested representation for consts.

Instead, if we care about equality, we should just override that on the dataclasses.

switch rich pretty printing method

use rich's built in pretty printer instead of monkeypatching dataclasses. This adds ability to make some args positional. Not sure how to mark this in dataclasses, (whether to print out as positional or keyword). Could use keyword only arg, but this is 3.10+!

Test Typing on all python versions

Maybe we should test mypy on all python versions, so that downstream libraries who use mypy on an older python version will also work.

Refactor CFG analysis

The current CFG implementation was built off the previous code data. We should remove the old one and inline the logic.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.