Skip to main content

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://myvoteinfo.voteks.org/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

% make deps
% make build
% make test
% make distcheck
% make dist
% make install

Copyright and License

MIT license.

Copyright 2018 Blueprint Kansas

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ksmyvoteinfo-1.6.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ksmyvoteinfo-1.6-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file ksmyvoteinfo-1.6.tar.gz.

File metadata

  • Download URL: ksmyvoteinfo-1.6.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ksmyvoteinfo-1.6.tar.gz
Algorithm Hash digest
SHA256 42cc23b3a93ce43ea8cf8ab130e23295fd5b2ae970d0e8891cc7c7f2062c82c6
MD5 307e71741f25e81fcf15a0d6f5d7be8d
BLAKE2b-256 ca3c337b38b84b1ecd69b4f2823de7c14c4e672f87abf59f19faebc527910377

See more details on using hashes here.

File details

Details for the file ksmyvoteinfo-1.6-py3-none-any.whl.

File metadata

  • Download URL: ksmyvoteinfo-1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ksmyvoteinfo-1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1e2c0d9863f6c1a19846b9a5f2bed1561aa5a9bfa0e405a127984b566c12a24a
MD5 36b2ba3e4fd5bf088cbe53eb8beea83e
BLAKE2b-256 374504bb04954653e57c9e46ead31c74669400ff41bc8c29e941f55fe11fa1dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page