syncer
Async to sync converter
Decision gist · record as of 2026-08-14
Yes, if you need to run async code synchronously in tests or legacy code. The package is simple, has no dependencies, and carries no security vulnerabilities. However, the dormant maintenance status (last release over a year ago) means you should verify it works with your Python version and be prepared to fork or find alternatives if asyncio internals change significantly in future Python releases.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- High install friction with no runtime dependencies.
- The package is dormant—last release was 2023-05-08, over a year ago, with no commits since 2023-11-08.
- It remains marked Production/Stable and supports Python 3.8–3.11, but the long inactivity means maintenance risk if Python or asyncio internals shift.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) imposes no restrictions on use, modification, or distribution in your own projects.
last release 2023-05-08 (1194 days) · last repo commit 2023-11-08 · 77 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 450,114 downloads/mo, #6,593 on PyPI
Alternatives
Verify before relying
from syncer import sync
async def async_fun():
return 1
b = sync(async_fun) # convert to synchronous
result = b() # call synchronously- Whether the package works correctly with Python 3.12+ or newer asyncio implementations.
- Current state of the GitHub repository and whether maintainer is responsive to issues.
What it is and what it does
Syncer is a lightweight utility that wraps async functions and coroutines to run them synchronously, eliminating the need to call asyncio.get_event_loop().run_until_complete() directly. It has no runtime dependencies and works by managing the event loop internally.
The package is most useful in testing scenarios where you need to call async code from synchronous test functions or decorators, or when you have a synchronous codebase that needs to consume async libraries. It can be used as a decorator or called directly on a coroutine to get its result synchronously.
Use it for
- Run async test functions synchronously in unittest or pytest without rewriting test infrastructure.
- Call async library functions from synchronous code without manually managing event loops.
- Decorate async test methods to make them compatible with synchronous test runners.
- Evaluate coroutines in a REPL or script without boilerplate event loop setup.
- Integrate async code into legacy synchronous applications during migration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to run async code synchronously in tests or legacy code.
The package is simple, has no dependencies, and carries no security vulnerabilities. However, the dormant maintenance status (last release over a year ago) means you should verify it works with your Python version and be prepared to fork or find alternatives if asyncio internals change significantly in future Python releases.
Install
syncer on PyPI
Before you install
High install friction with no runtime dependencies. The package is dormant—last release was 2023-05-08, over a year ago, with no commits since 2023-11-08. It remains marked Production/Stable and supports Python 3.8–3.11, but the long inactivity means maintenance risk if Python or asyncio internals shift.
License in practice
MIT license (permissive) imposes no restrictions on use, modification, or distribution in your own projects.
Quickstart
from syncer import sync
async def async_fun():
return 1
b = sync(async_fun) # convert to synchronous
result = b() # call synchronously
Verify before relying
- Whether the package works correctly with Python 3.12+ or newer asyncio implementations.
- Current state of the GitHub repository and whether maintainer is responsive to issues.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Dormant 1,194 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 450,114 / month, #6,593 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: syncer-2.0.3.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “async to sync converter”
- syncerSyncer converts async functions to synchronous callables, allowing…
- markdown-to-confluenceConverts Markdown files to Confluence Storage Format and publishes…
- unasyncTransforms asynchronous Python code into synchronous code during…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also threadloop · aiounittest · async-stripe · asgiref · synchronicity · async-property · asyncio-atexit · unsync · aioprocessing · asynctest