libcst


Namelibcst JSON
Version 1.3.0 PyPI version JSON
download
home_pageNone
SummaryA concrete syntax tree with AST-like properties for Python 3.0 through 3.12 programs.
upload_time2024-04-03 19:42:02
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseAll 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
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: docs/source/_static/logo/horizontal.svg
   :width: 600 px
   :alt: LibCST

A Concrete Syntax Tree (CST) parser and serializer library for Python

|support-ukraine| |readthedocs-badge| |ci-badge| |codecov-badge| |pypi-badge| |pypi-download| |notebook-badge|

.. |support-ukraine| image:: https://img.shields.io/badge/Support-Ukraine-FFD500?style=flat&labelColor=005BBB
   :alt: Support Ukraine - Help Provide Humanitarian Aid to Ukraine.
   :target: https://opensource.fb.com/support-ukraine

.. |readthedocs-badge| image:: https://readthedocs.org/projects/libcst/badge/?version=latest&style=flat
   :target: https://libcst.readthedocs.io/en/latest/
   :alt: Documentation

.. |ci-badge| image:: https://github.com/Instagram/LibCST/actions/workflows/build.yml/badge.svg
   :target: https://github.com/Instagram/LibCST/actions/workflows/build.yml?query=branch%3Amain
   :alt: Github Actions

.. |codecov-badge| image:: https://codecov.io/gh/Instagram/LibCST/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/Instagram/LibCST/branch/main
   :alt: CodeCov

.. |pypi-badge| image:: https://img.shields.io/pypi/v/libcst.svg
   :target: https://pypi.org/project/libcst
   :alt: PYPI

.. |pypi-download| image:: https://pepy.tech/badge/libcst/month
   :target: https://pepy.tech/project/libcst/month
   :alt: PYPI Download


.. |notebook-badge| image:: https://img.shields.io/badge/notebook-run-579ACA.svg?logo=data:image/png;base64,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
   :target: https://mybinder.org/v2/gh/Instagram/LibCST/main?filepath=docs%2Fsource%2Ftutorial.ipynb
   :alt: Notebook

.. intro-start

LibCST parses Python 3.0 -> 3.12 source code as a CST tree that keeps
all formatting details (comments, whitespaces, parentheses, etc). It's useful for
building automated refactoring (codemod) applications and linters.

.. intro-end

.. why-libcst-intro-start

LibCST creates a compromise between an Abstract Syntax Tree (AST) and a traditional
Concrete Syntax Tree (CST). By carefully reorganizing and naming node types and
fields, we've created a lossless CST that looks and feels like an AST.

.. why-libcst-intro-end

You can learn more about `the value that LibCST provides
<https://libcst.readthedocs.io/en/latest/why_libcst.html>`__ and `our
motivations for the project
<https://libcst.readthedocs.io/en/latest/motivation.html>`__
in `our documentation <https://libcst.readthedocs.io/en/latest/index.html>`__.
Try it out with `notebook examples <https://mybinder.org/v2/gh/Instagram/LibCST/main?filepath=docs%2Fsource%2Ftutorial.ipynb>`__.

Example expression::

    1 + 2

CST representation:

.. code-block:: python

    BinaryOperation(
        left=Integer(
            value='1',
            lpar=[],
            rpar=[],
        ),
        operator=Add(
            whitespace_before=SimpleWhitespace(
                value=' ',
            ),
            whitespace_after=SimpleWhitespace(
                value=' ',
            ),
        ),
        right=Integer(
            value='2',
            lpar=[],
            rpar=[],
        ),
        lpar=[],
        rpar=[],
    )

Getting Started
===============

Examining a sample tree
-----------------------

To examine the tree that is parsed from a particular file, do the following::

    python -m libcst.tool print <some_py_file.py>

Alternatively, you can import LibCST into a Python REPL and use the included parser
and pretty printing functions:

>>> import libcst as cst
>>> from libcst.tool import dump
>>> print(dump(cst.parse_expression("(1 + 2)")))
BinaryOperation(
  left=Integer(
    value='1',
  ),
  operator=Add(),
  right=Integer(
    value='2',
  ),
  lpar=[
    LeftParen(),
  ],
  rpar=[
    RightParen(),
  ],
)

For a more detailed usage example, `see our documentation
<https://libcst.readthedocs.io/en/latest/tutorial.html>`__.

Installation
------------

LibCST requires Python 3.9+ and can be easily installed using most common Python
packaging tools. We recommend installing the latest stable release from
`PyPI <https://pypi.org/project/libcst/>`_ with pip:

.. code-block:: shell

    pip install libcst

For parsing, LibCST ships with a native extension, so releases are distributed as binary
wheels as well as the source code. If a binary wheel is not available for your system
(Linux/Windows x86/x64 and Mac x64/arm are covered), you'll need a recent
`Rust toolchain <https://rustup.rs>`_ for installing.

Further Reading
---------------
- `Static Analysis at Scale: An Instagram Story. <https://instagram-engineering.com/static-analysis-at-scale-an-instagram-story-8f498ab71a0c>`_
- `Refactoring Python with LibCST. <https://chairnerd.seatgeek.com/refactoring-python-with-libcst/>`_

Development
-----------

You'll need a recent `Rust toolchain <https://rustup.rs>`_ for developing.

We recommend using `hatch <https://hatch.pypa.io/>` for running tests, linters,
etc.

Then, start by setting up and building the project:

.. code-block:: shell

    git clone git@github.com:Instagram/LibCST.git libcst
    cd libcst
    hatch env create

To run the project's test suite, you can:

.. code-block:: shell

    hatch run test

You can also run individual tests by using unittest and specifying a module like
this:

.. code-block:: shell

    hatch run python -m unittest libcst.tests.test_batched_visitor

See the `unittest documentation <https://docs.python.org/3/library/unittest.html>`_
for more examples of how to run tests.

We have multiple linters, including copyright checks and
`slotscheck <https://slotscheck.rtfd.io>`_ to check the correctness of class
``__slots__``. To run all of the linters:

.. code-block:: shell

    hatch run lint

We use `ufmt <https://ufmt.omnilib.dev/en/stable/>`_ to format code. To format
changes to be conformant, run the following in the root:

.. code-block:: shell

    hatch run format

Building
~~~~~~~~

In order to build LibCST, which includes a native parser module, you
will need to have the Rust build tool ``cargo`` on your path. You can
usually install ``cargo`` using your system package manager, but the
most popular way to install cargo is using
`rustup <https://rustup.rs/>`_.

To build just the native parser, do the following from the ``native``
directory:

.. code-block:: shell

    cargo build

To rebuild the ``libcst.native`` module, from the repo root:

.. code-block:: shell

    hatch env prune && hatch env create

Type Checking
~~~~~~~~~~~~~

We use `Pyre <https://github.com/facebook/pyre-check>`_ for type-checking.

To verify types for the library, do the following in the root:

.. code-block:: shell

    hatch run typecheck

Generating Documents
~~~~~~~~~~~~~~~~~~~~

To generate documents, do the following in the root:

.. code-block:: shell

    hatch run docs

Future
======

- Advanced full repository facts providers like fully qualified name and call graph.

License
=======

LibCST is `MIT licensed <LICENSE>`_, as found in the LICENSE file.

.. fb-docs-start

Privacy Policy and Terms of Use
===============================

- `Privacy Policy <https://opensource.facebook.com/legal/privacy>`_
- `Terms of Use <https://opensource.facebook.com/legal/terms>`_

.. fb-docs-end

Acknowledgements
================

- Guido van Rossum for creating the parser generator pgen2 (originally used in lib2to3 and forked into parso).
- David Halter for parso which provides the parser and tokenizer that LibCST sits on top of.
- Zac Hatfield-Dodds for hypothesis integration which continues to help us find bugs.
- Zach Hammer improved type annotation for Mypy compatibility.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "libcst",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/ad/2f/39155a18ccab5415b78704e381acd825362b64c7452c3133ad7f47198c90/libcst-1.3.0.tar.gz",
    "platform": null,
    "description": ".. image:: docs/source/_static/logo/horizontal.svg\n   :width: 600 px\n   :alt: LibCST\n\nA Concrete Syntax Tree (CST) parser and serializer library for Python\n\n|support-ukraine| |readthedocs-badge| |ci-badge| |codecov-badge| |pypi-badge| |pypi-download| |notebook-badge|\n\n.. |support-ukraine| image:: https://img.shields.io/badge/Support-Ukraine-FFD500?style=flat&labelColor=005BBB\n   :alt: Support Ukraine - Help Provide Humanitarian Aid to Ukraine.\n   :target: https://opensource.fb.com/support-ukraine\n\n.. |readthedocs-badge| image:: https://readthedocs.org/projects/libcst/badge/?version=latest&style=flat\n   :target: https://libcst.readthedocs.io/en/latest/\n   :alt: Documentation\n\n.. |ci-badge| image:: https://github.com/Instagram/LibCST/actions/workflows/build.yml/badge.svg\n   :target: https://github.com/Instagram/LibCST/actions/workflows/build.yml?query=branch%3Amain\n   :alt: Github Actions\n\n.. |codecov-badge| image:: https://codecov.io/gh/Instagram/LibCST/branch/main/graph/badge.svg\n   :target: https://codecov.io/gh/Instagram/LibCST/branch/main\n   :alt: CodeCov\n\n.. |pypi-badge| image:: https://img.shields.io/pypi/v/libcst.svg\n   :target: https://pypi.org/project/libcst\n   :alt: PYPI\n\n.. |pypi-download| image:: https://pepy.tech/badge/libcst/month\n   :target: https://pepy.tech/project/libcst/month\n   :alt: PYPI Download\n\n\n.. |notebook-badge| image:: https://img.shields.io/badge/notebook-run-579ACA.svg?logo=data:image/png;base64,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\n   :target: https://mybinder.org/v2/gh/Instagram/LibCST/main?filepath=docs%2Fsource%2Ftutorial.ipynb\n   :alt: Notebook\n\n.. intro-start\n\nLibCST parses Python 3.0 -> 3.12 source code as a CST tree that keeps\nall formatting details (comments, whitespaces, parentheses, etc). It's useful for\nbuilding automated refactoring (codemod) applications and linters.\n\n.. intro-end\n\n.. why-libcst-intro-start\n\nLibCST creates a compromise between an Abstract Syntax Tree (AST) and a traditional\nConcrete Syntax Tree (CST). By carefully reorganizing and naming node types and\nfields, we've created a lossless CST that looks and feels like an AST.\n\n.. why-libcst-intro-end\n\nYou can learn more about `the value that LibCST provides\n<https://libcst.readthedocs.io/en/latest/why_libcst.html>`__ and `our\nmotivations for the project\n<https://libcst.readthedocs.io/en/latest/motivation.html>`__\nin `our documentation <https://libcst.readthedocs.io/en/latest/index.html>`__.\nTry it out with `notebook examples <https://mybinder.org/v2/gh/Instagram/LibCST/main?filepath=docs%2Fsource%2Ftutorial.ipynb>`__.\n\nExample expression::\n\n    1 + 2\n\nCST representation:\n\n.. code-block:: python\n\n    BinaryOperation(\n        left=Integer(\n            value='1',\n            lpar=[],\n            rpar=[],\n        ),\n        operator=Add(\n            whitespace_before=SimpleWhitespace(\n                value=' ',\n            ),\n            whitespace_after=SimpleWhitespace(\n                value=' ',\n            ),\n        ),\n        right=Integer(\n            value='2',\n            lpar=[],\n            rpar=[],\n        ),\n        lpar=[],\n        rpar=[],\n    )\n\nGetting Started\n===============\n\nExamining a sample tree\n-----------------------\n\nTo examine the tree that is parsed from a particular file, do the following::\n\n    python -m libcst.tool print <some_py_file.py>\n\nAlternatively, you can import LibCST into a Python REPL and use the included parser\nand pretty printing functions:\n\n>>> import libcst as cst\n>>> from libcst.tool import dump\n>>> print(dump(cst.parse_expression(\"(1 + 2)\")))\nBinaryOperation(\n  left=Integer(\n    value='1',\n  ),\n  operator=Add(),\n  right=Integer(\n    value='2',\n  ),\n  lpar=[\n    LeftParen(),\n  ],\n  rpar=[\n    RightParen(),\n  ],\n)\n\nFor a more detailed usage example, `see our documentation\n<https://libcst.readthedocs.io/en/latest/tutorial.html>`__.\n\nInstallation\n------------\n\nLibCST requires Python 3.9+ and can be easily installed using most common Python\npackaging tools. We recommend installing the latest stable release from\n`PyPI <https://pypi.org/project/libcst/>`_ with pip:\n\n.. code-block:: shell\n\n    pip install libcst\n\nFor parsing, LibCST ships with a native extension, so releases are distributed as binary\nwheels as well as the source code. If a binary wheel is not available for your system\n(Linux/Windows x86/x64 and Mac x64/arm are covered), you'll need a recent\n`Rust toolchain <https://rustup.rs>`_ for installing.\n\nFurther Reading\n---------------\n- `Static Analysis at Scale: An Instagram Story. <https://instagram-engineering.com/static-analysis-at-scale-an-instagram-story-8f498ab71a0c>`_\n- `Refactoring Python with LibCST. <https://chairnerd.seatgeek.com/refactoring-python-with-libcst/>`_\n\nDevelopment\n-----------\n\nYou'll need a recent `Rust toolchain <https://rustup.rs>`_ for developing.\n\nWe recommend using `hatch <https://hatch.pypa.io/>` for running tests, linters,\netc.\n\nThen, start by setting up and building the project:\n\n.. code-block:: shell\n\n    git clone git@github.com:Instagram/LibCST.git libcst\n    cd libcst\n    hatch env create\n\nTo run the project's test suite, you can:\n\n.. code-block:: shell\n\n    hatch run test\n\nYou can also run individual tests by using unittest and specifying a module like\nthis:\n\n.. code-block:: shell\n\n    hatch run python -m unittest libcst.tests.test_batched_visitor\n\nSee the `unittest documentation <https://docs.python.org/3/library/unittest.html>`_\nfor more examples of how to run tests.\n\nWe have multiple linters, including copyright checks and\n`slotscheck <https://slotscheck.rtfd.io>`_ to check the correctness of class\n``__slots__``. To run all of the linters:\n\n.. code-block:: shell\n\n    hatch run lint\n\nWe use `ufmt <https://ufmt.omnilib.dev/en/stable/>`_ to format code. To format\nchanges to be conformant, run the following in the root:\n\n.. code-block:: shell\n\n    hatch run format\n\nBuilding\n~~~~~~~~\n\nIn order to build LibCST, which includes a native parser module, you\nwill need to have the Rust build tool ``cargo`` on your path. You can\nusually install ``cargo`` using your system package manager, but the\nmost popular way to install cargo is using\n`rustup <https://rustup.rs/>`_.\n\nTo build just the native parser, do the following from the ``native``\ndirectory:\n\n.. code-block:: shell\n\n    cargo build\n\nTo rebuild the ``libcst.native`` module, from the repo root:\n\n.. code-block:: shell\n\n    hatch env prune && hatch env create\n\nType Checking\n~~~~~~~~~~~~~\n\nWe use `Pyre <https://github.com/facebook/pyre-check>`_ for type-checking.\n\nTo verify types for the library, do the following in the root:\n\n.. code-block:: shell\n\n    hatch run typecheck\n\nGenerating Documents\n~~~~~~~~~~~~~~~~~~~~\n\nTo generate documents, do the following in the root:\n\n.. code-block:: shell\n\n    hatch run docs\n\nFuture\n======\n\n- Advanced full repository facts providers like fully qualified name and call graph.\n\nLicense\n=======\n\nLibCST is `MIT licensed <LICENSE>`_, as found in the LICENSE file.\n\n.. fb-docs-start\n\nPrivacy Policy and Terms of Use\n===============================\n\n- `Privacy Policy <https://opensource.facebook.com/legal/privacy>`_\n- `Terms of Use <https://opensource.facebook.com/legal/terms>`_\n\n.. fb-docs-end\n\nAcknowledgements\n================\n\n- Guido van Rossum for creating the parser generator pgen2 (originally used in lib2to3 and forked into parso).\n- David Halter for parso which provides the parser and tokenizer that LibCST sits on top of.\n- Zac Hatfield-Dodds for hypothesis integration which continues to help us find bugs.\n- Zach Hammer improved type annotation for Mypy compatibility.\n",
    "bugtrack_url": null,
    "license": "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 ",
    "summary": "A concrete syntax tree with AST-like properties for Python 3.0 through 3.12 programs.",
    "version": "1.3.0",
    "project_urls": {
        "Changelog": "https://github.com/Instagram/LibCST/blob/main/CHANGELOG.md",
        "Documentation": "https://libcst.readthedocs.io/en/latest/",
        "Github": "https://github.com/Instagram/LibCST"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a446191dc344b16952dba7661d3e1c4b79fa2e14c1c48d50091ff8fa3343859",
                "md5": "613fcf980ce71e7313960c5603d30ca6",
                "sha256": "700ee79c9396d64f869d76cf886a4c7960faecfaebbb5762de1ba290760d7ea2"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "613fcf980ce71e7313960c5603d30ca6",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 2114803,
            "upload_time": "2024-04-03T19:41:12",
            "upload_time_iso_8601": "2024-04-03T19:41:12.338197Z",
            "url": "https://files.pythonhosted.org/packages/0a/44/6191dc344b16952dba7661d3e1c4b79fa2e14c1c48d50091ff8fa3343859/libcst-1.3.0-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6561556779e30a664e7e8115120e403118ff723afad5e85d1494d7e0946d726e",
                "md5": "2791401142684f0c936a464e82f8f386",
                "sha256": "cff7c22a919b5f8b466babaadb0efc67b0dc46fedf950bc43d9913dbc6217bed"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "2791401142684f0c936a464e82f8f386",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 2047381,
            "upload_time": "2024-04-03T19:41:14",
            "upload_time_iso_8601": "2024-04-03T19:41:14.799665Z",
            "url": "https://files.pythonhosted.org/packages/65/61/556779e30a664e7e8115120e403118ff723afad5e85d1494d7e0946d726e/libcst-1.3.0-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7fe3c3650393a091167c1246b7c43e6496210bb6dda02eee4c12d2dd4469627d",
                "md5": "8bd2147b3ecf8620028f4b28d8eaaaaa",
                "sha256": "aa6c77d918f7f45939a2722bb6946020230f37425674fec14ca1ed806c397f5a"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "8bd2147b3ecf8620028f4b28d8eaaaaa",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 2224533,
            "upload_time": "2024-04-03T19:41:17",
            "upload_time_iso_8601": "2024-04-03T19:41:17.144985Z",
            "url": "https://files.pythonhosted.org/packages/7f/e3/c3650393a091167c1246b7c43e6496210bb6dda02eee4c12d2dd4469627d/libcst-1.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "599c43c0e90e07ac6721b8726ba41dbfe0e6ecd8632cf2819f9748062e442c6a",
                "md5": "fc57ca8ac5e4a37d9f895289c699a3e2",
                "sha256": "027de31571a1c85a83f04c098f572b0377baae2ba65e090d3d4fb234b05ac2d0"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "fc57ca8ac5e4a37d9f895289c699a3e2",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 2261631,
            "upload_time": "2024-04-03T19:41:19",
            "upload_time_iso_8601": "2024-04-03T19:41:19.029757Z",
            "url": "https://files.pythonhosted.org/packages/59/9c/43c0e90e07ac6721b8726ba41dbfe0e6ecd8632cf2819f9748062e442c6a/libcst-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "939ddd5beb159fe3efd4972d0c0072ccfd47a5b088739c6db2ce7d7bf8707664",
                "md5": "dad8d9eec6f525c03b7c429b278726db",
                "sha256": "3b5a3c2beb8df487752c53e573c6ed98ad2425f05ab3f26eb3eab19caabd7f76"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "dad8d9eec6f525c03b7c429b278726db",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 2346057,
            "upload_time": "2024-04-03T19:41:21",
            "upload_time_iso_8601": "2024-04-03T19:41:21.908436Z",
            "url": "https://files.pythonhosted.org/packages/93/9d/dd5beb159fe3efd4972d0c0072ccfd47a5b088739c6db2ce7d7bf8707664/libcst-1.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40f856ac3ee7938eb95bcec5acf236b2dd176e26bab17da88f12cb7b198a34d8",
                "md5": "10c972b056176729a8b9f7a474f643f0",
                "sha256": "54ec7c3a976c00e0b354ef8d234028bdb34194be9fc8d3a648e1acca3859f701"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "10c972b056176729a8b9f7a474f643f0",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 2034506,
            "upload_time": "2024-04-03T19:41:23",
            "upload_time_iso_8601": "2024-04-03T19:41:23.920556Z",
            "url": "https://files.pythonhosted.org/packages/40/f8/56ac3ee7938eb95bcec5acf236b2dd176e26bab17da88f12cb7b198a34d8/libcst-1.3.0-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d145e5ff21c554f4e8bae1733c555443e0aaa65b55041a94d5290dae0dc7c92",
                "md5": "3e929e7df301c7fe7b1b96f3d97bf706",
                "sha256": "9d688cf9771ec02f7674912d6cb44fa63e0bad0675f8fa06ee5cc1cb442344c6"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3e929e7df301c7fe7b1b96f3d97bf706",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 2114864,
            "upload_time": "2024-04-03T19:41:25",
            "upload_time_iso_8601": "2024-04-03T19:41:25.717538Z",
            "url": "https://files.pythonhosted.org/packages/2d/14/5e5ff21c554f4e8bae1733c555443e0aaa65b55041a94d5290dae0dc7c92/libcst-1.3.0-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5bbe9bceace2c42de3a99c734f9f6a44dd4005e9860b412a54d57be5b94d6002",
                "md5": "d40878728a1ea19a6547b8f2cc9e2437",
                "sha256": "a1a7309cc3ccd4efe36ad24ae94fee8da71375fb20e69b7c1b1d6dcbfbce4d96"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "d40878728a1ea19a6547b8f2cc9e2437",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 2047573,
            "upload_time": "2024-04-03T19:41:27",
            "upload_time_iso_8601": "2024-04-03T19:41:27.933062Z",
            "url": "https://files.pythonhosted.org/packages/5b/be/9bceace2c42de3a99c734f9f6a44dd4005e9860b412a54d57be5b94d6002/libcst-1.3.0-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f6da7270939f1ac463da6f1c96e341703fb74557b9ee59290c803d29a64bb05",
                "md5": "82b11eb1c222e74b2e104cc0c6cf38e9",
                "sha256": "a04341637277d055eb55f3d27979dfba513ca3620e46a533f15d3c2389258df4"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "82b11eb1c222e74b2e104cc0c6cf38e9",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 2224708,
            "upload_time": "2024-04-03T19:41:30",
            "upload_time_iso_8601": "2024-04-03T19:41:30.200962Z",
            "url": "https://files.pythonhosted.org/packages/2f/6d/a7270939f1ac463da6f1c96e341703fb74557b9ee59290c803d29a64bb05/libcst-1.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1ce90a658691d14dc5c7d8989c19b250d03c16a11a90b9bb13b299546a570772",
                "md5": "7682cd5e3a78551e2af95897f3ba2140",
                "sha256": "8d1a91976ac87772f5818415d725e9403bdaf29d85dc300844b600ae085b2168"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7682cd5e3a78551e2af95897f3ba2140",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 2261522,
            "upload_time": "2024-04-03T19:41:32",
            "upload_time_iso_8601": "2024-04-03T19:41:32.634476Z",
            "url": "https://files.pythonhosted.org/packages/1c/e9/0a658691d14dc5c7d8989c19b250d03c16a11a90b9bb13b299546a570772/libcst-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e340671dbbc3be86dfa42bdcea2882e98fd23a00ad5e656b87aab33f9673ac23",
                "md5": "ff80485c6006634a161d9a3275a49ef6",
                "sha256": "a56f0017c78e5c22a4dc12d44a63dd031ff6a93beebd79a180aefa9396a64537"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "ff80485c6006634a161d9a3275a49ef6",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 2346041,
            "upload_time": "2024-04-03T19:41:34",
            "upload_time_iso_8601": "2024-04-03T19:41:34.436104Z",
            "url": "https://files.pythonhosted.org/packages/e3/40/671dbbc3be86dfa42bdcea2882e98fd23a00ad5e656b87aab33f9673ac23/libcst-1.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "514cb5dec23086f3aad2f0a5e23212de6aeb0829959119e623cf079f6c5870da",
                "md5": "8455b10c750beff48b2fd47ebd47ba4c",
                "sha256": "7b8e4d3411850ac3815b725cdde1140024c9788b15b44fee258511ec9b596089"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "8455b10c750beff48b2fd47ebd47ba4c",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 2034511,
            "upload_time": "2024-04-03T19:41:36",
            "upload_time_iso_8601": "2024-04-03T19:41:36.741961Z",
            "url": "https://files.pythonhosted.org/packages/51/4c/b5dec23086f3aad2f0a5e23212de6aeb0829959119e623cf079f6c5870da/libcst-1.3.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "755c28864aab67ed523a00df10faf7181ae175f67d1e806fc4ab46ac4f7edb65",
                "md5": "0a23c3f0bf18d41f7dc4726bc3447b71",
                "sha256": "c840a8597f18e90afa988c8f8f95b5bfde711ae66d92069d033d98569e96d47e"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp312-cp312-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "0a23c3f0bf18d41f7dc4726bc3447b71",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 2111040,
            "upload_time": "2024-04-03T19:41:39",
            "upload_time_iso_8601": "2024-04-03T19:41:39.101321Z",
            "url": "https://files.pythonhosted.org/packages/75/5c/28864aab67ed523a00df10faf7181ae175f67d1e806fc4ab46ac4f7edb65/libcst-1.3.0-cp312-cp312-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f520ce447cce2c72ca62e200e018e606373be3966261358ad635b871f52cbdd2",
                "md5": "0d74bee9920f8be294a20fc49a7a8b85",
                "sha256": "d169f20ac56794a89958d91becc6db5a6a411aedcf9b92828b411c696918722a"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp312-cp312-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "0d74bee9920f8be294a20fc49a7a8b85",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 2044571,
            "upload_time": "2024-04-03T19:41:41",
            "upload_time_iso_8601": "2024-04-03T19:41:41.730582Z",
            "url": "https://files.pythonhosted.org/packages/f5/20/ce447cce2c72ca62e200e018e606373be3966261358ad635b871f52cbdd2/libcst-1.3.0-cp312-cp312-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a425028be9df24fd6f6b71ad1b5e61326878377647a7fb3d31048d016ed83dc",
                "md5": "22844686bcd687f4322c44902f68cba6",
                "sha256": "03191aff299bb045680e66a1d5dcd1beca25908be7aef623385b11a052521935"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "22844686bcd687f4322c44902f68cba6",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 2221170,
            "upload_time": "2024-04-03T19:41:44",
            "upload_time_iso_8601": "2024-04-03T19:41:44.099643Z",
            "url": "https://files.pythonhosted.org/packages/4a/42/5028be9df24fd6f6b71ad1b5e61326878377647a7fb3d31048d016ed83dc/libcst-1.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12432f68dfc8d041d09174decc9a61736eb5445633036ab32a6823729737c090",
                "md5": "b446959cd131b4150a44e9639d316444",
                "sha256": "bf5fe48eea2e1d7124780f528291c471c532de16a8fa605997d75c4790a88c7b"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b446959cd131b4150a44e9639d316444",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 2258402,
            "upload_time": "2024-04-03T19:41:45",
            "upload_time_iso_8601": "2024-04-03T19:41:45.847935Z",
            "url": "https://files.pythonhosted.org/packages/12/43/2f68dfc8d041d09174decc9a61736eb5445633036ab32a6823729737c090/libcst-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a755fdc972dfa70b339bd235b30c4a92aabf9262ff80e332cc4356f2e5196644",
                "md5": "be3b40fdd1f4994fab16702cb54633df",
                "sha256": "915f2342d930a8f2e0fade84647e607bb8e3e14972c442193cd383425e9605ee"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "be3b40fdd1f4994fab16702cb54633df",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 2340195,
            "upload_time": "2024-04-03T19:41:47",
            "upload_time_iso_8601": "2024-04-03T19:41:47.691462Z",
            "url": "https://files.pythonhosted.org/packages/a7/55/fdc972dfa70b339bd235b30c4a92aabf9262ff80e332cc4356f2e5196644/libcst-1.3.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "41d76dfae580fff2694874284e44c9c0042739e73ea9edf4221ac25a509f7873",
                "md5": "a4a4b9762acb704a1021b1f5a2f62f56",
                "sha256": "6f35cb3bee8ee047a8ef5a59758da96749ea5fa381846ef8d13862efe2678a4e"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "a4a4b9762acb704a1021b1f5a2f62f56",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 2036196,
            "upload_time": "2024-04-03T19:41:49",
            "upload_time_iso_8601": "2024-04-03T19:41:49.335034Z",
            "url": "https://files.pythonhosted.org/packages/41/d7/6dfae580fff2694874284e44c9c0042739e73ea9edf4221ac25a509f7873/libcst-1.3.0-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "896864950c10082166c88e85ba7d7a7a33b2fb5aeb2c709dfa7c068baab8d828",
                "md5": "2ae850671c8ce2929941b95b77e65b47",
                "sha256": "7aea6da181583e5eb354a172e80fb8d7d57c6f1fd5995db344d64e094163dcac"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2ae850671c8ce2929941b95b77e65b47",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2114744,
            "upload_time": "2024-04-03T19:41:51",
            "upload_time_iso_8601": "2024-04-03T19:41:51.120331Z",
            "url": "https://files.pythonhosted.org/packages/89/68/64950c10082166c88e85ba7d7a7a33b2fb5aeb2c709dfa7c068baab8d828/libcst-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dc86265e98ad475dc825ddcaa1ce1d19773c49194c3ec7f32c94de3fbb1ec05f",
                "md5": "dde8815bc8729cc078e5f1d6aabeabdc",
                "sha256": "e9ad32ccdd318993719d9d211425f17f8296c4e439ef4fa9833d1bebe72f0b5b"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp39-cp39-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "dde8815bc8729cc078e5f1d6aabeabdc",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2047418,
            "upload_time": "2024-04-03T19:41:53",
            "upload_time_iso_8601": "2024-04-03T19:41:53.395463Z",
            "url": "https://files.pythonhosted.org/packages/dc/86/265e98ad475dc825ddcaa1ce1d19773c49194c3ec7f32c94de3fbb1ec05f/libcst-1.3.0-cp39-cp39-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9fd6f33623f3370b3cc49e549ba83f37e2cd4639239fd3594679091aebdf6e0b",
                "md5": "1310ab19b1ed653a32735d4c57404523",
                "sha256": "07ffe78a54e66815b5b8de069acc192a031004e6c6bd9611a2fab4ffaf9e8b9d"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "1310ab19b1ed653a32735d4c57404523",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2225000,
            "upload_time": "2024-04-03T19:41:55",
            "upload_time_iso_8601": "2024-04-03T19:41:55.255390Z",
            "url": "https://files.pythonhosted.org/packages/9f/d6/f33623f3370b3cc49e549ba83f37e2cd4639239fd3594679091aebdf6e0b/libcst-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48659300d2291f56a80e9c7ef331c6ddb65b7379c546c202202ab6ca138d909e",
                "md5": "a5c720501172e933874c92bb26e61bcf",
                "sha256": "e1ed4b78311d25801d126affdd1069697608ab9eb9359137df907a3667784c48"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a5c720501172e933874c92bb26e61bcf",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2261651,
            "upload_time": "2024-04-03T19:41:56",
            "upload_time_iso_8601": "2024-04-03T19:41:56.899477Z",
            "url": "https://files.pythonhosted.org/packages/48/65/9300d2291f56a80e9c7ef331c6ddb65b7379c546c202202ab6ca138d909e/libcst-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ccc17f8dc6b83e138ae54e9d877c2568eab22fe16b78aeb240ba2fb031721641",
                "md5": "816b3bc797a446113c9675c045f8b605",
                "sha256": "58419f186960fef5cdf1b74db13c06227fb779eef0330f2d22fccc1578abb426"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "816b3bc797a446113c9675c045f8b605",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2346195,
            "upload_time": "2024-04-03T19:41:58",
            "upload_time_iso_8601": "2024-04-03T19:41:58.547003Z",
            "url": "https://files.pythonhosted.org/packages/cc/c1/7f8dc6b83e138ae54e9d877c2568eab22fe16b78aeb240ba2fb031721641/libcst-1.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b39af046d4c1199b6acd4b009ded4cee18c84153f65ab7b82e278a9b7f2b5f43",
                "md5": "3e6b495943dc0e0a8e410b5f8ac9693c",
                "sha256": "373eb0a299ad766e9ce7f2888a0ed87c030a5fa77f3dc2e3b4535f3751c6fd61"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "3e6b495943dc0e0a8e410b5f8ac9693c",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2034576,
            "upload_time": "2024-04-03T19:42:00",
            "upload_time_iso_8601": "2024-04-03T19:42:00.355887Z",
            "url": "https://files.pythonhosted.org/packages/b3/9a/f046d4c1199b6acd4b009ded4cee18c84153f65ab7b82e278a9b7f2b5f43/libcst-1.3.0-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad2f39155a18ccab5415b78704e381acd825362b64c7452c3133ad7f47198c90",
                "md5": "eec098edcff8424b84ebc25f8a0d699c",
                "sha256": "e26d248d47f609efec31a5b4b04a1424b7e929944f1510e57d3a37b9d523a28e"
            },
            "downloads": -1,
            "filename": "libcst-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "eec098edcff8424b84ebc25f8a0d699c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 765030,
            "upload_time": "2024-04-03T19:42:02",
            "upload_time_iso_8601": "2024-04-03T19:42:02.063280Z",
            "url": "https://files.pythonhosted.org/packages/ad/2f/39155a18ccab5415b78704e381acd825362b64c7452c3133ad7f47198c90/libcst-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-03 19:42:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Instagram",
    "github_project": "LibCST",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "libcst"
}
        
Elapsed time: 0.22140s