semvec/pypi-packages huggingface dataset:
qgsgl 0.1.2
Convert QGIS project into webmapgl style
Keywords: QGIS gl

# Conversion tool for QGIS map project into webmapgl style

## Usage

### Sources

#### GeoJSON

```py
from qgsgl import GeoJSONSource

url = 'https://example.com/data/stations.geojson'
source = GeoJSONSource('stations', url)
source.add_layer(station_layer)
source.write('/www/data/stations.geojson')
style.add_source(source)
```

#### Vector

```py
from qgsgl import VectorSource

url = 'https://example.com/tiles/project.json'
source = VectorSource('project', url)
source.add_layer(station_layer, min_zoom=12, max_zoom=14)
source.add_layer(street_layer, min_zoom=10, max_zoom=14)
source.write('/www/tiles/project.mbtiles')
style.add_source(source)
```

## Running Tests
```
python -m unittest discover
```

# Changelog

## [0.1.2] - 2019-06-20
 - Fixes fill layer label placed incorrectly (#50)
 - Multiple symbol layers now display in correct order (#52)
 - Fill layer no brush property now controls fill color (#53)
 - Circle layer will not generate two GL layers (#54)

## [0.1.1] - 2019-05-20
 - Fixes bugs with color not using alpha channel (#45)
 - Created checks for unsupported symbol layer and simplified layer class
   selection logic (#46)
 - Removed incorrect visibility logic from layer converter (#51)

## [0.1.0] - 2019-05-02
 - Initial release
twbotlib 0.0.52
�� Unoffical twitch bot library written in Python3 ��

![alt](https://i.imgur.com/G5fKROA.jpg)

<p align="center">
  <a href="https://www.python.org/downloads/release/python-370/"><img src="https://img.shields.io/badge/python-3.7+-blue.svg"></a>  <a href="https://github.com/truedl/twbotlib/blob/master/LICENSE"><img src="https://img.shields.io/github/license/truedl/twbotlib.svg"></a> <a href="https://www.codacy.com/app/truedl/twbotlib?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=truedl/twbotlib&amp;utm_campaign=Badge_Grade"><img src="https://api.codacy.com/project/badge/Grade/1be89c732e4e4ca19085b168143d34bc"/></a><br/>
  �� Unoffical library for twitch bots written in Python3 ��<br/>
  �� Documentation: https://twbotlib.readthedocs.io/en/latest/ ��<br/>
  �� Current library version is 0.0.52 ��
</p>

## Install ##

```bat
py -m pip install -U twbotlib
```

## Test Bot Screenshot (old testbot) ##
*Note: I used same user for testing, messages starting with the ! prefix is command and after that is the bot answer.*
![alt](https://i.imgur.com/yt4VKhW.png)
stepTimer 0.0.2
Utility to save data to cvs as an easy (and very basic) to read and use alternative to tensorboard

# stepTimer

small utility to measure time left after n step of a n equally long tasks, the time withing to tasks and the total time.
The utility is a bit buggy though... please contribute :)

```python
from stepTimer import Timer

timer = timer(nsteps = 1000)

# get the time after 200 steps. this is the total time from the beginning of the task
timer.elapsed(self, step = 200) #=> 2:30:55 in H:M:S

# function to preaty print time
timer.printTime(self, <certain ammount of secods>)  #=> 2:30:55 in H:M:S

# total amount of time elapsed since timer was instantiated
elapsedTot() #=> 2:30:55 in H:M:S

# time left to the compleation of 1000 steps, the total time is calculated as nsteps*average time withing each step.
left(self, step = 300) #=> 5:30:55 in H:M:S
```