semvec/pypi-packages huggingface dataset:
glwindow 4.2.0
A simple window with your own main loop.
License: MIT

# glwindow

```
pip install glwindow
```

- [Documentation](https://glwindow.readthedocs.io/)
- [glwindow on Github](https://github.com/glnext/glwindow/)
- [glwindow on PyPI](https://pypi.org/project/glwindow/)

A simple window with **your** own main loop.

## Examples

```py
import glwindow

window = glwindow.window()

while window.visible:
    glwindow.update()
```

**Multiple Windows**

```py
import glwindow

windows = [
    glwindow.window((640, 480)),
    glwindow.window((640, 480)),
    glwindow.window((640, 480)),
]

while any(x.visible for x in windows):
    glwindow.update()
```

**Keyboard Input**

```py
import glwindow

window = glwindow.window()

while window.visible:
    glwindow.update()
    if window.key_pressed('escape'):
        break
```

**Vulkan Surface**

```py
import glnext
import glwindow
from glnext_compiler import glsl

instance = glnext.instance(surface=True)
task = instance.task()

size = (512, 512)
framebuffer = task.framebuffer(size)

pipeline = framebuffer.render(
    vertex_shader=glsl('''
        #version 450
        #pragma shader_stage(vertex)

        layout (location = 0) out vec4 out_color;

        vec2 positions[3] = vec2[](
            vec2(-0.5, -0.5),
            vec2(0.5, -0.5),
            vec2(0.0, 0.5)
        );

        vec4 colors[3] = vec4[](
            vec4(1.0, 0.0, 0.0, 1.0),
            vec4(0.0, 1.0, 0.0, 1.0),
            vec4(0.0, 0.0, 1.0, 1.0)
        );

        void main() {
            gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
            out_color = colors[gl_VertexIndex];
            gl_Position.y *= -1.0;
        }
    '''),
    fragment_shader=glsl('''
        #version 450
        #pragma shader_stage(fragment)

        layout (location = 0) in vec4 in_color;
        layout (location = 0) out vec4 out_color;

        void main() {
            out_color = in_color;
        }
    '''),
    vertex_count=3,
)

wnd = glwindow.window(size, title='Hello World!')

instance.surface(wnd.handle, framebuffer.output[0])

while wnd.visible:
    glwindow.update()
    task.run()
    instance.present()
```
pyupfile 1.0.2
pyupfile allows you to upload any file to https://file.io site using their API
License: MIT
Requires Python: >=3.4
Keywords: python,uploader,upload,file,python3

﻿# pyupfile
Pyupfile allows you to upload any file to https://file.io site using their API

# Installation
Pyupfile can be installed through python package manager (pip):
```bash
python -m pip install pyupfile
```  
Note: You need to have tkinter installed on the platform on which you are running this.  
Note: On Linux systems, you may need to install additional packages for clipboard function to run correctly. Otherwise, this would result into an error.
Installation (for Ubuntu/Debian based systems)  
```bash
# apt install xclip
```   
For other distros, install xclip through your package manager.

# Usage
Pyupfile can be used in two ways:
- by running directly through command line:  
```bash
pyupfile
```
or 
```bash
python -m pyupfile
```
- by importing the 'main' function from the module and using it in other python program:  
```python
import pyupfile
pyupfile.__main__.main()
```  
In both the cases, a window would pop up asking you the location of the file to be uploaded and download link would be copied to clipboard.
igloo-python 1.0.18
Python SDK for Igloo
License: MIT
Keywords: iot,igloo

<p align="center">
  <img src="https://github.com/IglooCloud/igloo-python/raw/master/IglooLogo.png" alt="Igloo logo" width="128"/>
</p>

<h1 align="center">Python SDK for Igloo</h1>

## Getting started

Install the library with pip:

```
pip install igloo-python
```

You can find detailed documentation and examples on how to use the library on [our official site](http://igloo.ooo/).

## License

See the [license](https://github.com/IglooCloud/igloo-python/blob/master/LICENSE.txt) file for license rights and limitations.