pyzotero 1.5.19__py3-none-any.whl → 1.5.24__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.19'
16
- __version_tuple__ = version_tuple = (1, 5, 19)
15
+ __version__ = version = '1.5.24'
16
+ __version_tuple__ = version_tuple = (1, 5, 24)
pyzotero/zotero.py CHANGED
@@ -5,29 +5,6 @@ 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"
@@ -416,6 +393,10 @@ class Zotero:
416
393
  self.self_link = request
417
394
  # ensure that we wait if there's an active backoff
418
395
  self._check_backoff()
396
+ if params:
397
+ params["locale"] = self.locale
398
+ if not params:
399
+ params = {"locale": self.locale}
419
400
  self.request = requests.get(
420
401
  url=full_url, headers=self.default_headers(), params=params
421
402
  )
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.19
3
+ Version: 1.5.24
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
@@ -38,11 +16,12 @@ Classifier: Development Status :: 5 - Production/Stable
38
16
  Classifier: Intended Audience :: Developers
39
17
  Classifier: Intended Audience :: Science/Research
40
18
  Classifier: Intended Audience :: Education
41
- Classifier: License :: OSI Approved :: MIT License
19
+ Classifier: License :: OSI Approved :: Blue Oak Model License (BlueOak-1.0.0)
42
20
  Classifier: Operating System :: OS Independent
43
21
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
44
22
  Requires-Python: >=3.8
45
23
  Description-Content-Type: text/markdown
24
+ License-File: LICENSE.md
46
25
  License-File: AUTHORS
47
26
  Requires-Dist: feedparser >=6.0.11
48
27
  Requires-Dist: pytz
@@ -53,7 +32,7 @@ Requires-Dist: pytest >=7.4.2 ; extra == 'test'
53
32
  Requires-Dist: httpretty ; extra == 'test'
54
33
  Requires-Dist: python-dateutil ; extra == 'test'
55
34
 
56
- [![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)
57
36
 
58
37
  # Pyzotero: An API Client for the Zotero API
59
38
 
@@ -130,13 +109,13 @@ A sample citation (APA 6th edition) might look like:
130
109
 
131
110
  # License
132
111
 
133
- 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.
134
113
 
135
114
  [1]: https://www.zotero.org/support/dev/web_api/v3/start
136
115
  [2]: https://www.zotero.org/settings/keys/new
137
116
  [3]: http://pyzotero.readthedocs.org/en/latest/
138
117
  [7]: https://nose2.readthedocs.io/en/latest/
139
- [8]: http://opensource.org/licenses/MIT
118
+ [8]: https://opensource.org/license/blue-oak-model-license
140
119
  [9]: https://github.com/urschrei/pyzotero/tree/dev
141
120
  [10]: http://www.pip-installer.org/en/latest/index.html
142
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=4eQxnsqXZiTS32CvVuiTZuY0kmMrad1KJsoHrN1tRmY,413
2
+ pyzotero/__init__.py,sha256=5QI4Jou9L-YJAf_oN9TgRXVKgt_Unc39oADo2Ch8bLI,243
3
+ pyzotero/zotero.py,sha256=sBJYuJuJqM-MLJOiY0y4Jxgz4o6_WA4tiOKxxWSpF7c,74835
4
+ pyzotero/zotero_errors.py,sha256=UPhAmf2K05cnoeIl2wjufWQedepg7vBKb-ShU0TdlL4,2582
5
+ pyzotero-1.5.24.dist-info/AUTHORS,sha256=ZMicxg7lRScOYbxzMPznlzMbmrFIUIHwg-NvljEMbRQ,110
6
+ pyzotero-1.5.24.dist-info/LICENSE.md,sha256=bhy1CPMj1zWffD9YifFmSeBzPylsrhb1qP8OCEx5Etw,1550
7
+ pyzotero-1.5.24.dist-info/METADATA,sha256=X8i3ZKcu9bfGWWvgyO46NoKLtwYgHyrVIM6VLPPopkI,5371
8
+ pyzotero-1.5.24.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
9
+ pyzotero-1.5.24.dist-info/top_level.txt,sha256=BOPNkPk5VtNDCy_li7Xftx6k0zG8STGxh-KgckcxLEw,18
10
+ pyzotero-1.5.24.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (74.1.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- _version.py,sha256=DFRbCVOtNypFr9EX2HuujkRvOAgwqVoG22_WiEle6F8,413
2
- pyzotero/__init__.py,sha256=5QI4Jou9L-YJAf_oN9TgRXVKgt_Unc39oADo2Ch8bLI,243
3
- pyzotero/zotero.py,sha256=f4wOo8i3bnC7lqqaKm2H7y-vtMHeYM2Y9SYEV_3L9Vk,75788
4
- pyzotero/zotero_errors.py,sha256=XzjUxKDQUMpRDBEQGTJ-wna0-bVoKIKK7AEDfKgzdfE,3664
5
- pyzotero-1.5.19.dist-info/AUTHORS,sha256=ZMicxg7lRScOYbxzMPznlzMbmrFIUIHwg-NvljEMbRQ,110
6
- pyzotero-1.5.19.dist-info/METADATA,sha256=39UO_uHQKBhMXo7xQa28p0YO9qMHPfMh2-GtBUiegQU,6626
7
- pyzotero-1.5.19.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
8
- pyzotero-1.5.19.dist-info/top_level.txt,sha256=BOPNkPk5VtNDCy_li7Xftx6k0zG8STGxh-KgckcxLEw,18
9
- pyzotero-1.5.19.dist-info/RECORD,,