semvec/pypi-packages huggingface dataset:
carboncopy 0.0.1
A small CLI utility to keep your repositories up-to-date with their templates
License: MIT
Requires Python: >=3.6

# carboncopy

Keep your repositories up-to-date with their templates in a few keystrokes.

## ❓ Why `carboncopy`?

[Github Template Repositories](https://github.blog/2019-06-06-generate-new-repositories-with-repository-templates/) made it really easy to skip project boilerplate setup steps and to produce "new project kits" that ensure that all your (or your organization's) new projects have all the must-haves. Problem is, templates aren't set in stone and it's likely that templates get updated after some projects have been spawned from it.

Because template repositories are different than forks, you can't simply rebase your project to gulp in the latest templated goodies -- leaving you with the gnarly task of manually moving files over. No more.

With `carboncopy`, you are one command away from pulling in the latest changes from your template repositories as if it were a regular base branch. You can configure it via its RC file to ignore certain files from the template, and more!

## �� Installation

As it is not yet published on `PyPi`, you can simply clone this repository and use `pip install <path>` to install it in your local environment.

## �� Usage

From your repository, simply type `carboncopy` in your terminal to bring up a prompt asking you what to pull from your template repository. __Any change made is left as an unstaged change so you can commit and merge it however you want.__

## ⚙ Configuration

You can configure the way `carboncopy` handles your template's contents by creating a `.carboncopyrc` file at the root of your repository. Documentation TBD. See `src/carboncopy/config_defaults.py` for general layout.
aio-executor 0.2.0
A concurrent.futures.Executor implementation that runs asynchronous tasks in an asyncio event loop.
License: MIT
Requires Python: >=3.7

# aio-executor

[![Build Status](https://travis-ci.org/miguelgrinberg/aio-executor.svg?branch=master)](https://travis-ci.org/miguelgrinberg/aio-executor)

A concurrent.futures.Executor implementation that runs asynchronous tasks in an asyncio loop.

Example usage:

```python
from aio_executor import AioExecutor

async def my_async_function(arg):
    # ...

with AioExecutor() as aioexec:
    # single invocation
    f = aioexec.submit(my_async_function, 'foo')
    result = f.result()

    # multiple concurrent invocations using "map"
    results = aioexec.map(my_async_function, ['foo', 'bar', 'baz'])
```

As a convenience, a `run_with_asyncio` decorator is also provided. This
decorator runs the decorated async function in a `AioExecutor` instance.

The example below shows how to implement an async view function for the Flask
framework using this decorator:

```python
@app.route('/')
@run_with_asyncio
async def index():
    return await get_random_quote()
```

How to Install
--------------

```
pip install aio-executor
```