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.4.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.4-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: limber_timber-0.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 b6c5418643adcfa9254f703cc45a9a0170b1041ca5cc50a3576b9a667781f8fa
MD5 a120c0c33d19d6f3bce07a4c0a37ec42
BLAKE2b-256 5cbcbf1331a68f0da455c5b92462fe7b11a0635dc5c3eb9e9aa6dc004f267525

See more details on using hashes here.

File details

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

File metadata

  • Download URL: limber_timber-0.3.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 40487e6f9863e8b5e1a178579972813daa10f6126c8cb532b80ba654bbe2dcdc
MD5 4e4afe7107b08fa157cc3c7188d7c6b7
BLAKE2b-256 c275e223b75cd663141ef0c6353c855d608159da45c1eb1d71b71634611b3e63

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