semvec/pypi-packages huggingface dataset:
cython-setuptools 0.2.3
Cython setuptools integration
Keywords: cython setuptools

# cython-setuptools
[![Build Status](https://travis-ci.org/flupke/cython-setuptools.svg?branch=master)](https://travis-ci.org/flupke/cython-setuptools)

Easier distribution and development of Cython modules.

Features:

* Two distribution models: with C/C++ files included in the package, and
  without
* Cython modules are defined in `setup.cfg`
* Install directly from Cython sources, without installing Cython in the target
  environment (Cython is only included in `install_requires`)

## Installation

```shell
$ pip install cython-setuptools
```

## Usage

Here is an example Python package using the default distribution model (only
Cython files are included in the source package).

First install the `cython-setuptools` vendor module in the package, next to
`setup.py`.

```shell
$ cd your-python-project/
$ cython-setuptools install
```

Then use `cython-setuptools`' `setup()` in your `setup.py`:

```python
from cysetuptools import setup

setup()
```

Note that we keep the default `cythonize=True` argument of `setup()` here,
meaning that C files are compiled from Cython files automatically.
`setup(cythonize=False)` would mean we would need to distribute the C/C++ files
compiled from Cython in the source package.

Define your Cython modules in `setup.cfg`.

```ini
[metadata]
name = your-python-project
version = 1.0

[options]
packages = find:
install_requires = cython

[options.extras_require]
dev = cython

[cython-defaults]
include_dirs = include/

[cython-module: foo.bar]
sources = foo.pyx
          bar.cpp
include_dirs = eval(__import__('numpy').get_include())
language = c++
pkg_config_packages = opencv
```

Then your Cython modules can be compiled and tested in-place with:

```shell
$ python setup.py build_ext --inplace
```

This automatically compile outdated Cython files. If `setup(cythonize=False)`
is used, you have to specifically tell the setup to recompile outdated Cython
files:

```shell
$ CYTHONIZE=1 python setup.py build_ext --inplace
```
python-rsdclient 1.0.2
OpenStack client plugin for Rack Scale Design

================
python-rsdclient
================

OpenStack client plugin for Rack Scale Design

This is a client for the `RSD
<https://www.intel.com/content/www/us/en/architecture-and-technology/rack-scale-design-overview.html>`_
Pod Manager API, which is based on OpenStack client framework. It provides a
Python API (``rsdclient/v1`` module) and a RSD specific plugin for
OpenStack client (``rsdclient/osc``).

Development takes place via the usual OpenStack processes as outlined in the
`developer guide <https://docs.openstack.org/infra/manual/developers.html>`_. The master
repository is on `git.openstack.org
<https://git.openstack.org/cgit/openstack/python-rsdclient>`_.

* Free software: Apache license
* Source: http://git.openstack.org/cgit/openstack/python-rsdclient
* Bugs: https://launchpad.net/python-rsdclient


.. contents:: Contents:
   :local:

Installation
------------

To use ``openstack rsd`` CLI, the python-openstackclient and python-rsdclient
should be installed::

    # pip install python-openstackclient
    # pip install python-rsdclient

To use the CLI, it requires two parts of configuration, OpenStack and RSD login
info.

At first, you have to provide your OpenStack username, password,
project, and auth endpoint. You can use configuration options
``--os-username``, ``--os-password``, ``--os-project-id``
(or ``--os-project-name``), and ``--os-auth-url``,
or set the corresponding environment variables::

    $ export OS_USERNAME=user
    $ export OS_PASSWORD=password
    $ export OS_PROJECT_NAME=project                         # or OS_PROJECT_ID
    $ export OS_PROJECT_DOMAIN_ID=default
    $ export OS_USER_DOMAIN_ID=default
    $ export OS_IDENTITY_API_VERSION=3
    $ export OS_AUTH_URL=http://auth.example.com:5000/identity

Then, you have to provide your RSD username, password,
SSL certificate with admin privilege, and pod manager URL. You can use
configuration options ``--rsd-username``, ``--rsd-password``, ``--rsd-verify``,
and ``--rsd-url``, or set the corresponding environment variables::

    $ export RSD_USERNAME=admin
    $ export RSD_PASSWORD=password
    $ export RSD_VERIFY=False     # or RSD_VERIFY=<path to SSL certificate>
    $ export RSD_URL=https://localhost:8443/

OpenStackClient RSD Plugin
--------------------------

To get a list of available (sub)commands and options, run::

    $ openstack help rsd

To get usage and options of a command, run::

    $ openstack help rsd <sub-command>

An example of composing a node only with name::

    $ openstack rsd node compose --name "testing node"