Git Product home page Git Product logo

nsfc's Introduction

国家自然科学基金查询

  • 网站已经关闭资助项目检索功能,目前只能进行结题项目检索

  • 之后会考虑换其他网站查询,敬请期待!


查询网站

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

结果示例

nsfc's People

Contributors

suqingdong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.