templates for servers
Project description
server_templates (v0.0.8)
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.0.8.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for server_templates-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f781d1768fedc51f665ec524e5c6319e5d33899c0c6562662eb674d14c92426 |
|
MD5 | 18a7fe7f44d6fc01d0cf3a5600da2610 |
|
BLAKE2b-256 | 5393255e61c3cf9c37867f6b0cd16b1e2de40267ae4be28e3a8c91ca5f4d1101 |