https://github.com/ofek/msgspec-click
Generate Click options from msgspec types
https://github.com/ofek/msgspec-click
cli click msgspec python types
Last synced: 11 months ago
JSON representation
Generate Click options from msgspec types
- Host: GitHub
- URL: https://github.com/ofek/msgspec-click
- Owner: ofek
- License: mit
- Created: 2024-09-18T04:55:43.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-01T11:35:15.000Z (about 1 year ago)
- Last Synced: 2025-05-07T08:13:48.679Z (11 months ago)
- Topics: cli, click, msgspec, python, types
- Language: Python
- Homepage: http://ofek.dev/msgspec-click/
- Size: 1.21 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# msgspec-click
| | |
| --- | --- |
| CI/CD | [](https://github.com/ofek/msgspec-click/actions/workflows/test.yml) [](https://github.com/ofek/msgspec-click/actions/workflows/build.yml) [](https://app.codecov.io/gh/ofek/msgspec-click) |
| Docs | [](https://github.com/ofek/msgspec-click/actions/workflows/docs.yml) |
| Package | [](https://pypi.org/project/msgspec-click/) [](https://pypi.org/project/msgspec-click/) |
| Meta | [](https://github.com/ofek/msgspec-click) [](https://github.com/astral-sh/ruff) [](https://github.com/python/mypy) [](https://spdx.org/licenses/) [](https://github.com/sponsors/ofek) |
-----
This is a library for generating [Click](https://github.com/pallets/click) options from [msgspec](https://github.com/jcrist/msgspec) types (see [example](https://ofek.dev/msgspec-click/usage/#example)).
## Installation
```console
pip install msgspec-click
```
## Documentation
The [documentation](https://ofek.dev/msgspec-click/) is made with [Material for MkDocs](https://github.com/squidfunk/mkdocs-material) and is hosted by [GitHub Pages](https://docs.github.com/en/pages).
## License
`msgspec-click` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.