Skip to main content

国家自然科学基金查询

Project description

国家自然科学基金查询


查询网站

http://output.nsfc.gov.cn

API接口较好,但资助项目检索需要验证码

依赖

  • Linux/Windows
  • Python2/Python3
  • tesseract

tesseract 是图像识别工具,用于识别验证码

Linux

yum install tesseract

Windows

安装后需要把tesseract添加到环境变量中

安装

pip install nsfc

使用示例

查看帮助

nsfc

查看申请代码/资助类别

nsfc show-codes -t S
nsfc show-codes -t Z

在线查看:https://suqingdong.github.io/nsfc/help/index.html

项目查询

# 1 运行时选择申请代码和批准年度
- nsfc search

# 2 指定申请代码和批准年度,多个值之间可用逗号分隔
- nsfc search -c C05,C06 -y 2018,2019,2020

# 3 指定查询类型(Z: 资助项目[默认],J: 结题项目)
- nsfc search -c C05,C06 -y 2018,2019,2020 -t J

# 4 指定输出文件和格式(html, xlsx, txt/tsv, json, jl, pkl)
- nsfc search -c C05 -y 2019 -o out [默认 -O xlsx]
- nsfc search -c C05 -y 2019 -o out -O html
- nsfc search -c C05 -y 2019 -o out -O tsv
- nsfc search -c C05 -y 2019 -o out -O json
- nsfc search -c C05 -y 2019 -o out -O jl

结果示例

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

nsfc-1.0.4.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

nsfc-1.0.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file nsfc-1.0.4.tar.gz.

File metadata

  • Download URL: nsfc-1.0.4.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for nsfc-1.0.4.tar.gz
Algorithm Hash digest
SHA256 56e94ab0501bd993dc65d96f3cebdd37f4866c08b90d3b08df71c12cb3b181ea
MD5 fcf22d00fd7c9e5a07240f89071991a6
BLAKE2b-256 902449458d56c89bb65dde77dc1d63b8d3f334cd76f93382ef4bd092d5a72ecc

See more details on using hashes here.

File details

Details for the file nsfc-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: nsfc-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for nsfc-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3b1ce677bc3464e8b570b982597a5b3f1793c6c4d52cfaa0b6c6f80bd33b7875
MD5 5ea9f2e84a76657600de2e04d09076d5
BLAKE2b-256 0226bd456814a62502f5cc760acbd7535ecc8cd1f49a405686e3f8445fa877e5

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