pyzotero 1.5.18__py3-none-any.whl → 1.5.20__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 CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.5.18'
16
- __version_tuple__ = version_tuple = (1, 5, 18)
15
+ __version__ = version = '1.5.20'
16
+ __version_tuple__ = version_tuple = (1, 5, 20)
pyzotero/zotero.py CHANGED
@@ -5,62 +5,37 @@ zotero.py
5
5
  Created by Stephan Hügel on 2011-02-28
6
6
 
7
7
  This file is part of Pyzotero.
8
-
9
- The MIT License (MIT)
10
-
11
- Copyright (c) 2015 Stephan Hügel
12
-
13
- Permission is hereby granted, free of charge, to any person obtaining a copy
14
- of this software and associated documentation files (the "Software"), to deal
15
- in the Software without restriction, including without limitation the rights
16
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17
- copies of the Software, and to permit persons to whom the Software is
18
- furnished to do so, subject to the following conditions:
19
-
20
- The above copyright notice and this permission notice shall be included in
21
- all copies or substantial portions of the Software.
22
-
23
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29
- THE SOFTWARE.
30
-
31
8
  """
32
9
 
33
10
  __author__ = "Stephan Hügel"
34
11
  __api_version__ = "3"
35
12
 
36
- import requests
37
- from requests import Request
38
- import feedparser
39
- import bibtexparser
40
- import json
41
13
  import copy
42
- import uuid
43
- import time
44
- import threading
45
- import os
46
- import hashlib
47
14
  import datetime
48
- import re
49
- import pytz
15
+ import hashlib
16
+ import io
17
+ import json
50
18
  import mimetypes
19
+ import os
20
+ import re
21
+ import threading
22
+ import time
23
+ import uuid
51
24
  import zipfile
52
- import io
53
- from pathlib import Path
54
25
  from collections import OrderedDict
55
26
  from functools import wraps
56
- from pathlib import PurePosixPath
57
- from urllib.parse import urlencode
58
- from urllib.parse import unquote, urlparse, urlunparse, parse_qsl
59
- from urllib.parse import quote
27
+ from pathlib import Path
28
+ from urllib.parse import parse_qsl, quote, urlencode, urlparse, urlunparse
29
+
30
+ import bibtexparser
31
+ import feedparser
32
+ import pytz
33
+ import requests
34
+ from requests import Request
60
35
 
61
- from . import zotero_errors as ze
62
36
  import pyzotero as pz
63
37
 
38
+ from . import zotero_errors as ze
64
39
 
65
40
  # Avoid hanging the application if there's no server response
66
41
  timeout = 30
pyzotero/zotero_errors.py CHANGED
@@ -4,28 +4,6 @@ zotero_errors.py
4
4
  Created by Stephan Hügel on 2011-03-04
5
5
 
6
6
  This file is part of Pyzotero.
7
-
8
- The MIT License (MIT)
9
-
10
- Copyright (c) 2015 Stephan Hügel
11
-
12
- Permission is hereby granted, free of charge, to any person obtaining a copy
13
- of this software and associated documentation files (the "Software"), to deal
14
- in the Software without restriction, including without limitation the rights
15
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
- copies of the Software, and to permit persons to whom the Software is
17
- furnished to do so, subject to the following conditions:
18
-
19
- The above copyright notice and this permission notice shall be included in
20
- all copies or substantial portions of the Software.
21
-
22
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28
- THE SOFTWARE.
29
7
  """
30
8
 
31
9
 
@@ -0,0 +1,35 @@
1
+ # Blue Oak Model License
2
+
3
+ Version 1.0.0
4
+
5
+ ## Purpose
6
+
7
+ This license gives everyone as much permission to work with this software as possible, while protecting contributors from liability.
8
+
9
+ ## Acceptance
10
+
11
+ In order to receive this license, you must agree to its rules. The rules of this license are both obligations under that agreement and conditions to your license. You must not do anything with this software that triggers a rule that you cannot or will not follow.
12
+
13
+ ## Copyright
14
+
15
+ Each contributor licenses you to do everything with this software that would otherwise infringe that contributor's copyright in it.
16
+
17
+ ## Notices
18
+
19
+ You must ensure that everyone who gets a copy of any part of this software from you, with or without changes, also gets the text of this license or a link to <https://blueoakcouncil.org/license/1.0.0>.
20
+
21
+ ## Excuse
22
+
23
+ If anyone notifies you in writing that you have not complied with [Notices](#notices), you can keep your license by taking all practical steps to comply within 30 days after the notice. If you do not do so, your license ends immediately.
24
+
25
+ ## Patent
26
+
27
+ Each contributor licenses you to do everything with this software that would otherwise infringe any patent claims they can license or become able to license.
28
+
29
+ ## Reliability
30
+
31
+ No contributor can revoke this license.
32
+
33
+ ## No Liability
34
+
35
+ ***As far as the law allows, this software comes as is, without any warranty or condition, and no contributor will be liable to anyone for any damages related to this software or this license, under any kind of legal claim.***
@@ -1,30 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyzotero
3
- Version: 1.5.18
3
+ Version: 1.5.20
4
4
  Summary: Python wrapper for the Zotero API
5
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
6
  Project-URL: Repository, https://github.com/urschrei/pyzotero
29
7
  Project-URL: Tracker, https://github.com/urschrei/pyzotero/issues
30
8
  Keywords: Zotero,DH
@@ -33,17 +11,19 @@ Classifier: Programming Language :: Python :: 3.8
33
11
  Classifier: Programming Language :: Python :: 3.9
34
12
  Classifier: Programming Language :: Python :: 3.10
35
13
  Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
36
15
  Classifier: Development Status :: 5 - Production/Stable
37
16
  Classifier: Intended Audience :: Developers
38
17
  Classifier: Intended Audience :: Science/Research
39
18
  Classifier: Intended Audience :: Education
40
- Classifier: License :: OSI Approved :: MIT License
19
+ Classifier: License :: OSI Approved :: Blue Oak Model License (BlueOak-1.0.0)
41
20
  Classifier: Operating System :: OS Independent
42
21
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
43
22
  Requires-Python: >=3.8
44
23
  Description-Content-Type: text/markdown
24
+ License-File: LICENSE.md
45
25
  License-File: AUTHORS
46
- Requires-Dist: feedparser >=6
26
+ Requires-Dist: feedparser >=6.0.11
47
27
  Requires-Dist: pytz
48
28
  Requires-Dist: requests >=2.21.0
49
29
  Requires-Dist: bibtexparser
@@ -52,7 +32,7 @@ Requires-Dist: pytest >=7.4.2 ; extra == 'test'
52
32
  Requires-Dist: httpretty ; extra == 'test'
53
33
  Requires-Dist: python-dateutil ; extra == 'test'
54
34
 
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)
35
+ [![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) [![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)
56
36
 
57
37
  # Pyzotero: An API Client for the Zotero API
58
38
 
@@ -129,13 +109,13 @@ A sample citation (APA 6th edition) might look like:
129
109
 
130
110
  # License
131
111
 
132
- Pyzotero is licensed under the [MIT license][8]. See [license.txt](license.txt) for details.
112
+ Pyzotero is licensed under the [Blue Oak Model Licence 1.0.0][8]. See [LICENCE.md](LICENCE.md) for details.
133
113
 
134
114
  [1]: https://www.zotero.org/support/dev/web_api/v3/start
135
115
  [2]: https://www.zotero.org/settings/keys/new
136
116
  [3]: http://pyzotero.readthedocs.org/en/latest/
137
117
  [7]: https://nose2.readthedocs.io/en/latest/
138
- [8]: http://opensource.org/licenses/MIT
118
+ [8]: https://opensource.org/license/blue-oak-model-license
139
119
  [9]: https://github.com/urschrei/pyzotero/tree/dev
140
120
  [10]: http://www.pip-installer.org/en/latest/index.html
141
121
  † This isn't strictly true: you only need an API key for personal libraries and non-public group libraries.
@@ -0,0 +1,10 @@
1
+ _version.py,sha256=3uIL06iHnBC8OfFjFAvbL0-uvy4Nl1wB5vawUwpiwMI,413
2
+ pyzotero/__init__.py,sha256=5QI4Jou9L-YJAf_oN9TgRXVKgt_Unc39oADo2Ch8bLI,243
3
+ pyzotero/zotero.py,sha256=EdgbhWT5DLoUDatK2Tae-5UuWN1-HRKubeoIiDvFgPk,74705
4
+ pyzotero/zotero_errors.py,sha256=UPhAmf2K05cnoeIl2wjufWQedepg7vBKb-ShU0TdlL4,2582
5
+ pyzotero-1.5.20.dist-info/AUTHORS,sha256=ZMicxg7lRScOYbxzMPznlzMbmrFIUIHwg-NvljEMbRQ,110
6
+ pyzotero-1.5.20.dist-info/LICENSE.md,sha256=bhy1CPMj1zWffD9YifFmSeBzPylsrhb1qP8OCEx5Etw,1550
7
+ pyzotero-1.5.20.dist-info/METADATA,sha256=6NzFBnMjo9DuNX4fnSM4FYLCC1WAx6W39Xf9kC34nBw,5371
8
+ pyzotero-1.5.20.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
9
+ pyzotero-1.5.20.dist-info/top_level.txt,sha256=BOPNkPk5VtNDCy_li7Xftx6k0zG8STGxh-KgckcxLEw,18
10
+ pyzotero-1.5.20.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: setuptools (70.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- _version.py,sha256=4dXebS3MmuJVzRzthWNVLSC2f7ozQPniKxTATW5ZukM,413
2
- pyzotero/__init__.py,sha256=5QI4Jou9L-YJAf_oN9TgRXVKgt_Unc39oADo2Ch8bLI,243
3
- pyzotero/zotero.py,sha256=2LxkzHXYUDZqsGdIsxzzqvTMhydh8xKNhcpt9MIi5xE,75878
4
- pyzotero/zotero_errors.py,sha256=XzjUxKDQUMpRDBEQGTJ-wna0-bVoKIKK7AEDfKgzdfE,3664
5
- pyzotero-1.5.18.dist-info/AUTHORS,sha256=ZMicxg7lRScOYbxzMPznlzMbmrFIUIHwg-NvljEMbRQ,110
6
- pyzotero-1.5.18.dist-info/METADATA,sha256=0b7AJQJ5dFiYpERVv18Q92Nxdhh8bECDVY0HpMFRQ7E,6570
7
- pyzotero-1.5.18.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
8
- pyzotero-1.5.18.dist-info/top_level.txt,sha256=BOPNkPk5VtNDCy_li7Xftx6k0zG8STGxh-KgckcxLEw,18
9
- pyzotero-1.5.18.dist-info/RECORD,,