diff --git a/README.md b/README.md index ee90f58..a3e0316 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,11 @@ Installation This section explains how to install the DCSO Portal Python SDK. You can get a copy and source on [GitHub](https://github.com/dcso/dcso-portal-python-sdk). +### From Python Package Index (PyPI) + + $ pip install -U dcso-portal-python-sdk + + ### Using Source Installation is done using `setup.py`: diff --git a/docs/dcso/glosom/constants.html b/docs/dcso/glosom/constants.html index d39018f..5f9acc0 100644 --- a/docs/dcso/glosom/constants.html +++ b/docs/dcso/glosom/constants.html @@ -143,7 +143,7 @@

Index

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/glosom/glosom.html b/docs/dcso/glosom/glosom.html index 335ee09..2966658 100644 --- a/docs/dcso/glosom/glosom.html +++ b/docs/dcso/glosom/glosom.html @@ -446,7 +446,7 @@

DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/glosom/index.html b/docs/dcso/glosom/index.html index 2d470ff..88d7068 100644 --- a/docs/dcso/glosom/index.html +++ b/docs/dcso/glosom/index.html @@ -91,7 +91,7 @@

Index

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/index.html b/docs/dcso/index.html index cd0123c..edeea4d 100644 --- a/docs/dcso/index.html +++ b/docs/dcso/index.html @@ -71,7 +71,7 @@

Index

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/abstracts.html b/docs/dcso/portal/abstracts.html index bf1da97..3fbd4a6 100644 --- a/docs/dcso/portal/abstracts.html +++ b/docs/dcso/portal/abstracts.html @@ -161,7 +161,7 @@

Instance variables

Methods

-def execute_graphql(self, query: str, variables: Union[dict, NoneType] = None, fragments: Union[List[str], NoneType] = None) ‑>  +def execute_graphql(self, query: str, variables: Union[dict, NoneType] = None, fragments: Union[List[str], NoneType] = None) ‑> 
@@ -245,7 +245,7 @@

DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/api.html b/docs/dcso/portal/api.html index 4b9eff6..8cbbab2 100644 --- a/docs/dcso/portal/api.html +++ b/docs/dcso/portal/api.html @@ -401,7 +401,7 @@

Methods

-def execute_graphql(self, query: str, variables: Union[dict, NoneType] = None, fragments: Union[List[str], NoneType] = None) ‑>  +def execute_graphql(self, query: str, variables: Union[dict, NoneType] = None, fragments: Union[List[str], NoneType] = None) ‑> 

Executes the GraphQL query and returns response as namedtuple. This @@ -596,7 +596,7 @@

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/auth/auth.html b/docs/dcso/portal/auth/auth.html index d6316fd..541fa16 100644 --- a/docs/dcso/portal/auth/auth.html +++ b/docs/dcso/portal/auth/auth.html @@ -721,7 +721,7 @@

DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/auth/index.html b/docs/dcso/portal/auth/index.html index ce79a41..17c8f80 100644 --- a/docs/dcso/portal/auth/index.html +++ b/docs/dcso/portal/auth/index.html @@ -98,7 +98,7 @@

Index

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/auth/rbac.html b/docs/dcso/portal/auth/rbac.html index 003be7d..5300704 100644 --- a/docs/dcso/portal/auth/rbac.html +++ b/docs/dcso/portal/auth/rbac.html @@ -480,7 +480,7 @@

DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/auth/token.html b/docs/dcso/portal/auth/token.html index 3c2e35d..6787a22 100644 --- a/docs/dcso/portal/auth/token.html +++ b/docs/dcso/portal/auth/token.html @@ -288,7 +288,7 @@

DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/exceptions.html b/docs/dcso/portal/exceptions.html index b7f1ffd..1a60de7 100644 --- a/docs/dcso/portal/exceptions.html +++ b/docs/dcso/portal/exceptions.html @@ -260,7 +260,7 @@

DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/index.html b/docs/dcso/portal/index.html index 5d39b85..84b741c 100644 --- a/docs/dcso/portal/index.html +++ b/docs/dcso/portal/index.html @@ -29,7 +29,7 @@

Module dcso.portal

which need to interact with the DCSO Portal.

Installation

To install the latest DCSO Portal SDK using pip:

-
$ pip install dcso-portal-sdk
+
$ pip install dcso-portal-python-sdk
 

We advise to use a Virtual Environment when testing/developing.

Alternatively, you can can download or clone the DCSO Portal SDK from @@ -211,7 +211,7 @@

Index

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/util/graphql.html b/docs/dcso/portal/util/graphql.html index f36b4b8..facae11 100644 --- a/docs/dcso/portal/util/graphql.html +++ b/docs/dcso/portal/util/graphql.html @@ -214,7 +214,7 @@

Module dcso.portal.util.graphql

Functions

-def graphql_data_to_namedtuple(mapping: dict, name: str = 'data') ‑>  +def graphql_data_to_namedtuple(mapping: dict, name: str = 'data') ‑> 

Transforms GraphQL response data and returns it as a namedtuple.

@@ -629,7 +629,7 @@

Methods

Methods

-def execute(self) ‑>  +def execute(self) ‑> 

Executes the GraphQL request returning response as a namedtuple.

@@ -835,7 +835,7 @@

DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/util/index.html b/docs/dcso/portal/util/index.html index 29012bf..244bdb4 100644 --- a/docs/dcso/portal/util/index.html +++ b/docs/dcso/portal/util/index.html @@ -97,7 +97,7 @@

Index

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/util/networking.html b/docs/dcso/portal/util/networking.html index 0b26c2e..1340ca0 100644 --- a/docs/dcso/portal/util/networking.html +++ b/docs/dcso/portal/util/networking.html @@ -177,7 +177,7 @@

Index

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/docs/dcso/portal/util/temporal.html b/docs/dcso/portal/util/temporal.html index 1ed2165..c62a00a 100644 --- a/docs/dcso/portal/util/temporal.html +++ b/docs/dcso/portal/util/temporal.html @@ -404,7 +404,7 @@

Index

Copyright (c) 2020, DCSO Deutsche Cyber-Sicherheitsorganisation GmbH

-

v0.1.0-beta1

+

v1.0.0-beta2

diff --git a/lib/dcso/portal/README.md b/lib/dcso/portal/README.md index c0bfd0e..358d31b 100644 --- a/lib/dcso/portal/README.md +++ b/lib/dcso/portal/README.md @@ -7,7 +7,7 @@ Installation To install the latest DCSO Portal SDK using pip: - $ pip install dcso-portal-sdk + $ pip install dcso-portal-python-sdk We advise to use a Virtual Environment when testing/developing. diff --git a/lib/dcso/portal/_version.py b/lib/dcso/portal/_version.py index 293f4ae..a1854a7 100644 --- a/lib/dcso/portal/_version.py +++ b/lib/dcso/portal/_version.py @@ -1,3 +1,3 @@ # Copyright (c) 2021, DCSO GmbH -__version__ = "1.0.0-beta1" +__version__ = "1.0.0-beta2" diff --git a/setup.py b/setup.py index 2e416d8..d23034d 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright (c) 2020, DCSO GmbH +# Copyright (c) 2020, 2021, DCSO GmbH import os import sys @@ -11,24 +11,29 @@ from lib.dcso.portal._version import __version__ # nopep8 allowing import here +with open(os.path.join(os.path.abspath(curr_wd), 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup(name='dcso_portal_python_sdk', version=__version__, description="DCSO Portal SDK", + long_description=long_description, + long_description_content_type='text/markdown', author='DCSO GmbH', author_email='portal-support@dcso.de', - url="https://dcso.de", + url="https://dcso.github.io/dcso-portal-python-sdk/dcso/portal/", package_dir={'': 'lib'}, packages=find_namespace_packages(where='lib'), license='MIT License', license_files=['LICENSE.txt'], platforms=['Any'], classifiers=[ - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", - "Operating System :: OS Independent", - "Development Status :: 3 - Alpha", - "License :: OSI Approved :: MIT License", - "Topic :: Software Development", - "Topic :: Software Development :: Version Control :: Git", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.7", + "Operating System :: OS Independent", + "Development Status :: 4 - Beta", + "License :: OSI Approved :: MIT License", + "Topic :: Software Development", + "Topic :: Software Development :: Version Control :: Git", ], )