Skip to main content

Hemlock extension for demographic information

Project description

Hemlock demographics

Hemlock-demographics is a hemlock extension for collecting demographic information.

Installation

With hemlock-CLI (recommended):

$ hlk install hemlock-demographics

With pip:

$ pip install hemlock-demographics

Quickstart

from hemlock import Branch, Page, Label, route
from hemlock_demographics import comprehensive_demographics

@route('/survey')
def start():
    return Branch(
        comprehensive_demographics(page=True),
        Page(
            Label('<p>The end.</p>'), 
            terminal=True
        )
    )

Citation

Hemlock-demographics is based largely on the demographics section of the World Values Survey.

@software{bowen2020hemlock-demographics,
  author = {Dillon Bowen},
  title = {Hemlock-Demographics},
  url = {https://dsbowen.github.io/hemlock-demographics/},
  date = {2020-10-05},
}

@dataset{inglehart2014wvs,
    author = {Inglehart, R., and C. Haerpfer, and A. Moreno, and C. Welzel, and K. Kizilova, and J. Diez-Medrano, and M. Lagos, and P. Norris, and E. Ponarin and B. Puranen and et al.},
    title={World Values Survey: Round Six},
    url = {http://www.worldvaluessurvey.org/},
    date = {2014.}
}

License

Users must cite this package in any publications which use it.

It is licensed with the MIT License.

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

hemlock-demographics-0.0.8.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

hemlock_demographics-0.0.8-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file hemlock-demographics-0.0.8.tar.gz.

File metadata

  • Download URL: hemlock-demographics-0.0.8.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for hemlock-demographics-0.0.8.tar.gz
Algorithm Hash digest
SHA256 39851c1c816e9c1e6e03f3d1c9dacb4d4b376f7acfef28a64900192a21ae0f0f
MD5 23d6702a8cc4d5985c84bcaa15ee2058
BLAKE2b-256 0e068eb734f07533b5fc6bb1393bb86a8c47388e7302f50eff758b6bd6908fe5

See more details on using hashes here.

File details

Details for the file hemlock_demographics-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: hemlock_demographics-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for hemlock_demographics-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 563ad9a3d0664fb1834cf2a33a88ea625e94c77ef2a3a9b01af597814f7b8d58
MD5 533be1198799792afeb1064616149564
BLAKE2b-256 84ee6d1679c54cb858ea1d587cae4bdc31f068156f4bd79a18e1ebb3f1488a91

See more details on using hashes here.

Supported by

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