Skip to main content

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

dmmp-0.3.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dmmp-0.3.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file dmmp-0.3.1.tar.gz.

File metadata

  • Download URL: dmmp-0.3.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dmmp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1886b62f694c42913769d19e6acf0a015cf791b051bd5cad894f61e82124df18
MD5 55bce6511ef10f6268a3b06af1078241
BLAKE2b-256 12c7ef8bc5a6f209d94c307d8184aa90cbd03be4b761a728fed18e01ecb59146

See more details on using hashes here.

File details

Details for the file dmmp-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: dmmp-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dmmp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c01fd6b51478fa887b657a59c6647ea3d12aac77944df8bcdafc9d8151907f6d
MD5 b0afdfc857ba8c26048a3ce157ab174d
BLAKE2b-256 716458791468a2fd05223fbbcab12961ec65ceeb3667c96f99f44a56d564d840

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page