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://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


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.8.tar.gz (2.4 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.8-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ksmyvoteinfo-1.8.tar.gz
Algorithm Hash digest
SHA256 2b81c0e12bd290e043d416560606eb7f6eee7b44e9d88b046c5cd32f0693caa2
MD5 263ad125b01400ebef4542256edd76ba
BLAKE2b-256 be25e77e4362159a259da70af7203151d420cd3ec87439a61309b623eb803aac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ksmyvoteinfo-1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5ea91ae228ed75a226e28289f2a796ddbf0c76b52207ede46293fdfc436059e9
MD5 dfc5c76b52df4c35923e976834a80499
BLAKE2b-256 3d3a706dc3df54074165bd100ec3c47c8df9f4a0160d5d57f03e6760b19c0b28

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