# setgraphviz
[](https://img.shields.io/pypi/pyversions/setgraphviz)
[](https://pypi.org/project/setgraphviz/)
[](https://erdogant.github.io/setgraphviz/)
[](https://github.com/erdogant/setgraphviz/)
[](https://pepy.tech/project/setgraphviz)
[](https://pepy.tech/project/setgraphviz)
[](https://github.com/erdogant/setgraphviz/blob/master/LICENSE)
[](https://github.com/erdogant/setgraphviz/network)
[](https://github.com/erdogant/setgraphviz/issues)
[](http://www.repostatus.org/#active)


[](https://erdogant.github.io/setgraphviz/pages/html/Documentation.html#)
<!---[](https://www.buymeacoffee.com/erdogant)-->
<!---[](https://erdogant.github.io/donate/?currency=USD&amount=5)-->
* ``setgraphviz`` is Python package
#
**Star this repo if you like it! ⭐️**
#
setgraphviz is to set the path for graphviz for Windows environments.
Based on the operating system, it will download graphviz and include the paths into the system environment.
There are multiple steps that are taken to set the Graphviz path in the system environment.
The first two steps are automatically skipped if already present.
Step 1. Downlaod Graphviz.
Step 2. Store Graphviz files on disk in temp-directory or the provided dirpath.
Step 3. Add the /bin directory to environment.
### Installation
```bash
pip install setgraphviz # normal install
pip install --upgrade setgraphviz # or update if needed
```
#### Import setgraphviz package
```python
from setgraphviz import setgraphviz
setgraphviz()
```
#### References
* https://github.com/erdogant/setgraphviz
### Contribute
* All kinds of contributions are welcome!
* If you wish to buy me a <a href="https://www.buymeacoffee.com/erdogant">Coffee</a> for this work, it is very appreciated :)
### Licence
See [LICENSE](LICENSE) for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/erdogant/setgraphviz",
"name": "setgraphviz",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": null,
"author": "Erdogan Taskesen",
"author_email": "erdogant@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2d/f4/d497d77c7b03413070113c8126d75e73ccf9358ff77683c9037319df35a4/setgraphviz-1.0.0.tar.gz",
"platform": null,
"description": "# setgraphviz\r\n\r\n[](https://img.shields.io/pypi/pyversions/setgraphviz)\r\n[](https://pypi.org/project/setgraphviz/)\r\n[](https://erdogant.github.io/setgraphviz/)\r\n[](https://github.com/erdogant/setgraphviz/)\r\n[](https://pepy.tech/project/setgraphviz)\r\n[](https://pepy.tech/project/setgraphviz)\r\n[](https://github.com/erdogant/setgraphviz/blob/master/LICENSE)\r\n[](https://github.com/erdogant/setgraphviz/network)\r\n[](https://github.com/erdogant/setgraphviz/issues)\r\n[](http://www.repostatus.org/#active)\r\n\r\n\r\n[](https://erdogant.github.io/setgraphviz/pages/html/Documentation.html#)\r\n<!---[](https://www.buymeacoffee.com/erdogant)-->\r\n<!---[](https://erdogant.github.io/donate/?currency=USD&amount=5)-->\r\n\r\n\r\n* ``setgraphviz`` is Python package\r\n\r\n# \r\n**Star this repo if you like it! \u2b50\ufe0f**\r\n#\r\n\r\nsetgraphviz is to set the path for graphviz for Windows environments.\r\nBased on the operating system, it will download graphviz and include the paths into the system environment.\r\nThere are multiple steps that are taken to set the Graphviz path in the system environment.\r\nThe first two steps are automatically skipped if already present.\r\n\r\nStep 1. Downlaod Graphviz.\r\nStep 2. Store Graphviz files on disk in temp-directory or the provided dirpath.\r\nStep 3. Add the /bin directory to environment.\r\n\r\n\r\n### Installation\r\n\r\n```bash\r\npip install setgraphviz # normal install\r\npip install --upgrade setgraphviz # or update if needed\r\n```\r\n\r\n#### Import setgraphviz package\r\n```python\r\nfrom setgraphviz import setgraphviz\r\nsetgraphviz()\r\n```\r\n\r\n\r\n#### References\r\n* https://github.com/erdogant/setgraphviz\r\n\r\n### Contribute\r\n* All kinds of contributions are welcome!\r\n* If you wish to buy me a <a href=\"https://www.buymeacoffee.com/erdogant\">Coffee</a> for this work, it is very appreciated :)\r\n\r\n### Licence\r\nSee [LICENSE](LICENSE) for details.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Python package setgraphviz",
"version": "1.0.0",
"project_urls": {
"Download": "https://github.com/erdogant/setgraphviz/archive/1.0.0.tar.gz",
"Homepage": "https://github.com/erdogant/setgraphviz"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "91d7456ef9630f96b3cfc0c98f2742f770bd9ddbaedbb7c33205918caf374e22",
"md5": "d2de3148247403b27bdb9683790df08f",
"sha256": "f710e62de6b2fc9272515f0dc92f22b41785d96e5bb8b3c9f84891f7dc60691e"
},
"downloads": -1,
"filename": "setgraphviz-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d2de3148247403b27bdb9683790df08f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 6569,
"upload_time": "2024-09-30T11:32:35",
"upload_time_iso_8601": "2024-09-30T11:32:35.394220Z",
"url": "https://files.pythonhosted.org/packages/91/d7/456ef9630f96b3cfc0c98f2742f770bd9ddbaedbb7c33205918caf374e22/setgraphviz-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2df4d497d77c7b03413070113c8126d75e73ccf9358ff77683c9037319df35a4",
"md5": "327661c3538282f9294048c2c1c05b56",
"sha256": "aee6f70d8f6ebd4a3e39b1646f387f824dad682a289a38d94a104d697efa6576"
},
"downloads": -1,
"filename": "setgraphviz-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "327661c3538282f9294048c2c1c05b56",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 5981,
"upload_time": "2024-09-30T11:32:36",
"upload_time_iso_8601": "2024-09-30T11:32:36.522280Z",
"url": "https://files.pythonhosted.org/packages/2d/f4/d497d77c7b03413070113c8126d75e73ccf9358ff77683c9037319df35a4/setgraphviz-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-30 11:32:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "erdogant",
"github_project": "setgraphviz",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "setgraphviz"
}