Skip to main content
Version: 0.0.98

Contributing

Contributions are accepted under the project's MIT license (LICENSE.txt). Setup, tests, linting and the release process are described in Development; naming and output rules for new detectors in Naming and output conventions.

Dependencies and their licenses​

Runtime dependencies (dependencies in pyproject.toml):

PackageVersionLicense
pandas>= 2.2.2BSD-3-Clause
numpy>= 2.0BSD-3-Clause
scipy>= 1.13.1BSD-3-Clause

Optional extras, installed only on request and imported lazily:

PackageVersionLicenseExtra
pyarrow>= 15.0Apache-2.0parquet, s3, azure
s3fs>= 2024.10.0BSD-3-Clauses3
azure-storage-blob>= 12.19.1MITazure
requests>= 2.32.3Apache-2.0api
sqlalchemy>= 2.0.32MITsql, postgres
psycopg2-binary>= 2.9.9LGPL-3.0-or-later (with exceptions)postgres
pyyaml>= 6.0MITyaml
pint>= 0.24BSD-3-Clauseunits
scikit-learn>= 1.3.0BSD-3-Clauseml

All are compatible with distributing ts-shape under MIT. psycopg2-binary is LGPL, but it is a separately installed, dynamically loaded database driver that ts-shape neither bundles nor redistributes. SQLAlchemy works with any DB-API driver, so users can install psycopg, pg8000 or another driver instead.

Adding a dependency​

  1. Prefer the standard library or an existing dependency.
  2. Use MIT, BSD or Apache-2.0 licensed packages; GPL packages cannot be used.
  3. Prefer an optional extra over a core dependency, and import it lazily.
  4. Add it to pyproject.toml, the only place dependencies are declared (see Development).