Limber Timber
It's data based!
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:
- I agree with the design decisions
- The code style matches the existing code
- 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
- exceptions
- Use newlines to visually separate blocks and conceptual groups of code
- Include explicit
elseblocks- exceptions
- assertive if-statements
- exceptions
- 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
- dos
- Multiline strings use concatenated single line strings
- exceptions
- docstrings
- exceptions
- No
from my.module import *- instead:
from my import module as md
- instead:
Metadata
Release files for limber-timber 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| limber_timber-0.4.3.tar.gz | 41.7 kB | Without provenance | Details for limber_timber-0.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| limber_timber-0.4.3-py3-none-any.whl | Python 3 | none | any | Details for limber_timber-0.4.3-py3-none-any.whl |
Total release size: 95.7 kB
Release files / limber_timber-0.4.3.tar.gz
| Download URL | limber_timber-0.4.3.tar.gz |
|---|---|
| Size | 41.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bf194b6d9133010d457e85744eab97ad4dfb9ef68e834c844659df2d483b48e
|
|
BLAKE2b-256 checksum How to use checksums |
eebaf70c7be1cf2e437c80e1ad65d2f9e0a5f5aff11812569eec930567f971c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.2 Darwin/24.6.0
|
Release files / limber_timber-0.4.3-py3-none-any.whl
| Download URL | limber_timber-0.4.3-py3-none-any.whl |
|---|---|
| Size | 54.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a24aeb60dfb47d1951ed6379677dd22a9b5ab47865ffee57022317413171fb7
|
|
BLAKE2b-256 checksum How to use checksums |
7aa3e6e90e168691fb69645309b30f66eb32ae9d744ac9d6d33d2955daac4cb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.2 Darwin/24.6.0
|
Security for limber-timber 0.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.