Autistic stuff, either created by us, or stolen from someone on the internet
Project description
autisticstuff
-- library from autists for... idek
Modules:
fastapi - unified response system with exception handling and premade schemas for sqla.layer architecture; also some utils
safe - RetryableClientSession, retey_wtih_backoff and more
logs - logging utilities: InterceptHandler and more
- InterceptHandler class for low-level interception of
loggingloggers by name tologurulog engine - get_logger function-factory for getting cached instances of
loguru.Loggerbinded withloguru_nameattribute, which is included inextraat log processing - Setup interceptions for custom logging.Logger instances by name
- Add your own logger factory to InterceptHandler, if you do not like loguru. It just needs to have
.opt()implemented.
sqla - SQLAlchemy addons
- Base for layered architecture, containing BaseMapping with a couple of preimplemented methods and BaseRepository with mostly every operation on model possible included.
- PydanticJSON type for
mapped_column()with automated serialization & validation on update. - Updating models with callback depending on flow of environment (sync/async), also possible to pass updated attribute to callback
- Validate dictionary for model creation
utils - .env parsing, cache-wraps for instances
- LRU-Cache wrappers for object instances - cache your DB, Settings or anything else - and fetch it with ease from every place in code
- AppSettings base class for easy and type-checked environment variables reading with ability to fetch variables from property post-initialization
Contribute:
- Just branch out in the repository and submit a pull-request after completion.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 autisticstuff-0.1.3b1.tar.gz.
File metadata
- Download URL: autisticstuff-0.1.3b1.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90617ba3c7d6a16b543409b2753fd4cbd593f69c3e2860a110e27672fc93e2af
|
|
| MD5 |
69526fd6b4c0903ea31668b2cb7bf985
|
|
| BLAKE2b-256 |
70cbcd1e4e37123ef80a17c11a9390ec1be30cfea40339ee7a8cbaf274496dd6
|
Provenance
The following attestation bundles were made for autisticstuff-0.1.3b1.tar.gz:
Publisher:
publish.yaml on twohundredpointsonraads/autisticstuff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autisticstuff-0.1.3b1.tar.gz -
Subject digest:
90617ba3c7d6a16b543409b2753fd4cbd593f69c3e2860a110e27672fc93e2af - Sigstore transparency entry: 443330274
- Sigstore integration time:
-
Permalink:
twohundredpointsonraads/autisticstuff@139f1630106ec01d017f4fc1334561643e5fee4c -
Branch / Tag:
refs/tags/v0.1.3b1 - Owner: https://github.com/twohundredpointsonraads
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@139f1630106ec01d017f4fc1334561643e5fee4c -
Trigger Event:
push
-
Statement type:
File details
Details for the file autisticstuff-0.1.3b1-py3-none-any.whl.
File metadata
- Download URL: autisticstuff-0.1.3b1-py3-none-any.whl
- Upload date:
- Size: 35.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb3cc53026ee6697484bb98f121d2f51e40bf1988e7e390a509543a9e5e75c88
|
|
| MD5 |
1c978a1f06d24aab6f2069b227e7d5d4
|
|
| BLAKE2b-256 |
b91b6a4c1858b1b26dc718b545996d45cb25971f0fc7fce3e5a96f5e1e466fff
|
Provenance
The following attestation bundles were made for autisticstuff-0.1.3b1-py3-none-any.whl:
Publisher:
publish.yaml on twohundredpointsonraads/autisticstuff
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autisticstuff-0.1.3b1-py3-none-any.whl -
Subject digest:
fb3cc53026ee6697484bb98f121d2f51e40bf1988e7e390a509543a9e5e75c88 - Sigstore transparency entry: 443330300
- Sigstore integration time:
-
Permalink:
twohundredpointsonraads/autisticstuff@139f1630106ec01d017f4fc1334561643e5fee4c -
Branch / Tag:
refs/tags/v0.1.3b1 - Owner: https://github.com/twohundredpointsonraads
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@139f1630106ec01d017f4fc1334561643e5fee4c -
Trigger Event:
push
-
Statement type: