Skip to main content

Some tools/functions/snippets used across projects.

Project description

mypythontools

Some tools/functions/snippets/files used across projects.

Python versions PyPI version Downloads Language grade: Python Documentation Status License: MIT codecov

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

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

sphinx-alabaster-css

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypythontools-2.1.5.tar.gz (562.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypythontools-2.1.5-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

Details for the file mypythontools-2.1.5.tar.gz.

File metadata

  • Download URL: mypythontools-2.1.5.tar.gz
  • Upload date:
  • Size: 562.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for mypythontools-2.1.5.tar.gz
Algorithm Hash digest
SHA256 bf109a40030df2d39f63d3c26e15db02b421846046d7acc8a2b7160dd8b0e01c
MD5 1bb80fde167ca957996f7a993866edfc
BLAKE2b-256 b87dd521aec17662224ea7f83bd0a8400aae6abe589d30144c774a5f6ab0c7de

See more details on using hashes here.

File details

Details for the file mypythontools-2.1.5-py3-none-any.whl.

File metadata

  • Download URL: mypythontools-2.1.5-py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for mypythontools-2.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c1c7df7fbf2253fed7dc8fed03b0c2e58c4bf37d88c267c7027b3ea2d6952f57
MD5 fb4b6499a388d851b11dc533fb91e07a
BLAKE2b-256 6e25f2a8a65923d0d2d3e18edaf7bfda0328e461d2a2be8dbbf8a93065af935e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page