summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
commit6d7ba58f880be618ade07f8ea080fe8c4bf8a896 (patch)
treeb1c931051ffcebd2bd9d61d98d6233ffa289bbce /venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info
parent4f884c9abc32990b4061a1bb6997b4b37e58ea0b (diff)
venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info')
-rw-r--r--venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/INSTALLER1
-rw-r--r--venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/LICENSE27
-rw-r--r--venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/METADATA181
-rw-r--r--venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/RECORD32
-rw-r--r--venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/WHEEL6
-rw-r--r--venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/top_level.txt1
6 files changed, 248 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/INSTALLER b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/INSTALLER
new file mode 100644
index 0000000..a1b589e
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/INSTALLER
@@ -0,0 +1 @@
+pip
diff --git a/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/LICENSE b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/LICENSE
new file mode 100644
index 0000000..9aae71e
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2021, Jim Crist-Harif
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/METADATA b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/METADATA
new file mode 100644
index 0000000..00ddf38
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/METADATA
@@ -0,0 +1,181 @@
+Metadata-Version: 2.1
+Name: msgspec
+Version: 0.18.6
+Summary: A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.
+Home-page: https://jcristharif.com/msgspec/
+Maintainer: Jim Crist-Harif
+Maintainer-email: jcristharif@gmail.com
+License: BSD
+Project-URL: Documentation, https://jcristharif.com/msgspec/
+Project-URL: Source, https://github.com/jcrist/msgspec/
+Project-URL: Issue Tracker, https://github.com/jcrist/msgspec/issues
+Keywords: JSON msgpack MessagePack TOML YAML serialization validation schema
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Development Status :: 4 - Beta
+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
+Requires-Python: >=3.8
+Description-Content-Type: text/markdown
+License-File: LICENSE
+Provides-Extra: dev
+Requires-Dist: pre-commit ; extra == 'dev'
+Requires-Dist: coverage ; extra == 'dev'
+Requires-Dist: gcovr ; extra == 'dev'
+Requires-Dist: sphinx ; extra == 'dev'
+Requires-Dist: furo ; extra == 'dev'
+Requires-Dist: sphinx-copybutton ; extra == 'dev'
+Requires-Dist: sphinx-design ; extra == 'dev'
+Requires-Dist: ipython ; extra == 'dev'
+Requires-Dist: pytest ; extra == 'dev'
+Requires-Dist: mypy ; extra == 'dev'
+Requires-Dist: pyright ; extra == 'dev'
+Requires-Dist: msgpack ; extra == 'dev'
+Requires-Dist: attrs ; extra == 'dev'
+Requires-Dist: pyyaml ; extra == 'dev'
+Requires-Dist: tomli-w ; extra == 'dev'
+Requires-Dist: tomli ; (python_version < "3.11") and extra == 'dev'
+Provides-Extra: doc
+Requires-Dist: sphinx ; extra == 'doc'
+Requires-Dist: furo ; extra == 'doc'
+Requires-Dist: sphinx-copybutton ; extra == 'doc'
+Requires-Dist: sphinx-design ; extra == 'doc'
+Requires-Dist: ipython ; extra == 'doc'
+Provides-Extra: test
+Requires-Dist: pytest ; extra == 'test'
+Requires-Dist: mypy ; extra == 'test'
+Requires-Dist: pyright ; extra == 'test'
+Requires-Dist: msgpack ; extra == 'test'
+Requires-Dist: attrs ; extra == 'test'
+Requires-Dist: pyyaml ; extra == 'test'
+Requires-Dist: tomli-w ; extra == 'test'
+Requires-Dist: tomli ; (python_version < "3.11") and extra == 'test'
+Provides-Extra: toml
+Requires-Dist: tomli-w ; extra == 'toml'
+Requires-Dist: tomli ; (python_version < "3.11") and extra == 'toml'
+Provides-Extra: yaml
+Requires-Dist: pyyaml ; extra == 'yaml'
+
+<p align="center">
+ <a href="https://jcristharif.com/msgspec/">
+ <img src="https://raw.githubusercontent.com/jcrist/msgspec/main/docs/source/_static/msgspec-logo-light.svg" width="35%" alt="msgspec" />
+ </a>
+</p>
+
+<p align="center">
+ <a href="https://github.com/jcrist/msgspec/actions/workflows/ci.yml">
+ <img src="https://github.com/jcrist/msgspec/actions/workflows/ci.yml/badge.svg">
+ </a>
+ <a href="https://jcristharif.com/msgspec/">
+ <img src="https://img.shields.io/badge/docs-latest-blue.svg">
+ </a>
+ <a href="https://github.com/jcrist/msgspec/blob/main/LICENSE">
+ <img src="https://img.shields.io/github/license/jcrist/msgspec.svg">
+ </a>
+ <a href="https://pypi.org/project/msgspec/">
+ <img src="https://img.shields.io/pypi/v/msgspec.svg">
+ </a>
+ <a href="https://anaconda.org/conda-forge/msgspec">
+ <img src="https://img.shields.io/conda/vn/conda-forge/msgspec.svg">
+ </a>
+ <a href="https://codecov.io/gh/jcrist/msgspec">
+ <img src="https://codecov.io/gh/jcrist/msgspec/branch/main/graph/badge.svg">
+ </a>
+</p>
+
+
+`msgspec` is a *fast* serialization and validation library, with builtin
+support for [JSON](https://json.org), [MessagePack](https://msgpack.org),
+[YAML](https://yaml.org), and [TOML](https://toml.io). It features:
+
+- 🚀 **High performance encoders/decoders** for common protocols. The JSON and
+ MessagePack implementations regularly
+ [benchmark](https://jcristharif.com/msgspec/benchmarks.html) as the fastest
+ options for Python.
+
+- 🎉 **Support for a wide variety of Python types**. Additional types may be
+ supported through
+ [extensions](https://jcristharif.com/msgspec/extending.html).
+
+- 🔍 **Zero-cost schema validation** using familiar Python type annotations. In
+ [benchmarks](https://jcristharif.com/msgspec/benchmarks.html) `msgspec`
+ decodes *and* validates JSON faster than
+ [orjson](https://github.com/ijl/orjson) can decode it alone.
+
+- ✨ **A speedy Struct type** for representing structured data. If you already
+ use [dataclasses](https://docs.python.org/3/library/dataclasses.html) or
+ [attrs](https://www.attrs.org),
+ [structs](https://jcristharif.com/msgspec/structs.html) should feel familiar.
+ However, they're
+ [5-60x faster](https://jcristharif.com/msgspec/benchmarks.html#benchmark-structs>)
+ for common operations.
+
+All of this is included in a
+[lightweight library](https://jcristharif.com/msgspec/benchmarks.html#benchmark-library-size)
+with no required dependencies.
+
+---
+
+`msgspec` may be used for serialization alone, as a faster JSON or
+MessagePack library. For the greatest benefit though, we recommend using
+`msgspec` to handle the full serialization & validation workflow:
+
+**Define** your message schemas using standard Python type annotations.
+
+```python
+>>> import msgspec
+
+>>> class User(msgspec.Struct):
+... """A new type describing a User"""
+... name: str
+... groups: set[str] = set()
+... email: str | None = None
+```
+
+**Encode** messages as JSON, or one of the many other supported protocols.
+
+```python
+>>> alice = User("alice", groups={"admin", "engineering"})
+
+>>> alice
+User(name='alice', groups={"admin", "engineering"}, email=None)
+
+>>> msg = msgspec.json.encode(alice)
+
+>>> msg
+b'{"name":"alice","groups":["admin","engineering"],"email":null}'
+```
+
+**Decode** messages back into Python objects, with optional schema validation.
+
+```python
+>>> msgspec.json.decode(msg, type=User)
+User(name='alice', groups={"admin", "engineering"}, email=None)
+
+>>> msgspec.json.decode(b'{"name":"bob","groups":[123]}', type=User)
+Traceback (most recent call last):
+ File "<stdin>", line 1, in <module>
+msgspec.ValidationError: Expected `str`, got `int` - at `$.groups[0]`
+```
+
+`msgspec` is designed to be as performant as possible, while retaining some of
+the nicities of validation libraries like
+[pydantic](https://pydantic-docs.helpmanual.io/). For supported types,
+encoding/decoding a message with `msgspec` can be
+[~10-80x faster than alternative libraries](https://jcristharif.com/msgspec/benchmarks.html).
+
+<p align="center">
+ <a href="https://jcristharif.com/msgspec/benchmarks.html">
+ <img src="https://raw.githubusercontent.com/jcrist/msgspec/main/docs/source/_static/bench-validation.svg">
+ </a>
+</p>
+
+See [the documentation](https://jcristharif.com/msgspec/) for more information.
+
+
+## LICENSE
+
+New BSD. See the
+[License File](https://github.com/jcrist/msgspec/blob/main/LICENSE).
diff --git a/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/RECORD b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/RECORD
new file mode 100644
index 0000000..46e19fc
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/RECORD
@@ -0,0 +1,32 @@
+msgspec-0.18.6.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+msgspec-0.18.6.dist-info/LICENSE,sha256=b96LZyOIXoUIgI9lrDcv65fT7uLqsrkdNNeWt1t6xzQ,1498
+msgspec-0.18.6.dist-info/METADATA,sha256=ayj6dYdMIRgZ_QK4zUIIzChjRS5OV0YflmUAaI1N6Gc,6901
+msgspec-0.18.6.dist-info/RECORD,,
+msgspec-0.18.6.dist-info/WHEEL,sha256=AI1yqBLEPcVKWn5Ls2uPawjbqPXPFTYdQLSdN8WFCJw,152
+msgspec-0.18.6.dist-info/top_level.txt,sha256=8Ysnxa29QLhdPtjPGjyc1hmx3nOmKeu_OAk2682ZdvU,8
+msgspec/__init__.py,sha256=4QmZjYKuUQHkpu3H1x4ts2Sg5qcdtiDeo9Gajv4CwPs,1156
+msgspec/__init__.pyi,sha256=aUYA7Kox-fxletfoPoVU_HZod3D5lJxzpjLQtZFV2lM,6081
+msgspec/__pycache__/__init__.cpython-311.pyc,,
+msgspec/__pycache__/_json_schema.cpython-311.pyc,,
+msgspec/__pycache__/_utils.cpython-311.pyc,,
+msgspec/__pycache__/_version.cpython-311.pyc,,
+msgspec/__pycache__/inspect.cpython-311.pyc,,
+msgspec/__pycache__/json.cpython-311.pyc,,
+msgspec/__pycache__/msgpack.cpython-311.pyc,,
+msgspec/__pycache__/structs.cpython-311.pyc,,
+msgspec/__pycache__/toml.cpython-311.pyc,,
+msgspec/__pycache__/yaml.cpython-311.pyc,,
+msgspec/_core.cpython-311-x86_64-linux-gnu.so,sha256=DooHm7ae83AbkWM03BCgQVsryBmt8kxRaF_AkYzf6Ys,405992
+msgspec/_json_schema.py,sha256=bKTi8sOiBuNyEUGJhrjnX4rUhYdjK09MtcDgU8mEo1E,16658
+msgspec/_utils.py,sha256=HCvPg_NzLvFpx5SlwnC9SwoYt2UQhldruxG_Ss7RgQA,9048
+msgspec/_version.py,sha256=qONB5wYvyVAmX-LXVnorBAyKd3LamTrbDSoC4ekNEXc,498
+msgspec/inspect.py,sha256=uHY4bwjrfNE4UP6rU1PwaZ3-QeyClw-5hpWyXIuFhq4,28896
+msgspec/json.py,sha256=kIzpm2NHszkAfAbNcemxq_hUHKt3qxH29yABKH0MnTs,212
+msgspec/json.pyi,sha256=-TbORmV1rciB3vMPed-8OPF7Au1_e2fF1iMEQFiAkzY,2995
+msgspec/msgpack.py,sha256=JSRLcEqpyCgwy_wD1loF3qHN_ytnCQLc8RX33uATbCU,154
+msgspec/msgpack.pyi,sha256=_NpTS8XnjP4ELvqeY-qYWRrsAJi5cvPad7DYICGM3Dw,2566
+msgspec/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+msgspec/structs.py,sha256=owU3O3w8yi4_lQYAHIRwM0Hre0Oo_puNbz4SM0GP0ew,2942
+msgspec/structs.pyi,sha256=6ob7yIjD6QwMUn_vJHC0CgWgt3CtgRAU2AOUq_1EPGU,902
+msgspec/toml.py,sha256=f0Vte-oW3WK5avMFHf22WuqoccaaVGGKFu98m43wu9Q,5389
+msgspec/yaml.py,sha256=LT2T0HW-FtHq_wGBD3sGtpgXspN6N5SmesV1BHrSvPs,5260
diff --git a/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/WHEEL b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/WHEEL
new file mode 100644
index 0000000..4497ba5
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/WHEEL
@@ -0,0 +1,6 @@
+Wheel-Version: 1.0
+Generator: bdist_wheel (0.42.0)
+Root-Is-Purelib: false
+Tag: cp311-cp311-manylinux_2_17_x86_64
+Tag: cp311-cp311-manylinux2014_x86_64
+
diff --git a/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/top_level.txt b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/top_level.txt
new file mode 100644
index 0000000..bdc9e5a
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/msgspec-0.18.6.dist-info/top_level.txt
@@ -0,0 +1 @@
+msgspec