fundamentals

https://img.shields.io/pypi/pyversions/fundamentals https://img.shields.io/pypi/v/fundamentals https://img.shields.io/github/license/thespacedoctor/fundamentals https://img.shields.io/pypi/dm/fundamentals

http://167.71.135.11:8080/buildStatus/icon?job=fundamentals%2Fmaster&subject=build%20master http://167.71.135.11:8080/buildStatus/icon?job=fundamentals%2Fdevelop&subject=build%20dev https://cdn.jsdelivr.net/gh/thespacedoctor/fundamentals@master/coverage.svg https://readthedocs.org/projects/fundamentals/badge/?version=master https://img.shields.io/github/issues/thespacedoctor/fundamentals/type:%20bug?label=bug%20issues

Some fundamental tools required by most self-respecting python-packages bundled in one place. Very opinionated project setup tools including logging, plain-text settings files and database connections.

Documentation for fundamentals is hosted by Read the Docs (development version and master version). The code lives on github. Please report any issues you find here.

Features

.. toctree::
   :maxdepth: 4
   :caption: Table of Contents

   install
   initialisation
   todolist
   changes_link

API Reference

.. toctree::
   :hidden:
   :maxdepth: 30
   :caption: API reference

   autosummary
.. toctree::
   :hidden:

   genindex
.. include:: /autosummary_include.rst
.. include:: /genindex.rst

Release Notes

v2.2.8 - November 12, 2020

  • fixed: logging levels

v2.2.7 - November 10, 2020

  • fixed: mysql port connection issue (with MaxScale proxy)

v2.2.6 - November 9, 2020

  • fixed: syntax error

v2.2.5 - November 2, 2020

  • enhancement: adding colour to logs

  • enhancement: addition of port in database connection settings

  • fixed: replacing depreciated ‘is” syntax with ==

v2.2.4 - May 28, 2020

  • enhancement: allowing ‘~’ as home directory for filepaths in all settings file parameters - will be converted when initially read

v2.2.3 - May 26, 2020

  • fixed: delimiters catered for in sql scripts

v2.2.2 - May 25, 2020

  • refactor:list_of_dictionaries now returns bytes decoded into UTF-8 string when rendered to other mark-up flavour.

  • refactor: moved module level numpy imports so that packages with fundamentals as a dependency do not have numpy as a needless dependency

v2.2.1 - May 13, 2020

  • fixed:directory_script_runner function databaseName parameter changed to be optional

v2.2.0 - May 13, 2020

  • feature: new execute_mysql_script function that allows execution of a sql script directly from file

  • refactor: added a dbConn to the directory script runner

v2.1.7 - May 4, 2020

  • fixed: inspect module depreciation warnings stopped

  • fixed: MySQL error messages printed to stdout (previously hidden)

v2.1.3 - April 17, 2020

  • enhancement: cleaned up docs theme and structure. More documentation to come.