-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All dependencies relative to hash function implementation are now optional, dynamically imported only when the hash functions using them are used for the first time. Running `pip install --upgrade multiformats` will not install any of them, but they can be all installed by running `pip install --upgrade multiformats[full]`. In particular, this closes #4. Hash function implementations are loaded and registered transparently on first use, to reduce memory footprint and module loading times. Analogously, a number of multibases are created and registered transparently on first use. All hash functions with a readily available, well-supported existing Python implementation are now supported. Finally, closes #3.
- Loading branch information
Showing
41 changed files
with
1,547 additions
and
550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ sphinx_autodoc_typehints | |
bases | ||
typing-extensions | ||
typing-validation | ||
pyskein |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
encoding, code, description, status | ||
identity, 0x00, 8-bit binary (encoder and decoder keeps data unmodified), default | ||
base2, 0, binary (01010101), candidate | ||
base8, 7, octal, draft | ||
base10, 9, decimal, draft | ||
base16, f, hexadecimal, default | ||
base16upper, F, hexadecimal, default | ||
base32hex, v, rfc4648 case-insensitive - no padding - highest char, candidate | ||
base32hexupper, V, rfc4648 case-insensitive - no padding - highest char, candidate | ||
base32hexpad, t, rfc4648 case-insensitive - with padding, candidate | ||
base32hexpadupper, T, rfc4648 case-insensitive - with padding, candidate | ||
base32, b, rfc4648 case-insensitive - no padding, default | ||
base32upper, B, rfc4648 case-insensitive - no padding, default | ||
base32pad, c, rfc4648 case-insensitive - with padding, candidate | ||
base32padupper, C, rfc4648 case-insensitive - with padding, candidate | ||
base32z, h, z-base-32 (used by Tahoe-LAFS), draft | ||
base36, k, base36 [0-9a-z] case-insensitive - no padding, draft | ||
base36upper, K, base36 [0-9a-z] case-insensitive - no padding, draft | ||
base58btc, z, base58 bitcoin, default | ||
base58flickr, Z, base58 flicker, candidate | ||
base64, m, rfc4648 no padding, default | ||
base64pad, M, rfc4648 with padding - MIME encoding, candidate | ||
base64url, u, rfc4648 no padding, default | ||
base64urlpad, U, rfc4648 with padding, default | ||
proquint, p, PRO-QUINT https://arxiv.org/html/0901.4016, draft | ||
encoding, code, description, status | ||
identity, 0x00, 8-bit binary (encoder and decoder keeps data unmodified), default | ||
base2, 0, binary (01010101), candidate | ||
base8, 7, octal, draft | ||
base10, 9, decimal, draft | ||
base16, f, hexadecimal, default | ||
base16upper, F, hexadecimal, default | ||
base32hex, v, rfc4648 case-insensitive - no padding - highest char, candidate | ||
base32hexupper, V, rfc4648 case-insensitive - no padding - highest char, candidate | ||
base32hexpad, t, rfc4648 case-insensitive - with padding, candidate | ||
base32hexpadupper, T, rfc4648 case-insensitive - with padding, candidate | ||
base32, b, rfc4648 case-insensitive - no padding, default | ||
base32upper, B, rfc4648 case-insensitive - no padding, default | ||
base32pad, c, rfc4648 case-insensitive - with padding, candidate | ||
base32padupper, C, rfc4648 case-insensitive - with padding, candidate | ||
base32z, h, z-base-32 (used by Tahoe-LAFS), draft | ||
base36, k, base36 [0-9a-z] case-insensitive - no padding, draft | ||
base36upper, K, base36 [0-9a-z] case-insensitive - no padding, draft | ||
base58btc, z, base58 bitcoin, default | ||
base58flickr, Z, base58 flicker, candidate | ||
base64, m, rfc4648 no padding, default | ||
base64pad, M, rfc4648 with padding - MIME encoding, candidate | ||
base64url, u, rfc4648 no padding, default | ||
base64urlpad, U, rfc4648 with padding, default | ||
proquint, p, PRO-QUINT https://arxiv.org/html/0901.4016, draft | ||
base256emoji, 🚀, base256 with custom alphabet using variable-sized-codepoints, draft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.