semvec/pypi-packages huggingface dataset:
donjuan 0.0.2
Package for generating dungeons.
Requires Python: >=3.6

.. |TRAVIS| image:: https://travis-ci.com/tmcclintock/donjuan.svg?branch=main
	    :target: https://travis-ci.com/github/tmcclintock/donjuan
.. |COVERALLS| image:: https://coveralls.io/repos/github/tmcclintock/donjuan/badge.svg?branch=main
	       :target: https://coveralls.io/github/tmcclintock/donjuan?branch=main

.. |LICENSE| image:: https://img.shields.io/badge/License-CC0%201.0-lightgrey.svg
	     :target: http://creativecommons.org/publicdomain/zero/1.0/

|TRAVIS| |COVERALLS| |LICENSE|

DonJuan
=======

**HACKATHON** - a list of todo items for the 12/20/20 Hackathon can be found
on the issues page!

A translation/rebuild of the original `donjon dungeon generator <https://donjon.bin.sh/fantasy/dungeon/>`_.
This package aims to deconstruct the original script into extendable parts, and provide all pieces
for customization for different purposes and not just the map image. For example, when complete this package
will automatically generate walls, doors, and light sources for use in
`Foundry Virtual Tabletop <https://foundryvtt.com/>`_.

You can find the `documentation here <https://donjuan.readthedocs.io/en/latest/>`_.

Installation
------------

Installing `donjuan` is possible using the `setup.py` file. When the package is
more mature, we will cut a release on PyPI. For now, the steps to install are
to clone or download this repository and install into your Python environment.

Assuming you have `git <https://git-scm.com/>`_, you can do:

.. code-block:: bash

   git clone https://github.com/tmcclintock/donjuan
   cd donjuan
   pip install -r requirements.txt
   python setup.py install

If you have `conda
<https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html>`_ you can install the requirements using the `environment.yml` file
before installing:

.. code-block:: bash

   conda env create -f environment.yml
   conda activate donjuan
   python setup.py install

To run the test suite, you must have `pytest
<https://docs.pytest.org/en/stable/>`_ installed. You can run the tests with:

.. code-block:: bash

   pytest

which can be done from the root of the repository.

Note that the only requirement at the moment is `pillow
<https://pillow.readthedocs.io/en/stable/>`_.

Contributing
------------

To contribute to `donjuan` please see the `developing <https://donjuan.readthedocs.io/en/latest/developing.html>`_ page.
Donjuan 0.0.1
Package for generating dungeons.
Requires Python: >=3.6

.. |TRAVIS| image:: https://travis-ci.com/tmcclintock/donjuan.svg?branch=main
	    :target: https://travis-ci.com/github/tmcclintock/donjuan
.. |COVERALLS| image:: https://coveralls.io/repos/github/tmcclintock/donjuan/badge.svg?branch=main
	       :target: https://coveralls.io/github/tmcclintock/donjuan?branch=main

.. |LICENSE| image:: https://img.shields.io/badge/License-CC0%201.0-lightgrey.svg
	     :target: http://creativecommons.org/publicdomain/zero/1.0/

|TRAVIS| |COVERALLS| |LICENSE|

DonJuan
=======

**HACKATHON** - a list of todo items for the 12/20/20 Hackathon can be found
on the issues page!

A translation/rebuild of the original `donjon dungeon generator <https://donjon.bin.sh/fantasy/dungeon/>`_.
This package aims to deconstruct the original script into extendable parts, and provide all pieces
for customization for different purposes and not just the map image. For example, when complete this package
will automatically generate walls, doors, and light sources for use in
`Foundry Virtual Tabletop <https://foundryvtt.com/>`_.

You can find the `documentation here <https://donjuan.readthedocs.io/en/latest/>`_.

Installation
------------

Installing `donjuan` is possible using the `setup.py` file. When the package is
more mature, we will cut a release on PyPI. For now, the steps to install are
to clone or download this repository and install into your Python environment.

Assuming you have `git <https://git-scm.com/>`_, you can do:

.. code-block:: bash

   git clone https://github.com/tmcclintock/donjuan
   cd donjuan
   pip install -r requirements.txt
   python setup.py install

If you have `conda
<https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html>`_ you can install the requirements using the `environment.yml` file
before installing:

.. code-block:: bash

   conda env create -f environment.yml
   conda activate donjuan
   python setup.py install

To run the test suite, you must have `pytest
<https://docs.pytest.org/en/stable/>`_ installed. You can run the tests with:

.. code-block:: bash

   pytest

which can be done from the root of the repository.

Note that the only requirement at the moment is `pillow
<https://pillow.readthedocs.io/en/stable/>`_.

Contributing
------------

To contribute to `donjuan` please see the `developing <https://donjuan.readthedocs.io/en/latest/developing.html>`_ page.
avatarko-picture-getter 0.0.2
Avatarko picture getter
Requires Python: >=3.6

## Avatarko picture getter

Tool to get random avatar from https://avatarko.ru

### Instalation

```
pip install avatarko_picture_getter
```

### Usage

For use as command line interface(cli)
```
python -m avatarko_picture_getter [-o filepath]
```
or
```
from avatarko_picture_getter import AvatarkoPictureGetter

with open('some_picture.png', 'wb') as f:
    f.write(AvatarkoPictureGetter.get_avatar())
```
timelogging 2.3.0
Small Logging Library
Requires Python: >=3.6

# Installation

Install `timelogging` in your shell with the [Python Package Installer](https://pip.pypa.io/en/stable/):

```sh
pip3 install timelogging
```

# Usage

## Logging functionalities
### Time Log

The `log` function is designed to be a drop-in replacement for `print`:

```python
from timelogging.timeLog import log

log('This is a log entry.')
```

And this outputs the current time before the printout:

```
16:20:00 INFO    This is a log entry.
```

### Day Log

You can also add the current day within the timestamp:

```python
from timelogging.dayLog import log

log('This is a log entry.')
```

And this outputs the current time with the day before the printout:

```
31 16:20:00 INFO    This is a log entry.
```

### Cutom Log

Additionally, you can also create a custom timestamp formatting of the `log` function according to the [Python time formatting directives](https://docs.python.org/3/library/time.html#time.strftime) and a custom start log level according to the [Python logging level values](https://docs.python.org/3/library/logging.html#levels):

```python
from timelogging import configLog, log
configLog(timeFmt='%Y-%m-%d %H:%M:%S', startLevel=20)
log('This is a log entry.')
```

And this outputs your custom timestamp before the printout:

```
2020-12-31 16:20:00 INFO    This is a log entry.
```

## Changing the log level
### Setting the log level globally
The functions above set the log level immediately to `logging.INFO`. When this is not wanted, you can also import `timeLogLater`, `dayLogLater` to keep the log level at `logging.WARN` at start or set the `startLevel` parameter of the configLog function as you want.

Then you can import the functions `startLogging` and `endLogging` to change the log level on the fly.
```python
from timelogging.timeLogLater import log, startLogging, endLogging

log('not seeable')
startLogging()
log('seeable')
endLogging()
log('not seeable')
```
This example logs this output only:
```
16:20:00 INFO    seeable
```

### Changing the log level to `INFO` for one log entry
This is possible with the function `logOnce`. It changes the log level to `INFO` just for this log entry and after that it switches back to `WARN` (the default level). Simply use it as you would use `log`.
```python
from timelogging.timeLogLater import log, logOnce
log('not seeable')
logOnce('seeable')
log('not seeable')
```
This example logs the output of `logOnce` only, because otherwise the log level is set to `WARN`. This helps avoiding unwanted `INFO` logs:
```
16:20:00 INFO    seeable
```
strip-docs 1.0
A utility to remove all docstrings from your project
Keywords: docs,stripping,pydoc,removal

# strip-docs
[![PyPI](https://img.shields.io/pypi/pyversions/strip-docs.svg)](https://pypi.python.org/pypi/strip-docs)
[![PyPI version](https://badge.fury.io/py/strip-docs.svg)](https://badge.fury.io/py/strip-docs)
[![PyPI](https://img.shields.io/pypi/implementation/strip-docs.svg)](https://pypi.python.org/pypi/strip-docs)
[![Maintainability](https://api.codeclimate.com/v1/badges/657b03d115f6e001633c/maintainability)](https://codeclimate.com/github/smok-serwis/strip-docs/maintainability)
[![Wheel](https://img.shields.io/pypi/wheel/strip-docs.svg)](https://pypi.org/project/strip-docs/)
[![Build status](https://circleci.com/gh/smok-serwis/strip-docs.svg?style=shield)](https://app.circleci.com/pipelines/github/smok-serwis/strip-docs)

A Python utility to remove all docstrings from your modules before shipping


Info-anarchized from 
[this Stack Overflow post](https://stackoverflow.com/questions/1769332/script-to-remove-python-comments-docstrings)


# Usage

Just install it via pip

```bash
pip install strip-docs
```

And then launch it on any list of files or directories that you would like
to see the docstrings gone, this way:

```bash
strip-docs dir1 dir2 file1 file2 ...
```

All .py, .pyx and .pxd files will be processed.

If you specify a single file, it will be processed

# Caveats

Try to avoid writing empty classes or routines like this:

```python
def empty_routine():
    """I am an empty routine"""
```

Because the syntax itself is not analyzed, this will result in a Python SyntaxError.

Better write this:

```python
def empty_routine():
    """I am an empty routine"""
    ...
```

So after trimming the docstrings it remains valid Python.