Skip to main content

Miscellaneous set of helpful methods.

Project description

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 readthedocs.org.

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.

Project details


Download files

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

Source Distribution

miscset-0.1.1.tar.gz (8.4 kB view hashes)

Uploaded Source

Supported by

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