Skip to main content

Utilities to interact with the data.parliament.uk APIs

ddpuk_download

Download data from http://lda.data.parliament.uk

usage: ddpuk_download [-h] [--format {csv,json,rdf,text,ttl,xml}]
                      [--size SIZE] [--page-from PAGE_FROM]
                      [--page-to PAGE_TO] [--datadir DATADIR]
                      dataset

Download data from http://lda.data.parliament.uk

positional arguments:
  dataset               dataset to download

optional arguments:
  -h, --help            show this help message and exit
  --format {csv,json,rdf,text,ttl,xml}
                        format (default: json)
  --size SIZE           batch size (default: 500)
  --page-from PAGE_FROM
                        first page (default: 0)
  --page-to PAGE_TO     last page (default: 125)
  --datadir DATADIR     target directory (default: data)

Built by Florian Rathgeber at Accountability Hack 2015.

Release files for ddpuk 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ddpuk 0.0.1
File Size Uploaded
ddpuk-0.0.1.tar.gz 10.1 kB Details

Release files / ddpuk-0.0.1.tar.gz

Download URL ddpuk-0.0.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f35cb67bcf0dc7f1128460612b1a16ab32001e561c2c08794f6099f51e3b7a5b
BLAKE2b-256 checksum
How to use checksums
5db6b986ae78ff121d24a127af1160b10a396ec30f3f3fd137a4a2875fe9943e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page