Skip to main content

templates for servers

Project description

server_templates (v0.0.5)

DESCRIPTION_SHORT

Templates for servers

DESCRIPTION_LONG

Designed for keep all servers templates in one place

Features

  1. 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


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.5.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

server_templates-0.0.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file server_templates-0.0.5.tar.gz.

File metadata

  • Download URL: server_templates-0.0.5.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for server_templates-0.0.5.tar.gz
Algorithm Hash digest
SHA256 469b089ce793d06922e775e45ccade4bb528195855bcb1e46c40b78f5259a9bd
MD5 ba483c57cdf6af8038f57ae83e71af12
BLAKE2b-256 b7030768cd8ff21f10f9dc0d2f1101d6d4d0a46fac8de26df8d9b27a738ed693

See more details on using hashes here.

File details

Details for the file server_templates-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for server_templates-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a9842d663498e391966c7fe52bb1fcc5e5710be8a5e6a165b50173a6925ea4d4
MD5 4bbee019c70422fdf07f6b44f01ee6cf
BLAKE2b-256 4dee9cc408ff847c29d7d44833216b395e1cf03640ecf15876803ed3c0f301a6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page