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 hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page