templates for servers
Project description
server_templates (v0.1.3)
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.3.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for server_templates-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951c1d127fa9362856345583f97f752db63c843ca5ae97fb5a55559fed397b90 |
|
MD5 | 31a3e028d2dfd3a24e431c4c747c3d8f |
|
BLAKE2b-256 | 48a3ddf351a40c0d76f63d3cecf60f8a6a2393f0c5ca5e90456395b52f046490 |