We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c04da3 commit c98912fCopy full SHA for c98912f
CHANGELOG.md
@@ -6,15 +6,13 @@ v1.6.0 (2021-06-29)
6
-------------------
7
**Improvements**
8
- `Session` now supports authorization using OAuth2 tokens. Use the `token=` parameter in the constructor when
9
- an existing access token token is known. Alternatively, ommitting the `username=` and `password=` parameters
+ an existing access token token is known. Alternatively, omitting the `username=` and `password=` parameters
10
will now prompt the user for an auth code.
11
12
**Changes**
13
- `current_session` now stores & returns the *most recently created* session, not the first created session. This
14
was done to alleviate quirks where an old, expired session is implicitly used instead of a newly-created session.
15
-
16
- Removed deprecated `raw=` parameter from `sasctl.core.request()`.
17
18
- Dropped support for Python 2.
19
20
README.md
@@ -10,7 +10,7 @@
</a>
<a href="https://www.python.org/">
- <img src="https://img.shields.io/badge/Python-2.7%20%7C%203.4%2B-blue.svg" alt="Python Version">
+ <img src="https://img.shields.io/badge/Python-3.5%2B-blue.svg" alt="Python Version">
<img src="https://travis-ci.com/sassoftware/python-sasctl.svg?branch=master">
@@ -20,6 +20,17 @@
21
###### Full documentation: https://sassoftware.github.io/python-sasctl
22
23
+# Table of Contents
24
+1. [Overview](#overview)
25
+2. [Prerequisites](#prerequisites)
26
+3. [Installation](#nstallation)
27
+4. [Getting Started](#getting-started)
28
+5. [Examples](#examples)
29
+6. [Contributing](#contributing)
30
+7. [License](#license)
31
+8. [Additional Resources](additional-resources)
32
+
33
34
## Overview
35
36
The sasctl package enables easy communication between the SAS Viya
setup.py
@@ -26,7 +26,7 @@ def get_file(filename):
setup(
name='sasctl',
- description='SAS Viya REST Client',
+ description='SAS Viya Python Client',
long_description=get_file('README.md'),
long_description_content_type='text/markdown',
version=read_dunder('version'),
@@ -67,13 +67,11 @@ def get_file(filename):
67
'Intended Audience :: Science/Research',
68
'Intended Audience :: Developers',
69
'Programming Language :: Python',
70
- 'Programming Language :: Python :: 2',
71
- 'Programming Language :: Python :: 2.7',
72
'Programming Language :: Python :: 3',
73
- 'Programming Language :: Python :: 3.4',
74
'Programming Language :: Python :: 3.5',
75
'Programming Language :: Python :: 3.6',
76
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
77
'Topic :: Software Development',
78
'Topic :: Scientific/Engineering',
79
'Operating System :: OS Independent'
src/sasctl/__init__.py
@@ -13,14 +13,7 @@
'Cary, NC, USA. All Rights Reserved.'
import logging
-import sys
-if sys.version_info < (3, ):
- from warnings import warn
- warn('You are using Python %d.%d which was officially sunset on January 1st, 2020. '
- 'sasctl will drop support for Python 2 in a future release. '
- 'Please upgrade to a current version of Python to continue using sasctl.' % (sys.version_info.major, sys.version_info.minor),
- UserWarning, 2)
from .core import current_session, delete, get, get_link, platform_version, post, put, request_link
from .core import RestObj, Session, HTTPError
0 commit comments