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.
Metadata
Release files for hemlock-demographics 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hemlock-demographics-0.0.8.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hemlock_demographics-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.5 kB
Release files / hemlock-demographics-0.0.8.tar.gz
| Download URL | hemlock-demographics-0.0.8.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39851c1c816e9c1e6e03f3d1c9dacb4d4b376f7acfef28a64900192a21ae0f0f
|
|
BLAKE2b-256 checksum How to use checksums |
0e068eb734f07533b5fc6bb1393bb86a8c47388e7302f50eff758b6bd6908fe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / hemlock_demographics-0.0.8-py3-none-any.whl
| Download URL | hemlock_demographics-0.0.8-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
563ad9a3d0664fb1834cf2a33a88ea625e94c77ef2a3a9b01af597814f7b8d58
|
|
BLAKE2b-256 checksum How to use checksums |
84ee6d1679c54cb858ea1d587cae4bdc31f068156f4bd79a18e1ebb3f1488a91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|