puts


Nameputs JSON
Version 0.0.11 PyPI version JSON
download
home_pagehttps://github.com/MarkHershey/puts
SummaryPython Utility Tools
upload_time2024-02-20 11:45:16
maintainer
docs_urlNone
authorMark H. Huang
requires_python>=3.6
licenseMIT
keywords utilities toolkit toolbox logger
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # puts - Python Utility Tools

Python high-level helper classes and functions.

[![](https://img.shields.io/pypi/v/puts)](https://pypi.org/project/puts/)
[![](https://img.shields.io/pypi/dm/puts)](https://pypistats.org/packages/puts)
[![](https://img.shields.io/badge/license-MIT-blue)](https://github.com/MarkHershey/puts/blob/master/LICENSE)
[![](https://img.shields.io/badge/code%20style-black-black)](https://github.com/psf/black)

## Install

-   Prerequisite: Python 3.6+

```bash
pip install --upgrade puts
```

## Usage

### Logging with Colored Output

```python
from puts import get_logger

logger = get_logger()

logger.debug("Hello world!")
logger.info("Hello world!")
logger.warning("Hello world!")
logger.error("Hello world!")
logger.critical("Hello world!")
```

## Development

### Set up dev environment

-   _clone this repo_
    ```bash
    $ git clone https://github.com/MarkHershey/puts.git
    ```
-   _go to project root_
    ```bash
    $ cd puts
    ```
-   _create virtual env for this project_
    ```bash
    $ python -m venv venv
    $ source venv/bin/activate
    $ pip install --upgrade pip wheel setuptools
    ```
-   _install this package in **editable** mode_
    ```bash
    $ pip install -e ".[dev]"
    ```

### Run tests

```bash
$ pytest
```

## Disclaimer

-   This package is highly opinionated, it does not intend to cater to every use case.
-   It is only intended for personal projects usage (for now).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/MarkHershey/puts",
    "name": "puts",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "utilities,toolkit,toolbox,logger",
    "author": "Mark H. Huang",
    "author_email": "dev@markhh.com",
    "download_url": "https://files.pythonhosted.org/packages/11/06/b8212898832b9f398386a20b122230dda781953f7125a328fcb750aa143e/puts-0.0.11.tar.gz",
    "platform": null,
    "description": "# puts - Python Utility Tools\n\nPython high-level helper classes and functions.\n\n[![](https://img.shields.io/pypi/v/puts)](https://pypi.org/project/puts/)\n[![](https://img.shields.io/pypi/dm/puts)](https://pypistats.org/packages/puts)\n[![](https://img.shields.io/badge/license-MIT-blue)](https://github.com/MarkHershey/puts/blob/master/LICENSE)\n[![](https://img.shields.io/badge/code%20style-black-black)](https://github.com/psf/black)\n\n## Install\n\n-   Prerequisite: Python 3.6+\n\n```bash\npip install --upgrade puts\n```\n\n## Usage\n\n### Logging with Colored Output\n\n```python\nfrom puts import get_logger\n\nlogger = get_logger()\n\nlogger.debug(\"Hello world!\")\nlogger.info(\"Hello world!\")\nlogger.warning(\"Hello world!\")\nlogger.error(\"Hello world!\")\nlogger.critical(\"Hello world!\")\n```\n\n## Development\n\n### Set up dev environment\n\n-   _clone this repo_\n    ```bash\n    $ git clone https://github.com/MarkHershey/puts.git\n    ```\n-   _go to project root_\n    ```bash\n    $ cd puts\n    ```\n-   _create virtual env for this project_\n    ```bash\n    $ python -m venv venv\n    $ source venv/bin/activate\n    $ pip install --upgrade pip wheel setuptools\n    ```\n-   _install this package in **editable** mode_\n    ```bash\n    $ pip install -e \".[dev]\"\n    ```\n\n### Run tests\n\n```bash\n$ pytest\n```\n\n## Disclaimer\n\n-   This package is highly opinionated, it does not intend to cater to every use case.\n-   It is only intended for personal projects usage (for now).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python Utility Tools",
    "version": "0.0.11",
    "project_urls": {
        "Homepage": "https://github.com/MarkHershey/puts"
    },
    "split_keywords": [
        "utilities",
        "toolkit",
        "toolbox",
        "logger"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ba7c06a69a52394ec7b595c8ea763b9959eec786a71abb39d7f8e20188d9cb1",
                "md5": "298fb1365021dcac3af4f1072ea5e9dc",
                "sha256": "bb9067638bd7bcbf66b7715f48c2e4754324e095bc469ad35484312e158fcc90"
            },
            "downloads": -1,
            "filename": "puts-0.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "298fb1365021dcac3af4f1072ea5e9dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 12156,
            "upload_time": "2024-02-20T11:45:14",
            "upload_time_iso_8601": "2024-02-20T11:45:14.399051Z",
            "url": "https://files.pythonhosted.org/packages/6b/a7/c06a69a52394ec7b595c8ea763b9959eec786a71abb39d7f8e20188d9cb1/puts-0.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1106b8212898832b9f398386a20b122230dda781953f7125a328fcb750aa143e",
                "md5": "0da7865300a2964d673e6ba9444b7c6e",
                "sha256": "ffcba236329acd7ac6877d2a503343f9ac3ab5512f551b6f2d2a6e43a188247f"
            },
            "downloads": -1,
            "filename": "puts-0.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "0da7865300a2964d673e6ba9444b7c6e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 11628,
            "upload_time": "2024-02-20T11:45:16",
            "upload_time_iso_8601": "2024-02-20T11:45:16.480344Z",
            "url": "https://files.pythonhosted.org/packages/11/06/b8212898832b9f398386a20b122230dda781953f7125a328fcb750aa143e/puts-0.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-20 11:45:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MarkHershey",
    "github_project": "puts",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "puts"
}
        
Elapsed time: 0.18818s