{ "info": { "author": "Gbps", "author_email": "gbps@ctf.re", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: User Interfaces", "Topic :: System", "Topic :: System :: Console Fonts", "Topic :: System :: Logging", "Topic :: System :: Systems Administration", "Topic :: Terminals" ], "description": "# \u2728 fastlog: simple and colorful python logs \u2728\n\n**Fastlog** is designed to spice up your Python script logs with a simple but familiar interface. \n\n## Features\n\n * Works out-of-the-box\n * Sleek defaults\n * Simple, familiar `logging.Logger` interface with new features\n * Supports all terminal types (for Linux, Windows, MacOS, etc.)\n * No external package dependencies\n * Compatible with both Python 2.7 and Python 3\n * Modular styles, but customization is not required\n\n## What is this for?\nFastlog is for anyone who writes quick scripts with lots of print statements but no time for Python's logging module.\n\nUnder the hood, fastlog wraps the same `logging.Logger` module that Python developers are used to, but with colorful defaults and more features.\n\n## Example\n```python\nfrom fastlog import log\nlog.setLevel(log.DEBUG)\n\nlog.info(\"log.info\")\nlog.success(\"log.success\")\nlog.failure(\"log.failure\")\n\nwith log.indent():\n log.debug(\"log.debug\")\n log.warning(\"log.warning\")\n\nlog.separator()\n\nlog.hexdump(list(map(chr, range(256))))\n```\n\n

\n \"Example\n

\n\n## Installation and Usage\nTo install Fastlog, simply grab the PyPi package with pip.\n```\n$ pip install fastlog\n```\nTo include fastlog in your script, add the following import:\n```python\nfrom fastlog import log\n```\n\n## Documentation\nFastlog is documented using regular Python docstrings in the source code itself.\n\nReadTheDocs compilation is still pending.\n\n## Modular styles\nFastlog supports a modular style interface\n```python\n# Import styles like python modules\nlog.setStyle('fastlog.styles.pwntools')\n```\n\n[Check out the default style to see how it works.](fastlog/styles/pwntools.py)\n\n## Project Status\nThis project is currently in Beta while I continue to improve some features. \n\nThere aren't any breaking changes planned, just additions of new features.\n\n## Is this just pwntools?\nFastlog was born out of a sadness for bland Python script outputs and a love of the logging module from the Pwntools project.\n\nWhile there is some code taken between pwntools (specifically termcap and hexdump), the projects are completely independent.\n\nPwntools was also only Py2 compatible, where Fastlog is both Py2 and Py3 compatible.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Gbps/fastlog", "keywords": "fastlog logging simple fast colored colorful logs log", "license": "", "maintainer": "", "maintainer_email": "", "name": "fastlog", "package_url": "https://pypi.org/project/fastlog/", "platform": "", "project_url": "https://pypi.org/project/fastlog/", "project_urls": { "Homepage": "https://github.com/Gbps/fastlog" }, "release_url": "https://pypi.org/project/fastlog/1.0.0b1/", "requires_dist": null, "requires_python": "", "summary": "Simple and colorful Python logging module", "version": "1.0.0b1" }, "last_serial": 3727753, "releases": { "1.0.0b1": [ { "comment_text": "", "digests": { "md5": "c663832999f57626700f061a0467ee1a", "sha256": "52e1d4be6dffcfad0607372b4c9da01b6d17f73201051cc867d1ed86332c4166" }, "downloads": -1, "filename": "fastlog-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "c663832999f57626700f061a0467ee1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15025, "upload_time": "2018-04-02T21:42:48", "url": "https://files.pythonhosted.org/packages/51/e2/59f0a6b8753fbb140f9f58c2e556ba453508ac20af08c51bbac5ed3880ff/fastlog-1.0.0b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c663832999f57626700f061a0467ee1a", "sha256": "52e1d4be6dffcfad0607372b4c9da01b6d17f73201051cc867d1ed86332c4166" }, "downloads": -1, "filename": "fastlog-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "c663832999f57626700f061a0467ee1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15025, "upload_time": "2018-04-02T21:42:48", "url": "https://files.pythonhosted.org/packages/51/e2/59f0a6b8753fbb140f9f58c2e556ba453508ac20af08c51bbac5ed3880ff/fastlog-1.0.0b1.tar.gz" } ] }