Skip to main content

Typelets for Python

Typelets is a Python typing utility module designed to augment some of the types provided in Python and third-party libraries. It was built to help develop Review Board, our premier code review product from Beanbag, and we're making it available for use in other projects.

This includes general Python additions, including:

  • typelets.funcs: Typing for general keyword arguments in functions.

  • typelets.json: Typing for JSON structures, and for application-defined data that can be serialized to JSON.

  • typelets.runtime: Utilities for run-time type checking.

  • typelets.symbols: Symbols for marking types as unset/unsettable.

Plus typing useful for Django developers:

Installation

To install typelets, run:

$ pip install typelets

Typelets follows semantic versioning, meaning no surprises when you upgrade.

Documentation

See the Typelets documentation for usage.

License

Typelets is available under the MIT license.

Contributing

Contributions to Typelets can be made on our Review Board server at https://reviews.reviewboard.org/.

To post a change for review:

  1. Download RBTools:

    $ pip install rbtools
    
  2. Create a branch in your Git clone and make your changes.

  3. Post the change for review:

    $ rbt post
    

    To update your change:

    $ rbt post -u
    

Our Other Projects

  • Review Board - Our open source, extensible code review, document review, and image review tool.

  • Djblets - Our pack of Django utilities for datagrids, API, extensions, and more. Used by Review Board.

  • Housekeeping - Deprecation management for Python modules, classes, functions, and attributes.

  • kgb - A powerful function spy implementation to help write Python unit tests.

  • Registries - A flexible, typed implementation of the Registry Pattern for more maintainable and extensible codebases.

You can see more on github.com/beanbaginc and github.com/reviewboard.

Metadata

Release files for typelets 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typelets 1.1
File Size Uploaded
typelets-1.1.tar.gz 18.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for typelets 1.1
File Interpreter ABI Platform
typelets-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.6 kB

Release files / typelets-1.1.tar.gz

Download URL typelets-1.1.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5fd0a01016402a2f87892ac855241ee2769b7595c7e955acce040c86f71bfb38
BLAKE2b-256 checksum
How to use checksums
a2c67df6df552fab0e6ddad9d230981afb9deaa662211756cdf2bf70aa091ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Release files / typelets-1.1-py3-none-any.whl

Download URL typelets-1.1-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d1acbec38142fdad80cc1a70dac98dba206e25f2603452cacdeac2c0d3c4570
BLAKE2b-256 checksum
How to use checksums
f2685b86918326ac4ac0ad045b5fa982c1c8844488e54defbf64460eb7d9b5cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0.1

2 release files

1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page