File exclude plugin for docums
docums-exclude is a
docums plugin that allows you
to exclude files from your input using unix-style wildcards (globs) or
regular expressions (regexes).
Quick start
-
Install the module using pip:
pip3 install docums-exclude -
In your project, add a plugin configuration to
docums.yml:plugins: - exclude: glob: - exclude/this/path/* - "*.tmp" - "*.pdf" - "*.gz" regex: - '.*\.(tmp|bin|tar)$'
You can provide zero or more patterns of each type. (If you don't provide any patterns, then nothing will happen!)
Note! Because of peculiarity of yaml syntax, the glob: and regex: lines
must not start with a dash, but the lines under them must start with
a dash.
Also because of yaml, patterns that start with a punctuation mark must be quoted.
When writing regexes, it's best to use single quotes rather than double quotes, so that your regex backslash escapes are preserved correctly without having to be doubled up.
Metadata
Release files for docums-exclude 1.0.2
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 | |
|---|---|---|---|---|
| docums-exclude-1.0.2.tar.gz | 6.7 kB | Without provenance | Details |
Release files / docums-exclude-1.0.2.tar.gz
| Download URL | docums-exclude-1.0.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13eb5584dac2891e4b22927d2a34575acd4ccbc37e2adf58694309268933ea3b
|
|
BLAKE2b-256 checksum How to use checksums |
c3db237bad4a0bd4c325b7ac4c61c5fd27cbb0aeb4fe312c366ff8dfb05a65a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.4
|
Security for docums-exclude 1.0.2
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.