Skip to main content

templates for servers

Project description

server_templates (v0.0.7)

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

Uploaded Source

Built Distribution

server_templates-0.0.7-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: server_templates-0.0.7.tar.gz
  • Upload date:
  • Size: 4.3 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.7.tar.gz
Algorithm Hash digest
SHA256 92fa75c50b5fd1f195b250e743edaf05c6367cadd2255ef468c2365b459eb56d
MD5 c30d9d7a1090db769a17bb1f2e666b9b
BLAKE2b-256 4aa50ce0c9b04959781c7acbe425ebed66a245db29df5210a1b827ac74969bba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for server_templates-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3fa3df808af4920e6be2ca31e3ee6e2e5a99ed67b2f32c7e2ae7e1f4a9a3a8ce
MD5 6c057c9389e15fdb2cbf2695051a559c
BLAKE2b-256 abf637b8f38f954055b554dd5024469a57dac2e8273bdfb407bc9252cf0d9bbb

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