Query the KS SOS site for voter registration
Project description
KsMyVoteInfo
KsMyVoteInfo Python module makes it easy to search the Kansas SOS voter registration site for the registrant details. You supply first/last name and date of birth, this gem looks it up and return the HTML snippet from the site.
Scrapes the https://kansasvoterinfo.gov/VoterView site.
Example
import ksmyvoteinfo
kmvi = ksmyvoteinfo.KsMyVoteInfo()
r = kmvi.lookup(first_name='No', last_name='Suchperson', dob='1966-03-26')
if r:
print(r.parsed()[0]['tree'])
else:
print("Sorry, No Suchperson is not registered")
Development
% pyenv virtualenv 3.12.3 ksmyvoteinfo-3.12
% echo ksmyvoteinfo-3.12 > .python-version
% make deps
% make build
% make test
% make distcheck
% make dist
% make install
Copyright and License
MIT license.
Copyright 2018 Blueprint Kansas
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ksmyvoteinfo-1.8.2.tar.gz.
File metadata
- Download URL: ksmyvoteinfo-1.8.2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95dbde13fb98d5a0b4b3d928ee2cbba85d91114d192c88db78b2c02484d87ae9
|
|
| MD5 |
f90fc21826054ed7841600ec3a686103
|
|
| BLAKE2b-256 |
716b05051a951aa283b8925f4771b17d9ae3ac08c18bbfe5533590c8e522c616
|
File details
Details for the file ksmyvoteinfo-1.8.2-py3-none-any.whl.
File metadata
- Download URL: ksmyvoteinfo-1.8.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1702c943cac0abcec013bffffc9f29ea1718c9ee6d86e7f51c8f03e6fcfb7cf
|
|
| MD5 |
6ba88128e1a51bb1141cdbc13434874a
|
|
| BLAKE2b-256 |
27e4cd7831af05f98796ca15da3aa73caaf7e80ec08983a2d8cefab7cf732eea
|