pyzotero 1.5.10__py3-none-any.whl → 1.5.15__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
_version.py ADDED
@@ -0,0 +1,8 @@
1
+ # file generated by setuptools_scm
2
+ # don't change, don't track in version control
3
+ TYPE_CHECKING = False
4
+ if TYPE_CHECKING:
5
+ from typing import Tuple
6
+
7
+ __version__ = version = '1.5.15' # type: str
8
+ __version_tuple__ = version_tuple = (1, 5, 15) # type: Tuple[int | str, ...]
pyzotero/__init__.py CHANGED
@@ -0,0 +1,7 @@
1
+ import importlib.metadata
2
+
3
+ try:
4
+ # __package__ allows for the case where __name__ is "__main__"
5
+ __version__ = importlib.metadata.version(__package__ or __name__)
6
+ except importlib.metadata.PackageNotFoundError:
7
+ __version__ = "0.0.0"
pyzotero/zotero.py CHANGED
@@ -29,11 +29,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29
29
  THE SOFTWARE.
30
30
 
31
31
  """
32
- from . import version as pzv
33
32
 
34
33
  __author__ = "Stephan Hügel"
35
34
  __api_version__ = "3"
36
- __version__ = pzv.__version__
37
35
 
38
36
  import requests
39
37
  from requests import Request
@@ -58,6 +56,7 @@ from urllib.parse import urlparse, urlunparse, parse_qsl
58
56
  from urllib.parse import quote
59
57
 
60
58
  from . import zotero_errors as ze
59
+ import pyzotero as pz
61
60
 
62
61
 
63
62
  # Avoid hanging the application if there's no server response
@@ -358,7 +357,7 @@ class Zotero:
358
357
  It's always OK to include these headers
359
358
  """
360
359
  _headers = {
361
- "User-Agent": "Pyzotero/%s" % __version__,
360
+ "User-Agent": "Pyzotero/%s" % pz.__version__,
362
361
  "Zotero-API-Version": "%s" % __api_version__,
363
362
  }
364
363
  if self.api_key:
@@ -0,0 +1,2 @@
1
+ # This is the official list of Pyzotero authors for copyright purposes.
2
+ Stephan Hügel (<urschrei@gmail.com>)
@@ -1,38 +1,56 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyzotero
3
- Version: 1.5.10
3
+ Version: 1.5.15
4
4
  Summary: Python wrapper for the Zotero API
5
- Home-page: https://github.com/urschrei/pyzotero
6
- Author: Stephan Hügel
7
- Author-email: urschrei@gmail.com
8
- License: MIT
9
- Project-URL: Source, https://github.com/urschrei/pyzotero
5
+ Author-email: Stephan Hügel <urschrei@gmail.com>
6
+ License: The MIT License (MIT)
7
+
8
+ Copyright (c) 2015 Stephan Hügel
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in
18
+ all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26
+ THE SOFTWARE.
27
+
28
+ Project-URL: Repository, https://github.com/urschrei/pyzotero
10
29
  Project-URL: Tracker, https://github.com/urschrei/pyzotero/issues
11
- Keywords: zotero
12
- Platform: UNKNOWN
30
+ Keywords: Zotero,DH
13
31
  Classifier: Programming Language :: Python
14
- Classifier: Programming Language :: Python :: 3.7
15
32
  Classifier: Programming Language :: Python :: 3.8
16
33
  Classifier: Programming Language :: Python :: 3.9
17
34
  Classifier: Programming Language :: Python :: 3.10
18
35
  Classifier: Programming Language :: Python :: 3.11
19
36
  Classifier: Development Status :: 5 - Production/Stable
20
37
  Classifier: Intended Audience :: Developers
38
+ Classifier: Intended Audience :: Science/Research
21
39
  Classifier: Intended Audience :: Education
22
40
  Classifier: License :: OSI Approved :: MIT License
23
41
  Classifier: Operating System :: OS Independent
24
42
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
- Requires-Python: >=3.7
26
- Description-Content-Type: text/markdown; charset=UTF-8
27
- License-File: license.txt
28
- Requires-Dist: bibtexparser
29
- Requires-Dist: feedparser (>=6)
43
+ Requires-Python: >=3.8
44
+ Description-Content-Type: text/markdown
45
+ License-File: AUTHORS
46
+ Requires-Dist: feedparser >=6
30
47
  Requires-Dist: pytz
31
- Requires-Dist: requests (>=2.21.0)
32
- Provides-Extra: all
33
- Requires-Dist: pytest (>=6.2.2) ; extra == 'all'
48
+ Requires-Dist: requests >=2.21.0
49
+ Requires-Dist: bibtexparser
34
50
  Provides-Extra: test
35
- Requires-Dist: pytest (>=6.2.2) ; extra == 'test'
51
+ Requires-Dist: pytest >=7.4.2 ; extra == 'test'
52
+ Requires-Dist: httpretty ; extra == 'test'
53
+ Requires-Dist: python-dateutil ; extra == 'test'
36
54
 
37
55
  [![Supported Python versions](https://img.shields.io/pypi/pyversions/Pyzotero.svg?style=flat)](https://pypi.python.org/pypi/Pyzotero/) [![Docs](https://readthedocs.org/projects/pyzotero/badge/?version=latest)](http://pyzotero.readthedocs.org/en/latest/?badge=latest) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](license.txt) [![PyPI Version](https://img.shields.io/pypi/v/Pyzotero.svg)](https://pypi.python.org/pypi/Pyzotero) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/pyzotero/badges/version.svg)](https://anaconda.org/conda-forge/pyzotero) [![Downloads](https://pepy.tech/badge/pyzotero)](https://pepy.tech/project/pyzotero)
38
56
 
@@ -122,5 +140,3 @@ Pyzotero is licensed under the [MIT license][8]. See [license.txt](license.txt)
122
140
  [10]: http://www.pip-installer.org/en/latest/index.html
123
141
  † This isn't strictly true: you only need an API key for personal libraries and non-public group libraries.
124
142
 
125
-
126
-
@@ -0,0 +1,9 @@
1
+ _version.py,sha256=BffUs0zTnKVjgtY67ZB9bc6OL0FyBI7zUfWrc3U4Th4,276
2
+ pyzotero/__init__.py,sha256=5QI4Jou9L-YJAf_oN9TgRXVKgt_Unc39oADo2Ch8bLI,243
3
+ pyzotero/zotero.py,sha256=NBHf4eXDSnnIgu-9qcW2AV9BLs85VnspvP5luiyq6zo,75215
4
+ pyzotero/zotero_errors.py,sha256=XzjUxKDQUMpRDBEQGTJ-wna0-bVoKIKK7AEDfKgzdfE,3664
5
+ pyzotero-1.5.15.dist-info/AUTHORS,sha256=ZMicxg7lRScOYbxzMPznlzMbmrFIUIHwg-NvljEMbRQ,110
6
+ pyzotero-1.5.15.dist-info/METADATA,sha256=LF0Fw6OLzZsxhOgsTfuYadFJ9f61lt_CCPaG809za3c,6570
7
+ pyzotero-1.5.15.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
8
+ pyzotero-1.5.15.dist-info/top_level.txt,sha256=BOPNkPk5VtNDCy_li7Xftx6k0zG8STGxh-KgckcxLEw,18
9
+ pyzotero-1.5.15.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.37.1)
2
+ Generator: bdist_wheel (0.41.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
pyzotero/version.py DELETED
@@ -1 +0,0 @@
1
- __version__ = "1.5.10"
@@ -1,9 +0,0 @@
1
- pyzotero/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- pyzotero/version.py,sha256=b1kzkZXlJIxgfQrS-SYzjuS4nL4Yu8J0TS_UxMfSCW8,23
3
- pyzotero/zotero.py,sha256=_q3ytReSVYsjXFy1UpcWmQ3Od7jjXUdu_cvf7sJ2SV4,75249
4
- pyzotero/zotero_errors.py,sha256=XzjUxKDQUMpRDBEQGTJ-wna0-bVoKIKK7AEDfKgzdfE,3664
5
- pyzotero-1.5.10.dist-info/METADATA,sha256=ssbiJS3ONrY6bOo1eJAv5rHRXqjtY9uUGSeEy_N1XmA,5393
6
- pyzotero-1.5.10.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
7
- pyzotero-1.5.10.dist-info/license.txt,sha256=GkRsY7w5O74wcQX_wTlgXReyzsg9gGAhchpri3Na0wQ,1081
8
- pyzotero-1.5.10.dist-info/top_level.txt,sha256=uRY96N9ioKvXlbEGhzxxOAJnU8dm7KPE-156WiWf9R8,9
9
- pyzotero-1.5.10.dist-info/RECORD,,
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Stephan Hügel
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.