typing_environs
- name = "typing_environs"
- description = "typing_environs add type hints support for environs"
- authors = ["Euraxluo euraxluo@qq.com"]
- license = "The MIT LICENSE"
- repository = "https://github.com/Euraxluo/typing_environs" _ version = "0.3.*"
install
pip install typing-environs
UseAge
from typing_environs import EnvModule, Types
class FLS(EnvModule):
open: Types.bool
level: Types.upper
dir: Types.dir
rotation: Types.str
retention: Types.str
compression: Types.str
encoding: Types.str
enqueue: Types.bool
backtrace: Types.bool
diagnose: Types.bool
class Log(EnvModule):
format: Types.str
dir: Types.dir
level: Types.upper
fls: FLS
class Config(EnvModule): # 默认配置
env: Types.str
application: Types.str
version: Types.str
data_separator: Types.str
log: Log
def __init__(self, *args, paths=["default.env"], **kwargs):
super(Config, self).__init__(*args, paths=paths, **kwargs)
todo list
- strict mode
Metadata
Release files for typing-environs 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| typing_environs-0.3.0.tar.gz | 5.0 kB | Without provenance | Details for typing_environs-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| typing_environs-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for typing_environs-0.3.0-py3-none-any.whl |
Total release size: 11.0 kB
Release files / typing_environs-0.3.0.tar.gz
| Download URL | typing_environs-0.3.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bae780c6372ee1855d56a74698e2deca217295e570dc40fbee52edeadab236ff
|
|
BLAKE2b-256 checksum How to use checksums |
5ddea027aea3a65f701c4cfb5d81048805374e474fb147b92e90949a946b23ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0b1 CPython/3.9.7 Windows/10
|
Release files / typing_environs-0.3.0-py3-none-any.whl
| Download URL | typing_environs-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e4201e5ad7619ce045c1451b61d5dbbdc7d2f91aa29e0c22e27ecbfb0d79b36
|
|
BLAKE2b-256 checksum How to use checksums |
9bd69d36ddb370acc3dba67ff416b695f78ad9eebf3a9695deebafb8cbcd5156
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0b1 CPython/3.9.7 Windows/10
|
Security for typing-environs 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.