templates for servers
Project description
server_templates (v0.1.0)
DESCRIPTION_SHORT
templates for servers
DESCRIPTION_LONG
designed for keep all servers templates in one place
Features
- aiohttp
License
See the LICENSE file for license rights and limitations (MIT).
Release history
See the HISTORY.md file for release history.
Installation
pip install server-templates
Import
from server_templates import *
USAGE EXAMPLES
See tests and sourcecode for other examples.
1. example1.py
import server_templates
import pathlib
from testplans import TpMultyDutBase
import time
class Tp(TpMultyDutBase):
START_GUI = False
tp = Tp()
# print(tp.DIRPATH_TCS)
# print(tp.DIRPATH_TCS.exists())
# print(pathlib.Path.cwd())
server = server_templates.ServerAiohttpBase(tp)
server.start()
server.join()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
server_templates-0.1.0.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for server_templates-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42f609f3e1303b7dcb86fe3d83684ab8d4ac0cda2c65b56ef94a1442ca8424cd |
|
MD5 | f2dd0f008c3601a8f6762a339cb9505b |
|
BLAKE2b-256 | 8714eb68b7a6439d6fcb4bbc1ce1a7c5bfa5c401d90cd71d7502aadc80f35c84 |