File: __init__.py

package info (click to toggle)
python-softlayer 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,508 kB
  • sloc: python: 57,195; makefile: 133; xml: 97; sh: 59
file content (43 lines) | stat: -rw-r--r-- 1,251 bytes parent folder | download | duplicates (2)
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
"""
    SoftLayer Python API Client
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SoftLayer API bindings

    Usage:

        >>> import SoftLayer
        >>> client = SoftLayer.create_client_from_env(username="username",
                                                      api_key="api_key")
        >>> resp = client.call('Account', 'getObject')
        >>> resp['companyName']
        'Your Company'

    :license: MIT, see LICENSE for more details.
"""
# pylint: disable=r0401,invalid-name,wildcard-import
# NOQA appears to no longer be working. The code might have been upgraded.
from SoftLayer import consts

from SoftLayer.API import *  # NOQA
from SoftLayer.managers import *  # NOQA
from SoftLayer.exceptions import *  # NOQA
from SoftLayer.auth import *  # NOQA
from SoftLayer.transports import *  # NOQA

__title__ = 'SoftLayer'
__version__ = consts.VERSION
__author__ = 'SoftLayer Technologies, Inc.'
__license__ = 'MIT'
__copyright__ = 'Copyright 2016 SoftLayer Technologies, Inc.'
__all__ = [   # noqa: F405
    'BaseClient',
    'IAMClient',
    'create_client_from_env',
    'Client',
    'BasicAuthentication',
    'SoftLayerError',
    'SoftLayerAPIError',
    'SoftLayerListResult',
    'API_PUBLIC_ENDPOINT',
    'API_PRIVATE_ENDPOINT',
]