Useful functions for hosting with Hostsharing eG
Project description
Hostsharing Utilities
A python package with some useful functions for working in a webspace or managed server of Hostsharing eG.
Why
We have multiple uses for such functions, and it is useful to have them in one place.
Getting started
Installing:
pip install hsutilities
A simple example:
from hsutilities import domains as hsdomains
from hsutilities import users as hsusers
from hsutilities import admin as hsadmin
pac = hsusers.get_current_pac()
domains = hsdomains.get_domains_of_user(pac)
api = hsadmin.get_api(pac)
api.domain.add(set = {'name': 'example.org', 'user': 'xyz00-example'})
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
hsutilities-0.1.4.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hsutilities-0.1.4.tar.gz.
File metadata
- Download URL: hsutilities-0.1.4.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfdfeeb4b29e29337f66eb7954168ecdde6779584482a1c71a9121b79ee16f85
|
|
| MD5 |
75982bbda17d8dbeaf1d6af097abdf31
|
|
| BLAKE2b-256 |
11635199081637757e7cbee45ed156546b1628abad56b16ed21135420b96fbb3
|
File details
Details for the file hsutilities-0.1.4-py3-none-any.whl.
File metadata
- Download URL: hsutilities-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1559503bea6a23a6244664416286a947962b13eb44631910e6a2917d17ee6fa
|
|
| MD5 |
537e4817836e2283f49bcbdb3d564150
|
|
| BLAKE2b-256 |
8c9b5696003c360b5b5fb1af056c8b69d144a5695b04e10c3264756542b1e45f
|