semvec/pypi-packages huggingface dataset:
tixte.py 1.0.3
The async wrapper for the Tixte API.
License: MIT

[![Documentation Status](https://readthedocs.org/projects/tixtepy/badge/?version=latest)](https://tixtepy.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/tixte.py.svg)](https://badge.fury.io/py/tixte.py)

![Banner_Thin](https://github.com/NextChai/tixte.py/assets/75498301/c55cbe5f-bd79-4131-86ba-9386b541678c)


```python
import asyncio
import tixte

async def main():
    client = tixte.Client('your-master-token', 'your-domain')
    file = tixte.File('this_image.png')
    
    async with client:
        upload = await client.upload(file)  # Upload file
        print(f'Uploaded file {upload.url} - {upload.filename}')

asyncio.run(main())
```

# Installing
Recommended Python 3.8.0 or higher

To install the library you can do the following
```
# Linux / MacOS
python -m pip install tixte.py

# Windows
py -m pip install tixte.py
```

## Installing Master Branch
```python
python -m pip install git+https://github.com/NextChai/tixte.py
```

# Obtaining Your Master Token
A master token is a token given by Tixte to allow applications
to access and make requests to the API. It can be obtained by:

1. Going to the [Tixte dashboard](https://tixte.com/dashboard/browse)
2. Pressing `Control + Shift + I` to open the developer console
3. Entering the following command:
```
localStorage.getItem("sessionToken")
```
4. The response outputted into the console is your master token.

# Documentation

Documentation is available [here](https://tixtepy.readthedocs.io/en/latest/). 

Please note the layout and style for the documentation and all
of the source that goes along with it is directly from [Rapptz/discord.py](https://github.com/Rapptz/discord.py). 

All credit for the source of the documentation goes to Rapptz and his group is contributors. In my experience with sphinx, 
there is nothing close to how well put together this style of documentation is, it's a pleasure to work with it.
pagame 1.1.3
Party games for small groups.
License: MIT
Requires Python: >=3.12

Have fun.
=========

---

Download and run the correct `application` for your system directly, or follow one of the steps 
below.

---

Terminal usage
--------------

```bash
pip install pagame

pagame
```

Python usage
------------

```bash
pip install pagame
```

```python
from pagame import Play

Play()
```

See and run `examples/example_game.py` for manually starting the game with parameters.

---

Notes
-----

Spotify should be open for the proper experience, but does not have to.

In order for the game to access Spotify, you need to have a Spotify client id and secret. These
can be obtained by creating a Spotify app (through `developer.spotify.com`); and the client id
and secret can be pasted directly in through the GUI, or into the example script.

---

Parameters
----------

Note that all these can be controlled through the GUI.

| Parameter | Description | Type |
| --------- | ----------- | ---- |
| `delay` | Minutes between each game.<br>If tuple, randomly sampled between values. | `int` or `tuple[int, int]` |
| `language` | Which language the game is played with. | `str` |
| `playlist` | Spotify-URI for the playlist. | `str` |
| `spotify_id` | Spotify client id. | `str` |
| `spotify_secret` | Spotify client secret. | `str` |