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())

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dulwich_tree-0.3.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

dulwich_tree-0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file dulwich_tree-0.3.tar.gz.

File metadata

  • Download URL: dulwich_tree-0.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for dulwich_tree-0.3.tar.gz
Algorithm Hash digest
SHA256 800a672e265cbfc751b10ee9daac0a9faf048a4ee8cb6a6af1217aa8750bd86b
MD5 c06360580d33ad791e0ee3fb7d802e80
BLAKE2b-256 19bd01786ad8e95cad47b443518b9860641c38e703e71d24d0cf28319bdfb339

See more details on using hashes here.

File details

Details for the file dulwich_tree-0.3-py3-none-any.whl.

File metadata

  • Download URL: dulwich_tree-0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for dulwich_tree-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad5622ca8db3d36556bf17c15102204f9d312568a4f98f820b687857c482212a
MD5 b5870d71a45df257774aa56acb0f9a5c
BLAKE2b-256 5b19da99261df9d02dd97cde78aa7e0df98b9d49188b686f8b49a165242b06f4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3 This release

2 files

0.2

2 files

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page