draccus

View on PyPIReverse Dependencies (1)

0.7.3 draccus-0.7.3-py3-none-any.whl

Wheel Details

Project: draccus
Version: 0.7.3
Filename: draccus-0.7.3-py3-none-any.whl
Download: [link]
Size: 66508
MD5: 2173c5a0fd261f684bf61190865de5bb
SHA256: 562e6521012147b283b7b5cd8ab6ba01c4a119d1cbdb81a1b896ebe2f0702a13
Uploaded: 2024-04-17 17:00:50 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: draccus
Version: 0.7.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: 21040 characters]

WHEEL

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

RECORD

Path Digest Size
draccus/__init__.py sha256=dfJGDPOXam7O5Af5o24H6ov6OP1lTcTxGmunE-ADrGw 481
draccus/argparsing.py sha256=WQXJuGK19bih498YMNwT-sZzqBiiED2r1JX8CK5pwtk 7762
draccus/cfgparsing.py sha256=bBPO8bUbNEhxc4LoyAXSi2uFAY6NWvcYQ432U26tHEE 1115
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=nNjOEy9RaIFtyaH5_K6na8Me2UuE14ntwEwbrnhgy-g 16165
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=g-xIwGRZBzwJB1FXwOaV_cQeE-844GKGcTcY3zoFgCQ 4176
draccus/wrappers/dataclass_wrapper.py sha256=Dk_jBeFGCHTKRuZO_lt8thCiXz0YHUL9bvEWM6fR2OM 7356
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=XPT71XC0KrsqE4AtSRh26OSiq6I9cB7wZ_KVgCw3be8 2153
tests/test_argparse_choice_types_plugin.py sha256=m1fS68EYaM1ppd6KgsJ2wnkxg92zN_zUOgNXf8jn2qA 2245
tests/test_base.py sha256=VSSLdZs_7NYdyjApZUh1L8FdwwuFp0tzw5U_xl6BYbI 4815
tests/test_bools.py sha256=C0vhi9fu6rODj5vYhlyoOAnKnfxbLfJg34q4l47ukAw 821
tests/test_choice_types.py sha256=i7NaQmmaDEqz0__Kdf2oyFXXBt6L53MAzqJrg9Q_ipo 1539
tests/test_decoding.py sha256=tsnSbMV9FTJJeKvv0G9c_V4UZxwjI18wd70QFLozhW4 3724
tests/test_default_args.py sha256=m38yC1lNVSqQnxBvwGvdYkEwByssBGetMYV4obaqaKw 803
tests/test_docstrings.py sha256=vCQvrI3KD3mKQ5ynR1e9BesTGv0dLMUI-FFFYzqSZWU 3105
tests/test_enums.py sha256=x6M-twoTXbLlRLDE8XtpzAKnh2Nj8Qld_NPFNXMxVj4 1681
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=-2PmYnOL2KW9cBzlqK9-hkPDD0di_nbkUDqfBH8lJ1c 3027
tests/test_utils.py sha256=w3sqcatEcRdYrHKra_zHeZIdjx7_5WUQy3teSxdBjd0 2348
tests/test_yaml_inclusion.py sha256=sSx4JR4D-o7HmfoVRFmMLeJ1wxdQmvhiA1l7-ssaGYE 1797
tests/testutils.py sha256=gWLk0x7yo0gDCRBe76aQiHVz-lc3s28hVlO68k5piNc 4656
tests/draccus_choice_plugins/gpt.py sha256=FcYWjPU8e6LtcIgldxqJCYe_AsTgvnuQ7GhCvunWPwk 207
tests/draccus_choice_plugins/model_config.py sha256=-kgPp25fuHZyeSEFtvjZHv4pX946JTLTA5hKzWy6Iu8 437
draccus-0.7.3.dist-info/LICENSE sha256=G8YpoqFQZFAxOlgsESsVoSjLAEZHR9pfJ7N3mUZBebA 1179
draccus-0.7.3.dist-info/METADATA sha256=rPkl02t1_OHxyk4lmUCX1sz-1DeleOXDXQB4zE2sFfI 23806
draccus-0.7.3.dist-info/WHEEL sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ 92
draccus-0.7.3.dist-info/top_level.txt sha256=wfAKL1minBydozhep_h9sEofbBqJT2uCgcpkm73quws 23
draccus-0.7.3.dist-info/RECORD

top_level.txt

draccus
examples
tests