Skip to main content

Helper cls.

Project description

TDhelper LIb

helper class lib.

Saas-Framework Cli

1. Create saas project command line

custom directory

saas --name "project name" --path /usr/www/

current directory

saas --name "project name" --path pathname

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

2.8.7

Download files

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

Source Distribution

TDhelper-2.8.7.tar.gz (120.3 kB view details)

Uploaded Source

Built Distribution

TDhelper-2.8.7-py3-none-any.whl (170.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: TDhelper-2.8.7.tar.gz
  • Upload date:
  • Size: 120.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for TDhelper-2.8.7.tar.gz
Algorithm Hash digest
SHA256 3a5bfe1144f8930e0b9121792d20ef5af23e35df7d39936cbf616fedae87d6c4
MD5 fe2dc17901f499facf343315196bf68f
BLAKE2b-256 37088c4488719841d2076f14349887d8168a707b8652cdd9cd81840ccb4053f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TDhelper-2.8.7-py3-none-any.whl
  • Upload date:
  • Size: 170.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for TDhelper-2.8.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0c41397c2cb4a0e845a186cc3db2f8dbc4283feedc58f4ff9307b7af746bd7e9
MD5 db7cb52d157dcd3d618bd3ef877286cd
BLAKE2b-256 3c688f8672bf497581683deff889fb8ee7c419228a0591a8b3eb5612831697b6

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