tbpatch

Token-based patch experiments (by ayourtch)

Tbpatch Alternatives

Similar projects and alternatives to tbpatch

  • LibCST

    9 tbpatch VS LibCST

    A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree

  • Bowler

    4 tbpatch VS Bowler

    Safe code refactoring for modern Python.

  • 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.

    InfluxDB logo
  • lib3to6

    Build universally compatible python packages from a substantial subset of Python 3.8.

  • RedBaron

    Bottom-up approach to refactoring in python

  • pasta

    1 tbpatch VS pasta

    Library to refactor python code through AST manipulation. (by google)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better tbpatch alternative or higher similarity.

tbpatch reviews and mentions

Posts with mentions or reviews of tbpatch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-07.
  • Our Engineering Team Used Python's AST to Patch 100,000s of Lines of Code
    9 projects | news.ycombinator.com | 7 Jun 2021
    I had a problem of applying patches to the files that got indented differently meantime.

    So I wrote a tool that takes a context diff, rebuilds the before and after text, then parses both as vectors of (leading whitespaces, token), then creates a diff of those vectors ignoring the whitespaces, parses the target file as a similar vector, and applies this diff to such a vector (again with ignoring/copying whitespaces) - after which it reconstructs the text.

    The results are surprisingly robust, despite the relatively naive tokenization heuristic.

    https://github.com/ayourtch/tbpatch

Stats

Basic tbpatch repo stats
1
0
0.0
almost 3 years ago

ayourtch/tbpatch is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of tbpatch is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com