An open API service indexing awesome lists of open source software.

https://github.com/stamtsag/basicpyapi

A barebones websockets server & client, in python.
https://github.com/stamtsag/basicpyapi

api client python server websockets

Last synced: about 1 year ago
JSON representation

A barebones websockets server & client, in python.

Awesome Lists containing this project

README

          

Basicpyapi icon

![GitHub](https://img.shields.io/github/license/Shadofer/basicpyapi) ![GitHub Repo stars](https://img.shields.io/github/stars/Shadofer/basicpyapi?style=social) ![GitHub forks](https://img.shields.io/github/forks/Shadofer/basicpyapi?style=social) ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/Shadofer/basicpyapi) ![Lines of code](https://img.shields.io/tokei/lines/github/Shadofer/basicpyapi)

# A basic websocket API made in python

## What's the purpose of this project?

**Demonstrates the ```websockets``` package and shows how to create a server which responds to given data.**

**Provides client-side code in order to create an effective loop of data.**

**Both models are extensible and customisable.**

## Is this a production product?

**Of course not, it only contains barebone code which is meant to be optimised and tailored to your specific needs.**

## Are there any other websocket-relevant projects?

**For a complete server breakdown, check out [TowerVerse](https://github.com/TowerVerse/towerverseserver).**

**For a complete API breakdown, check out [Dogey](https://github.com/Shadofer/dogey).**

## Installation

**```pip install -r requirements.txt```**

**Tip: Rename ```env.example``` to ```.env``` in order to setup customised options for the server.**

## Running

**```python3 basicpyapi/api.py``` to start the websockets server.**

**```python3 basicpyapi/client.py``` to run a preconfigured client.**