{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"}],"enrichment":{"capability":"Syncer converts async functions to synchronous callables, allowing you to run coroutines synchronously without manually managing event loops.","skillfed_tags":["async-testing","event-loop-management"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"syncer","links":{"html":"https://skillfed.io/packages/syncer","md":"https://skillfed.io/packages/syncer.md","pypi":"https://pypi.org/project/syncer/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-05-08","license_spdx":null,"license_treatment":"permissive","name":"syncer","python_support":"unspecified","summary":"Async to sync converter"},"popularity":{"monthly_downloads":450114,"position":6593,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.3"}
