Skip to content

Repository files navigation

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

About

Pythonic module to search voter registration via KS SOS site

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages