semvec/pypi-packages huggingface dataset:
os-xenapi 0.3.4
XenAPI library for OpenStack projects

=========
os-xenapi
=========

XenAPI library for OpenStack projects

This library provides the support functions needed to connect to and manage a XenAPI-based
hypervisor, such as Citrix's XenServer.

* Free software: Apache license
* Source: http://git.openstack.org/cgit/openstack/os-xenapi
* Bugs: http://bugs.launchpad.net/os-xenapi
* Install Devstack on XenServer: https://github.com/openstack/os-xenapi/blob/master/tools/README.rst

Features
--------

The following features are supported since 0.3.1:

* VDI streaming
  It will allow the library user to create XenServer VDI from a gzipped
  image data stream; or create gzipped image data stream from a specified
  XenServer VDI. By comparing to the existing dom0 glance plugin, the
  image data gets processed on the fly via streams. So it doesn't create
  intermediate files. And it completely uses the formal VDI import or
  export APIs when it exchanges VDI data with XenServer.

* XAPI pool
  With this feature, we can deploy OpenStack on hosts which belong to a
  XAPI pool, so that we can get the benefits from XAPI pool features:
  e.g. it's able to live migrate instance between two hosts without
  moving the disks on shared storage.

The following features are supported since 0.3.2:

* Bootstrap compute node via a single command
  Now we can support to boostrap an OpenStack compute node by running the
  command of ``xenapi_bootstrap`` from a VM which is running on XenServer.
  At the moment, only CentOS 7.x is supported.
ratelimitqueue 0.2.2
A thread safe, rate limited queue.
Requires Python: >=3.4

![Build Status](https://travis-ci.com/JohnPaton/ratelimitqueue.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/JohnPaton/ratelimitqueue/badge.svg)](https://coveralls.io/github/JohnPaton/ratelimitqueue) [![Documentation Status](https://readthedocs.org/projects/ratelimitqueue/badge/?version=latest)](https://ratelimitqueue.readthedocs.io/en/latest/?badge=latest)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

# RateLimitQueue

A rate limited wrapper for Python's thread safe queues.

Some external APIs have rate limits that allow faster-than-consecutive queries, e.g. if the rate limit is very high or the API response is quite slow. To make the most of the API, the best option is often to make API calls from multiple threads. Then you can put the requests or URLs to call in a `queue.Queue` and have the threads consume the URLs as they make the calls. However, you still have to make sure that the total calls from all your threads don't exceed the rate limit, which requires some nontrivial coordination. 

The `ratelimitqueue` package extends the three built-in Python queues from from `queue` package - `Queue`, `LifeQueue`, and `PriorityQueue` - with configurable, rate limited counterparts. Specifically, the `get()` method is rate limited across all threads so that workers can safely consume from the queue in an unlimited loop, and putting the items in the queue doesn't need to require blocking the main thread.

## Installation

To get started, install it with `pip`:

```bash
pip install ratelimitqueue
```

<!-- ## Basic Usage

The most basic usage is to rate limit calls in the main thread -->