GitXplorerGitXplorer
r

anysync

public
5 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
d38a54b41ebf4e2ef5f3701698ae566322c61797

minor doc fixes (#19)

rrmorshea committed 5 days ago
Verified
b15c29c2e8c5f5df110ef9f113f4e99022ca52b2

remove broken badge (#18)

rrmorshea committed 5 days ago
Verified
b5b217ecfd8e5eca364315969467f55f10586df7

fix section headers (#17)

rrmorshea committed 5 days ago
Verified
4ff13bac98f6098827986e8764e9210739d5eabe

export wrap funcs (#16)

rrmorshea committed 5 days ago
Verified
35078c1001d6778f25bf9f3e71319b9e77239019

fix license file (#15)

rrmorshea committed 5 days ago
Verified
a43e7f972f479669bd310dc8f36ca2ecc7ec6491

use template + add public wrap funcs (#14)

rrmorshea committed 5 days ago

README

The README file for this repository.

AnySync

PyPI - Version License: MIT

A lightweight library for allowing async functions to be called in a synchronous manner.

import asyncio
from anysync import anysync


@anysync
async def f():
    return 42


assert f().run() == 42


async def main():
    assert await f() == 42


asyncio.run(main())

Just pip install anysync and you're good to go!

Documentation

For more information, please see the documentation.