$npx skillfedfor your agent

unsync

Unsynchronize asyncio

With conditionsPyPI Application FrameworksReleased Oct 202177.3K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — unsync-1.4.0.tar.gz · builds from source
v1.4.0 · released 2021-10-21

Yes, with conditions. The library solves a real problem—bridging async and sync code without boilerplate—and carries no security vulnerabilities or licensing concerns. However, dormancy since 2021-10-21 and unspecified Python version support mean you should verify compatibility with your target Python version before committing. Best suited for projects that need to integrate legacy synchronous libraries into async codebases and can tolerate a stable but unmaintained dependency.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • High install friction with no runtime dependencies.
  • Package is dormant—last release was 2021-10-21, though the repository remains active with a recent commit on 2025-01-09.
  • Maintenance status suggests the library is stable but not actively developed.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions. No licensing concerns for adoption.

last release 2021-10-21 (1758 days) · last repo commit 2025-01-09 · 900 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,296 downloads/mo, #14,539 on PyPI

Verify before relying

from unsync import unsync
import asyncio

@unsync
async def my_async_task():
    await asyncio.sleep(1)
    return 'done'

result = my_async_task().result()  # Blocks until complete
  • Compatibility with modern Python versions not specified in fact sheet.
  • Whether the library works correctly with current asyncio implementations and event loop policies.
  • Performance characteristics and scalability limits for large numbers of concurrent tasks.
Same gist for agents: .md · .json

What it is and what it does

unsync is a decorator library that abstracts away the complexity of mixing async and synchronous code by automatically managing execution contexts. When you decorate an async function with @unsync, it runs in a background event loop managed by the library; when you decorate a regular function, it runs in a thread pool by default or a process pool if marked cpu_bound=True. All decorated functions return Unfuture objects—a hybrid future type that behaves like both asyncio.Future and concurrent.futures.Future, and can be awaited or blocked on with .result().

The library is useful when you have synchronous code that doesn't support asyncio (like blocking I/O libraries) but want to run it concurrently alongside async code, or when you want to avoid writing boilerplate event loop setup. It supports chaining operations with .then(), mixing sync and async functions in pipelines, and custom event loop policies like uvloop. The main tradeoff is that you lose explicit control over the event loop and thread/process management—the library handles it implicitly.

Use it for

  • Run blocking I/O operations (file reads, network calls to non-async libraries) concurrently without rewriting them as async.
  • Execute CPU-bound work in a separate process while keeping async code responsive in the main thread.
  • Chain async and sync operations together using .then() without manually managing futures or callbacks.
  • Simplify migration of synchronous codebases by decorating functions without restructuring control flow.
  • Avoid event loop boilerplate when mixing asyncio with libraries that only support threading or multiprocessing.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The library solves a real problem—bridging async and sync code without boilerplate—and carries no security vulnerabilities or licensing concerns. However, dormancy since 2021-10-21 and unspecified Python version support mean you should verify compatibility with your target Python version before committing. Best suited for projects that need to integrate legacy synchronous libraries into async codebases and can tolerate a stable but unmaintained dependency.

Install

unsync on PyPI

Before you install

High install friction with no runtime dependencies. Package is dormant—last release was 2021-10-21, though the repository remains active with a recent commit on 2025-01-09. Maintenance status suggests the library is stable but not actively developed.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions. No licensing concerns for adoption.

Quickstart

from unsync import unsync
import asyncio

@unsync
async def my_async_task():
    await asyncio.sleep(1)
    return 'done'

result = my_async_task().result()  # Blocks until complete

Verify before relying

  • Compatibility with modern Python versions not specified in fact sheet.
  • Whether the library works correctly with current asyncio implementations and event loop policies.
  • Performance characteristics and scalability limits for large numbers of concurrent tasks.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 1,758 days since the last release
Last repo commit
First released
Downloads77,296 / month, #14,539 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: unsync-1.4.0.tar.gz

Tags

Capabilities
asyncio decoratorthread pool executor decoratorasync without event loopconcurrent futures wrapperbackground task decoratorasync function decoratorthread pool async
Topics
asyncio-wrapperconcurrency-abstraction

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 › “concurrent futures wrapper”

  • unsyncDecorator-based library that runs async functions in an ambient event…
  • pqdmpqdm wraps tqdm and concurrent.futures to parallelize iteration over…
  • futuresBackport of Python 3's concurrent.futures module to Python 2.6 and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also multitasking · synchronicity · threaded · futurist · duet · uvloop · txaio · Flask-Executor · requests-futures · nest-asyncio