forked from onophris/Easy-Openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
119 lines (91 loc) · 3.59 KB
/
setup.py
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
"""
Setup file for this module
"""
from setuptools import setup
setup(
name='easy-openshift',
version='0.5.6.5',
packages=["easy_openshift"],
url='https://github.com/GoDllkE/python-api-openshift',
download_url=('https://github.com/GoDllkE/Easy-Openshift/archive/master.zip'),
description='A python module to interact with openshift API.',
author='Gustavo Toledo de Oliveira, Tiago Albuquerque',
author_email='[email protected], [email protected]',
keywords=[
'openshift',
'origin',
'easy-openshift',
'openshift api',
'python openshift',
'oc.py'
],
install_requires=[
'jsonschema>=2.6.0',
'json-rpc>=1.10.8',
'requests>=2.18.4',
],
classifiers=[
# Development status
'Development Status :: 3 - Alpha',
# Intention
'Intended Audience :: Developers',
# Os requirement
'Operating System :: OS Independent',
# License
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
# Languages
'Natural Language :: Portuguese (Brazilian)',
# Supported versions
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only'
],
project_urls={
'Source': 'https://github.com/GoDllkE/python-api-openshift',
'Documentation': 'https://github.com/GoDllkE/python-api-openshift/docs',
'Tracker': 'https://github.com/GoDllkE/python-api-openshift/issues'
},
long_description="""
Easy-Openshift
========================
This module has purpose to create easy and fast ways to communicate with the API/OAPI from Openshift, allowing the developer to create and manage their own data with their own way. Python is a great language and very well used for DevOps Automantions. With it, creating a Openshift module will easy many steps and automantions allowing a better infrastructure automation or management with great performance.
This version requires Python 3 or later; a Python 2 version is not available... yet.
Features
========================
- Handle openshift through your python script.
- Free to manage the data from openshift API on your own way.
- There's functions to manage it too, if you don't like the previous ideia.
- Simplify most of the openshift client functions to simple and unique interactions.
- Simple code, simple functions, simple management. Keep simple!
Installation
============
To install easy-openshift from PYPI:
.. code-block:: bash
$ pip install easy-openshift
To install easy-openshift manually (please download the source code from either
PYPI_ or Github_ first):
.. code-block:: bash
$ python setup.py install
Usage
========
To use easy-openshift, just import this module with:
.. code-block:: bash
$ from easy_openshift import openshift, openshift_utils
Then, create a instance of the class with the functionality you desire:
.. code-block:: bash
$ oc = openshift.Openshift()
or
.. code-block:: bash
$ oc = openshift_utils.OpenshiftTools()
After this, you will be able to use and explore all functionalities.
Enjoy!
Citing
======
Please cite the following paper if you use easy-openshift in a published work:
Gustavo Toledo, Tiago Abluquerque. "Easy-Openshift: Improving openshift auto-management through Python 3", 2018
.. _PYPI: https://pypi.python.org/pypi/Easy-Openshift
.. _Github: https://github.com/GoDllkE/python-api-openshift
"""
)