templates for servers
Project description
server_templates (v0.0.12)
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
Built Distribution
Close
Hashes for server_templates-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc6af72940a6d3518e83a306fabe9f2bb5bd2e6a0ba4ef125e22e7a613db277c |
|
MD5 | 93124c7eb1c28869562f2218076860e9 |
|
BLAKE2b-256 | 8d6e2719ccb672ff53b76d1f5c9e97f841c4330830ebee2195765b30238c058d |