Skip to main content

help tools.

Project description

TDhelper LIb

helper class lib.

Cache

1. pools

2. ring cache

db

1. sqllite

2. mongodb

3. mysql

Decorators

1. log

document

1. file

2. excel

Event

1. Event

2. classEvent

3. webEvent

generic

MagicCls

running time dynamic create class. mapping any object to an object.

Msg

genneric msg helper class.

network

http, socket helper.

robot

robot class.

Scheduler

not finished

simulate

not finished

Spider

structs

not finished

web

permission module

1. register

permission register class.

Methods

NO.
|
name
|
description
:---:|:---|:--- 1 | [Register](#perRegister) | - 2 | [RegisterByCfg](#perRegisterByCfg) | -

Register

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- serviceClass | - | class | yes | -

RegisterByCfg

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- Cfg | - | dict | yes | -

2. perACL

web project check ACL.

Methods

NO.
|
name
|
description
:---:|:---|:--- 1 | [perACL](#perACL) | - 2 | [addRPCHandle](#addRPCHandle) | - 3 | [AccessControlLists](#accessControlLists) | -

perACL

Initialize.

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- rpc_key | - | str | yes | - params_container_class | - | str | yes | - platformKey | - | str | no | None tokenKey | - | str | no | usr-token

addRPCHandle

Add ACL RPC handle method.

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- handle | - | RPC | yes | -

AccessControlLists

decotrator method. @perACL.accessControlLists()

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- premissionKey | - | str | no | None debug | - | Boolen | no | False

Project details


Release history Release notifications | RSS feed

This version

1.9.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TDhelper-1.9.3.tar.gz (145.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TDhelper-1.9.3-py3-none-any.whl (214.4 kB view details)

Uploaded Python 3

File details

Details for the file TDhelper-1.9.3.tar.gz.

File metadata

  • Download URL: TDhelper-1.9.3.tar.gz
  • Upload date:
  • Size: 145.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.6

File hashes

Hashes for TDhelper-1.9.3.tar.gz
Algorithm Hash digest
SHA256 3bdbb99aa68ffb2c7964502aca4b47880f282a8636f220ab5d6a823276c6af4c
MD5 b3fd7e78f9b03713c6fb5556fd0efdeb
BLAKE2b-256 586c49b34edcb302ca45541ab11e24506126245e1d09558a375221ee047a0033

See more details on using hashes here.

File details

Details for the file TDhelper-1.9.3-py3-none-any.whl.

File metadata

  • Download URL: TDhelper-1.9.3-py3-none-any.whl
  • Upload date:
  • Size: 214.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.6

File hashes

Hashes for TDhelper-1.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a4202fb7ab7165d27e34482c9d0e585b27dc82ae92e39d65a257440a853ec959
MD5 8952f6c2ebc539ac67198a6482876463
BLAKE2b-256 5d24b589e2dcf0a0907d4cc8d1df567160c7b2ea56102d95cdad8d5effe65fbd

See more details on using hashes here.

Supported by

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