draccus

View on PyPIReverse Dependencies (1)

0.9.3 draccus-0.9.3-py3-none-any.whl

Wheel Details

Project: draccus
Version: 0.9.3
Filename: draccus-0.9.3-py3-none-any.whl
Download: [link]
Size: 69217
MD5: 133f7069e2059437e0aa1cb3fe97e799
SHA256: 04d3fe14d2b7d19290e6f7c76ff29fbfcc9b56e9e7b76d9439a18a26a1dbfe5e
Uploaded: 2024-11-13 05:16:34 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: draccus
Version: 0.9.3
Summary: A slightly opinionated framework for simple dataclass-based configurations based on Pyrallis.
Author-Email: David Hall <dlwh[at]cs.stanford.edu>, Siddharth Karamcheti <skaramcheti[at]cs.stanford.edu>
Project-Url: homepage, https://github.com/dlwh/draccus
Project-Url: repository, https://github.com/dlwh/draccus
Project-Url: issues, https://github.com/dlwh/draccus/issues
License: MIT License Copyright (c) 2019 Fabrice Normandin Copyright (c) 2021 Elad Richardson Copyright (c) 2023 David Hall Copyright (c) 2023 Siddharth Karamcheti 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.
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
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 :: Only
Requires-Python: >=3.8
Requires-Dist: mergedeep (~=1.3)
Requires-Dist: pyyaml (~=6.0)
Requires-Dist: pyyaml-include (~=1.4)
Requires-Dist: toml (~=0.10)
Requires-Dist: typing-inspect (~=0.9.0)
Requires-Dist: black; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Provides-Extra: dev
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 21586 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (75.3.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
draccus/__init__.py sha256=_aod6zg3vKUEQSl0s5I4JQM2FYHg2UE0WfKqGflioBM 481
draccus/argparsing.py sha256=w0XYkLHgsfLGbj4IeL0Yi2IBUTHzAFheN4O0L7KHW2A 8609
draccus/cfgparsing.py sha256=Nk23fMdmQzpkfK8Gk3zanwOoEv7Bh824OA8Az54wl5c 1574
draccus/choice_types.py sha256=8UFCRoUOw5zaofIB1nCkYxW6dYp8dkMKOYMJ6B7oc5o 6592
draccus/fields.py sha256=ZPJnV5vpY1Cy-Dri9ghRWR1XQ2NagUfpZvx8CWqgO50 846
draccus/help_formatter.py sha256=6PLRCbFPw9gri9mjBrXi_KmwhpALU36FmrLGCI9G9ZQ 3262
draccus/options.py sha256=QHNUGnn6fhpa_JpGtCx_GXJjWwtYMlYk4dso8KRyc6U 849
draccus/py.typed sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
draccus/utils.py sha256=9uvTZWM9xOJlAFuk-s_xk97pMxfvWsm5LlDXaptZEYw 12254
draccus/parsers/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
draccus/parsers/config_parsers.py sha256=yXW3LHTTQgDB8dMqxDdbPwtydKsfmd7C1yLJtuX8MKI 2244
draccus/parsers/decoding.py sha256=tV47b2ePwPZzR2QxZpouhj9pCKoHrFJNqPOZNbXCet8 16738
draccus/parsers/encoding.py sha256=j3CfsoXdLYM5NkKHjjexnrc_T8tPswvBWv_iDT6xL_Y 3771
draccus/parsers/registry_utils.py sha256=ia_Q3Y8YgsDVSZ3MPbXrYbTnvbBv8zob-tEvt2GgTeY 3024
draccus/parsers/yaml_loader.py sha256=yU7_MvaHMAxT4GZZJXr0HIGCGWfTqAfwzpCgihmzd1g 3725
draccus/wrappers/__init__.py sha256=LXfVZs5dLNd_dkpBHLc36OzHL-RD_3Z0srrgPsnVFY8 88
draccus/wrappers/choice_wrapper.py sha256=0GoFNiknahaB-tsPWqLpF8PKn-NwyV9xtgxAz66v65I 9163
draccus/wrappers/dataclass_wrapper.py sha256=D1J5QeOyg7SvG3PirSqV44E7MYqUIBrXlRxZBGIMjGU 7367
draccus/wrappers/docstring.py sha256=O8F3cA3IkGVAPLSTPw-ld4nGVeCIixWON_vWPkMTAOM 10207
draccus/wrappers/field_metavar.py sha256=tE9E5MBtAMp1EBU5nEWtUw5-7AxUXTAOsffuJpbQ14s 2199
draccus/wrappers/field_wrapper.py sha256=aRXa3mMEEydEFWS8CCed--vVkFlHsq-0LyQOBiYtiZY 13149
draccus/wrappers/suppressing_argparse.py sha256=IKTfcmXkoOt7p0EGjHgDS04MbtYjT8oVGUoiSCErPho 2113
draccus/wrappers/wrapper.py sha256=T2kHZ87-Ajk5LFB9Li00LIj6uzCc5w0D0tO5fP1iFXw 2123
examples/choice_class_demo.py sha256=sF0uOJp46cR4NwYJbjdLqkEg9pZqekqyTAjRV7G2fV0 2007
examples/demo.py sha256=0j5zQzSkfVYMnNC8PXrJF2HSZZwBCmCnKFZ3iH27NkU 1609
tests/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
tests/conftest.py sha256=tlFZ5QtOM6T9li4zYf9NehnlqH1B-57SQ8aycoOOleE 6231
tests/test_argparse_choice_types.py sha256=SUP8kGuX0RYRsZI7ef2HjnbGmKzsATAXc4cuwSDTzFQ 2279
tests/test_argparse_choice_types_plugin.py sha256=ix1zqWE5uemUz7jcMq9mOWlBpfzpg9h6i0rJXyTkmQ4 2357
tests/test_base.py sha256=VSSLdZs_7NYdyjApZUh1L8FdwwuFp0tzw5U_xl6BYbI 4815
tests/test_bools.py sha256=C0vhi9fu6rODj5vYhlyoOAnKnfxbLfJg34q4l47ukAw 821
tests/test_calling_using_dataclass.py sha256=EhvGfmsumMsQ5LvWJ1wNb-Mx9vxZZoIaFb5xdcREd_4 314
tests/test_choice_types.py sha256=i7NaQmmaDEqz0__Kdf2oyFXXBt6L53MAzqJrg9Q_ipo 1539
tests/test_decoding.py sha256=cCu85H6rkjI7fQOlWFByw9XzDJDrQOVefNhJ2UYJqcU 3771
tests/test_default_args.py sha256=m38yC1lNVSqQnxBvwGvdYkEwByssBGetMYV4obaqaKw 803
tests/test_docstrings.py sha256=vCQvrI3KD3mKQ5ynR1e9BesTGv0dLMUI-FFFYzqSZWU 3105
tests/test_enums.py sha256=cvkb5TWkePKZdMuT3lVy6H9l1_GFYuX1fMzDOeSATSg 2384
tests/test_inheritance.py sha256=R__rhwl25hnwaztnHZamJfEgDOfdvyJRPwCWD4N4NpU 2433
tests/test_lists.py sha256=IW3-a1dRL-ELp7sQchzUn4kMQpUgGAyQ3tYSO5Uaylg 4112
tests/test_optional.py sha256=PZZA7MKQwd7dtpKPDtbR83AU67PDE8PVRsA2jzJiKU0 3136
tests/test_optional_union.py sha256=j1Lu8QguqXqfgeGFFNQuvh9qAIvfcPK_Kwt-HAogXbA 463
tests/test_preferred_help.py sha256=VZ6VQDb2AWZoTMCD1lTgmuqs_ubDUhrEWLBJMCPIXlA 2516
tests/test_tuples.py sha256=FqBFtcGjOHSaJMB0j5oiB64a1qYQJarUwtuNALUfnio 1313
tests/test_union.py sha256=Y2zhj-3gl1z6V4HlcVDg8HXxwawduCgWvIu9ciT2suw 3753
tests/test_utils.py sha256=w3sqcatEcRdYrHKra_zHeZIdjx7_5WUQy3teSxdBjd0 2348
tests/test_yaml_inclusion.py sha256=sSx4JR4D-o7HmfoVRFmMLeJ1wxdQmvhiA1l7-ssaGYE 1797
tests/test_yaml_inclusion_cli.py sha256=6iKRPmbyuCeWQ_svEfLKNm6UfEtnX42TFLaYsNgoruo 1919
tests/testutils.py sha256=5bzZxcK9c1tYU-O-h8Xk3lvROw4uxIeigB2LfRHkBJo 4628
tests/draccus_choice_plugins/gpt.py sha256=FcYWjPU8e6LtcIgldxqJCYe_AsTgvnuQ7GhCvunWPwk 207
tests/draccus_choice_plugins/model_config.py sha256=-kgPp25fuHZyeSEFtvjZHv4pX946JTLTA5hKzWy6Iu8 437
draccus-0.9.3.dist-info/LICENSE sha256=G8YpoqFQZFAxOlgsESsVoSjLAEZHR9pfJ7N3mUZBebA 1179
draccus-0.9.3.dist-info/METADATA sha256=aawjN2_9eFckP9cLRAxawxDbD7Bw1GAys-3n0uAZ-Xk 24352
draccus-0.9.3.dist-info/WHEEL sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc 91
draccus-0.9.3.dist-info/top_level.txt sha256=wfAKL1minBydozhep_h9sEofbBqJT2uCgcpkm73quws 23
draccus-0.9.3.dist-info/RECORD

top_level.txt

draccus
examples
tests