Skip to main content

Different functions

Project description

harrix-pylib

Common functions for working in Python, colored logging.

GitHub PyPI

Quick start

import harrixpylib as h

h.clear_directory("C:/temp_dir")
import harrixpylib as h

md_clean = h.remove_yaml_from_markdown("""
---
categories: [it, program]
tags: [VSCode, FAQ]
---

# Installing VSCode
""")
print(md_clean)  # Installing VSCode
import harrixpylib as h

h.log.debug("Debug message")
h.log.error("Error message")
h.log.info("x = {}".format(h.log.text_red_background(6)))

Colored text in the console

Install

Pip: pip install harrix-pylib.

Pipenv: pipenv install harrix-pylib.

Update

Pip: pip update harrix-pylib.

Pipenv: pipenv update harrix-pylib.

Development

See development.md.

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

harrix-pylib-0.10.tar.gz (7.0 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