Skip to content

Commit c98912f

Browse files
committed
formatting & cleanup
1 parent 1c04da3 commit c98912f

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ v1.6.0 (2021-06-29)
66
-------------------
77
**Improvements**
88
- `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
9+
an existing access token token is known. Alternatively, omitting the `username=` and `password=` parameters
1010
will now prompt the user for an auth code.
1111

1212
**Changes**
1313
- `current_session` now stores & returns the *most recently created* session, not the first created session. This
1414
was done to alleviate quirks where an old, expired session is implicitly used instead of a newly-created session.
15-
1615
- Removed deprecated `raw=` parameter from `sasctl.core.request()`.
17-
1816
- Dropped support for Python 2.
1917

2018

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</a>
1111
1212
<a href="https://www.python.org/">
13-
<img src="https://img.shields.io/badge/Python-2.7%20%7C%203.4%2B-blue.svg" alt="Python Version">
13+
<img src="https://img.shields.io/badge/Python-3.5%2B-blue.svg" alt="Python Version">
1414
</a>
1515

1616
<img src="https://travis-ci.com/sassoftware/python-sasctl.svg?branch=master">
@@ -20,6 +20,17 @@
2020

2121
###### Full documentation: https://sassoftware.github.io/python-sasctl
2222

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+
2334
## Overview
2435

2536
The sasctl package enables easy communication between the SAS Viya

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_file(filename):
2626

2727
setup(
2828
name='sasctl',
29-
description='SAS Viya REST Client',
29+
description='SAS Viya Python Client',
3030
long_description=get_file('README.md'),
3131
long_description_content_type='text/markdown',
3232
version=read_dunder('version'),
@@ -67,13 +67,11 @@ def get_file(filename):
6767
'Intended Audience :: Science/Research',
6868
'Intended Audience :: Developers',
6969
'Programming Language :: Python',
70-
'Programming Language :: Python :: 2',
71-
'Programming Language :: Python :: 2.7',
7270
'Programming Language :: Python :: 3',
73-
'Programming Language :: Python :: 3.4',
7471
'Programming Language :: Python :: 3.5',
7572
'Programming Language :: Python :: 3.6',
7673
'Programming Language :: Python :: 3.7',
74+
'Programming Language :: Python :: 3.8',
7775
'Topic :: Software Development',
7876
'Topic :: Scientific/Engineering',
7977
'Operating System :: OS Independent'

src/sasctl/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,7 @@
1313
'Cary, NC, USA. All Rights Reserved.'
1414

1515
import logging
16-
import sys
1716

18-
if sys.version_info < (3, ):
19-
from warnings import warn
20-
warn('You are using Python %d.%d which was officially sunset on January 1st, 2020. '
21-
'sasctl will drop support for Python 2 in a future release. '
22-
'Please upgrade to a current version of Python to continue using sasctl.' % (sys.version_info.major, sys.version_info.minor),
23-
UserWarning, 2)
2417

2518
from .core import current_session, delete, get, get_link, platform_version, post, put, request_link
2619
from .core import RestObj, Session, HTTPError

0 commit comments

Comments
 (0)