# mypythontools
Some tools/functions/snippets/files used across projects.
[](https://pypi.python.org/pypi/mypythontools/) [](https://badge.fury.io/py/mypythontools) [](https://pepy.tech/project/mypythontools) [](https://lgtm.com/projects/g/Malachov/mypythontools/context:python) [](https://mypythontools.readthedocs.io/en/latest/?badge=latest) [](https://opensource.org/licenses/MIT) [](https://codecov.io/gh/Malachov/mypythontools)
It's called mypythontools, but it's also made for you...
Many projects - one codebase.
There is also some extra stuff, that is not bundled via PyPI (CSS for readthedocs etc.),
such a content is under the `Tools` topic.
## Links
Official documentation - [readthedocs](https://mypythontools.readthedocs.io/)
Official repo - [GitHub](https://github.com/Malachov/mypythontools)
## Installation
Python >=3.6 (Python 2 is not supported).
Install with
```console
pip install mypythontools
```
There can be some extras, that not everybody need. Install it like
```console
pip install mypythontools[plots]
```
Available extras are ["all", "plots"]
Python library
==============
**subpackages**
- config
- misc
- paths
- property
- system
- types
Subpackages names are self describing, and you can find documentation in subpackages docstrings.
## Tools
There are some extra tools not included in python library (installable via pip), but still on GitHub repository.
### requirements
Install many libraries at once (no need for Anaconda). Download `requirements.txt` file from (GitHub)[https://github.com/Malachov/mypythontools/tree/master/tools/requirements] and in that folder use
```
pip install -r requirements.txt
```
It's good for python libraries that other users with different versions of libraries will use. If not standalone application where freezing into virtual env is good idea - here is possible to use these requirements with using --upgrade from time to time to be sure that your library will be working for up-to-date version of dependencies.
### sphinx-alabaster-css
It's a good idea to generate documentation from code. If you are using sphinx and alabaster theme, you can use this CSS file for formatting.
Tested on readthedocs hosting (recommended).
CSS are served from GitHub, and it's possible to change on one place and edit how all projects docs look like at once.
Just add this to sphinx conf.py
```
html_css_files = [
"https://malachov.github.io/readthedocs-sphinx-alabaster-css/custom.css",
]
```
Also, of course if you want, you can download it and use locally from the project if you need.
The result should look like this
<div align="center"><img src="docs/source/_static/sphinx-alabaster-css.png" width="620" alt="sphinx-alabaster-css"/></div>
## Other projects
There are many other projects, that are in separate repository
### mypythontools_cicd
Module with functionality around Continuous Integration and Continuous Delivery. Locally run tests, regenerate docs,
deploy app or package.
https://github.com/Malachov/mypythontools_cicd
### mylogging
Logging in a very simple way.
https://github.com/Malachov/mylogging
### Docs
Documentation - snippets for various topics.
https://github.com/Malachov/DOCS
### pyvueeel
Application microframework. Develop application really fast.
https://github.com/Malachov/pyvueeel
### project-starter-cookiecutter
Cookiecutter template. Based on type (python package, python / js application) create empty project.
https://github.com/Malachov/project-starter-cookiecutter
### Software-settings
Various settings stored, so can be reused. E.g. starting scripts after fresh operation system install.
https://github.com/Malachov/Software-settings
Raw data
{
"_id": null,
"home_page": "https://github.com/Malachov/mypythontools",
"name": "mypythontools",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Daniel Malachov",
"author_email": "malachovd@seznam.cz",
"download_url": "https://files.pythonhosted.org/packages/38/a1/d9af6ce15aad0e67cf6127cf2410016e2a1a183509784f32e64f084efec5/mypythontools-3.0.2.tar.gz",
"platform": "any",
"description": "# mypythontools\n\nSome tools/functions/snippets/files used across projects.\n\n[](https://pypi.python.org/pypi/mypythontools/) [](https://badge.fury.io/py/mypythontools) [](https://pepy.tech/project/mypythontools) [](https://lgtm.com/projects/g/Malachov/mypythontools/context:python) [](https://mypythontools.readthedocs.io/en/latest/?badge=latest) [](https://opensource.org/licenses/MIT) [](https://codecov.io/gh/Malachov/mypythontools)\n\nIt's called mypythontools, but it's also made for you...\n\nMany projects - one codebase.\n\nThere is also some extra stuff, that is not bundled via PyPI (CSS for readthedocs etc.),\nsuch a content is under the `Tools` topic.\n\n\n## Links\n\nOfficial documentation - [readthedocs](https://mypythontools.readthedocs.io/)\n\nOfficial repo - [GitHub](https://github.com/Malachov/mypythontools)\n\n\n## Installation\n\nPython >=3.6 (Python 2 is not supported).\n\nInstall with\n\n```console\npip install mypythontools\n```\n\nThere can be some extras, that not everybody need. Install it like\n\n```console\npip install mypythontools[plots]\n```\n\nAvailable extras are [\"all\", \"plots\"]\n\nPython library\n==============\n\n**subpackages**\n\n- config\n- misc\n- paths\n- property\n- system\n- types\n\nSubpackages names are self describing, and you can find documentation in subpackages docstrings.\n\n\n## Tools\n\nThere are some extra tools not included in python library (installable via pip), but still on GitHub repository.\n\n\n### requirements\n\nInstall many libraries at once (no need for Anaconda). Download `requirements.txt` file from (GitHub)[https://github.com/Malachov/mypythontools/tree/master/tools/requirements] and in that folder use\n\n```\npip install -r requirements.txt\n```\n\nIt's good for python libraries that other users with different versions of libraries will use. If not standalone application where freezing into virtual env is good idea - here is possible to use these requirements with using --upgrade from time to time to be sure that your library will be working for up-to-date version of dependencies.\n\n### sphinx-alabaster-css\n\nIt's a good idea to generate documentation from code. If you are using sphinx and alabaster theme, you can use this CSS file for formatting.\n\nTested on readthedocs hosting (recommended).\n\nCSS are served from GitHub, and it's possible to change on one place and edit how all projects docs look like at once.\n\nJust add this to sphinx conf.py\n\n```\nhtml_css_files = [\n \"https://malachov.github.io/readthedocs-sphinx-alabaster-css/custom.css\",\n]\n```\n\nAlso, of course if you want, you can download it and use locally from the project if you need.\n\nThe result should look like this\n\n<div align=\"center\"><img src=\"docs/source/_static/sphinx-alabaster-css.png\" width=\"620\" alt=\"sphinx-alabaster-css\"/></div>\n\n## Other projects\n\nThere are many other projects, that are in separate repository\n\n### mypythontools_cicd\n\nModule with functionality around Continuous Integration and Continuous Delivery. Locally run tests, regenerate docs,\ndeploy app or package.\n\nhttps://github.com/Malachov/mypythontools_cicd\n\n### mylogging\n\nLogging in a very simple way.\n\nhttps://github.com/Malachov/mylogging\n\n### Docs\n\nDocumentation - snippets for various topics.\n\nhttps://github.com/Malachov/DOCS\n\n### pyvueeel\n\nApplication microframework. Develop application really fast.\n\nhttps://github.com/Malachov/pyvueeel\n\n### project-starter-cookiecutter\n\nCookiecutter template. Based on type (python package, python / js application) create empty project.\n\nhttps://github.com/Malachov/project-starter-cookiecutter\n\n### Software-settings\n\nVarious settings stored, so can be reused. E.g. starting scripts after fresh operation system install.\n\nhttps://github.com/Malachov/Software-settings\n\n\n",
"bugtrack_url": null,
"license": "mit",
"summary": "Some tools/functions/snippets used across projects.",
"version": "3.0.2",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dab1a5e9ee347c54f8ee54e77a0526459ff29586f061d33a99edc93cbf4e1485",
"md5": "717f05a859af038a12bfe0ffb5c2f27b",
"sha256": "605702f06e44afe69a438909f5be07601cda9e4a34fb525597814dcfef677a74"
},
"downloads": -1,
"filename": "mypythontools-3.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "717f05a859af038a12bfe0ffb5c2f27b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 36048,
"upload_time": "2022-08-06T14:42:34",
"upload_time_iso_8601": "2022-08-06T14:42:34.299343Z",
"url": "https://files.pythonhosted.org/packages/da/b1/a5e9ee347c54f8ee54e77a0526459ff29586f061d33a99edc93cbf4e1485/mypythontools-3.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "38a1d9af6ce15aad0e67cf6127cf2410016e2a1a183509784f32e64f084efec5",
"md5": "d445ef769f96049cbf241d4af5863404",
"sha256": "ee076b9a217be45e79160ca6c767bd6e548509ebae853465ac9c17382be24334"
},
"downloads": -1,
"filename": "mypythontools-3.0.2.tar.gz",
"has_sig": false,
"md5_digest": "d445ef769f96049cbf241d4af5863404",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 565153,
"upload_time": "2022-08-06T14:42:37",
"upload_time_iso_8601": "2022-08-06T14:42:37.462958Z",
"url": "https://files.pythonhosted.org/packages/38/a1/d9af6ce15aad0e67cf6127cf2410016e2a1a183509784f32e64f084efec5/mypythontools-3.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-08-06 14:42:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Malachov",
"github_project": "mypythontools",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "mypythontools"
}