Skip to main content

Migrate models between different modelbase versions

Project description

modelbase-migrate

Migrate models between different modelbase versions (currently v1 -> v2).

Installation

pip install modelbase-migrate

Usage

from modelbase_migrate import migrate

migrate(
    model_v1,
    initial_conditions={...},
    out_file=out / "model_name.py",
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modelbase_migrate-0.1.0.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modelbase_migrate-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file modelbase_migrate-0.1.0.tar.gz.

File metadata

  • Download URL: modelbase_migrate-0.1.0.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.14

File hashes

Hashes for modelbase_migrate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2ffdb3bbd255ac39018bb7618ce97782c2a82cda3180bf75a33f88ad1a29cd16
MD5 574caa252a3beae71253aa9b3494aada
BLAKE2b-256 4b6022c16fe69f3482cc02ed507e0e599a11764082a84b27cc3ac0a3dc18e5b3

See more details on using hashes here.

File details

Details for the file modelbase_migrate-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for modelbase_migrate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c311f53824c5f427a1352a2f9be0d1dcd29786ef1d6b79a6d0ddf630a2f7cbe
MD5 b819f07abbf65e69c90dd879e29768fa
BLAKE2b-256 1a36ca0ee5f662e2bb40de1cc824300999126d46a060d43f445fdee20da9aec6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page