traittypes
Scipy trait types
Decision gist · record as of 2026-08-14
Yes, if you are already using traitlets in a scientific computing context and need validated scientific data types. The low install friction and permissive license make it a safe addition. However, the aging maintenance status (296 days since last release) means you should verify that the trait types you need are already implemented and stable; expect no active development or rapid responses to issues.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single dependency on traitlets.
- Maintenance status is aging—last release was 296 days ago—so expect no active development or rapid bug fixes.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions; attribution required.
last release 2025-10-22 (296 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,355,272 downloads/mo, #4,007 on PyPI
Alternatives
Verify before relying
pip install traittypes
from traittypes import Array
from traitlets import HasTraits
class Model(HasTraits):
data = Array()- Specific trait types provided (e.g., Array, DataFrame) and their exact signatures are not detailed in the fact sheet.
- Whether scipy is an optional or required runtime dependency beyond traitlets is unclear.
- Current maintenance status and whether the package is actively maintained or in maintenance-only mode.
What it is and what it does
traittypes extends the traitlets validation framework with custom attribute types designed for scientific computing workflows. It sits on top of traitlets, which provides a system for declaring typed, validated attributes on Python classes; traittypes adds domain-specific types that are commonly needed in scientific and numerical work.
The package is typically used within interactive environments or frameworks that rely on traitlets for configuration and attribute management—such as Jupyter, IPython, or scientific applications. It allows developers to declare attributes with scientific semantics (arrays, matrices, etc.) that automatically validate and coerce input data, reducing boilerplate validation code in scientific applications.
Use it for
- Define validated array or matrix attributes in scientific model classes without manual type-checking.
- Build interactive scientific tools in Jupyter or IPython that need type-safe numerical data attributes.
- Extend traitlets-based frameworks with scipy-aware attribute types for data science workflows.
- Create configuration classes for scientific applications that require validated numerical inputs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using traitlets in a scientific computing context and need validated scientific data types.
The low install friction and permissive license make it a safe addition. However, the aging maintenance status (296 days since last release) means you should verify that the trait types you need are already implemented and stable; expect no active development or rapid responses to issues.
Install
traittypes on PyPI
Before you install
Low install friction with a single dependency on traitlets. Maintenance status is aging—last release was 296 days ago—so expect no active development or rapid bug fixes.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions; attribution required.
Quickstart
pip install traittypes
from traittypes import Array
from traitlets import HasTraits
class Model(HasTraits):
data = Array()
Verify before relying
- Specific trait types provided (e.g., Array, DataFrame) and their exact signatures are not detailed in the fact sheet.
- Whether scipy is an optional or required runtime dependency beyond traitlets is unclear.
- Current maintenance status and whether the package is actively maintained or in maintenance-only mode.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetraitlets |
| Maintenance | Aging 296 days since the last release |
| First released | |
| Downloads | 1,355,272 / month, #4,007 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: Science/ResearchIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6 |
Evidence: traittypes-0.2.3-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “trait types scientific computing”
- traittypesProvides custom trait types for scientific computing, extending the…
- os-traitsos-traits provides a standardized catalog of trait strings used by…
- ipydatawidgetsipydatawidgets provides Jupyter widgets for efficiently sharing large…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also traitlets · pydantic-extra-types · os-traits · scikit-misc · scipy-stubs · simsimd · matscipy · spark-sklearn