Directory metadata mapper protocol for documenting directories
Project description
DMMP - Directory Metadata Mapper Protocol
Mapper that generates a group of .md files that represent a specific directory in a file system path, creating linked files that follow the markdown syntax.
Standard metadata format
unique_id
output_folder_path/
output_file_name
"""
output_file_description
"""
The output_file_name lets you link files, the syntax is:
"""
this file is linked to [[other_unique_id]]
"""
Populate a specific directory and its subdirectories in this fashion (in .dmmp files).
After doing so, run something like the following:
python -m dmmp --dirs-to-map "C:\Path1" 1 --save-path "C:\Path2" --metadata-file-names "name"
C:\Path1 --> path of input.
1 ----------> number of nested folders to check.
C:\Path2 --> path of output.
name -----> name on which the metadata files will be on, without extension.
Now on the output path, you should see a folder that represents the data you provided as input.
Configuration file
After you do those steps, you will see a config.toml in the path you executed the script, to not repeat yourself, you can run the same exact command with this argument:
python -m dmmp --config-file config.toml
More about the arguments
If you want to make your commands more powerful, run python -m dmmp -h to list all possible arguments and what they do.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dmmp-1.0.0.tar.gz.
File metadata
- Download URL: dmmp-1.0.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca082cc516e9a6be7f321584641a5b443fea44507dbaf36dd7e091db7ac440fc
|
|
| MD5 |
3694ae32ea43853a39cd1bfee2acf361
|
|
| BLAKE2b-256 |
f2454574da111b734cebf20693567ae063dfbe35fb8cfaeb1c277dc5ac4b2258
|
File details
Details for the file dmmp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dmmp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c659f3a5b18b43c5430060e4e0d1e986008253811fb5401999dfbdfa84d84386
|
|
| MD5 |
2abb3f078833a2b86f18e02e39d39897
|
|
| BLAKE2b-256 |
f03ecd07945dcbbfd133fb197f4b6cba17979a3e7991bdfef679ebb5fedef1b3
|