dulwich package¶
Python implementation of the Git file formats and protocols.
Subpackages¶
- dulwich.cloud package
- dulwich.contrib package
test_suite()
- Submodules
- dulwich.contrib.diffstat module
- dulwich.contrib.paramiko_vendor module
- dulwich.contrib.release_robot module
- dulwich.contrib.requests_vendor module
- dulwich.contrib.swift module
- dulwich.contrib.test_paramiko_vendor module
- dulwich.contrib.test_release_robot module
- dulwich.contrib.test_swift module
- dulwich.contrib.test_swift_smoke module
- dulwich.tests package
BlackboxTestCase
SkipTest
TestCase
expectedFailure()
skipIf()
- Subpackages
- Submodules
- dulwich.tests.test_archive module
- dulwich.tests.test_blackbox module
- dulwich.tests.test_bundle module
- dulwich.tests.test_client module
CheckWantsTests
DefaultUrllib3ManagerTest
DummyClient
DummyPopen
FetchPackResultTests
GitClientTests
GitCredentialStoreTests
HttpGitClientTests
LocalGitClientTests
PLinkSSHVendorTests
RemoteErrorFromStderrTests
ReportStatusParserTests
RsyncUrlTests
SSHGitClientTests
SubprocessSSHVendorTests
TCPGitClientTests
TestGetTransportAndPath
TestGetTransportAndPathFromUrl
TestSSHVendor
- dulwich.tests.test_config module
- dulwich.tests.test_credentials module
- dulwich.tests.test_diff_tree module
- dulwich.tests.test_fastexport module
- dulwich.tests.test_file module
- dulwich.tests.test_grafts module
- dulwich.tests.test_graph module
- dulwich.tests.test_greenthreads module
- dulwich.tests.test_hooks module
- dulwich.tests.test_ignore module
- dulwich.tests.test_index module
- dulwich.tests.test_lfs module
- dulwich.tests.test_line_ending module
- dulwich.tests.test_lru_cache module
- dulwich.tests.test_mailmap module
- dulwich.tests.test_missing_obj_finder module
- dulwich.tests.test_object_store module
- dulwich.tests.test_objects module
- dulwich.tests.test_objectspec module
- dulwich.tests.test_pack module
BaseTestFilePackIndexWriting
BaseTestPackIndexWriting
DeltaChainIteratorTests
DeltaEncodeSizeTests
DeltifyTests
EncodeCopyOperationTests
PackIndexTests
PackTests
ReadZlibTests
TestMemoryIndexWriting
TestPack
TestPackData
TestPackDeltas
TestPackIndexWritingv1
TestPackIndexWritingv2
TestPackIterator
TestPackStreamReader
TestThinPack
WritePackTests
- dulwich.tests.test_patch module
- dulwich.tests.test_porcelain module
ActiveBranchTests
AddTests
ArchiveTests
BranchCreateTests
BranchDeleteTests
BranchListTests
CheckIgnoreTests
CleanTests
CloneTests
CommitSignTests
CommitTests
CommitTreeTests
DescribeTests
DiffTreeTests
FetchTests
FindUniqueAbbrevTests
FsckTests
GetObjectByPathTests
InitTests
LogTests
LsFilesTests
LsRemoteTests
LsTreeTests
MailmapTests
PathToTreeTests
PorcelainGpgTestCase
PorcelainTestCase
PullTests
PushTests
ReceivePackTests
RemoteAddTests
RemoteRemoveTests
RemoveTests
RepackTests
ResetFileTests
ResetTests
RevListTests
ServerTests
ShowTests
StatusTests
SubmoduleTests
SymbolicRefTests
TagCreateSignTests
TagCreateTests
TagDeleteTests
TagListTests
TimezoneTests
UpdateHeadTests
UpdateServerInfoTests
UploadPackTests
WriteTreeTests
flat_walk_dir()
- dulwich.tests.test_protocol module
- dulwich.tests.test_reflog module
- dulwich.tests.test_refs module
- dulwich.tests.test_repository module
- dulwich.tests.test_server module
AckGraphWalkerImplTestCase
DictBackendTests
FileSystemBackendTests
FindShallowTests
HandlerTestCase
MultiAckDetailedGraphWalkerImplTestCase
MultiAckGraphWalkerImplTestCase
ProtocolGraphWalkerEmptyTestCase
ProtocolGraphWalkerTestCase
ReceivePackHandlerTestCase
ServeCommandTests
SingleAckGraphWalkerImplTestCase
TestGenericPackHandler
TestProto
TestProtocolGraphWalker
TestUploadPackHandler
UpdateServerInfoTests
UploadPackHandlerTestCase
- dulwich.tests.test_stash module
- dulwich.tests.test_utils module
- dulwich.tests.test_walk module
- dulwich.tests.test_web module
- dulwich.tests.utils module
Submodules¶
- dulwich.archive module
- dulwich.bundle module
- dulwich.cli module
Command
SuperCommand
cmd_add
cmd_archive
cmd_check_ignore
cmd_check_mailmap
cmd_clone
cmd_commit
cmd_commit_tree
cmd_daemon
cmd_describe
cmd_diff
cmd_diff_tree
cmd_dump_index
cmd_dump_pack
cmd_fetch
cmd_fetch_pack
cmd_fsck
cmd_help
cmd_init
cmd_log
cmd_ls_files
cmd_ls_remote
cmd_ls_tree
cmd_pack_objects
cmd_pull
cmd_push
cmd_receive_pack
cmd_remote
cmd_remote_add
cmd_repack
cmd_reset
cmd_rev_list
cmd_rm
cmd_show
cmd_stash
cmd_stash_list
cmd_stash_pop
cmd_stash_push
cmd_status
cmd_submodule
cmd_submodule_init
cmd_submodule_list
cmd_symbolic_ref
cmd_tag
cmd_update_server_info
cmd_upload_pack
cmd_web_daemon
cmd_write_tree
main()
signal_int()
signal_quit()
- dulwich.client module
AbstractHttpGitClient
FetchPackResult
GitClient
HTTPProxyUnauthorized
HTTPUnauthorized
HttpGitClient
InvalidWants
LocalGitClient
PLinkSSHVendor
ParamikoSSHVendor()
ReportStatusParser
SSHGitClient
SSHVendor
SendPackResult
StrangeHostname
SubprocessGitClient
SubprocessSSHVendor
SubprocessWrapper
TCPGitClient
TraditionalGitClient
Urllib3HttpGitClient
check_for_proxy_bypass()
check_wants()
default_local_git_client_cls
default_urllib3_manager()
default_user_agent_string()
find_git_command()
get_credentials_from_store()
get_ssh_vendor
get_transport_and_path()
get_transport_and_path_from_url()
parse_rsync_url()
read_pkt_refs()
- dulwich.config module
- dulwich.credentials module
- dulwich.diff_tree module
- dulwich.errors module
ApplyDeltaError
ChecksumMismatch
CommitError
FileFormatException
GitProtocolError
HangupException
HookError
MissingCommitError
NoIndexPresent
NotBlobError
NotCommitError
NotGitRepository
NotTagError
NotTreeError
ObjectFormatException
ObjectMissing
PackedRefsException
RefFormatError
SendPackError
UnexpectedCommandError
UpdateRefsError
WrongObjectException
- dulwich.fastexport module
GitFastExporter
GitImportProcessor
GitImportProcessor.blob_handler()
GitImportProcessor.checkpoint_handler()
GitImportProcessor.commit_handler()
GitImportProcessor.feature_handler()
GitImportProcessor.import_stream()
GitImportProcessor.lookup_object()
GitImportProcessor.progress_handler()
GitImportProcessor.reset_handler()
GitImportProcessor.tag_handler()
split_email()
- dulwich.file module
- dulwich.graph module
- dulwich.greenthreads module
- dulwich.hooks module
- dulwich.ignore module
- dulwich.index module
Index
IndexEntry
UnsupportedIndexFormat
blob_from_path_and_mode()
blob_from_path_and_stat()
build_file_from_blob()
build_index_from_tree()
changes_from_tree()
cleanup_mode()
commit_index()
commit_tree()
get_unstaged_changes()
index_entry_from_directory()
index_entry_from_path()
index_entry_from_stat()
iter_fresh_entries()
iter_fresh_objects()
locked_index
pathjoin()
pathsplit()
read_cache_entry()
read_cache_time()
read_index()
read_index_dict()
read_submodule_head()
refresh_index()
validate_path()
validate_path_element_default()
validate_path_element_ntfs()
write_cache_entry()
write_cache_time()
write_index()
write_index_dict()
- dulwich.lfs module
- dulwich.line_ending module
- dulwich.log_utils module
- dulwich.lru_cache module
- dulwich.mailmap module
- dulwich.object_store module
BaseObjectStore
BaseObjectStore.add_object()
BaseObjectStore.add_objects()
BaseObjectStore.add_pack()
BaseObjectStore.add_pack_data()
BaseObjectStore.close()
BaseObjectStore.contains_loose()
BaseObjectStore.contains_packed()
BaseObjectStore.determine_wants_all()
BaseObjectStore.find_common_revisions()
BaseObjectStore.find_missing_objects()
BaseObjectStore.generate_pack_contents()
BaseObjectStore.generate_pack_data()
BaseObjectStore.get_raw()
BaseObjectStore.iter_shas()
BaseObjectStore.iter_tree_contents()
BaseObjectStore.packs
BaseObjectStore.peel_sha()
BaseObjectStore.tree_changes()
BucketBasedObjectStore
DiskObjectStore
MemoryObjectStore
MissingObjectFinder
ObjectIterator
ObjectStoreGraphWalker
ObjectStoreIterator
OverlayObjectStore
PackBasedObjectStore
PackBasedObjectStore.add_objects()
PackBasedObjectStore.alternates
PackBasedObjectStore.close()
PackBasedObjectStore.contains_loose()
PackBasedObjectStore.contains_packed()
PackBasedObjectStore.get_raw()
PackBasedObjectStore.pack_loose_objects()
PackBasedObjectStore.packs
PackBasedObjectStore.repack()
commit_tree_changes()
read_packs_file()
tree_lookup_path()
- dulwich.objects module
Blob
Commit
Commit.author
Commit.author_time
Commit.author_timezone
Commit.check()
Commit.commit_time
Commit.commit_timezone
Commit.committer
Commit.encoding
Commit.extra
Commit.from_path()
Commit.gpgsig
Commit.mergetag
Commit.message
Commit.parents
Commit.sign()
Commit.tree
Commit.type_name
Commit.type_num
Commit.verify()
EmptyFileException
FixedSha
S_ISGITLINK()
ShaFile
ShaFile.as_legacy_object()
ShaFile.as_legacy_object_chunks()
ShaFile.as_pretty_string()
ShaFile.as_raw_chunks()
ShaFile.as_raw_string()
ShaFile.check()
ShaFile.copy()
ShaFile.from_file()
ShaFile.from_path()
ShaFile.from_raw_chunks()
ShaFile.from_raw_string()
ShaFile.from_string()
ShaFile.id
ShaFile.raw_length()
ShaFile.set_raw_chunks()
ShaFile.set_raw_string()
ShaFile.sha()
ShaFile.type_name
ShaFile.type_num
SubmoduleEncountered
Tag
Tree
TreeEntry
check_hexsha()
check_identity()
check_time()
cls
filename_to_hex()
format_timezone()
git_line()
hex_to_filename()
hex_to_sha()
key_entry()
key_entry_name_order()
object_class()
object_header()
parse_commit()
parse_time_entry()
parse_timezone()
parse_tree()
pretty_format_tree_entry()
serializable_property()
serialize_tree()
sha_to_hex()
sorted_tree_items()
valid_hexsha()
- dulwich.objectspec module
- dulwich.pack module
DeltaChainIterator
FilePackIndex
MemoryPackIndex
Pack
Pack.check()
Pack.check_length_and_checksum()
Pack.close()
Pack.data
Pack.entries()
Pack.from_lazy_objects()
Pack.from_objects()
Pack.get_raw()
Pack.get_raw_unresolved()
Pack.get_ref()
Pack.get_stored_checksum()
Pack.index
Pack.iterobjects()
Pack.keep()
Pack.name()
Pack.pack_tuples()
Pack.resolve_object()
Pack.sorted_entries()
PackChunkGenerator
PackData
PackData.calculate_checksum()
PackData.check()
PackData.close()
PackData.create_index()
PackData.create_index_v1()
PackData.create_index_v2()
PackData.filename
PackData.from_file()
PackData.from_path()
PackData.get_compressed_data_at()
PackData.get_object_at()
PackData.get_stored_checksum()
PackData.iterentries()
PackData.iterobjects()
PackData.path
PackData.sorted_entries()
PackFileDisappeared
PackIndex
PackIndex1
PackIndex2
PackIndexer
PackInflater
PackStreamCopier
PackStreamReader
SHA1Reader
SHA1Writer
UnpackedObject
apply_delta()
bisect_find_sha()
chunks_length()
compute_file_sha()
create_delta()
deltify_pack_objects()
iter_sha1()
load_pack_index()
load_pack_index_file()
obj_sha()
pack_header_chunks()
pack_object_chunks()
pack_object_header()
pack_objects_to_data()
read_pack_header()
read_zlib_chunks()
take_msb_bytes()
unpack_object()
write_pack()
write_pack_data()
write_pack_header()
write_pack_index()
write_pack_index_v1()
write_pack_index_v2()
write_pack_object()
write_pack_objects()
- dulwich.patch module
- dulwich.porcelain module
DivergedBranches
Error
GitStatus
NoneStream
RemoteExists
TimezoneFormatError
active_branch()
add()
archive()
branch_create()
branch_delete()
branch_list()
check_diverged()
check_ignore()
check_mailmap()
clean()
clone()
commit()
commit_decode()
commit_encode()
commit_tree()
daemon()
describe()
diff_tree()
fetch()
find_unique_abbrev()
fsck()
get_branch_remote()
get_object_by_path()
get_remote_repo()
get_tree_changes()
get_untracked_paths()
get_user_timezones()
init()
log()
ls_files()
ls_remote()
ls_tree()
open_repo()
open_repo_closing()
pack_objects()
parse_timezone_format()
path_to_tree_path()
print_commit()
print_name_status()
print_tag()
pull()
push()
receive_pack()
remote_add()
remote_remove()
remove()
repack()
reset()
reset_file()
rev_list()
rm()
show()
show_blob()
show_commit()
show_object()
show_tag()
show_tree()
stash_drop()
stash_list()
stash_pop()
stash_push()
status()
submodule_add()
submodule_init()
submodule_list()
symbolic_ref()
tag_create()
tag_delete()
tag_list()
update_head()
update_server_info()
upload_pack()
web_daemon()
write_tree()
- dulwich.protocol module
BufferedPktLineWriter
PktLineParser
Protocol
ReceivableProtocol
ack_type()
agent_string()
capability_agent()
capability_symref()
extract_capabilities()
extract_capability_names()
extract_want_line_capabilities()
format_ack_line()
format_capability_line()
format_cmd_pkt()
format_ref_line()
format_shallow_line()
format_unshallow_line()
parse_capability()
parse_cmd_pkt()
pkt_line()
symref_capabilities()
- dulwich.reflog module
- dulwich.refs module
DictRefsContainer
DiskRefsContainer
DiskRefsContainer.add_if_new()
DiskRefsContainer.allkeys()
DiskRefsContainer.get_packed_refs()
DiskRefsContainer.get_peeled()
DiskRefsContainer.read_loose_ref()
DiskRefsContainer.refpath()
DiskRefsContainer.remove_if_equals()
DiskRefsContainer.set_if_equals()
DiskRefsContainer.set_symbolic_ref()
DiskRefsContainer.subkeys()
InfoRefsContainer
RefsContainer
RefsContainer.add_if_new()
RefsContainer.allkeys()
RefsContainer.as_dict()
RefsContainer.follow()
RefsContainer.get_packed_refs()
RefsContainer.get_peeled()
RefsContainer.get_symrefs()
RefsContainer.import_refs()
RefsContainer.keys()
RefsContainer.read_loose_ref()
RefsContainer.read_ref()
RefsContainer.remove_if_equals()
RefsContainer.set_if_equals()
RefsContainer.set_symbolic_ref()
RefsContainer.subkeys()
SymrefLoop
check_ref_format()
is_local_branch()
parse_symref_value()
read_info_refs()
read_packed_refs()
read_packed_refs_with_peeled()
strip_peeled_refs()
write_info_refs()
write_packed_refs()
- dulwich.repo module
BaseRepo
BaseRepo.object_store
BaseRepo.refs
BaseRepo.do_commit()
BaseRepo.fetch()
BaseRepo.fetch_objects()
BaseRepo.fetch_pack_data()
BaseRepo.generate_pack_data()
BaseRepo.get_config()
BaseRepo.get_config_stack()
BaseRepo.get_description()
BaseRepo.get_graph_walker()
BaseRepo.get_named_file()
BaseRepo.get_object()
BaseRepo.get_parents()
BaseRepo.get_peeled()
BaseRepo.get_refs()
BaseRepo.get_shallow()
BaseRepo.get_walker()
BaseRepo.head()
BaseRepo.open_index()
BaseRepo.parents_provider()
BaseRepo.set_description()
BaseRepo.update_shallow()
InvalidUserIdentity
MemoryRepo
ParentsProvider
Repo
Repo.path
Repo.bare
Repo.bare
Repo.clone()
Repo.close()
Repo.commondir()
Repo.controldir()
Repo.create()
Repo.discover()
Repo.get_blob_normalizer()
Repo.get_config()
Repo.get_description()
Repo.get_named_file()
Repo.has_index()
Repo.index_path()
Repo.init()
Repo.init_bare()
Repo.open_index()
Repo.path
Repo.reset_index()
Repo.set_description()
Repo.stage()
Repo.unstage()
UnsupportedExtension
UnsupportedVersion
check_user_identity()
get_user_identity()
parse_graftpoints()
read_gitfile()
serialize_graftpoints()
- dulwich.server module
Backend
BackendRepo
DictBackend
FileSystemBackend
Handler
MultiAckDetailedGraphWalkerImpl
MultiAckGraphWalkerImpl
PackHandler
ReceivePackHandler
SingleAckGraphWalkerImpl
TCPGitRequestHandler
TCPGitServer
UploadArchiveHandler
UploadPackHandler
generate_info_refs()
generate_objects_info_packs()
main()
serve_command()
update_server_info()
- dulwich.stash module
- dulwich.submodule module
- dulwich.walk module
- dulwich.web module
ChunkReader
GunzipFilter
HTTPGitApplication
HTTPGitRequest
LimitedInputFilter
ServerHandlerLogger
WSGIRequestHandlerLogger
WSGIServerLogger
cache_forever_headers()
date_time_string()
get_idx_file()
get_info_packs()
get_info_refs()
get_loose_object()
get_pack_file()
get_repo()
get_text_file()
handle_service_request()
main()
make_wsgi_chain()
send_file()
url_prefix()