============
Logs things (dicts, tuples, lists, etc) in color and beautiful format.
####Installation
This package can be installed from PyPI using `pip`. Make sure you have `pip`
installed then run:
```
$ pip install prettylogger
```
#####Installation Using Buildout
If you're using Buildout and want to use prettylogger you can do so by adding
the following lines to your `buildout.cfg` file:
```
[prettylogger]
recipe = zc.recipe.egg
eggs = prettylogger
```
and appending `prettylogger` to your `buildout:parts`.
####Usage
Logging beautifully formatted things is as easy as:
```
from prettylogger.utils import log
thing = {'name': 'prettylogger', 'version': '0.1.0'}
mode = 'rb' # Discussion below
log(thing, mode)
```
And it will log the following:

#####Formatting Options
The `mode` parameter for the `log` function is a string with each character
being one of the following:
- `p`: print the thing in purple
- `c`: print the thing in cyan
- `y`: print the thing in yellow
- `g`: print the thing in green
- `r`: print the thing in red
- `b`: print the thing in bold characters
So the `mode` used in the example above, `rb`, tells the `log` method to print
the thing in color red and bold characters.
####Contributing
To contribute to this mini-project just fork this repository, clone your forked
repository and run buildout inside the project directory.
```
$ git clone git@github.com:arnellebalane/prettylogger.git
$ cd prettylogger
$ ./bin/buildout
```
This will take care of retrieving the project's dependencies.
When contributing new code to the project, please test your code. The test specs
are in the `src/prettylogger/tests.py` file. To run the tests simply do:
```
$ ./bin/test
```
Merging your code into this main repository must be done through pull requests.
####Bugs and Issues
If you find any bugs and issues in this project, please report them by opening
an issue here.
Metadata
Release files for prettylogger 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prettylogger-0.1.0.tar.gz | 2.7 kB | Without provenance | Details for prettylogger-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prettylogger-0.1.0-py2.7.egg | Legacy Egg format | - | - | Details for prettylogger-0.1.0-py2.7.egg |
Total release size: 7.6 kB
Release files / prettylogger-0.1.0.tar.gz
| Download URL | prettylogger-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d43da2bb57020f88bac2e572b364e7da33f4bb10a80615a53a8ff9adfe003e0c
|
|
BLAKE2b-256 checksum How to use checksums |
036d1d9c5369860f578dd2f0cb41281ab928876f527cf6ae37a422d2a79c9820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / prettylogger-0.1.0-py2.7.egg
| Download URL | prettylogger-0.1.0-py2.7.egg |
|---|---|
| Size | 4.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
be2f55e1628dce1cae10ad32fbef59d84aa026bd19fd8639bedf0719bed450b4
|
|
BLAKE2b-256 checksum How to use checksums |
2ba6a68d1b0f181ea11a41a2806bdd55d41972c1240f5e2d3cf9953f11a96ca8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for prettylogger 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.