templates for servers
Project description
server_templates (v0.0.11)
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
File details
Details for the file server_templates-0.0.11.tar.gz
.
File metadata
- Download URL: server_templates-0.0.11.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca5b511f179ebb732de614baff228f8451927db9699893748ff6970f9a7fda2 |
|
MD5 | c766aedb7739f29bc31e3bd8206f0141 |
|
BLAKE2b-256 | b79914fdd2e3ad51f7282c70a8655eb8001f15f283ddfdcdfe3cabcfcc1ec4b1 |
File details
Details for the file server_templates-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: server_templates-0.0.11-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9c8665d3714db0108e8de1de20207b7ac1651b0634b1ea03451ce0df5385930 |
|
MD5 | afd043f8282fbd4e2b4aa12514ae86eb |
|
BLAKE2b-256 | e8f59ef8be83a6316198110fddba9e0f5909c5b99b723d24e5bfe9a667b03204 |