miscset

Build Status codecov.io pypi

About

🛠 Miscellaneous set of helpful methods for Python.

  • Find data and time formatting wrapper in the module miscset.dt.

  • Find stream i/o methods in the module miscset.io.

  • Find subprocess methods in the module miscset.sh.

Usage

</> Example using methods from this package:

# import the library
import miscset

# print the current date/time
print(miscset.dt.now())
# >>> 2021-06-06 12:34:56

# return a shell command standard output
print(miscset.sh.run("uname").stdout)
# >>> Darwin

See all method descriptions and a full feature list on miscset.readthedocs.io.

Installation

💾 The installation is as simple as running the command pip install miscset, as the package is hosted on pypi.org.

Developing

💻 Please find the source code hosted on github.com.

For developers, follow this workflow:

  • Create a clean python virtual environment via python3 -m venv .venv.miscset.

  • Load th3 python environment with source .venv.miscset/bin/actviate.

  • Install developer libraries using make init.

  • Install the module using make install.

  • Build the HTML documentation with make docs.

  • Run tests using make test.

  • Add issues, pull requests, comments and other contributions to github.

Copying

© See file LICENSE.

Content

Browse the module for submodules, functions, classes and other objects:

miscset

Main module and public API.

See the index of all objects at Index.

Search the content at Search Page.