ksmyvoteinfo 1.7__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.
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: ksmyvoteinfo
|
|
3
|
+
Version: 1.7
|
|
4
|
+
Summary: Query the KS SOS site for voter registration
|
|
5
|
+
Author-Email: Peter Karman <peter@peknet.com>
|
|
6
|
+
License: KsMyVoteInfo is a Python module that interacts with the Kansas SOS voter registration site.
|
|
7
|
+
|
|
8
|
+
Copyright 2018 by Blueprint Kansas
|
|
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
|
+
Project-URL: Homepage, http://github.com/BlueprintKansas/ksmyvoteinfo-py
|
|
29
|
+
Requires-Python: >=3.12
|
|
30
|
+
Requires-Dist: beautifulsoup4
|
|
31
|
+
Requires-Dist: python-dateutil
|
|
32
|
+
Requires-Dist: requests
|
|
33
|
+
Requires-Dist: Werkzeug
|
|
34
|
+
Description-Content-Type: text/markdown
|
|
35
|
+
|
|
36
|
+
KsMyVoteInfo
|
|
37
|
+
=========================
|
|
38
|
+
|
|
39
|
+
KsMyVoteInfo Python module makes it easy to search the Kansas SOS voter registration site
|
|
40
|
+
for the registrant details. You supply first/last name and date of birth, this gem looks
|
|
41
|
+
it up and return the HTML snippet from the site.
|
|
42
|
+
|
|
43
|
+
Scrapes the https://kansasvoterinfo.gov/VoterView site.
|
|
44
|
+
|
|
45
|
+
# Example
|
|
46
|
+
|
|
47
|
+
```python
|
|
48
|
+
import ksmyvoteinfo
|
|
49
|
+
kmvi = ksmyvoteinfo.KsMyVoteInfo()
|
|
50
|
+
r = kmvi.lookup(first_name='No', last_name='Suchperson', dob='1966-03-26')
|
|
51
|
+
if r:
|
|
52
|
+
print(r.parsed()[0]['tree'])
|
|
53
|
+
else:
|
|
54
|
+
print("Sorry, No Suchperson is not registered")
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
# Development
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
% make deps
|
|
62
|
+
% make build
|
|
63
|
+
% make test
|
|
64
|
+
% make distcheck
|
|
65
|
+
% make dist
|
|
66
|
+
% make install
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
# Copyright and License
|
|
70
|
+
|
|
71
|
+
MIT license.
|
|
72
|
+
|
|
73
|
+
Copyright 2018 Blueprint Kansas
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
ksmyvoteinfo-1.7.dist-info/METADATA,sha256=HvdF2Q5clL57TeA97k7C51eocMiGsGtG380bybMS7fU,2504
|
|
2
|
+
ksmyvoteinfo-1.7.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
|
|
3
|
+
ksmyvoteinfo-1.7.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
4
|
+
ksmyvoteinfo-1.7.dist-info/licenses/LICENSE,sha256=JKgSOxnJeml4q6NAJ-zrjFds4_Rceum7FHoNbqpx2WM,1152
|
|
5
|
+
ksmyvoteinfo_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
ksmyvoteinfo-1.7.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
KsMyVoteInfo is a Python module that interacts with the Kansas SOS voter registration site.
|
|
2
|
+
|
|
3
|
+
Copyright 2018 by Blueprint Kansas
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
File without changes
|