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.1.tar.gz (7.0 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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ksmyvoteinfo-1.8.1.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

Hashes for ksmyvoteinfo-1.8.1.tar.gz
Algorithm Hash digest
SHA256 dcba8a2b40bcf8117bbf4443b0e0bdeaf8c0052ee07fc70ab925a3fdfa1e9aaa
MD5 ef20c6938bb0a5f63525df50c90f9534
BLAKE2b-256 a2d588dfdd2b17b7374c14a434ba38ada86a07e2eef19ce7a85327c018ac1997

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ksmyvoteinfo-1.8.1-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

Hashes for ksmyvoteinfo-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44582334a5dcb73072ccd68c0ed7e1853b45993871017fe7a5898e8d6734c0f6
MD5 225dd23fb6ee5cc22626ce9b63742d3f
BLAKE2b-256 c45f9947301d045308faa00ef5f6a935b1b203b753fea8f21f6c397594ea3057

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