mypythontools
Some tools/functions/snippets/files used across projects.
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
Official repo - GitHub
Installation
Python >=3.6 (Python 2 is not supported).
Install with
pip install mypythontools
There can be some extras, that not everybody need. Install it like
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
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.
Metadata
Release files for mypythontools 3.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mypythontools-3.0.2.tar.gz | 565.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mypythontools-3.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 601.2 kB
Release files / mypythontools-3.0.2.tar.gz
| Download URL | mypythontools-3.0.2.tar.gz |
|---|---|
| Size | 565.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee076b9a217be45e79160ca6c767bd6e548509ebae853465ac9c17382be24334
|
|
BLAKE2b-256 checksum How to use checksums |
38a1d9af6ce15aad0e67cf6127cf2410016e2a1a183509784f32e64f084efec5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / mypythontools-3.0.2-py3-none-any.whl
| Download URL | mypythontools-3.0.2-py3-none-any.whl |
|---|---|
| Size | 36.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
605702f06e44afe69a438909f5be07601cda9e4a34fb525597814dcfef677a74
|
|
BLAKE2b-256 checksum How to use checksums |
dab1a5e9ee347c54f8ee54e77a0526459ff29586f061d33a99edc93cbf4e1485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for mypythontools 3.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.