Skip to main content

It's data based!

Project description

Limber Timber

It's data based!


status PyPI version Python Tests Last Commit License

pip install limber-timber

Overview

I am writing the migration system I always wanted but did not exist, until now. Read the docs to learn more!

Docs

https://Wopple.github.io/limber-timber

Roadmap

These are listed in rough priority order.

  • ✅ CLI
  • ✅ Publish to PyPI
  • ✅ Templating
  • ➡️ Documentation
  • ➡️ Unit Tests
    • ➡️ Templating
  • ✅ JSON Schema
  • ✅ In-memory Database
  • ✅ In-memory Metadata
  • ➡️ Big Query Database
    • ➡️ Create Snapshot Table
    • ➡️ Create Table Clone
  • ✅ Big Query Metadata
  • ✅ Database Adoption
  • ✅ Raise Unsupported Operations
  • ✅ Scan Topologically with Foreign Keys
  • ✅ Database Specific Validation
  • ➡️ Github Actions
    • ➡️ Release
  • ➡️ Grouped Operation Application
    • To reduce round trips with the backend and reduce migration time
  • ➡️ Expand Grouped Operations
    • To handle complex operations that do not have atomic support in the backend
  • ✅ Minimize Scan Output
  • ✅ Arbitrary DML SQL Migrations
  • ➡️ File System Metadata
  • ➡️ SQLite Database
  • ➡️ SQLite Metadata
  • ➡️ Postgres Database
  • ➡️ Postgres Metadata
  • ➡️ MySQL Database
  • ➡️ MySQL Metadata
  • ➡️ Optional Backend Installation
    • To minimize dependency bloat

Contribution

If you want to contribute, read the docs and check out the roadmap. I will only accept contributions if:

  1. I agree with the design decisions
  2. The code style matches the existing code
  3. Unit tests are included (if needed)

If you have any questions, you can reach out to me on discord.

Design Principles

  • The default behavior is safe and automated
  • The behavior can be configured to be fast and efficient
  • High flexibility to support future and unknown use-cases
  • Prefer supporting narrow use cases well rather than broad use cases poorly
  • Apply heavy importance to the Single Responsibility Principle
  • Put complex logic in easily testable functions

Code Style

  • 4-space indentation
  • Prefer single quotes
    • exceptions
      • pyproject.toml
      • docstrings
      • nested f-strings
  • Use newlines to visually separate blocks and conceptual groups of code
  • Include explicit else blocks
    • exceptions
      • assertive if-statements
  • Naming
    • balance brevity and clarity: say exactly what is needed
    • do not restate what is already clear from the context
  • Comments
    • dos
      • clarify confusing code
      • explain the 'why'
      • first try to explain with the code instead of a comment
    • do nots
      • make assumptions about the reader
      • state that which is explained by the nearby code
      • cover up for poor code
      • just because
  • Multiline strings use concatenated single line strings
    • exceptions
      • docstrings
  • No from my.module import *
    • instead: from my import module as md

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

limber_timber-0.3.3.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

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

limber_timber-0.3.3-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

Details for the file limber_timber-0.3.3.tar.gz.

File metadata

  • Download URL: limber_timber-0.3.3.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.2 Darwin/24.6.0

File hashes

Hashes for limber_timber-0.3.3.tar.gz
Algorithm Hash digest
SHA256 cb6017cf34aa76eaf210deab03c0086e00e414f5d4798f8ccf740d5b28232944
MD5 08ba52e922aebf4eb111b72cc1336144
BLAKE2b-256 380930bdff26bd21c6c94b5ebf56e721f9b352b2312aa17750e0aa76d0cfd39f

See more details on using hashes here.

File details

Details for the file limber_timber-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: limber_timber-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.2 Darwin/24.6.0

File hashes

Hashes for limber_timber-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 14735244c56852e25b414644ac6fd26810aae11184603cb8ba59e5ff9c789661
MD5 9206347c18bbfa56678ff6520fd8fafe
BLAKE2b-256 028d39333fb2d2fbd12cc14e2bef99ac4076b79a3c297f07d518ca7ebaf7a564

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