semvec/pypi-packages huggingface dataset:
shittywebserver 0.0.8
A tiny misbehaving web API server, for testing web consuming apps.
License: MIT
Requires Python: >=3.9

# ShittyWebserver

An tiny WebAPI that does some normal things and some weird thing for testing web consuming code.

- [ShittyWebserver](#shittywebserver)
  - [API](#api)
  - [Run](#run)
    - [Python](#python)
    - [Docker](#docker)

## API

[OpenAPI Doc](/docs/openapi.json#/)

## Run

### Python

`pip install shittywebserver`

```python
from shittywebserver import run_shitty_webserver
run_shitty_webserver(
    host = "0.0.0.0",
    port = 8000,
    run_in_subprocess = False)
```
### Docker

`docker pull registry-gl.connect.dzd-ev.de:443/dzdpythonmodules/shittywebserver:prod`

`docker run -p 8000:8000 registry-gl.connect.dzd-ev.de:443/dzdpythonmodules/shittywebserver:prod`
PyPlayStation 0.0.1
Playstation Store price crawler
License: MIT
Requires Python: >=3.8
Keywords: Playstation,Store,game price

# **PyStation**

PyStation is a Playstation Store crawler that lets the users to gather information about a specific game or a number of discounted games.  

PyStation can either be used as a command line tool or an API.
The CLI results can either be printed on the command line or displayed on the screen with addition of the games images.

## **Installation**

PyStation in not yet available on PyPI.
Forking the project is always an option.

## **Current Features**
- Title
- Price (Discounted price only available for the multi options)
- Image (Only on the gui option)

**Possible Future Development**  
- Description and Publisher of the game
- Multiple single game searches
- Better code organization
- Publishing as a CLI tool and API to PYPI
- Improve the gui
    - Main menu
    - More beautiful interface
    - etc. 

## **CLI Tool Usage**

    pystation [options] [args]

    Options:

    -h, --help            show this help message and exit
    -s SINGLE [SINGLE ...], --single SINGLE [SINGLE ...]
                            Get a single game price and information.
    -gs GUI_SINGLE [GUI_SINGLE ...], --gui_single GUI_SINGLE [GUI_SINGLE ...]
                            Same as single but with gui and picture
    -m, --multi           Get all the sale prices and titles
    -gm, --gui_multi      Same as multi but with gui and picture

Using the gui feature doesn't have any other benefit than seeing the images.

In order to get your desired currency for the prices, you need to specify the country.  
It is specified by adding **-c country** after the options and args.  

    For e.g.
    pystation -s minecraft -c germany

Some languages that don't use letters may have unexpectable behavior as the text capturing is done for lating alphabets.

## **API Usage**

The *single* and *multi* functions in the station.py file are the most useful as the other ones are mainly helpers for these two.  
The country here is just any country name e.g. Finland.

    from pystation.station import single, multi
    single(title, [country]) -> [[full title, price]]
    multi([country]) -> [[full title, og price, discounted price] * x]


### **A few notes about the implementations**

First I was only going to do CLI but as the project went on, I decided to expand to GUI as well. Tkinter was chosen there as it is the easiest option to develop GUI features on Python.  

All external library dependancies were chosen for their ease and fit for the project. Usage of too sophisticated libraries would've been a waste of time and resources.

Both the single and the multi funtion uses the search_store function.
It's unnecessary for the multi to be checked for no results or be passed through the search_game function.
It is made this way as it doesn't add too much time and saves a few lines of redundant code.

All files are formatted using black.
pyqiita 1.1.0
An API wrapper for Qiita.
License: MIT

[![PyPI](https://img.shields.io/pypi/v/pyqiita)](https://pypi.org/project/pyqiita)
[![GitHub](https://img.shields.io/github/license/peco2282/qiipy)](https://github.com/peco2282/Qiipy/blob/main/LICENSE)
# pyqiita

This is an API wrapper for Qiita API v2.
# How to install
> on your console...
```bash
pip install pyqiita
```

## Usage...
example
```python
from qiipy import Client

client = Client(token="Your_Qiita_Access_Token")
user = client.get_authenticated_user_data()
print("my description is " + user.description)

# ---
# my name is ...
```

### How to get Qiita API Token ?
1. [Move to this url](https://qiita.com/settings/applications).
2. Select `Applications`.
3. Get Access Token from `Personal access tokens`