semvec/pypi-packages huggingface dataset:
permon 2.0.1
A tool to monitor everything you want. Clean, simple, extensible and in one place.
License: MIT
Requires Python: >=3.6.0


# permon

[![CircleCI](https://circleci.com/gh/bminixhofer/permon/tree/dev.svg?style=svg)](https://circleci.com/gh/bminixhofer/permon/tree/dev)
[![codecov](https://codecov.io/gh/bminixhofer/permon/branch/dev/graph/badge.svg)](https://codecov.io/gh/bminixhofer/permon)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/aeb0088ce100440f9077e1da6c6ca4f6)](https://www.codacy.com/app/bminixhofer/permon?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=bminixhofer/permon&amp;utm_campaign=Badge_Grade)

A tool to monitor everything you want. Clean, simple, extensible and in one place.

See [permon's website](https://bminixhofer.github.io/permon) for a short overview.

See the [user documentation](https://bminixhofer.github.io/permon/userdoc) for details.

If you want to contribute or get an insight into how permon is structured, check out the [contributor documentation](https://bminixhofer.github.io/permon/contributordoc).

## Quickstart

| Task | Command |
|---|---|
| Install permon | `pip install permon` |
| Run terminal frontend | `permon terminal` |
| Run native frontend | `permon native` |
| Run browser frontend | `permon browser` |
| Everything else | `permon --help` |

## License

This project uses the MIT License - see the [LICENSE](LICENSE) file for details.
discord-config 0.0.2
Easy config module for Discord bots
License: MIT

discord-config
==============

``discord-config`` is a Python library to help saving and loading configuration files.

Warning: Still in development, so use with care!

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

discord-config is available on PyPI under ``discord_config``:

.. code-block:: bash

    $ pip install -U discord_config

Or for the latest development version:

.. code-block:: bash

    $ pip install -U git+https://github.com/nowakcasimir/discord-config.git#egg=discord_config

Basic Example
-------------

.. code-block:: python3

    from discord_config import Settings

    # (settings will be saved by default to settings.json, if it is not defined)
    settings = Settings()

    print (settings)
    print (settings.token) #> "...yourtoken..."
    print (settings.server_id) #> "123123123"

    settings.clear() # Clears the settings

    # You can define arbitrary settings to Settings object defaults
    settings = Settings(defaults = {
        "token": "...yourtoken...",
        "botname": "MyDiscordBot",
        "joinservers": False,
        "idleTimer": 100
    })

    print (settings)
    print (settings.token) #> "...yourtoken..."
    print (settings.botname) #> "...MyDiscordBot..."
    print (settings.joinservers) #> False
    print (settings.idleTimer) #> 100

    # Defaults were overwritten
    try:
        print (settings.server_id)
    except Exception as e:
         #> AttributeError: 'Settings' object has no attribute 'server_id'
        pass

    settings.set('id', 'broker')

    print (settings.id) #> 100

    settings.save() # outputs settings.json by default

    settings = Settings() # Now it loads settings.json

    print (settings)

    settings.clear()

Documentation
-------------

See the documentation at https://discord-rnn.neocities.org/.
location-history-total 0.1.2
Given a Takeout of Google Location History, generate a CSV of work history.
License: MIT
Requires Python: >=3.6,<4.0

# location-history-total
Given a Takeout of Google Location History, generate a CSV of work history.

Requires Python 3.6+.

# Example usage

1. Create a document with your points of interest:

    ```
    # Format is lat, long, radius
    # '#' can be used to comment a line out
    38.8100121,-104.6792472, 0.04
    39.1355552,-121.3484781, 0.1
    ```

    Google Maps will be handy for determining the latitude and longitude of places.

2. Use Google Takeout to export your location history.

   - Current link is https://takeout.google.com/settings/takeout?hl=en
   - Support link is https://support.google.com/accounts/answer/3024190?hl=en

3. (Optional) Determine the time period(s) you're intested in and get the Unix timestamps of the start and stop dates.

3. Run the script. Assuming your POIs are in `area.txt`, your location history is at `history.json`, and a date range of 1 Oct 2018-1 Mar 2019:

    ```
    # Dump information to screen
    location-history-total history.json --area=area.txt --time=1538373600,1551423600

    # Or to a CSV
    location-history-total history.json --area=area.txt --time=1538373600,1551423600 --output=results.csv
    ```