Skip to main content

Autistic stuff, either created by us, or stolen from someone on the internet

Project description

autisticstuff

-- library from autists for... idek Python License

PYPI

Modules:

logging

  • InterceptHandler class for low-level interception of logging loggers by name to loguru log engine
  • get_logger function-factory for getting cached instances of loguru.Logger binded with loguru_name attribute, which is included in extra at 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.

sqlalchemy

  • 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

utilities

  • 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


Download files

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

Source Distribution

autisticstuff-0.1.1b2.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

autisticstuff-0.1.1b2-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file autisticstuff-0.1.1b2.tar.gz.

File metadata

  • Download URL: autisticstuff-0.1.1b2.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for autisticstuff-0.1.1b2.tar.gz
Algorithm Hash digest
SHA256 a830d4db97428308216e558f4b1e88908b6e823884f283fd86e37f088d361111
MD5 c7539edcb8563a912ff1b29d0f9980bd
BLAKE2b-256 02cb473951c0043f2cf837fbe3e067f2d1311d2d5f8f21fb51ca7eabe7a3e37a

See more details on using hashes here.

Provenance

The following attestation bundles were made for autisticstuff-0.1.1b2.tar.gz:

Publisher: publish.yaml on twohundredpointsonraads/autisticstuff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file autisticstuff-0.1.1b2-py3-none-any.whl.

File metadata

File hashes

Hashes for autisticstuff-0.1.1b2-py3-none-any.whl
Algorithm Hash digest
SHA256 a71719857e966aeaac168b1bb19139714d745b5f2a1643ef6c4373ec058b9036
MD5 8ed90da4e8028e04cfa1fdbd7e8e7c42
BLAKE2b-256 0b10169b5730bc6d85e34f73672612cbee44f91f46313df42801d43064e76e27

See more details on using hashes here.

Provenance

The following attestation bundles were made for autisticstuff-0.1.1b2-py3-none-any.whl:

Publisher: publish.yaml on twohundredpointsonraads/autisticstuff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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