Skip to main content

Push countries to ratify UN treaties

Project description

United Nations Treaties

This package is for crawling and presenting data from the UN Treaties web site.

Crawling the website hosting the UN Treaties

Use the command

$ un_crawl

This will crawl the UN Treaties web site and cache the files it downloads locally in a .un_treaties directory inside your home directory.

If you need to refresh the cache you can run it with:

un_crawl --no-cache

Run a Rest API locally to interact with the data

To start serving data at http://localhost:5000, simply do:

$ un_serve

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

un-treaties-0.1.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

un_treaties-0.1.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file un-treaties-0.1.2.tar.gz.

File metadata

  • Download URL: un-treaties-0.1.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6

File hashes

Hashes for un-treaties-0.1.2.tar.gz
Algorithm Hash digest
SHA256 70c5fca69e055ba17ed16e6acee4daecfd40efd8de2c206e45f17c3fb535b28c
MD5 612b18841ee14eb1f1e9cff43a5b5653
BLAKE2b-256 fcf9a451056cbfc9694de20cd169e762243d3bf89dbce3618a6f9f5b31b0d570

See more details on using hashes here.

File details

Details for the file un_treaties-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: un_treaties-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6

File hashes

Hashes for un_treaties-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9333d4925cc235a3f11ae9a25b6c52b16e82db8e1392e0c9233af4112e55540
MD5 00eae343e9267e8ed26618224d2800be
BLAKE2b-256 0106b8c62ed470e268e076a1cea88ddc8dc4eba21a26a4ef8be63cb6a98883de

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