updates
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,20 @@
|
||||
Copyright (c) 2018 Sébastien Eustace
|
||||
|
||||
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.
|
||||
@@ -0,0 +1,76 @@
|
||||
Metadata-Version: 2.3
|
||||
Name: tomlkit
|
||||
Version: 0.13.3
|
||||
Summary: Style preserving TOML library
|
||||
License: MIT
|
||||
Author: Sébastien Eustace
|
||||
Author-email: sebastien@eustace.io
|
||||
Requires-Python: >=3.8
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.8
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Project-URL: Homepage, https://github.com/sdispater/tomlkit
|
||||
Project-URL: Repository, https://github.com/sdispater/tomlkit
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
[github_release]: https://img.shields.io/github/release/sdispater/tomlkit.svg?logo=github&logoColor=white
|
||||
[pypi_version]: https://img.shields.io/pypi/v/tomlkit.svg?logo=python&logoColor=white
|
||||
[python_versions]: https://img.shields.io/pypi/pyversions/tomlkit.svg?logo=python&logoColor=white
|
||||
[github_license]: https://img.shields.io/github/license/sdispater/tomlkit.svg?logo=github&logoColor=white
|
||||
[github_action]: https://github.com/sdispater/tomlkit/actions/workflows/tests.yml/badge.svg
|
||||
|
||||
[![GitHub Release][github_release]](https://github.com/sdispater/tomlkit/releases/)
|
||||
[![PyPI Version][pypi_version]](https://pypi.org/project/tomlkit/)
|
||||
[![Python Versions][python_versions]](https://pypi.org/project/tomlkit/)
|
||||
[![License][github_license]](https://github.com/sdispater/tomlkit/blob/master/LICENSE)
|
||||
<br>
|
||||
[![Tests][github_action]](https://github.com/sdispater/tomlkit/actions/workflows/tests.yml)
|
||||
|
||||
# TOML Kit - Style-preserving TOML library for Python
|
||||
|
||||
TOML Kit is a **1.0.0-compliant** [TOML](https://toml.io/) library.
|
||||
|
||||
It includes a parser that preserves all comments, indentations, whitespace and internal element ordering,
|
||||
and makes them accessible and editable via an intuitive API.
|
||||
|
||||
You can also create new TOML documents from scratch using the provided helpers.
|
||||
|
||||
Part of the implementation has been adapted, improved and fixed from [Molten](https://github.com/LeopoldArkham/Molten).
|
||||
|
||||
## Usage
|
||||
|
||||
See the [documentation](https://tomlkit.readthedocs.io/) for more information.
|
||||
|
||||
## Installation
|
||||
|
||||
If you are using [Poetry](https://poetry.eustace.io),
|
||||
add `tomlkit` to your `pyproject.toml` file by using:
|
||||
|
||||
```bash
|
||||
poetry add tomlkit
|
||||
```
|
||||
|
||||
If not, you can use `pip`:
|
||||
|
||||
```bash
|
||||
pip install tomlkit
|
||||
```
|
||||
|
||||
## Running tests
|
||||
|
||||
Please clone the repo with submodules with the following command:
|
||||
```bash
|
||||
git clone --recurse-submodules https://github.com/python-poetry/tomlkit.git
|
||||
```
|
||||
The `toml-test` submodule is required for running the tests.
|
||||
|
||||
You can then run the tests with
|
||||
```bash
|
||||
poetry run pytest -q tests
|
||||
```
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
tomlkit-0.13.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
tomlkit-0.13.3.dist-info/LICENSE,sha256=8vm0YLpxnaZiat0mTTeC8nWk_3qrZ3vtoIszCRHiOts,1062
|
||||
tomlkit-0.13.3.dist-info/METADATA,sha256=cv0tCEV24egnEgcZ_L4opNxsSKgH6EPqjQ6eRV5hB3k,2762
|
||||
tomlkit-0.13.3.dist-info/RECORD,,
|
||||
tomlkit-0.13.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
||||
tomlkit/__init__.py,sha256=FI03MlAi7dh0MxLPrTcgYJgYlt_MN9-pW1X2wpf8W68,1282
|
||||
tomlkit/__pycache__/__init__.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/_compat.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/_types.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/_utils.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/api.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/container.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/exceptions.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/items.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/parser.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/source.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/toml_char.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/toml_document.cpython-312.pyc,,
|
||||
tomlkit/__pycache__/toml_file.cpython-312.pyc,,
|
||||
tomlkit/_compat.py,sha256=gp7P7qNh0yY1dg0wyjiCDbVwFTdUo7p0QwjV4T3Funs,513
|
||||
tomlkit/_types.py,sha256=42ht2m-_pJPvQ_uMKMIJf4KL6F9N0NoDa0fymfTeIC4,2619
|
||||
tomlkit/_utils.py,sha256=m4OyWq9nw5MGabHhQKTIu1YtUD8SVJyoTImHTN6L7Yc,4089
|
||||
tomlkit/api.py,sha256=q3ZmRM87tKChjsnuqaj6EgHtTxSfe-fPhAb5MbIg_3U,7811
|
||||
tomlkit/container.py,sha256=940ylh_8JfrTEZsCSY6q5PJJ8TvJvOhuVagoRB-hyog,31685
|
||||
tomlkit/exceptions.py,sha256=e-0iKjv-u2ngE6G6XMOxaoBNnKBfPNjDLmaw4YDHpoU,5703
|
||||
tomlkit/items.py,sha256=14Ks1XFzXsJVYaBsHaJC_Iz9EKodp0bROJzF3HXjBek,56286
|
||||
tomlkit/parser.py,sha256=GaTS0NQlEelkd1GTlnDFT3NtQdp5fC1j10_lnK3pOdI,38080
|
||||
tomlkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
tomlkit/source.py,sha256=Nith7mmPmhTf5dMSRc41bY9cuIRR_4CoqOjC-fxzfCo,4835
|
||||
tomlkit/toml_char.py,sha256=w3sQZ0dolZ1qjZ2Rxj_svvlpRNNGB_fjfBcYD0gFnDs,1291
|
||||
tomlkit/toml_document.py,sha256=OCTkWXd3P58EZT4SD8_ddc1YpkMaqtlS5_stHTBmMOI,110
|
||||
tomlkit/toml_file.py,sha256=8ZzSZv2C1R9Qce2WZ122ijnl9LUZJ_1nS1xLLQT7OX4,1659
|
||||
@@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: poetry-core 2.1.3
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
Reference in New Issue
Block a user