Skip to main content

This library provides objects to make and commit modifications to tree using dulwich. It try's to provide and interface similar to making changes to a os filesystem.

Example:

    writer = TreeWriter(repo)

    writer.set_data('a/b', 'file b'.encode())
    writer.do_commit(message='Add a/b.'.encode())

    writer.set_data('a/b', b'file b ver 2',)
    writer.do_commit(message='Modify a/b.'.encode())

    writer.remove('a/b')
    writer.do_commit(message='Remove a.'.encode())

Metadata

Release files for dulwich-tree 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dulwich-tree 0.3
File Size Uploaded
dulwich_tree-0.3.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dulwich-tree 0.3
File Interpreter ABI Platform
dulwich_tree-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / dulwich_tree-0.3.tar.gz

Download URL dulwich_tree-0.3.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
800a672e265cbfc751b10ee9daac0a9faf048a4ee8cb6a6af1217aa8750bd86b
BLAKE2b-256 checksum
How to use checksums
19bd01786ad8e95cad47b443518b9860641c38e703e71d24d0cf28319bdfb339
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / dulwich_tree-0.3-py3-none-any.whl

Download URL dulwich_tree-0.3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad5622ca8db3d36556bf17c15102204f9d312568a4f98f820b687857c482212a
BLAKE2b-256 checksum
How to use checksums
5b19da99261df9d02dd97cde78aa7e0df98b9d49188b686f8b49a165242b06f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page