# ODTMaker
Generator for small documents in ODT format. For now just the parser for contents is working.
## Installing
`sudo python setup.py install`
## Running
`python -m odtmaker`
## Creating contents
All following examples should be passed to `odtmaker/contentParser.ContentParser.parse` method as `raw_data` parameter.
For string:
```
region_name:{region contents}
```
will return a dict with `region_name` key and `region contents` value.
Contents can have line breaks:
```
region_name:{region
contents}
```
*"Garbage" between regions are ignored:*
```
region1:{contents}
comments, or something else
region2:{contents of region 2}
```
generates two regions (`region1` and `region2`), with respective contents.
*Its possible create "consecutive" regions*
```
'region1,region2,region3:{contents 1|contents 2|contents 3}'
```
generates:
`region1`, `region2` and `region3`.
Raw data
{
"_id": null,
"home_page": "https://bitbucket.org/rmonico/odtmaker",
"name": "odtmaker-rmonico",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Rafael Monico",
"author_email": "Rafael Monico <rmonico1@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/2d/a1/d7abdc7212d7b7f6e1c13708c79b3aedf9a451cb55007739f6764f5d3181/odtmaker_rmonico-0.0.1.tar.gz",
"platform": null,
"description": "# ODTMaker \n\nGenerator for small documents in ODT format. For now just the parser for contents is working.\n\n\n## Installing\n\n`sudo python setup.py install`\n\n\n## Running\n\n`python -m odtmaker`\n\n\n## Creating contents\n\nAll following examples should be passed to `odtmaker/contentParser.ContentParser.parse` method as `raw_data` parameter.\n\nFor string:\n\n```\nregion_name:{region contents}\n```\n\nwill return a dict with `region_name` key and `region contents` value.\n\n\nContents can have line breaks:\n\n```\nregion_name:{region\ncontents}\n```\n\n\n*\"Garbage\" between regions are ignored:*\n\n```\nregion1:{contents}\ncomments, or something else\nregion2:{contents of region 2}\n```\n\ngenerates two regions (`region1` and `region2`), with respective contents.\n\n\n\n*Its possible create \"consecutive\" regions*\n\n```\n'region1,region2,region3:{contents 1|contents 2|contents 3}'\n```\n\ngenerates:\n\n`region1`, `region2` and `region3`.\n\n",
"bugtrack_url": null,
"license": "GPL3",
"summary": "A small example package",
"version": "0.0.1",
"project_urls": {
"Bug Tracker": "https://bitbucket.org/rmonico/odtmaker/issues/",
"Homepage": "https://bitbucket.org/rmonico/odtmaker/src/main/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f23e3d762401c975d525d26c411785a63091c4a410000c3984e24bda38ac571b",
"md5": "d680dd2613cdbb197fc9e3206784c07e",
"sha256": "b4f545bb5888a28ac89bfd09beb833afd05e00228d0e795fbe133e1d7467043b"
},
"downloads": -1,
"filename": "odtmaker_rmonico-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d680dd2613cdbb197fc9e3206784c07e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 4008,
"upload_time": "2023-10-29T22:36:29",
"upload_time_iso_8601": "2023-10-29T22:36:29.803023Z",
"url": "https://files.pythonhosted.org/packages/f2/3e/3d762401c975d525d26c411785a63091c4a410000c3984e24bda38ac571b/odtmaker_rmonico-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2da1d7abdc7212d7b7f6e1c13708c79b3aedf9a451cb55007739f6764f5d3181",
"md5": "ec7b4c564f6ce48fddad8ce93f95f445",
"sha256": "c044cae064b15c2b70b6e7ea4168c0b415ca770e8fbb604ec0bf1d6950161df4"
},
"downloads": -1,
"filename": "odtmaker_rmonico-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "ec7b4c564f6ce48fddad8ce93f95f445",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4216,
"upload_time": "2023-10-29T22:36:32",
"upload_time_iso_8601": "2023-10-29T22:36:32.564326Z",
"url": "https://files.pythonhosted.org/packages/2d/a1/d7abdc7212d7b7f6e1c13708c79b3aedf9a451cb55007739f6764f5d3181/odtmaker_rmonico-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-29 22:36:32",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "rmonico",
"bitbucket_project": "odtmaker",
"lcname": "odtmaker-rmonico"
}