eval async code from sync
Project description
async-eval
from async_eval import eval
async def foo() -> int:
return 10
print(eval("await foo()"))
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
async_eval-0.3.1.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file async_eval-0.3.1.tar.gz
.
File metadata
- Download URL: async_eval-0.3.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16dd640526ede361ad98d05df54fdbcd8a01300e28246a7bb05a00c378fffcfc |
|
MD5 | 68844ce27f7cf73e91ec61ad2370bce1 |
|
BLAKE2b-256 | b04da5db06105074d2b2143159db475e41ff193b1fb9dc165e135be192c14973 |
File details
Details for the file async_eval-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: async_eval-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 617e349fe829e66969bf40684e54a5a7db34b451e38b6db34a6488ec6c2034b0 |
|
MD5 | 23af36284567155cb73ff85f2ad1d0c9 |
|
BLAKE2b-256 | fbd129a08f97d3d6195cfab220e6579ea46cc1c8d1d96076fffb29fbb00a6638 |