https://github.com/Instagram/LibCST
Score: 30.43744724925005
Last synced: about 14 hours ago
JSON representation
Repository metadata:
A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree
- Host: GitHub
- URL: https://github.com/Instagram/LibCST
- Owner: Instagram
- License: other
- Created: 2019-08-06T17:30:33.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2026-01-22T15:45:39.000Z (2 months ago)
- Last Synced: 2026-02-12T07:24:04.591Z (about 2 months ago)
- Language: Python
- Homepage: https://libcst.readthedocs.io/
- Size: 4.42 MB
- Stars: 1,845
- Watchers: 40
- Forks: 223
- Open Issues: 163
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Maintainers: MAINTAINERS.md
Owner metadata:
- Name: Instagram
- Login: Instagram
- Email:
- Kind: organization
- Description:
- Website: http://instagram.com
- Location: San Francisco, CA
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/549085?v=4
- Repositories: 27
- Last Synced at: 2024-03-25T20:14:31.057Z
- Profile URL: https://github.com/Instagram
GitHub Events
Total
- Create event: 113
- Delete event: 73
- Fork event: 32
- Issue comment event: 176
- Issues event: 36
- Pull request event: 250
- Pull request review comment event: 32
- Pull request review event: 44
- Push event: 231
- Release event: 4
- Watch event: 189
- Total: 1180
Last Year
- Create event: 106
- Delete event: 68
- Fork event: 30
- Issue comment event: 171
- Issues event: 36
- Pull request event: 237
- Pull request review comment event: 32
- Pull request review event: 44
- Push event: 231
- Release event: 4
- Watch event: 180
- Total: 1139
Committers metadata
Last synced: 5 months ago
Total Commits: 1,186
Total Committers: 99
Avg Commits per committer: 11.98
Development Distribution Score (DDS): 0.824
Commits in past year: 106
Committers in past year: 20
Avg Commits per committer in past year: 5.3
Development Distribution Score (DDS) in past year: 0.632
| Name | Commits | |
|---|---|---|
| Jennifer Taylor | j****r@f****m | 209 |
| Jimmy Lai | y****i@g****m | 206 |
| Zsolt Dollenstein | z****l@g****m | 186 |
| dependabot[bot] | 4****] | 145 |
| Benjamin Woodruff | b****w@f****m | 63 |
| Ray Zeng | r****g@f****m | 50 |
| Steven Troxler | s****r@g****m | 41 |
| Luke Petre | l****e@f****m | 32 |
| Tim Hatch | t****h@f****m | 23 |
| Germán Méndez Bravo | g****b@g****m | 19 |
| Amethyst Reese | a****t@m****m | 13 |
| MapleCCC | l****e@g****m | 11 |
| Josie Eshkenazi | e****e@g****m | 9 |
| Venkat Subramaniam | d****n@g****m | 9 |
| Martin DeMello | m****o@g****m | 8 |
| Zach Hammer | z****r@a****u | 8 |
| martin | 4****r | 7 |
| Nathan Goldbaum | n****m@g****m | 6 |
| Sebastian Kreft | s****- | 6 |
| Sergii Dymchenko | k****0@g****m | 5 |
| Batuhan Taskaya | i****l@g****m | 5 |
| Jennifer Taylor | d****d@d****m | 5 |
| zaicruvoir1rominet | 1****t | 4 |
| Kirill Ignatev | k****n@g****m | 4 |
| Danny Yang | y****7 | 4 |
| Caleb Donovick | c****k | 4 |
| Aarni Koskela | a****x@i****i | 4 |
| Zac Hatfield-Dodds | z****s@g****m | 3 |
| Roy Williams | r****s@l****m | 3 |
| Giorgi Megreli | g****g@f****m | 3 |
| and 69 more... | ||
Issue and Pull Request metadata
Last synced: 5 months ago
Total issues: 143
Total pull requests: 658
Average time to close issues: 5 months
Average time to close pull requests: about 1 month
Total issue authors: 83
Total pull request authors: 71
Average comments per issue: 1.71
Average comments per pull request: 1.14
Merged pull request: 360
Bot issues: 0
Bot pull requests: 347
Past year issues: 27
Past year pull requests: 244
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 19 days
Past year issue authors: 18
Past year pull request authors: 20
Past year average comments per issue: 1.3
Past year average comments per pull request: 0.65
Past year merged pull request: 133
Past year bot issues: 0
Past year bot pull requests: 120
Top Issue Authors
- zsol (12)
- Zac-HD (10)
- jakkdl (8)
- DRMacIver (4)
- AryazE (4)
- sirosen (4)
- kit1980 (4)
- befeleme (3)
- pelson (3)
- amyreese (3)
- orf (3)
- dhruvmanila (2)
- drinkmorewaterr (2)
- nschloe (2)
- Apteryks (2)
Top Pull Request Authors
- dependabot[bot] (347)
- zsol (131)
- amyreese (19)
- ngoldbaum (15)
- drinkmorewaterr (12)
- zaicruvoir1rominet (8)
- kiri11 (8)
- yangdanny97 (8)
- kit1980 (7)
- MrMino (4)
- camillol (4)
- akx (4)
- khameeteman (4)
- itamaro (3)
- stroxler (3)
Top Issue Labels
- parsing (33)
- bug (30)
- enhancement (22)
- machinery (8)
- codemod (7)
- documentation (6)
- good first issue (4)
- question (3)
- help wanted (2)
- wontfix (1)
- CLA Signed (1)
Top Pull Request Labels
- CLA Signed (601)
- dependencies (347)
- rust (169)
- python (96)
- github_actions (82)
- enhancement (2)
- documentation (2)
Package metadata
- Total packages: 7
-
Total downloads:
- pypi: 25,996,496 last-month
- cargo: 600,276 total
- Total docker downloads: 56,657,443
- Total dependent packages: 223 (may contain duplicates)
- Total dependent repositories: 1,527 (may contain duplicates)
- Total versions: 133
- Total maintainers: 6
pypi.org: libcst
A concrete syntax tree with AST-like properties for Python 3.0 through 3.13 programs.
- Homepage:
- Documentation: https://libcst.readthedocs.io/en/latest/
- Licenses: All contributions towards LibCST are MIT licensed. Some Python files have been derived from the standard library and are therefore PSF licensed. Modifications on these files are dual licensed (both MIT and PSF). These files are: - libcst/_parser/base_parser.py - libcst/_parser/parso/utils.py - libcst/_parser/parso/pgen2/generator.py - libcst/_parser/parso/pgen2/grammar_parser.py - libcst/_parser/parso/python/py_token.py - libcst/_parser/parso/python/tokenize.py - libcst/_parser/parso/tests/test_fstring.py - libcst/_parser/parso/tests/test_tokenize.py - libcst/_parser/parso/tests/test_utils.py - native/libcst/src/tokenizer/core/mod.rs - native/libcst/src/tokenizer/core/string_types.rs Some Python files have been taken from dataclasses and are therefore Apache licensed. Modifications on these files are licensed under Apache 2.0 license. These files are: - libcst/_add_slots.py ------------------------------------------------------------------------------- MIT License Copyright (c) Meta Platforms, Inc. and affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------- PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. ------------------------------------------------------------------------------- APACHE LICENSE, VERSION 2.0 http://www.apache.org/licenses/LICENSE-2.0
- Latest release: 1.8.5 (published 6 months ago)
- Last Synced: 2025-10-30T07:15:37.831Z (5 months ago)
- Versions: 64
- Dependent Packages: 191
- Dependent Repositories: 1,521
- Downloads: 25,996,474 Last month
- Docker Downloads: 10,091,103
-
Rankings:
- Downloads: 0.094%
- Dependent packages count: 0.115%
- Average: 0.264%
- Dependent repos count: 0.29%
- Docker downloads count: 0.558%
- Maintainers (4)
spack.io: py-libcst
A Concrete Syntax Tree (CST) parser and serializer library for Python.
- Homepage: https://github.com/Instagram/LibCST
- Licenses: []
- Latest release: 0.4.9 (published about 3 years ago)
- Last Synced: 2025-10-30T07:15:38.067Z (5 months ago)
- Versions: 1
- Dependent Packages: 1
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Stargazers count: 7.211%
- Forks count: 9.476%
- Average: 11.189%
- Dependent packages count: 28.067%
- Maintainers (1)
conda-forge.org: libcst
- Homepage: https://github.com/Instagram/LibCST
- Licenses: MIT
- Latest release: 0.4.9 (published over 3 years ago)
- Last Synced: 2025-10-30T07:16:56.639Z (5 months ago)
- Versions: 30
- Dependent Packages: 28
- Dependent Repositories: 3
-
Rankings:
- Dependent packages count: 2.371%
- Stargazers count: 11.829%
- Average: 11.929%
- Forks count: 15.628%
- Dependent repos count: 17.889%
crates.io: libcst_derive
Proc macro helpers for libcst.
- Homepage:
- Documentation: https://docs.rs/libcst_derive/
- Licenses: MIT
- Latest release: 1.8.5 (published 6 months ago)
- Last Synced: 2025-10-30T07:15:36.841Z (5 months ago)
- Versions: 15
- Dependent Packages: 1
- Dependent Repositories: 0
- Downloads: 299,608 Total
- Docker Downloads: 23,283,170
-
Rankings:
- Docker downloads count: 0.968%
- Stargazers count: 4.547%
- Forks count: 4.64%
- Average: 16.703%
- Downloads: 28.627%
- Dependent repos count: 30.191%
- Dependent packages count: 31.244%
- Maintainers (1)
crates.io: libcst
A Python parser and Concrete Syntax Tree library.
- Homepage:
- Documentation: https://docs.rs/libcst/
- Licenses: MIT AND (MIT AND PSF-2.0)
- Latest release: 1.8.5 (published 6 months ago)
- Last Synced: 2025-10-30T07:15:38.217Z (5 months ago)
- Versions: 15
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 300,668 Total
- Docker Downloads: 23,283,170
-
Rankings:
- Docker downloads count: 0.968%
- Stargazers count: 4.547%
- Forks count: 4.64%
- Average: 16.724%
- Downloads: 28.755%
- Dependent repos count: 30.191%
- Dependent packages count: 31.244%
- Maintainers (1)
pypi.org: fixit2
A lint framework that writes better Python code for you.
- Homepage: https://fixit.rtfd.io
- Documentation: https://fixit2.readthedocs.io/
- Licenses: MIT License Copyright (c) Facebook, Inc. and its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------- PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. ------------------------------------------------------------------------------- APACHE LICENSE, VERSION 2.0 http://www.apache.org/licenses/LICENSE-2.0
- Latest release: 2.0.0a1 (published over 3 years ago)
- Last Synced: 2025-10-30T07:16:14.577Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 22 Last month
-
Rankings:
- Dependent packages count: 6.633%
- Average: 18.622%
- Dependent repos count: 30.611%
- Maintainers (2)
anaconda.org: libcst
- Homepage: https://github.com/Instagram/LibCST
- Licenses: MIT
- Latest release: 1.6.0 (published about 1 year ago)
- Last Synced: 2025-10-30T07:15:09.348Z (5 months ago)
- Versions: 7
- Dependent Packages: 2
- Dependent Repositories: 3
-
Rankings:
- Dependent packages count: 13.491%
- Stargazers count: 22.28%
- Average: 27.382%
- Forks count: 27.966%
- Dependent repos count: 45.79%
Dependencies
- aho-corasick 0.7.18
- annotate-snippets 0.6.1
- atty 0.2.14
- autocfg 1.0.1
- bitflags 1.2.1
- bstr 0.2.16
- bumpalo 3.7.0
- cast 0.2.7
- cfg-if 1.0.0
- chic 1.2.2
- clap 2.33.3
- criterion 0.3.4
- criterion-cycles-per-byte 0.1.2
- criterion-plot 0.4.3
- crossbeam-channel 0.5.1
- crossbeam-deque 0.8.1
- crossbeam-epoch 0.9.5
- crossbeam-utils 0.8.8
- csv 1.1.6
- csv-core 0.1.10
- difference 2.0.0
- either 1.6.1
- glob 0.3.0
- half 1.7.1
- hermit-abi 0.1.19
- indoc 0.3.6
- indoc-impl 0.3.6
- instant 0.1.10
- itertools 0.9.0
- itertools 0.10.1
- itoa 0.4.7
- js-sys 0.3.51
- lazy_static 1.4.0
- libc 0.2.98
- lock_api 0.4.4
- log 0.4.14
- memchr 2.4.0
- memoffset 0.6.4
- num-traits 0.2.14
- num_cpus 1.13.0
- once_cell 1.8.0
- oorandom 11.1.3
- parking_lot 0.11.1
- parking_lot_core 0.8.3
- paste 0.1.18
- paste 1.0.5
- paste-impl 0.1.18
- peg 0.8.0
- peg-macros 0.8.0
- peg-runtime 0.8.0
- plotters 0.3.1
- plotters-backend 0.3.2
- plotters-svg 0.3.1
- proc-macro-hack 0.5.19
- proc-macro2 1.0.28
- pyo3 0.14.5
- pyo3-build-config 0.14.5
- pyo3-macros 0.14.5
- pyo3-macros-backend 0.14.5
- quote 1.0.9
- rayon 1.5.1
- rayon-core 1.9.1
- redox_syscall 0.2.9
- regex 1.5.5
- regex-automata 0.1.10
- regex-syntax 0.6.25
- rustc_version 0.4.0
- ryu 1.0.5
- same-file 1.0.6
- scopeguard 1.1.0
- semver 1.0.3
- serde 1.0.126
- serde_cbor 0.11.1
- serde_derive 1.0.126
- serde_json 1.0.64
- smallvec 1.6.1
- syn 1.0.74
- termcolor 1.1.3
- textwrap 0.11.0
- thiserror 1.0.26
- thiserror-impl 1.0.26
- tinytemplate 1.2.1
- toml 0.5.9
- trybuild 1.0.53
- unicode-width 0.1.8
- unicode-xid 0.2.2
- unindent 0.1.7
- walkdir 2.3.2
- wasm-bindgen 0.2.74
- wasm-bindgen-backend 0.2.74
- wasm-bindgen-macro 0.2.74
- wasm-bindgen-macro-support 0.2.74
- wasm-bindgen-shared 0.2.74
- web-sys 0.3.51
- winapi 0.3.9
- winapi-i686-pc-windows-gnu 0.4.0
- winapi-util 0.1.5
- winapi-x86_64-pc-windows-gnu 0.4.0
- chic 1.2.2
- itertools 0.10.0
- once_cell 1.5.2
- paste 1.0.4
- peg 0.8.0
- pyo3 0.14.4
- regex 1.5.5
- thiserror 1.0.23
- quote 1.0
- syn 1.0
- dep.strip *
- Swatinem/rust-cache v2.6.2 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- pypa/cibuildwheel v2.15.0 composite
- Swatinem/rust-cache v2.6.2 composite
- actions-rs/cargo v1 composite
- actions-rs/clippy-check v1 composite
- actions-rs/toolchain v1 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- codecov/codecov-action v3 composite
- ts-graphviz/setup-graphviz v1 composite
- actions/checkout v4 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
- pyyaml >=5.2
- typing_extensions >=3.7.4.2
- typing_inspect >=0.4.0