pyzotero 1.5.20__tar.gz → 1.5.25__tar.gz

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.
Files changed (53) hide show
  1. {pyzotero-1.5.20 → pyzotero-1.5.25}/.github/workflows/tests.yml +9 -11
  2. {pyzotero-1.5.20/src/pyzotero.egg-info → pyzotero-1.5.25}/PKG-INFO +37 -1
  3. {pyzotero-1.5.20 → pyzotero-1.5.25}/pyproject.toml +1 -1
  4. {pyzotero-1.5.20 → pyzotero-1.5.25}/src/_version.py +2 -2
  5. {pyzotero-1.5.20 → pyzotero-1.5.25}/src/pyzotero/zotero.py +4 -0
  6. {pyzotero-1.5.20 → pyzotero-1.5.25/src/pyzotero.egg-info}/PKG-INFO +37 -1
  7. {pyzotero-1.5.20 → pyzotero-1.5.25}/.coveragerc +0 -0
  8. {pyzotero-1.5.20 → pyzotero-1.5.25}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  9. {pyzotero-1.5.20 → pyzotero-1.5.25}/.github/ISSUE_TEMPLATE/usage_question.md +0 -0
  10. {pyzotero-1.5.20 → pyzotero-1.5.25}/.github/dependabot.yml +0 -0
  11. {pyzotero-1.5.20 → pyzotero-1.5.25}/.github/pull_request_template.md +0 -0
  12. {pyzotero-1.5.20 → pyzotero-1.5.25}/.gitignore +0 -0
  13. {pyzotero-1.5.20 → pyzotero-1.5.25}/.readthedocs.yaml +0 -0
  14. {pyzotero-1.5.20 → pyzotero-1.5.25}/AUTHORS +0 -0
  15. {pyzotero-1.5.20 → pyzotero-1.5.25}/CITATION.cff +0 -0
  16. {pyzotero-1.5.20 → pyzotero-1.5.25}/CONTRIBUTING.md +0 -0
  17. {pyzotero-1.5.20 → pyzotero-1.5.25}/CONTRIBUTORS.md +0 -0
  18. {pyzotero-1.5.20 → pyzotero-1.5.25}/LICENSE.md +0 -0
  19. {pyzotero-1.5.20 → pyzotero-1.5.25}/README.md +0 -0
  20. {pyzotero-1.5.20 → pyzotero-1.5.25}/__init__.py +0 -0
  21. {pyzotero-1.5.20 → pyzotero-1.5.25}/doc/Makefile +0 -0
  22. {pyzotero-1.5.20 → pyzotero-1.5.25}/doc/_templates/layout.html +0 -0
  23. {pyzotero-1.5.20 → pyzotero-1.5.25}/doc/cat.png +0 -0
  24. {pyzotero-1.5.20 → pyzotero-1.5.25}/doc/conf.py +0 -0
  25. {pyzotero-1.5.20 → pyzotero-1.5.25}/doc/index.rst +0 -0
  26. {pyzotero-1.5.20 → pyzotero-1.5.25}/dump_contributors.py +0 -0
  27. {pyzotero-1.5.20 → pyzotero-1.5.25}/setup.cfg +0 -0
  28. {pyzotero-1.5.20 → pyzotero-1.5.25}/setup.py +0 -0
  29. {pyzotero-1.5.20 → pyzotero-1.5.25}/src/pyzotero/__init__.py +0 -0
  30. {pyzotero-1.5.20 → pyzotero-1.5.25}/src/pyzotero/zotero_errors.py +0 -0
  31. {pyzotero-1.5.20 → pyzotero-1.5.25}/src/pyzotero.egg-info/SOURCES.txt +0 -0
  32. {pyzotero-1.5.20 → pyzotero-1.5.25}/src/pyzotero.egg-info/dependency_links.txt +0 -0
  33. {pyzotero-1.5.20 → pyzotero-1.5.25}/src/pyzotero.egg-info/requires.txt +0 -0
  34. {pyzotero-1.5.20 → pyzotero-1.5.25}/src/pyzotero.egg-info/top_level.txt +0 -0
  35. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/__init__.py +0 -0
  36. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/attachments_doc.json +0 -0
  37. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/citation_doc.xml +0 -0
  38. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/collection_doc.json +0 -0
  39. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/collection_tags.json +0 -0
  40. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/collection_versions.json +0 -0
  41. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/collections_doc.json +0 -0
  42. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/creation_doc.json +0 -0
  43. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/groups_doc.json +0 -0
  44. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/item_doc.json +0 -0
  45. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/item_fields.json +0 -0
  46. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/item_file.pdf +0 -0
  47. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/item_template.json +0 -0
  48. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/item_types.json +0 -0
  49. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/item_versions.json +0 -0
  50. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/items_doc.json +0 -0
  51. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/keys_doc.txt +0 -0
  52. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/api_responses/tags_doc.json +0 -0
  53. {pyzotero-1.5.20 → pyzotero-1.5.25}/tests/test_zotero.py +0 -0
@@ -17,7 +17,7 @@ jobs:
17
17
  submodules: false # Optional, use if you have submodules
18
18
  name: Check out repo
19
19
  - name: Set up Python ${{ matrix.python-version }}
20
- uses: actions/setup-python@v3
20
+ uses: actions/setup-python@v5
21
21
  with:
22
22
  python-version: ${{ matrix.python-version }}
23
23
  - name: Install dependencies
@@ -33,10 +33,10 @@ jobs:
33
33
  python -m pip install --upgrade pip
34
34
  pip wheel . -w dist --no-deps --use-pep517
35
35
 
36
- - uses: actions/upload-artifact@v3
36
+ - uses: actions/upload-artifact@v4
37
37
  name: Upload wheel as artifact
38
38
  with:
39
- name: wheels
39
+ name: wheels-${{ strategy.job-index }}
40
40
  path: |
41
41
  ./dist/*.whl
42
42
 
@@ -52,7 +52,7 @@ jobs:
52
52
  - name: Build SDist
53
53
  run: pipx run build --sdist
54
54
 
55
- - uses: actions/upload-artifact@v3
55
+ - uses: actions/upload-artifact@v4
56
56
  with:
57
57
  path: dist/*.tar.gz
58
58
 
@@ -72,21 +72,19 @@ jobs:
72
72
 
73
73
  - name: Download compressed artifacts
74
74
  id: download
75
- uses: actions/download-artifact@v3
75
+ uses: actions/download-artifact@v4
76
76
  with:
77
77
  path: ./artifacts
78
-
79
- - name: 'List downloaded files'
80
- run: ls ${{ steps.download.outputs.download-path }}/**/*.*
78
+ merge-multiple: true
81
79
 
82
80
  - name: Create release and upload wheels
83
81
  uses: ncipollo/release-action@v1
84
82
  with:
85
83
  allowUpdates: true
86
- artifacts: "${{ steps.download.outputs.download-path }}/**/*.whl,${{ steps.download.outputs.download-path }}/**/*.gz,${{ steps.download.outputs.download-path }}/**/*.so,${{ steps.download.outputs.download-path }}/**/*.dylib,${{ steps.download.outputs.download-path }}/**/*.lib,${{ steps.download.outputs.download-path }}/**/*.dll"
84
+ artifacts: "${{ steps.download.outputs.download-path }}/*.whl,${{ steps.download.outputs.download-path }}/*.gz,${{ steps.download.outputs.download-path }}/*.so,${{ steps.download.outputs.download-path }}/*.dylib,${{ steps.download.outputs.download-path }}/*.lib,${{ steps.download.outputs.download-path }}/*.dll"
87
85
  token: ${{ secrets.GITHUB_TOKEN }}
88
86
 
89
87
  - name: PyPI Publish
90
- uses: pypa/gh-action-pypi-publish@v1.9.0
88
+ uses: pypa/gh-action-pypi-publish@v1.10.1
91
89
  with:
92
- packages-dir: ${{ steps.download.outputs.download-path }}/**/
90
+ packages-dir: ${{ steps.download.outputs.download-path }}
@@ -1,8 +1,44 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyzotero
3
- Version: 1.5.20
3
+ Version: 1.5.25
4
4
  Summary: Python wrapper for the Zotero API
5
5
  Author-email: Stephan Hügel <urschrei@gmail.com>
6
+ License: # Blue Oak Model License
7
+
8
+ Version 1.0.0
9
+
10
+ ## Purpose
11
+
12
+ This license gives everyone as much permission to work with this software as possible, while protecting contributors from liability.
13
+
14
+ ## Acceptance
15
+
16
+ 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.
17
+
18
+ ## Copyright
19
+
20
+ Each contributor licenses you to do everything with this software that would otherwise infringe that contributor's copyright in it.
21
+
22
+ ## Notices
23
+
24
+ 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>.
25
+
26
+ ## Excuse
27
+
28
+ 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.
29
+
30
+ ## Patent
31
+
32
+ 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.
33
+
34
+ ## Reliability
35
+
36
+ No contributor can revoke this license.
37
+
38
+ ## No Liability
39
+
40
+ ***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.***
41
+
6
42
  Project-URL: Repository, https://github.com/urschrei/pyzotero
7
43
  Project-URL: Tracker, https://github.com/urschrei/pyzotero/issues
8
44
  Keywords: Zotero,DH
@@ -10,7 +10,7 @@ dependencies = [
10
10
  "bibtexparser"
11
11
  ]
12
12
  authors = [{ name = "Stephan Hügel", email = "urschrei@gmail.com" }]
13
- license = {file = "license.txt"}
13
+ license = {file = "LICENSE.md"}
14
14
  keywords = ["Zotero", "DH"]
15
15
  classifiers = [
16
16
  "Programming Language :: Python",
@@ -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.20'
16
- __version_tuple__ = version_tuple = (1, 5, 20)
15
+ __version__ = version = '1.5.25'
16
+ __version_tuple__ = version_tuple = (1, 5, 25)
@@ -393,6 +393,10 @@ class Zotero:
393
393
  self.self_link = request
394
394
  # ensure that we wait if there's an active backoff
395
395
  self._check_backoff()
396
+ if params:
397
+ params["locale"] = self.locale
398
+ if not params:
399
+ params = {"locale": self.locale}
396
400
  self.request = requests.get(
397
401
  url=full_url, headers=self.default_headers(), params=params
398
402
  )
@@ -1,8 +1,44 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyzotero
3
- Version: 1.5.20
3
+ Version: 1.5.25
4
4
  Summary: Python wrapper for the Zotero API
5
5
  Author-email: Stephan Hügel <urschrei@gmail.com>
6
+ License: # Blue Oak Model License
7
+
8
+ Version 1.0.0
9
+
10
+ ## Purpose
11
+
12
+ This license gives everyone as much permission to work with this software as possible, while protecting contributors from liability.
13
+
14
+ ## Acceptance
15
+
16
+ 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.
17
+
18
+ ## Copyright
19
+
20
+ Each contributor licenses you to do everything with this software that would otherwise infringe that contributor's copyright in it.
21
+
22
+ ## Notices
23
+
24
+ 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>.
25
+
26
+ ## Excuse
27
+
28
+ 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.
29
+
30
+ ## Patent
31
+
32
+ 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.
33
+
34
+ ## Reliability
35
+
36
+ No contributor can revoke this license.
37
+
38
+ ## No Liability
39
+
40
+ ***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.***
41
+
6
42
  Project-URL: Repository, https://github.com/urschrei/pyzotero
7
43
  Project-URL: Tracker, https://github.com/urschrei/pyzotero/issues
8
44
  Keywords: Zotero,DH
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes