/usr/lib/python2.7/dist-packages/pylxd-2.0.0.0b1.egg-info/PKG-INFO is in python-pylxd 2.0.0~b1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | Metadata-Version: 1.1
Name: pylxd
Version: 2.0.0.0b1
Summary: python library for lxd
Home-page: http://www.linuxcontainers.org
Author: Chuck Short
Author-email: chuck.short@canonical.com
License: UNKNOWN
Description: # pylxd [![Build Status](https://travis-ci.org/lxc/pylxd.svg?branch=master)](https://travis-ci.org/lxc/pylxd)
A Python library for interacting with the LXD REST API.
## Getting started with pylxd
If you're running on Ubuntu Wily or greater:
sudo apt-get install python-pylxd lxd
otherwise you can track LXD development on other Ubuntu releases:
sudo add-apt-repository ppa:ubuntu-lxc/lxd-git-master && sudo apt-get update
sudo apt-get install lxd
and install pylxd using pip:
pip install pylxd
## First steps
Once you have pylxd installed, you're ready to start interacting with LXD:
```python
import uuid
from pylxd import api
# Let's pick a random name, avoiding clashes
CONTAINER_NAME = str(uuid.uuid1())
lxd = api.API()
try:
lxd.container_defined(CONTAINER_NAME)
except Exception as e:
print("Container does not exist: %s" % e)
config = {'name': CONTAINER_NAME,
'source': {'type': 'none'}}
lxd.container_init(config)
if lxd.container_defined(CONTAINER_NAME):
print("Container is running")
else:
print("Whoops - please report a bug!")
containers = lxd.container_list()
for x in containers:
lxd.container_destroy(x)
```
## Bug reports
Bug reports can be filed at https://github.com/lxc/pylxd/issues/new
## Support and discussions
We use the LXC mailing-lists for developer and user discussions, you can
find and subscribe to those at: https://lists.linuxcontainers.org
If you prefer live discussions, some of us also hang out in
[#lxcontainers](http://webchat.freenode.net/?channels=#lxcontainers) on irc.freenode.net.
Platform: UNKNOWN
Classifier: Environment :: OpenStack
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
|