Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

FineIO

FineIO — async foundation library for finesql and fynor.
It provides helpers that work in both sync and async code, making it easy to adopt async gradually.

Installation

pip install fineio

Quick Start

Hello Example

from fineio import hello

# ✅ Sync usage
print(hello())  # -> "fineio is alive!"

# ✅ Async usage
import asyncio

async def main():
    print(await hello())  # -> "fineio is alive!"

asyncio.run(main())

How It Works

The same function hello() works in both contexts:

  • If called outside an event loop → it runs async code with asyncio.run() and returns the result directly.
  • If called inside an event loop → it returns a coroutine, so you can await it.

This dual-mode design makes it possible to:

  • Start with synchronous code.
  • Move to async gradually without changing APIs.

Roadmap

  • ✅ hello() demo function with dual sync/async support.
  • 🚧 Core utilities for running coroutines from sync code.
  • 🚧 Async helpers for finesql (database operations).
  • 🚧 Integration with fynor (web framework).

License

This project is licensed under the MIT License.

Metadata

Release files for fineio 0.0.1a2

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

Source distribution (sdist)

Source distribution for fineio 0.0.1a2
File Size Uploaded
fineio-0.0.1a2.tar.gz 3.6 kB Details

Built distribution (wheel)

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

Total release size: 7.9 kB

Release files / fineio-0.0.1a2.tar.gz

Download URL fineio-0.0.1a2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ed7d660ab7f54e076028fb291d4f3c9005ad8254dadda3abac5bf1df06183063
BLAKE2b-256 checksum
How to use checksums
f46b5337be4d21d4286c6f47c9dbe00f0537fba1b1d9ea1795e038bbd1ba6e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / fineio-0.0.1a2-py3-none-any.whl

Download URL fineio-0.0.1a2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e88f338d19951569af10080ea992d92aa253d74488e980665e242aafc3e126b7
BLAKE2b-256 checksum
How to use checksums
aadc67d79b54047725999eb376e689596350b40a287f22f13f90ca283a95bb0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.1a2 This release

2 release files

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