{"id":17946461,"url":"https://github.com/psycore8/obsidian-property-modifier","last_synced_at":"2026-05-01T13:32:39.892Z","repository":{"id":259786904,"uuid":"869135034","full_name":"psycore8/obsidian-property-modifier","owner":"psycore8","description":"Automatic property modifier for Obsidian","archived":false,"fork":false,"pushed_at":"2024-10-27T21:52:10.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T14:45:01.723Z","etag":null,"topics":["automation","obsidian"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psycore8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-07T19:21:13.000Z","updated_at":"2024-10-27T21:52:13.000Z","dependencies_parsed_at":"2024-10-28T01:50:21.165Z","dependency_job_id":"a45d048e-4786-45c1-9193-11cbd4e65608","html_url":"https://github.com/psycore8/obsidian-property-modifier","commit_stats":null,"previous_names":["psycore8/obsidian-property-modifier"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/psycore8/obsidian-property-modifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psycore8%2Fobsidian-property-modifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psycore8%2Fobsidian-property-modifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psycore8%2Fobsidian-property-modifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psycore8%2Fobsidian-property-modifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psycore8","download_url":"https://codeload.github.com/psycore8/obsidian-property-modifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psycore8%2Fobsidian-property-modifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","obsidian"],"created_at":"2024-10-29T07:05:39.360Z","updated_at":"2026-05-01T13:32:39.850Z","avatar_url":"https://github.com/psycore8.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Obsidian Property Modifier\n\n## Description\n\n[Obsidian](https://obsidian.md/) is a powerful note taking app (and so much more). In some cases, it is useful to manage notes with metadata. This metadata is called properties in Obsidian notes.\n\nSometimes it is neccessary to change or delete this properties, because the data processing behind needs it.\n\nThe Python script processes markdown files within a directory. It can add, modify, or delete properties.\n\n## Usage\n\n```\nObsidian Property Modifier 0.1.3 by psycore8\nTool for mass manipulating Obsidian Properties\n\nusage: Obsidian Property Modifier [-h] [-m {field,value}] [-d] [-dir WORKING_DIR] -f FIELD [-n NEW_FIELD]\n                                  [-t {bool,int,str,date,datetime}] [-v VALUE]\n\noptions:\n  -h, --help            show this help message and exit\n  -m {field,value}, --modify {field,value}\n                        add or modify property fields or values in a directory\n  -d, --delete          delete properties in a directory\n  -dir WORKING_DIR, --working-dir WORKING_DIR\n                        the directory with the md files to process\n  -f FIELD, --field FIELD\n                        the property field is required for delete and modify\n  -n NEW_FIELD, --new-field NEW_FIELD\n                        modify the field name to this value\n  -t {bool,int,str,date,datetime}, --type {bool,int,str,date,datetime}\n                        data type for property field\n  -v VALUE, --value VALUE\n                        the property value is needed for add or mod\n```\n\nIf your working directory is always the same, you can use a config file to input this argument:\n\n```stylus\n[arguments]\nworking_directory = directory\n```\n\n## Examples\n\n### Markdown File\n\n```stylus\n---\ncity: Ohio\ndistrict: Florida\n---\n```\n\n### Adding a field with value\n\n`python propmod.py -dir directory --modify value --field short --value FL`\n\n```stylus\n---\ncity: Ohio\ndistrict: Florida\nshort: FL\n---\n```\n\n#### Adding a date or datetime\n\n`python propmod.py -dir directory --modify value --field date --value 01.05.1999 --type date`\n\nor\n\n`python propmod.py -dir directory --modify value --field datetime --value 01.05.1999-12:35 --type datetime`\n\nresults in\n\n```stylus\n...\ndate: 1999-05-01\nOR\ndatetime: 1999-05-01 12:35:00\n...\n```\n#### Modify\n\n#### Modify a value\n\n`python propmod.py -dir directory --modify value --field city --value Miami`\n\n```stylus\n---\ncity: Miami\ndistrict: Florida\nshort: FL\n---\n```\n\n#### Modify a value and the data type\n\n`python propmod.py -dir directory --modify value --field proof --value True --type bool`\n\n```stylus\n---\ncity: Miami\ndistrict: Florida\nshort: FL\nproof: True\n---\n```\n#### Modify a field\n\n`python propmod.py -dir directory --modify field --field district --new-field state`\n\n```stylus\n---\ncity: Miami\nstate: Florida\nshort: FL\nproof: True\n---\n```\n\n#### Delete a field\n\n`python propmod.py -dir directory --delete --field short`\n\n```stylus\n---\ncity: Miami\nstate: Florida\nproof: True\n---\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsycore8%2Fobsidian-property-modifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsycore8%2Fobsidian-property-modifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsycore8%2Fobsidian-property-modifier/lists"}