semvec/pypi-packages huggingface dataset:
LOLComicGrabber 0.0.3
Download League of Legends comics for offline use

# LOLComicGrabber

LOLComicGrabber is a python package aimed at making downloading the League of Legends comic books possible. I made this because I didn't want to be limited to a browser and internet connection to read one of these comics. LOLComicGrabber aims to make the League of Legends comics accessible.

# Installation
Install from pip

```bash 
pip install LOLComicGrabber
```

or install from source

```bash
git clone https://github.com/ShahriyarShawon/LOLComicGrabber.git
```
```bash
cd LOLComicGrabber
```
```bash
python setup.py install 
```


# Usage

Download Issue 3 of Ashe Warmother
```python
from LOLComicGrabber.ComicGrabber import LOLComicGrabber

grabber = LOLComicGrabber()
grabber.download("Warmother",3)
```

List one shots
```python
from LOLComicGrabber.ComicGrabber import LOLComicGrabber

grabber = LOLComicGrabber()
for key,value in grabber.get_one_shots().items():
    print(key)
```

Download One Shot
```python
from LOLComicGrabber.ComicGrabber import LOLComicGrabber

grabber = LOLComicGrabber()
grabber.download("Nami: Into the Abyss", is_series=False)
```


# What's New?

0.0.2 - Made filename and directory names friendly for Windows
simple-dispatch 1.1.0
A library inspired by the Django Dispatch System for simple pub-sub interactions.

# Simple Dispatch
[![Build Status](https://travis-ci.org/resilient-vitality/SimpleDispatch.svg?branch=master)](https://travis-ci.org/resilient-vitality/SimpleDispatch)
[![codecov](https://codecov.io/gh/resilient-vitality/SimpleDispatch/branch/master/graph/badge.svg)](https://codecov.io/gh/resilient-vitality/SimpleDispatch)

A library inspired by the Django Dispatch System for simple pub-sub interactions. it is a low footprint 
and small library designed for resource constrained or high-efficiency systems with no dependencies.

## Getting Starting 

To install, `pip install simple-dispatch` or `pipenv install simple-dispatch`

## Usage

### Simple Example
```python
from simple_dispatch import subscriber, dispatch

MY_EVENT = 'abc'

@subscriber(MY_EVENT)
def handle(**kwargs):
    print(kwargs)

def main():
    dispatch(MY_EVENT, a=1, b=2, c=3)

main()

# OUTPUT: {'a': 1, 'b': 2, 'c': 3}
```

### Subscriber Listens to Multiple Events

```python
from simple_dispatch import subscriber, dispatch

MY_EVENT = 'abc'
MY_SECOND_EVENT = 'xyz'

@subscriber(MY_EVENT, MY_SECOND_EVENT)
def handle(**kwargs):
    print(kwargs)

def main():
    dispatch(MY_EVENT, a=1, b=2, c=3)
    dispatch(MY_SECOND_EVENT, a=4, b=5, c=6)

main()

# OUTPUT: 
# {'a': 1, 'b': 2, 'c': 3}
# {'a': 4, 'b': 5, 'c': 6}
```
gdsblenderpy 0.0.3
GDS to Blender Python Translator

# gdsblenderpy

Translate GDS to Blender files 

# Dependencies

+ [Phidl](https://github.com/amccaugh/phidl)
+ [GDSPy](https://github.com/heitzmann/gdspy/)
+ NumPy
+ MatplotLib

While not an explicit dependency, [KLayout](https://klayout.de) is a fantastic open source tool for viewing and creating GDS files.

# Installing Blender
Follow instructions to install [Blender](https://www.blender.org)

Add blender to path, to allow for commands from the terminal.
The executable exists in these locations (by default).

## Windows
+ 64-bit

`C:\Program Files\Blender Foundation\Blender\blender.exe`

+ 32-bit

`C:\Program Files (x86)\Blender Foundation\Blender\blender.exe`

## Linux

`/usr/bin/blender`

## MacOS

`/Applications/blender/blender.app/Contents/MacOS/blender`


# Installation of this Package
These instructions help to install pip into the python that comes with blender, since python is not released with pip in the first place. More detail can be found [here](https://blender.stackexchange.com/questions/56011/how-to-install-pip-for-blenders-bundled-python) or with a differently worded google search.
1. First `cd` into your blender path:

    `cd /path/to/blender-2.8/2.80/python`

2. Run ensurepip for your blender's python:

    `/bin/python3.7m lib/python3.7/ensurepip`

    * in MacOS, ./python3.7m will run the executable instead of just the filename

3. Now you have pip and can install modules by:

    `bin/pip3 install --target lib/python3.6   packageName`

4. Install the dependencies manually:

    `bin/pip3 install --target lib/python3.6   numpy`
    
    `bin/pip3 install --target lib/python3.6   gdspy`

    `bin/pip3 install --target lib/python3.6   phidl`

5. Run setup.py for this project after downloading from git (untested)

## ALTERNATIVELY (WORKING)

4. Install this module:

    `bin/pip3 install --target lib/python3.6   gdsblenderpy`

# Creating layer_stack file

See the example.

In essence, add the layers you are interested in capturing for your blender project, give them, initial height (z), thickness, color and an etch_target if the layer is intended to cut into another layer (as opposed to being extruded).

At the end of the file (currently - will be changed in the future), add the layer stack and run the draw in blender command.

Then when you run the translator like below, it should work as the example does.

# Running Translator
`blender filename.blend --python layerstack-file.py`

Where the layerstack-file.py file has been created following instructions.
See example

# TODO
## Use

+ Neaten plotting of cross section 

+ Figure out way to do dopings?

+ Fix plot cross section

## Function
+ [Easier execution](https://blender.stackexchange.com/questions/6817/how-to-pass-command-line-arguments-to-a-blender-python-script)