Skip to main content

the data scrapied from http://datacenter.mep.gov.cn/report/air_daily/air_dairy.jsp?

Project description

#coding:utf8
Description:
The chinaAQI means china city Air Quality Index which is announced by china government
everday since 1st.Jan.2014.
Each row contains six elements:
(1.number 2.city name 3.date 4.air quality index 5.air quality degree 6.primary pollutan)
'1', '������', '2015-12-28', '149', '�����Ⱦ', 'PM2.5'
How to use:
Python version: 3.0 or above
pip install chinaAQI
import datetime
import chinaAQI
city = '������'
start = datetime.date(2015,1,1)
end = datetime.date(2016,1,1)
crawler = chinaAQI.Crawler(city, start, end)
crawler.scrapy()
print(crawler.data)
Conntact me:
ludlows@foxmail.com
https://github.com/ludlows/chinaAQI

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

chinaAQI-0.1.2.zip (3.1 kB view details)

Uploaded Source

File details

Details for the file chinaAQI-0.1.2.zip.

File metadata

  • Download URL: chinaAQI-0.1.2.zip
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for chinaAQI-0.1.2.zip
Algorithm Hash digest
SHA256 b498666efef1eb8a02e8d08e2c9ee9133bd951614824b064ee72b14b60597817
MD5 f468b9ec4025f2363c705ce8c16a9505
BLAKE2b-256 ad1bf47835c98cd2590ac3c0691d39d83f7093c0ec16a7a8c69285d12ce9d3f4

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