Skip to main content

yacore

yacore


Github actions status for master branch Codecov coverage for master branch Pypi version Pypi downloads count

Yet Another CORE library

Reason

  • Reduce daily routine to start new service.
  • Reduce errors on copy/paste things from previous projects.

Features

  • Build on top of facet, cock and giveme. This means services, configuration and dependency injection.
  • Flexible installation (install only what you need for current service, e.g. pip install yacore[db-postgresql,net-http])
  • Couple backends for databases, logging, networking and whatever in strict service-like style.

Current implementation matrix

database logging network executors
postgres stdlib httpx + fastapi + hypercorn thread pool executor
loguru

Requirements

  • python 3.9+

Usage

You can start new project from scratch with cookiecutter template via:

cookiecutter gh:pohmelie/cookiecutter-yacore

Read more at cookiecutter-yacore.

Documentation

TBD

License

yacore is offered under MIT license.

Development

Installation

pip install -e ./[dev]

Run tests

Since coverage issue/feature, plugins coverage is broken by default. Workaround:

COV_CORE_SOURCE=yacore COV_CORE_CONFIG=.coveragerc COV_CORE_DATAFILE=.coverage.eager pytest

Metadata

Release files for yacore 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yacore 0.4.0
File Size Uploaded Provenance
yacore-0.4.0.tar.gz 16.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yacore 0.4.0
File Interpreter ABI Platform
yacore-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.1 kB

Release files / yacore-0.4.0.tar.gz

Download URL yacore-0.4.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6523263f26c03d55601c75c08956217339ae17e0fb8c8b6180696e723c7f5a1b
BLAKE2b-256 checksum
How to use checksums
01faf15f5eb6893e8e5c444d99f453284e13e5361bb0607f8d1d448818d99f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / yacore-0.4.0-py3-none-any.whl

Download URL yacore-0.4.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f64edec3514be5f79191bd39f36fd38691c18c5ac101aad8633846286abb216
BLAKE2b-256 checksum
How to use checksums
71d5f9a102204d33d1ff8282aa5564f09fbb4b457677b8e20c7e267a233d38b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for yacore 0.4.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page