{"id":27365044,"url":"https://github.com/hajietewhub/python-markdown-attribute","last_synced_at":"2025-04-13T05:39:56.142Z","repository":{"id":287408664,"uuid":"964601730","full_name":"Hajietewhub/python-markdown-attribute","owner":"Hajietewhub","description":"Markdown attribute modifier (MAM) is a Python tool designed to automate the modification of date (pubDatetime) and cover image (image) attributes in Markdown files.","archived":false,"fork":false,"pushed_at":"2025-04-12T09:09:19.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T05:39:50.338Z","etag":null,"topics":["class","css","datetime","image","markdown","mkdocs","nhavantuonglai","python","python-markdown","python-script"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hajietewhub.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-11T13:29:30.000Z","updated_at":"2025-04-12T09:09:23.000Z","dependencies_parsed_at":"2025-04-11T15:49:36.349Z","dependency_job_id":"cd803184-246d-4d6c-b868-743b6a4afa9c","html_url":"https://github.com/Hajietewhub/python-markdown-attribute","commit_stats":null,"previous_names":["hajietewhub/python-markdown-attribute"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hajietewhub%2Fpython-markdown-attribute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hajietewhub%2Fpython-markdown-attribute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hajietewhub%2Fpython-markdown-attribute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hajietewhub%2Fpython-markdown-attribute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hajietewhub","download_url":"https://codeload.github.com/Hajietewhub/python-markdown-attribute/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670507,"owners_count":21142897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["class","css","datetime","image","markdown","mkdocs","nhavantuonglai","python","python-markdown","python-script"],"created_at":"2025-04-13T05:39:54.300Z","updated_at":"2025-04-13T05:39:55.509Z","avatar_url":"https://github.com/Hajietewhub.png","language":"Python","readme":"# Python Markdown Attribute 🐍✍️\n\n![Python Markdown Attribute](https://img.shields.io/badge/Version-1.0.0-brightgreen) ![License](https://img.shields.io/badge/License-MIT-blue) ![Python](https://img.shields.io/badge/Python-3.6%2B-yellowgreen)\n\nMarkdown Attribute Modifier (MAM) is a Python tool designed to automate the modification of date (`pubDatetime`) and cover image (`image`) attributes in Markdown files. This tool simplifies the process of updating these attributes, making it easier for writers and developers to manage their Markdown documents.\n\n## Table of Contents\n\n1. [Features](#features)\n2. [Installation](#installation)\n3. [Usage](#usage)\n4. [Configuration](#configuration)\n5. [Contributing](#contributing)\n6. [License](#license)\n7. [Contact](#contact)\n8. [Releases](#releases)\n\n## Features\n\n- **Automated Date Updates**: Automatically updates the `pubDatetime` attribute in your Markdown files.\n- **Image Management**: Easily modifies the `image` attribute to ensure your documents have the correct cover images.\n- **Simple Command-Line Interface**: Run commands from your terminal with ease.\n- **Cross-Platform Compatibility**: Works on Windows, macOS, and Linux.\n- **Lightweight and Fast**: Minimal dependencies for quick setup and execution.\n\n## Installation\n\nTo get started with Python Markdown Attribute, follow these steps:\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/Hajietewhub/python-markdown-attribute.git\n   cd python-markdown-attribute\n   ```\n\n2. **Install Dependencies**:\n   Ensure you have Python 3.6 or higher installed. You can install the required packages using pip:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Download the Latest Release**:\n   Visit the [Releases](https://github.com/Hajietewhub/python-markdown-attribute/releases) section to download the latest version. Make sure to execute the downloaded file as per the instructions provided.\n\n## Usage\n\nUsing Python Markdown Attribute is straightforward. Here’s how you can use it:\n\n1. **Run the Script**:\n   Open your terminal and navigate to the directory containing your Markdown files. Run the script with the following command:\n   ```bash\n   python main.py --file your_markdown_file.md\n   ```\n\n2. **Specify Options**:\n   You can specify options to modify the `pubDatetime` and `image` attributes:\n   ```bash\n   python main.py --file your_markdown_file.md --date \"2023-10-01\" --image \"path/to/your/image.jpg\"\n   ```\n\n3. **Check the Output**:\n   After running the command, check your Markdown file to see the updated attributes.\n\n## Configuration\n\nPython Markdown Attribute can be configured to suit your needs. You can create a configuration file (`config.json`) in the root directory with the following structure:\n\n```json\n{\n  \"default_date\": \"2023-10-01\",\n  \"default_image\": \"path/to/default/image.jpg\"\n}\n```\n\nThe tool will use these defaults if you do not specify them in the command line.\n\n## Contributing\n\nWe welcome contributions to enhance Python Markdown Attribute. If you would like to contribute, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch:\n   ```bash\n   git checkout -b feature/YourFeature\n   ```\n3. Make your changes and commit them:\n   ```bash\n   git commit -m \"Add your feature\"\n   ```\n4. Push to your branch:\n   ```bash\n   git push origin feature/YourFeature\n   ```\n5. Create a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor any inquiries or support, please contact the maintainer:\n\n- **Name**: Your Name\n- **Email**: your.email@example.com\n\n## Releases\n\nTo stay updated with the latest features and fixes, visit the [Releases](https://github.com/Hajietewhub/python-markdown-attribute/releases) section. Download the latest version and execute it to enjoy the improvements.\n\n---\n\nThank you for checking out Python Markdown Attribute! We hope it simplifies your Markdown management tasks. Happy coding!","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhajietewhub%2Fpython-markdown-attribute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhajietewhub%2Fpython-markdown-attribute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhajietewhub%2Fpython-markdown-attribute/lists"}