templates for servers
Project description
server_templates (v0.0.9)
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.9.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for server_templates-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bab9822bbf4770441c4dd4d46b2c4d31c0aae5f0c18622c37e71326deabc887d |
|
MD5 | 5a606609bcb1e8e001b3a9b0e81d714e |
|
BLAKE2b-256 | ba7eb28f4e41f995a5aa21f8cc325ee611a0e8613e74e6a4dc41b457081ad92b |