python-documentcloud 4.1.2__py2.py3-none-any.whl → 4.2.0__py2.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.
- documentcloud/base.py +1 -1
- documentcloud/constants.py +42 -1
- {python_documentcloud-4.1.2.dist-info → python_documentcloud-4.2.0.dist-info}/METADATA +4 -7
- {python_documentcloud-4.1.2.dist-info → python_documentcloud-4.2.0.dist-info}/RECORD +7 -7
- {python_documentcloud-4.1.2.dist-info → python_documentcloud-4.2.0.dist-info}/WHEEL +1 -1
- {python_documentcloud-4.1.2.dist-info → python_documentcloud-4.2.0.dist-info}/LICENSE +0 -0
- {python_documentcloud-4.1.2.dist-info → python_documentcloud-4.2.0.dist-info}/top_level.txt +0 -0
documentcloud/base.py
CHANGED
|
@@ -162,7 +162,7 @@ class BaseAPIObject(object):
|
|
|
162
162
|
self._client.put(f"{self.api_path}/{self.id}/", json=data)
|
|
163
163
|
|
|
164
164
|
def delete(self):
|
|
165
|
-
self._client.delete(f"{self.api_path}/{self.id}")
|
|
165
|
+
self._client.delete(f"{self.api_path}/{self.id}/")
|
|
166
166
|
|
|
167
167
|
|
|
168
168
|
class APISet(list):
|
documentcloud/constants.py
CHANGED
|
@@ -8,7 +8,7 @@ RATE_PERIOD = 1
|
|
|
8
8
|
SUPPORTED_EXTENSIONS = [
|
|
9
9
|
".abw",
|
|
10
10
|
".zabw",
|
|
11
|
-
".
|
|
11
|
+
".pmd",
|
|
12
12
|
".pm3",
|
|
13
13
|
".pm4",
|
|
14
14
|
".pm5",
|
|
@@ -51,11 +51,16 @@ SUPPORTED_EXTENSIONS = [
|
|
|
51
51
|
".wk4",
|
|
52
52
|
".pct",
|
|
53
53
|
".mml",
|
|
54
|
+
".xml",
|
|
55
|
+
".xls",
|
|
56
|
+
".xlw",
|
|
57
|
+
".xlt",
|
|
54
58
|
".xls",
|
|
55
59
|
".xlw",
|
|
56
60
|
".xlt",
|
|
57
61
|
".xlsx",
|
|
58
62
|
".docx",
|
|
63
|
+
".xlsx",
|
|
59
64
|
".pptx",
|
|
60
65
|
".ppt",
|
|
61
66
|
".pps",
|
|
@@ -97,5 +102,41 @@ SUPPORTED_EXTENSIONS = [
|
|
|
97
102
|
".pcx",
|
|
98
103
|
".pcd",
|
|
99
104
|
".psd",
|
|
105
|
+
".txt",
|
|
100
106
|
".pdf",
|
|
107
|
+
".png",
|
|
108
|
+
".qxp",
|
|
109
|
+
".wb2",
|
|
110
|
+
".wq1",
|
|
111
|
+
".wq2",
|
|
112
|
+
".svg",
|
|
113
|
+
".sgv",
|
|
114
|
+
".602",
|
|
115
|
+
".txt",
|
|
116
|
+
".sdc",
|
|
117
|
+
".vor",
|
|
118
|
+
".sda",
|
|
119
|
+
".sdd",
|
|
120
|
+
".sdp",
|
|
121
|
+
".vor",
|
|
122
|
+
".sdw",
|
|
123
|
+
".sgl",
|
|
124
|
+
".vor",
|
|
125
|
+
".sgf",
|
|
126
|
+
".rlf",
|
|
127
|
+
".ras",
|
|
128
|
+
".svm",
|
|
129
|
+
".slk",
|
|
130
|
+
".tif",
|
|
131
|
+
".tiff",
|
|
132
|
+
".tga",
|
|
133
|
+
".uof",
|
|
134
|
+
".uot",
|
|
135
|
+
".uos",
|
|
136
|
+
".uop",
|
|
137
|
+
".wpd",
|
|
138
|
+
".wps",
|
|
139
|
+
".xbm",
|
|
140
|
+
".xpm",
|
|
141
|
+
".zmf",
|
|
101
142
|
]
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-documentcloud
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.2.0
|
|
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
|
|
7
7
|
Author-email: mitch@muckrock.com
|
|
8
8
|
License: MIT
|
|
9
|
-
Platform: UNKNOWN
|
|
10
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
10
|
Classifier: Intended Audience :: Developers
|
|
12
11
|
Classifier: Operating System :: OS Independent
|
|
@@ -20,14 +19,14 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
20
19
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
21
20
|
Description-Content-Type: text/markdown
|
|
22
21
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: fastjsonschema
|
|
24
22
|
Requires-Dist: future
|
|
25
|
-
Requires-Dist: listcrunch >=1.0.1
|
|
23
|
+
Requires-Dist: listcrunch (>=1.0.1)
|
|
26
24
|
Requires-Dist: python-dateutil
|
|
27
|
-
Requires-Dist: pyyaml
|
|
28
25
|
Requires-Dist: ratelimit
|
|
29
26
|
Requires-Dist: requests
|
|
30
27
|
Requires-Dist: urllib3
|
|
28
|
+
Requires-Dist: pyyaml
|
|
29
|
+
Requires-Dist: fastjsonschema
|
|
31
30
|
Provides-Extra: dev
|
|
32
31
|
Requires-Dist: black ; extra == 'dev'
|
|
33
32
|
Requires-Dist: coverage ; extra == 'dev'
|
|
@@ -66,5 +65,3 @@ Installation is as easy as...
|
|
|
66
65
|
```bash
|
|
67
66
|
$ pip install python-documentcloud
|
|
68
67
|
```
|
|
69
|
-
|
|
70
|
-
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
documentcloud/__init__.py,sha256=XAwOR6JYL-flQV_uC616AMA2rYiXTkeogNolqE6LzN4,220
|
|
2
2
|
documentcloud/addon.py,sha256=3FxQjm26jknjLdd-GuztiZO4Z7NcgXq4WqunE9oh2es,11754
|
|
3
3
|
documentcloud/annotations.py,sha256=wVe3wYzyTRvc_hJ3r0m6iyDf6WIFlaGcCnyah_r53pg,2538
|
|
4
|
-
documentcloud/base.py,sha256=
|
|
4
|
+
documentcloud/base.py,sha256=pNF45aleYpQ9fj75CiL3c4Ssv6MO1EmdzZ6wBLPKHDg,6545
|
|
5
5
|
documentcloud/client.py,sha256=sNmo34u3ruxlPZW-T629BizAB-Ao7Pg6GhU9qKt0cBI,5906
|
|
6
|
-
documentcloud/constants.py,sha256=
|
|
6
|
+
documentcloud/constants.py,sha256=h6NStSkxPrjQ2gzaIlqftCF7tthkRimddOE8SsmlHag,1828
|
|
7
7
|
documentcloud/documents.py,sha256=4OFcWpLgiAhAKpw7QJmswji8jkq2xk12XypfEKmotSk,19563
|
|
8
8
|
documentcloud/exceptions.py,sha256=nLyrg_6KhBotsZp0L6-Mf4A6HYYS60AV2FxSVSq9xAk,1161
|
|
9
9
|
documentcloud/organizations.py,sha256=_Ot6MWzoa5JdU3jqedU-0Fec_K8WrgxqdlIp4oIijes,392
|
|
@@ -11,8 +11,8 @@ documentcloud/projects.py,sha256=KuOiw65a-8fdgbjo7BqjbEbWguds8inkhFJZJd578bs,532
|
|
|
11
11
|
documentcloud/sections.py,sha256=cMf973KMvp6fAPSMXCD67L32Pz1_Tfh81oV2q2UQ9Uk,924
|
|
12
12
|
documentcloud/toolbox.py,sha256=zFZTyOn40YZjBpqa1H3qjpR4C3Wu1X2g72AvH_ljlic,1835
|
|
13
13
|
documentcloud/users.py,sha256=yydOXoEsfJlYqryZpXQ4G3aeRc5y_QCHqXd0dfF1aIc,354
|
|
14
|
-
python_documentcloud-4.
|
|
15
|
-
python_documentcloud-4.
|
|
16
|
-
python_documentcloud-4.
|
|
17
|
-
python_documentcloud-4.
|
|
18
|
-
python_documentcloud-4.
|
|
14
|
+
python_documentcloud-4.2.0.dist-info/LICENSE,sha256=Z1IBhHCzIeGR9F2iHtcLt2I2qoUhJ2pK139CAIAuFgo,1151
|
|
15
|
+
python_documentcloud-4.2.0.dist-info/METADATA,sha256=FRzhs6IHfvCFZ68SwWfWOf5MQzd1Zx0MgJ-Og29MH9U,2676
|
|
16
|
+
python_documentcloud-4.2.0.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
|
|
17
|
+
python_documentcloud-4.2.0.dist-info/top_level.txt,sha256=rzNW2vA9GqU5ipNQYSP1XJQ54ippjKXVIo9oMlM0Tm4,14
|
|
18
|
+
python_documentcloud-4.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|