Markr
A library and script for associating marks/labels/key-values with a given file. Markr lets you perform operations on the marks for files.
Associating metadata with files/resources can be used to organize, search and perform other operations on files. Markr provides a library and script to do this using external attributes.
Getting Started
Install the python3 package
pip3 install markr
Test setting and getting marks.
$ touch me.txt
$ markr set me.txt foo bar
$ markr set me.txt alice bob
$ markr get me.txt
foo : bar
alice : bob
Creating a mark directory
$ mkdir -p test/dir
$ touch test/dir/me.txt
$ markr set me.txt foo bar
$ markr set me.txt alice bob
$ markr get me.txt
alice : bob
foo : bar
$ markr dir test
$ tree marks
marks/
├── alice
│ └── me.txt -> ../../test/dir/me.txt
└── foo
└── me.txt -> ../../test/dir/me.txt
2 directories, 2 files
Advanced Features
The dir command scans all files underneath a given directory for marks, and
creates a new directory structure where each subdirectory is a given label. This
allows you to view what files have the same marks
Licensing
MIT License.
Metadata
Release files for markr 0.0.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 |
|---|---|---|---|---|
| markr-0.0.1.tar.gz | 3.6 kB | Without provenance | Details for markr-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| markr-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for markr-0.0.1-py3-none-any.whl |
Total release size: 7.3 kB
Release files / markr-0.0.1.tar.gz
| Download URL | markr-0.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
678aa456c58a5b88f6dad3aac486393fa506a94c3976a3199c49ba63b22c4209
|
|
BLAKE2b-256 checksum How to use checksums |
21c0b0ef50ed9c28699999a5ba33cbf51c40e2ce7ee5b22363f86070bf639f42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
|
Release files / markr-0.0.1-py3-none-any.whl
| Download URL | markr-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6ee7880149dad20acc1a5cef41f6ebb92bdc27a7d1c097c8d7431166c5276c0
|
|
BLAKE2b-256 checksum How to use checksums |
358ed93e3cb892436f52af87ac00240fec04766735400830792bbd7ff655eff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
|
Security for markr 0.0.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.