fastomit
Fast k-v omission
Table of Contents
Installation
pip install fastomit
Usage
Trust Omitter
from fastomit.omit import Omitter, always_omit, globally_hidden, hide, reset_omissions
# always omit keys abc and pw
om = Omitter(["abc", "pw"])
my_dict = {"abc": "val", "pw": "val2", "ok": True, "val": "v2"}
assert om.omit(my_dict) == {"abc": "***", "pw": "****", "ok": True, "val": "v2"}
# always omit keys abc and def
always_omit(["abc", "def"])
om = Omitter()
my_dict = {"abc": "v1", "def": "value", "deg": "nohide"}
assert om.omit(my_dict) == {"abc": "**", "def": "*****", "deg": "nohide"}
# no global omissions
reset_omissions()
om = Omitter()
assert om.omit(my_dict) == my_dict
No-Trust Omitter
from fastomit.omit import NoTrustOmitter, always_trust, globally_trusted, reset_trusted
# omits anything but these keys
om = NoTrustOmitter(["abc", "pw"])
my_dict = {"abc": "val", "pw": "val2", "ok": True, "val": "v2"}
assert om.omit(my_dict) == {"abc": "val", "pw": "val2", "val": "**"}
# trust keys abc and def
always_trust(["abc", "def"])
om = NoTrustOmitter([])
my_dict = {"abc": "v1", "def": "value", "deg": "hide"}
assert om.omit(my_dict) == {"abc": "v1", "def": "value", "deg": "****"}
# trust nothing
reset_trusted()
om = NoTrustOmitter()
assert om.omit(my_dict) == {"abc": "**", "def": "*****", "deg": "****"}
assert globally_trusted() == []
License
fastomit is distributed under the terms of the MIT license.
Metadata
Release files for fastomit 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastomit-0.1.1.tar.gz | 7.8 kB | Without provenance | Details for fastomit-0.1.1.tar.gz |
Built distributions (wheels)
Total release size: 6.7 MB
Release files / fastomit-0.1.1.tar.gz
| Download URL | fastomit-0.1.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
179d5e07d8596ffdb9b7e491deb3fd586009dff14419c09034b995fb4dd4a2e4
|
|
BLAKE2b-256 checksum How to use checksums |
80cd22a150a5b1f60070d33cb98266762043c6f1b30b77b19b477db5d46a21c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp311-cp311-win_amd64.whl
| Download URL | fastomit-0.1.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 259.6 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5fc1dcf4077b902a23ac4cadea42d5cb14df4996874327d814aca26144900429
|
|
BLAKE2b-256 checksum How to use checksums |
822af4e9b7f7f8cd386485c929ac079c578ae38d6d9ca6b063f82f1913919ef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp311-cp311-win32.whl
| Download URL | fastomit-0.1.1-cp311-cp311-win32.whl |
|---|---|
| Size | 251.1 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
4b7fbf56807a2e4ffd4e3ba8477d1a73fa3b9e078c26dbc25c912c09103cddbb
|
|
BLAKE2b-256 checksum How to use checksums |
722d5e25467d22aa6195d680edbddb21ff356cfff26ffe1d42514dd638c39649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp311-cp311-manylinux_2_35_x86_64.whl
| Download URL | fastomit-0.1.1-cp311-cp311-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 819.7 kB |
| Tags | CPython 3.11 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
be4932cc388ac2c6cac4d1be884d55338d91a5cbdc02f57a04b6cc0bafd1db88
|
|
BLAKE2b-256 checksum How to use checksums |
052149249f1e1f7425ff9c201efffc451f1a84ec010fae63806ffb937abb2667
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp311-cp311-macosx_10_16_x86_64.whl
| Download URL | fastomit-0.1.1-cp311-cp311-macosx_10_16_x86_64.whl |
|---|---|
| Size | 438.8 kB |
| Tags | CPython 3.11 macOS 10.16+ x86-64 |
|
SHA-256 checksum How to use checksums |
fd73bf7483a420bed675e8b28ac5e15519034bab6201a815f18b1fc155dd0baf
|
|
BLAKE2b-256 checksum How to use checksums |
498b0ad9f1f642354f3fc80b6ebfae1ed936f092d7d9c30c5dad5b105b5ff9d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp310-cp310-win_amd64.whl
| Download URL | fastomit-0.1.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 259.5 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0a8250285a3ccf6ace1fe5a2f1ea28fecb2758fd1e124d375649743162c82da4
|
|
BLAKE2b-256 checksum How to use checksums |
d76c806b092023365081fe5c70c1a90e1cb8d1cf69f584f8364c36829df8bced
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp310-cp310-win32.whl
| Download URL | fastomit-0.1.1-cp310-cp310-win32.whl |
|---|---|
| Size | 251.2 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
de87ed3e45a1031244c1d040eeaa3de091c0974575ab5c561a2564e24975dcc4
|
|
BLAKE2b-256 checksum How to use checksums |
9f5c40d76a3b0aa429a9699e78b0abe38414a39d20137e71f38e54818c166009
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp310-cp310-manylinux_2_35_x86_64.whl
| Download URL | fastomit-0.1.1-cp310-cp310-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 782.6 kB |
| Tags | CPython 3.10 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
663076276c4bffa8a480d87d888323b9d6665c052c956356fa3bcb52f6617a22
|
|
BLAKE2b-256 checksum How to use checksums |
beaf340ce0d1ca57af58c78efc63f3a498c603d50b2b0b3aac51ccb541c17998
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp310-cp310-macosx_10_16_x86_64.whl
| Download URL | fastomit-0.1.1-cp310-cp310-macosx_10_16_x86_64.whl |
|---|---|
| Size | 436.8 kB |
| Tags | CPython 3.10 macOS 10.16+ x86-64 |
|
SHA-256 checksum How to use checksums |
4357c626c5d3d6947abd4a658654a1932f2457bfb05c44b1f1e0ecca18264b08
|
|
BLAKE2b-256 checksum How to use checksums |
5ab2286cb56ad030158bbd6e43d10c307a648f6e1bfb324c0a92b4ac76cd8783
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp39-cp39-win_amd64.whl
| Download URL | fastomit-0.1.1-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 260.1 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7bd2df418288173255fa8a318364bc0ca5f4830a2344062dfeb69a500073014a
|
|
BLAKE2b-256 checksum How to use checksums |
09dd374fbca2d331060f46464a8567f36b27e2c150ef04375d16daa9c086b18f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp39-cp39-win32.whl
| Download URL | fastomit-0.1.1-cp39-cp39-win32.whl |
|---|---|
| Size | 251.7 kB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
7ebd2e67b104be5c00b2592ea051eb08b9c3fc126da2f5eff6226f1974fcecee
|
|
BLAKE2b-256 checksum How to use checksums |
8368463f8eea1ff80e485407385d7469a54b82ae84aef12fac2dd908dd099775
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp39-cp39-manylinux_2_35_x86_64.whl
| Download URL | fastomit-0.1.1-cp39-cp39-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 788.2 kB |
| Tags | CPython 3.9 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
381f5b81505e44b4404e17f768deba5470e2bb095c6f511c07a338ccc7392c4e
|
|
BLAKE2b-256 checksum How to use checksums |
6272f640f648b3b273068db1cedf055431340072dba9046188631b601798e9a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp39-cp39-macosx_10_16_x86_64.whl
| Download URL | fastomit-0.1.1-cp39-cp39-macosx_10_16_x86_64.whl |
|---|---|
| Size | 315.8 kB |
| Tags | CPython 3.9 macOS 10.16+ x86-64 |
|
SHA-256 checksum How to use checksums |
e7423bb5e9703bf417ae66680f21dd40c4cbc7dc984a9eb47f9d7ebbc9cfcbec
|
|
BLAKE2b-256 checksum How to use checksums |
57d5086d70ec27201554c50e7390ffc68349957eab0c88d8463618d7c2778f30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp38-cp38-win_amd64.whl
| Download URL | fastomit-0.1.1-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 260.2 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f765956424957461698dce9c7a233b931ca25173af74191303b435a23e53491f
|
|
BLAKE2b-256 checksum How to use checksums |
1f9b2b5d0a37cff79c96c7b38eead6d50e9980dde3805ac876b9c192743d07da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp38-cp38-win32.whl
| Download URL | fastomit-0.1.1-cp38-cp38-win32.whl |
|---|---|
| Size | 251.8 kB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
306405171a99f2b4517f52833554e53be4eead7cba82525d35210a8530806aae
|
|
BLAKE2b-256 checksum How to use checksums |
fd7c69d27a263cc970ab302b8bdbe8ecde16577e65d762418418a8614ac33175
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp38-cp38-manylinux_2_35_x86_64.whl
| Download URL | fastomit-0.1.1-cp38-cp38-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 794.6 kB |
| Tags | CPython 3.8 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
dae5300afb3810d9ecdf5d4d1a4ee682e6a6f264b1ac9f380d32649809d5e999
|
|
BLAKE2b-256 checksum How to use checksums |
2dc852d52fa71dbab457fb7c6b1b491f2d9ef8512bedce4b2c6210006d0a77bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / fastomit-0.1.1-cp38-cp38-macosx_10_16_x86_64.whl
| Download URL | fastomit-0.1.1-cp38-cp38-macosx_10_16_x86_64.whl |
|---|---|
| Size | 316.3 kB |
| Tags | CPython 3.8 macOS 10.16+ x86-64 |
|
SHA-256 checksum How to use checksums |
7a13d044b6a0444ab867a59f34f41aa785452a09b5557fbfbbad76b18048a259
|
|
BLAKE2b-256 checksum How to use checksums |
efe85495facd932795ce3245e0954f74a067e880b30d96dbbcac90f85f352fd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for fastomit 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.