python-documentcloud 4.3.0__tar.gz → 4.4.1__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.
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/PKG-INFO +13 -3
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/documents.py +1 -1
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/python_documentcloud.egg-info/PKG-INFO +13 -3
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/setup.py +1 -2
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_projects.py +1 -1
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/LICENSE +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/README.md +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/__init__.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/addon.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/annotations.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/base.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/client.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/constants.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/exceptions.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/organizations.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/projects.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/sections.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/toolbox.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/documentcloud/users.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/python_documentcloud.egg-info/SOURCES.txt +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/python_documentcloud.egg-info/dependency_links.txt +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/python_documentcloud.egg-info/requires.txt +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/python_documentcloud.egg-info/top_level.txt +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/setup.cfg +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_annotations.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_base.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_client.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_documents.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_organizations.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_sections.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_toolbox.py +0 -0
- {python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/tests/test_users.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: python-documentcloud
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.4.1
|
|
4
4
|
Summary: A simple Python wrapper for the DocumentCloud API
|
|
5
5
|
Home-page: https://github.com/muckrock/python-documentcloud
|
|
6
6
|
Author: Mitchell Kotler
|
|
@@ -10,7 +10,6 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.8
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -40,6 +39,17 @@ Requires-Dist: pytest; extra == "test"
|
|
|
40
39
|
Requires-Dist: pytest-mock; extra == "test"
|
|
41
40
|
Requires-Dist: pytest-recording; extra == "test"
|
|
42
41
|
Requires-Dist: vcrpy; extra == "test"
|
|
42
|
+
Dynamic: author
|
|
43
|
+
Dynamic: author-email
|
|
44
|
+
Dynamic: classifier
|
|
45
|
+
Dynamic: description
|
|
46
|
+
Dynamic: description-content-type
|
|
47
|
+
Dynamic: home-page
|
|
48
|
+
Dynamic: license
|
|
49
|
+
Dynamic: license-file
|
|
50
|
+
Dynamic: provides-extra
|
|
51
|
+
Dynamic: requires-dist
|
|
52
|
+
Dynamic: summary
|
|
43
53
|
|
|
44
54
|
<pre><code> ____ _ ____ _ _
|
|
45
55
|
| _ \ ___ ___ _ _ _ __ ___ ___ _ __ | |_ / ___| | ___ _ _ __| |
|
|
@@ -74,7 +74,7 @@ class Document(BaseAPIObject):
|
|
|
74
74
|
def __getattr__(self, attr):
|
|
75
75
|
"""Generate methods for fetching resources"""
|
|
76
76
|
p_image = re.compile(
|
|
77
|
-
r"^get_(?P<size>thumbnail|small|normal|large)_image_url(?P<list>_list)?$"
|
|
77
|
+
r"^get_(?P<size>thumbnail|small|normal|large|xlarge)_image_url(?P<list>_list)?$"
|
|
78
78
|
)
|
|
79
79
|
get = attr.startswith("get_")
|
|
80
80
|
url = attr.endswith("_url")
|
{python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/python_documentcloud.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: python-documentcloud
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.4.1
|
|
4
4
|
Summary: A simple Python wrapper for the DocumentCloud API
|
|
5
5
|
Home-page: https://github.com/muckrock/python-documentcloud
|
|
6
6
|
Author: Mitchell Kotler
|
|
@@ -10,7 +10,6 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.8
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -40,6 +39,17 @@ Requires-Dist: pytest; extra == "test"
|
|
|
40
39
|
Requires-Dist: pytest-mock; extra == "test"
|
|
41
40
|
Requires-Dist: pytest-recording; extra == "test"
|
|
42
41
|
Requires-Dist: vcrpy; extra == "test"
|
|
42
|
+
Dynamic: author
|
|
43
|
+
Dynamic: author-email
|
|
44
|
+
Dynamic: classifier
|
|
45
|
+
Dynamic: description
|
|
46
|
+
Dynamic: description-content-type
|
|
47
|
+
Dynamic: home-page
|
|
48
|
+
Dynamic: license
|
|
49
|
+
Dynamic: license-file
|
|
50
|
+
Dynamic: provides-extra
|
|
51
|
+
Dynamic: requires-dist
|
|
52
|
+
Dynamic: summary
|
|
43
53
|
|
|
44
54
|
<pre><code> ____ _ ____ _ _
|
|
45
55
|
| _ \ ___ ___ _ _ _ __ ___ ___ _ __ | |_ / ___| | ___ _ _ __| |
|
|
@@ -7,7 +7,7 @@ with open("README.md", "r") as fh:
|
|
|
7
7
|
|
|
8
8
|
setup(
|
|
9
9
|
name="python-documentcloud",
|
|
10
|
-
version="4.
|
|
10
|
+
version="4.4.1",
|
|
11
11
|
description="A simple Python wrapper for the DocumentCloud API",
|
|
12
12
|
author="Mitchell Kotler",
|
|
13
13
|
author_email="mitch@muckrock.com",
|
|
@@ -49,7 +49,6 @@ setup(
|
|
|
49
49
|
"Intended Audience :: Developers",
|
|
50
50
|
"Operating System :: OS Independent",
|
|
51
51
|
"License :: OSI Approved :: MIT License",
|
|
52
|
-
"Programming Language :: Python :: 3.7",
|
|
53
52
|
"Programming Language :: Python :: 3.8",
|
|
54
53
|
"Programming Language :: Python :: 3.9",
|
|
55
54
|
"Programming Language :: Python :: 3.10",
|
|
@@ -66,7 +66,7 @@ class TestProjectClient:
|
|
|
66
66
|
def test_list(self, client):
|
|
67
67
|
all_projects = client.projects.list()
|
|
68
68
|
my_projects = client.projects.all()
|
|
69
|
-
|
|
69
|
+
assert len(all_projects.results) > len(my_projects.results)
|
|
70
70
|
assert len(client.projects.list(user=client.user_id).results) == len(
|
|
71
71
|
my_projects.results
|
|
72
72
|
)
|
|
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
|
{python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/python_documentcloud.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{python_documentcloud-4.3.0 → python_documentcloud-4.4.1}/python_documentcloud.egg-info/requires.txt
RENAMED
|
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
|