experimental/cpu/: tyro-0.8.4 metadata and description

Simple index

Strongly typed, zero-effort CLI interfaces

author_email brentyi <brentyi@berkeley.edu>
classifiers
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.7
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • License :: OSI Approved :: MIT License
  • Operating System :: OS Independent
description_content_type text/markdown
license MIT
project_urls
  • GitHub, https://github.com/brentyi/tyro
provides_extras dev
requires_dist
  • docstring-parser >=0.14.1
  • typing-extensions >=4.7.0
  • rich >=11.1.0
  • shtab >=1.5.6
  • colorama >=0.4.0 ; platform_system == "Windows"
  • eval-type-backport >=0.1.3 ; python_version < "3.10"
  • backports.cached-property >=1.0.2 ; python_version < "3.8"
  • PyYAML >=6.0 ; extra == 'dev'
  • frozendict >=2.3.4 ; extra == 'dev'
  • pytest >=7.1.2 ; extra == 'dev'
  • pytest-cov >=3.0.0 ; extra == 'dev'
  • omegaconf >=2.2.2 ; extra == 'dev'
  • attrs >=21.4.0 ; extra == 'dev'
  • torch >=1.10.0 ; extra == 'dev'
  • pyright >=1.1.349 ; extra == 'dev'
  • ruff >=0.1.13 ; extra == 'dev'
  • mypy >=1.4.1 ; extra == 'dev'
  • numpy >=1.20.0 ; extra == 'dev'
  • pydantic >=2.5.2 ; extra == 'dev'
  • coverage[toml] >=6.5.0 ; extra == 'dev'
  • eval-type-backport >=0.1.3 ; extra == 'dev'
  • flax >=0.6.9 ; (python_version >= "3.8") and extra == 'dev'
requires_python >=3.7
File Tox results History
tyro-0.8.4-py3-none-any.whl
Size
100 KB
Type
Python Wheel
Python
3

tyro logo

Documentation   •   pip install tyro

build mypy pyright ruff codecov codecov


tyro is a tool for generating command-line interfaces and configuration objects in Python.

Our core API, tyro.cli(),

For advanced users, it also supports:

For examples and the API reference, see our documentation.

In the wild

tyro is designed to be lightweight enough for throwaway scripts, while facilitating type safety and modularity for larger projects. Examples:

nerfstudio-project/nerfstudio
GitHub star count
Open-source tools for neural radiance fields.
Sea-Snell/JAXSeq
GitHub star count
Library for distributed training of large language models in JAX.
kevinzakka/obj2mjcf
GitHub star count
Interface for processing composite Wavefront OBJ files for Mujoco.
blurgyy/jaxngp
GitHub star count
CUDA-accelerated implementation of instant-ngp, in JAX.
NVIDIAGameWorks/kaolin-wisp
GitHub star count
PyTorch library for neural fields.
autonomousvision/sdfstudio
GitHub star count
Unified framework for surface reconstruction.
openrlbenchmark/openrlbenchmark
GitHub star count
Collection of tracked experiments for reinforcement learning.

Alternatives

tyro bakes many opinions into its design decisions. If any of them don't make sense, feel free to file an issue!

You might also consider one of many alternative libraries. Some that we particularly like:

We also have some notes on tyro's design goals and other alternatives in the docs here.