Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

PyLogs is a easy to use python library to let everyone add logs into their python programs easily.

Project description


PyLogs is a python library made by Krypton so that it is easier for everyone to add logs into their python projects.

Getting Started

By following the incoming instructions, you will be able to get PyLogs into any of your projects.


To be able to use PyLogs you will need:


  • Open your command prompt or terminal and install PyLogs with the following command

For only the current user:

pip install --user py-logs

For all the computer users:

pip install py-logs
  • To start using PyLogs you need to import pylogs
import pylogs

print(pylogs.__name__ + ", Version " + pylogs.__version__)
print("Made by " + pylogs.__author__)
  • To create new logs you will need to use for example PyLogs.critical()
import pylogs

print(pylogs.__name__ + ", Version " + pylogs.__version__)
print("Made by " + pylogs.__author__ + "\n\n")

# Prints Critical Error Message With Color
pylogs.critical("Critical Error Message", True)
# Prints Critical Error Message Without Color
pylogs.critical("Critical Error Message", False)

# Prints Warning Message With Color
pylogs.warning("Warning Message", True)
# Prints Warning Message Without Color
pylogs.warning("Warning Message", False)

If you still do not understand after following these steps, there is an example file called

Built With


Please read for details on our code of conduct, and the process for submitting pull requests to this project.

Bugs & TODOs

The list of known bugs of PyLogs is available here.

The TODO list of PyLogs is available here.


Before submitting any issues, make sure to read the known bugs file.

Submit your issues that you encounter while installing and using PyLogs here.


We use SemVer for versioning. For the versions available, see the tags on this repository.



This project is licensed under the Apache 2.0 License - see the file for details.

Project details

Download files

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

Files for py-logs, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size py_logs-2.0.1-py3-none-any.whl (8.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size py-logs-2.0.1.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page