Skip to content

Commit 0f1305b

Browse files
authored
Merge pull request WebexCommunity#223 from WebexCommunity/v1.7
Release v1.7
2 parents a539c23 + af809f9 commit 0f1305b

File tree

132 files changed

+3533
-2491
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+3533
-2491
lines changed

.flake8

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ ignore =
1111
# W503 line break before binary operator
1212
W503,
1313
exclude =
14+
__pycache__,
1415
.git/,
1516
.idea/,
1617
.venv/,
1718
.vscode/,
18-
__pycache__,
1919
dist/,
2020
docs/conf.py,
21+
generator/templates/,
2122
venv/,
2223
versioneer.py,
2324
webexteamssdk/_version.py,

.ruff.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
line-length = 79
2+
3+
4+
extend-exclude = [
5+
"versioneer.py",
6+
"webexteamssdk/_version.py",
7+
"generator/**",
8+
]
9+
10+
[lint]
11+
# B: flake8-bugbear
12+
# Q: flake8-quotes
13+
extend-select = [ "B", "Q", "W" ]
14+
15+
ignore-init-module-imports = true
16+
ignore = [
17+
# E402 module level import not at top of file
18+
"E402",
19+
# F401 'builtins.*' imported but unused
20+
"F401",
21+
# F403 'from builtins import *' used; unable to detect undefined names
22+
"F403",
23+
# F405 'unicode' may be undefined, or defined from star imports: builtins
24+
"F405",
25+
]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2020 Cisco and/or its affiliates.
3+
Copyright (c) 2016-2024 Cisco and/or its affiliates.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ pytest = "*"
1414
flake8 = "*"
1515
twine = "*"
1616
ipython = "*"
17+
pyyaml = "*"

Pipfile.lock

Lines changed: 459 additions & 335 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.rst

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
11
=============
2-
WebexPythonSDK
2+
webexteamssdk
33
=============
44

55
*Work with the Webex APIs in native Python!*
66

77
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
8-
:target: https://github.com/CiscoDevNet/webexteamssdk/blob/master/LICENSE
8+
:target: https://github.com/WebexCommunity/WebexPythonSDK/blob/master/LICENSE
99
.. image:: https://img.shields.io/pypi/v/webexteamssdk.svg
1010
:target: https://pypi.org/project/webexteamssdk/
1111
.. image:: https://img.shields.io/pypi/dw/webexteamssdk.svg
1212
:target: https://pypi.org/project/webexteamssdk/
13-
.. image:: https://travis-ci.org/CiscoDevNet/webexteamssdk.svg?branch=master
14-
:target: https://travis-ci.org/CiscoDevNet/webexteamssdk
1513
.. image:: https://readthedocs.org/projects/webexteamssdk/badge/?version=latest
1614
:target: http://webexteamssdk.readthedocs.io/en/latest/?badge=latest
1715

1816
------------------------------------------------------------------------------------------------------------------------
1917

2018

21-
With release v1.6 we are wrapping up active development on the v1.x release and shifting our focus to the next major
22-
release v2! Please see the work-in-progress `Release Plan`_ and contribute your ideas for v2.x enhancements by either
23-
opening enhancement issues_ or by joining our
24-
`webexteamssdk - Webex Teams SDK - Python Community Contributors <https://eurl.io/#BJ0A8gfOQ>`_ space and posting your
25-
ideas there.
19+
**webexteamssdk** v1.7 will be the last 🤞 release of the `webexteamssdk` package. This will be the last release
20+
supporting Python v2 and v3 compatibility; it is compatible Python v3 releases *up to Python v3.10*.
21+
22+
Going forward, the `webexteamssdk` package will be replaced by the `WebexPythonSDK` package, which will support Python
23+
v3.10+.
2624

2725
------------------------------------------------------------------------------------------------------------------------
2826

2927

30-
**WebexPythonSDK** is a *community developed* Python library for working with the Webex APIs. Our goal is to make
28+
**webexteamssdk** is a *community developed* Python library for working with the Webex APIs. Our goal is to make
3129
working with Webex in Python a *native* and *natural* experience!
3230

3331
.. code-block:: Python
@@ -58,17 +56,17 @@ working with Webex in Python a *native* and *natural* experience!
5856
5957
6058
That's more than 6 Webex API calls in less than 23 lines of code (with comments and whitespace), and likely more
61-
than that, since WebexPythonSDK handles pagination_ for you automatically!
59+
than that, since webexteamssdk handles pagination_ for you automatically!
6260

63-
WebexPythonSDK makes your life better... `Learn how!`__
61+
webexteamssdk makes your life better... `Learn how!`__
6462

6563
__ Introduction_
6664

6765

6866
Features
6967
--------
7068

71-
WebexPythonSDK does all of this for you:
69+
webexteamssdk does all of this for you:
7270

7371
* Transparently sources your Webex access token from your local environment
7472

@@ -139,7 +137,7 @@ published releases.
139137
Questions, Support & Discussion
140138
-------------------------------
141139

142-
WebexPythonSDK is a *community developed* and *community-supported* project. If you experience any issues using this
140+
webexteamssdk is a *community developed* and *community-supported* project. If you experience any issues using this
143141
package, please report them using the issues_ page.
144142

145143
Please join the `Python Webex Teams Devs`__ Webex space to ask questions, join the discussion, and share your
@@ -151,7 +149,7 @@ __ Community_
151149
Contribution
152150
------------
153151

154-
WebexPythonSDK is a community development project. Feedback, thoughts, ideas, and code contributions are welcome!
152+
webexteamssdk is a community development project. Feedback, thoughts, ideas, and code contributions are welcome!
155153
Please see the `Contributing`_ guide for more information.
156154

157155

@@ -167,7 +165,7 @@ The development team may make additional name changes as the library evolves wit
167165
developer.webex.com.
168166

169167

170-
*Copyright (c) 2016-2020 Cisco and/or its affiliates.*
168+
*Copyright (c) 2016-2024 Cisco and/or its affiliates.*
171169

172170

173171
.. _Release Plan: https://github.com/CiscoDevNet/webexteamssdk/wiki/Release-Plans

docs/conf.py

Lines changed: 57 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -4,71 +4,69 @@
44
import sys
55

66

7-
sys.path.insert(0, os.path.abspath('..'))
7+
sys.path.insert(0, os.path.abspath(".."))
88

99

1010
from webexteamssdk._version import get_versions
1111

1212

13-
project = u'webexteamssdk'
14-
copyright = u'Copyright (c) 2016-2020 Cisco and/or its affiliates.'
15-
author = u'Chris Lunsford'
16-
version = get_versions()['version']
17-
release = get_versions()['version']
13+
project = "webexteamssdk"
14+
copyright = "Copyright (c) 2016-2024 Cisco and/or its affiliates."
15+
author = "Chris Lunsford"
16+
version = get_versions()["version"]
17+
release = get_versions()["version"]
1818
language = None
1919

2020

2121
extensions = [
22-
'sphinx.ext.autodoc',
23-
'sphinx.ext.doctest',
24-
'sphinx.ext.intersphinx',
25-
'sphinx.ext.todo',
26-
'sphinx.ext.coverage',
27-
'sphinx.ext.viewcode',
28-
'sphinx.ext.napoleon',
22+
"sphinx.ext.autodoc",
23+
"sphinx.ext.doctest",
24+
"sphinx.ext.intersphinx",
25+
"sphinx.ext.todo",
26+
"sphinx.ext.coverage",
27+
"sphinx.ext.viewcode",
28+
"sphinx.ext.napoleon",
2929
]
3030

3131

32-
master_doc = 'index'
33-
source_suffix = '.rst'
34-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
35-
templates_path = ['_templates']
36-
pygments_style = 'sphinx'
32+
master_doc = "index"
33+
source_suffix = ".rst"
34+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
35+
templates_path = ["_templates"]
36+
pygments_style = "sphinx"
3737

3838

3939
add_module_names = False
40-
autodoc_member_order = 'bysource'
40+
autodoc_member_order = "bysource"
4141
# autodoc_default_flags = ['members', 'undoc-members']
4242
autodoc_default_options = {
43-
'members': None,
44-
'undoc-members': None,
43+
"members": None,
44+
"undoc-members": None,
4545
}
4646

4747

4848
todo_include_todos = True
4949

5050

51-
5251
# -- Options for HTML output ----------------------------------------------
5352

5453
# The theme to use for HTML and HTML Help pages. See the documentation for
5554
# a list of builtin themes.
5655
#
57-
#html_theme = 'alabaster'
58-
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
56+
# html_theme = 'alabaster'
57+
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
5958

6059
if not on_rtd:
6160
import sphinx_rtd_theme
62-
html_theme = 'sphinx_rtd_theme'
61+
62+
html_theme = "sphinx_rtd_theme"
6363
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
6464

6565
# Theme options are theme-specific and customize the look and feel of a theme
6666
# further. For a list of options available for each theme, see the
6767
# documentation.
6868
#
69-
html_theme_options = {
70-
'collapse_navigation': False
71-
}
69+
html_theme_options = {"collapse_navigation": False}
7270

7371
# Add any paths that contain custom themes here, relative to this directory.
7472
# html_theme_path = []
@@ -176,36 +174,37 @@
176174
# html_search_scorer = 'scorer.js'
177175

178176
# Output file base name for HTML help builder.
179-
htmlhelp_basename = 'webexteamssdkdoc'
180-
177+
htmlhelp_basename = "webexteamssdkdoc"
181178

182179

183180
# -- Options for LaTeX output ---------------------------------------------
184181

185182
latex_elements = {
186-
# The paper size ('letterpaper' or 'a4paper').
187-
#
188-
# 'papersize': 'letterpaper',
189-
190-
# The font size ('10pt', '11pt' or '12pt').
191-
#
192-
# 'pointsize': '10pt',
193-
194-
# Additional stuff for the LaTeX preamble.
195-
#
196-
# 'preamble': '',
197-
198-
# Latex figure (float) alignment
199-
#
200-
# 'figure_align': 'htbp',
183+
# The paper size ('letterpaper' or 'a4paper').
184+
#
185+
# 'papersize': 'letterpaper',
186+
# The font size ('10pt', '11pt' or '12pt').
187+
#
188+
# 'pointsize': '10pt',
189+
# Additional stuff for the LaTeX preamble.
190+
#
191+
# 'preamble': '',
192+
# Latex figure (float) alignment
193+
#
194+
# 'figure_align': 'htbp',
201195
}
202196

203197
# Grouping the document tree into LaTeX files. List of tuples
204198
# (source start file, target name, title,
205199
# author, documentclass [howto, manual, or own class]).
206200
latex_documents = [
207-
(master_doc, 'webexteamssdk.tex', u'webexteamssdk Documentation',
208-
u'Chris Lunsford', 'manual'),
201+
(
202+
master_doc,
203+
"webexteamssdk.tex",
204+
"webexteamssdk Documentation",
205+
"Chris Lunsford",
206+
"manual",
207+
),
209208
]
210209

211210
# The name of an image file (relative to this directory) to place at the top of
@@ -241,31 +240,34 @@
241240
# latex_domain_indices = True
242241

243242

244-
245243
# -- Options for manual page output ---------------------------------------
246244

247245
# One entry per manual page. List of tuples
248246
# (source start file, name, description, authors, manual section).
249247
man_pages = [
250-
(master_doc, 'webexteamssdk', u'webexteamssdk Documentation',
251-
[author], 1)
248+
(master_doc, "webexteamssdk", "webexteamssdk Documentation", [author], 1)
252249
]
253250

254251
# If true, show URL addresses after external links.
255252
#
256253
# man_show_urls = False
257254

258255

259-
260256
# -- Options for Texinfo output -------------------------------------------
261257

262258
# Grouping the document tree into Texinfo files. List of tuples
263259
# (source start file, target name, title, author,
264260
# dir menu entry, description, category)
265261
texinfo_documents = [
266-
(master_doc, 'webexteamssdk', u'webexteamssdk Documentation',
267-
author, 'webexteamssdk', 'One line description of project.',
268-
'Miscellaneous'),
262+
(
263+
master_doc,
264+
"webexteamssdk",
265+
"webexteamssdk Documentation",
266+
author,
267+
"webexteamssdk",
268+
"One line description of project.",
269+
"Miscellaneous",
270+
),
269271
]
270272

271273
# Documents to append as an appendix to all manuals.
@@ -286,4 +288,4 @@
286288

287289

288290
# Example configuration for intersphinx: refer to the Python standard library.
289-
intersphinx_mapping = {'https://docs.python.org/': None}
291+
intersphinx_mapping = {"https://docs.python.org/": None}

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Webex Teams for Developers
6666
Leveraging the Webex Teams APIs and developing on top of the Webex Teams cloud is easy. Signup for a `free account`_ and then head over to the `Webex Teams for Developers`_ website to learn more.
6767

6868

69-
*Copyright (c) 2016-2020 Cisco and/or its affiliates.*
69+
*Copyright (c) 2016-2024 Cisco and/or its affiliates.*
7070

7171

7272
.. _free account: `Webex Teams`

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ command:
5858
$ python setup.py install
5959
6060
61-
*Copyright (c) 2016-2020 Cisco and/or its affiliates.*
61+
*Copyright (c) 2016-2024 Cisco and/or its affiliates.*
6262

6363

6464
.. _Python Package Index (PyPI): https://pypi.python.org/pypi/webexteamssdk

docs/user/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,4 +434,4 @@ Actions
434434

435435
.. autoclass:: webexteamssdk.cards.actions.ShowCard
436436

437-
*Copyright (c) 2016-2020 Cisco and/or its affiliates.*
437+
*Copyright (c) 2016-2024 Cisco and/or its affiliates.*

docs/user/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ webexteamssdk License
151151
.. include:: ../../LICENSE
152152

153153

154-
*Copyright (c) 2016-2020 Cisco and/or its affiliates.*
154+
*Copyright (c) 2016-2024 Cisco and/or its affiliates.*
155155

156156

157157
.. _MIT Open Source License: https://opensource.org/licenses/MIT

docs/user/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ extend functionality and leverage all of the objects and quality of life feature
487487
>>> output = WebexTeamsAPI.new_method(param)
488488
489489
490-
*Copyright (c) 2016-2020 Cisco and/or its affiliates.*
490+
*Copyright (c) 2016-2024 Cisco and/or its affiliates.*
491491

492492

493493
.. _Webex Teams: https://www.webex.com/products/teams/index.html

0 commit comments

Comments
 (0)