Skip to main content

covid-tracking-project


A python wrapper for the Covid Tracking Project API.

Installation

pip3 install covid-tracking-project

Importing

import ctp

Functions

  • Class: us()
    • Function: history()
      • Description: Get US historical data
      • Parameters:
        • day (description: Get data on a specific day, type: string/int, requirement: optional, defaults: all days, example: 20200501)
    • Function: current()
      • Description: Get current US data
  • Class: states()
    • Function: metadata()
      • Description: Get state metadata
      • Parameters:
        • state (description: Get data on a specific state, type: string, requirement: optional, default: all states, example: ca)
    • Function: history()
      • Description: Get state historical data
      • Parameters:
        • day (description: Get data on a specific day, type: string/int, requirement: optional, defaults: all days, example: 20200501)
        • state (description: Get data on a specific state, type: string, requirement: optional, default: all states, example: ca)
    • Function: current()
      • Description: Get state current data
      • Parameters:
        • state (description: Get data on a specific state, type: string, requirement: optional, default: all states, example: ca)

Release files for covid-tracking-project 0.2

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

Source distribution (sdist)

Source distribution for covid-tracking-project 0.2
File Size Uploaded
covid-tracking-project-0.2.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for covid-tracking-project 0.2
File Interpreter ABI Platform
covid_tracking_project-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / covid-tracking-project-0.2.tar.gz

Download URL covid-tracking-project-0.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a5d16086e13d06890f65a45cb96aedf530999429c5a1f11d4dfd6cef107dc338
BLAKE2b-256 checksum
How to use checksums
006620165e9fcc32b6d31e0d3ee19da9150193af1c2b3666e3ceb6af0d9c192a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.4

Release files / covid_tracking_project-0.2-py3-none-any.whl

Download URL covid_tracking_project-0.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd2b1e41f83390dd6cd8589c4eb7889c86223bf0e15bc9540b1b7213e2e5e977
BLAKE2b-256 checksum
How to use checksums
5cfe0b8cc677a6455838fa77c11216a71ec403d99c0aca0c2ee8089825489cb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.4

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

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