https://github.com/litestar-org/type-lens
Runtime type introspection utilities
https://github.com/litestar-org/type-lens
introspection litestar litestar-framework python python-typing type-hints types
Last synced: 6 months ago
JSON representation
Runtime type introspection utilities
- Host: GitHub
- URL: https://github.com/litestar-org/type-lens
- Owner: litestar-org
- License: mit
- Created: 2023-09-20T08:53:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-12T18:06:30.000Z (9 months ago)
- Last Synced: 2025-03-24T23:51:25.172Z (7 months ago)
- Topics: introspection, litestar, litestar-framework, python, python-typing, type-hints, types
- Language: Python
- Homepage: http://docs.type-lens.litestar.dev/
- Size: 1.23 MB
- Stars: 14
- Watchers: 7
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
![]()
![]()
| Project | | Status |
| --------- | :-- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| CI/CD | | [](https://github.com/litestar-org/type-lens/actions/workflows/publish.yml) [](https://github.com/litestar-org/type-lens/actions/workflows/ci.yml) [](https://github.com/litestar-org/type-lens/actions/workflows/docs.yml) |
| Quality | | [](https://codecov.io/github/litestar-org/type-lens) [](https://sonarcloud.io/summary/new_code?id=litestar-org_type-lens) [](https://sonarcloud.io/summary/new_code?id=litestar-org_type-lens) [](https://sonarcloud.io/summary/new_code?id=litestar-org_type-lens) [](https://sonarcloud.io/summary/new_code?id=litestar-org_type-lens) |
| Package | | [](https://badge.fury.io/py/litestar)   |
| Community | | [](https://reddit.com/r/litestarapi) [](https://discord.gg/litestar) [](https://matrix.to/#/#litestar:matrix.org) [](https://blog.litestar.dev) [](https://twitter.com/LitestarAPI) [](https://blog.litestar.dev) |
| Meta | | [](https://github.com/litestar-org/type-lens) [](https://github.com/python/mypy) [](https://spdx.org/licenses/) [](https://github.com/sponsors/litestar-org) [](https://github.com/astral-sh/ruff) [](https://github.com/psf/black) |## About
`type-lens` is a library that allows for utilizing Python types at runtime.
## Usage
- Install `type-lens` with `pip` or check out [our installation guide][install-guide]
```shell
pip install type-lens
```## Contributing
All [Litestar Organization][litestar-org] projects will always be a community-centered, available for contributions of any size.
Before contributing, please review the [contribution guide][contributing].
If you have any questions, reach out to us on [Discord][discord], our org-wide [GitHub discussions][litestar-discussions] page,
or the [project-specific GitHub discussions page][project-discussions].
![]()
An official Litestar Organization Project
[litestar-org]: https://github.com/litestar-org
[contributing]: https://docs.type-lens.litestar.dev/latest/contribution-guide.html
[discord]: https://discord.gg/litestar
[litestar-discussions]: https://github.com/orgs/litestar-org/discussions
[project-discussions]: https://github.com/litestar-org/type-lens/discussions
[project-docs]: https://docs.type-lens.litestar.dev