liquichange
Build and modify Liquibase changelogs in Python.
Installation
$ pip install liquichange
Usage
liquichange can be used to generate Liquibase XML changelogs as follows:
from liquichange.changelog import Changelog, Changeset, CypherChange
# instantiate Changelog
changelog = Changelog()
# add Changeset with change_type neo4j:cypher to Changelog
changeset = Changeset(
id="42",
author="Nelson",
change_type=CypherChange(
text="MERGE (:property {handle: 'fastq_name', model: 'GDC'})"
)
)
changelog.add_changeset(changeset)
# write changelog to XML file
file_path = "path/to/file.xml"
changelog.save_to_file(
file_path=file_path,
encoding="UTF-8"
)
License
liquichange is licensed under the terms of the the Apache 2.0 license.
LIQUIBASE is a registered trademark of Liquibase, INC. Liquibase Open Source is released under the Apache 2.0 license.
Metadata
Release files for liquichange 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| liquichange-0.2.2.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liquichange-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.3 kB
Release files / liquichange-0.2.2.tar.gz
| Download URL | liquichange-0.2.2.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f73b34c2fa5f1486b9c53c12d4da973355b8b251f4996d7296502bd3059d7073
|
|
BLAKE2b-256 checksum How to use checksums |
f9e496715a633e9f43e6d33ccea4e2623878e1559d929d32aca13470bf3f0d3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / liquichange-0.2.2-py3-none-any.whl
| Download URL | liquichange-0.2.2-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7dc357096a6b42aa2f35fb70526a8945ede63b1d6441c88e2031b5a73a8f7b3
|
|
BLAKE2b-256 checksum How to use checksums |
16768a42ffa11313d85603f815fff4becca9fad55a1d95f604a951a35ad011fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|