Giter Site home page Giter Site logo

mypythontools's Introduction

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

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

sphinx-alabaster-css

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

mypythontools's People

Contributors

malachov avatar

Watchers

 avatar

Forkers

erictraut

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.