Skip to main content

从Fortune网站获取世界500强数据

Project description

#FortuneData

database模块

数据库模块

  • Company数据库模型类
    • en_name 英文名
    • cn_name 中文名
    • rank 排名
    • revenues 收入
    • profits 利润
    • assets 市值
    • employees 雇员人数
  • create_database()方法 创建包含Company表的数据库

datasource模块

  • load_fortune_data( appid, secretKey ) 从fortune网站获取数据入库
    • appid 百度翻译开发平台APP ID
    • secretKey 百度翻译开放平台秘钥
  • get_company_cn_name( en_name, appid, secretKey ) 根据英文en_name获取中文译文
    • appid 百度翻译开发平台APP ID
    • secretKey 百度翻译开放平台秘钥

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

FortuneData-1.0.4.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

FortuneData-1.0.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: FortuneData-1.0.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for FortuneData-1.0.4.tar.gz
Algorithm Hash digest
SHA256 4e9d9d86dca13a715a66ee3eb7e12eba298a0d69feebfe9c72664fbf60e5f92f
MD5 9606f9af83dc31e5a37363a3bb2e7fe6
BLAKE2b-256 f21bc76f45e6d85cebaeee1f81eb10b9830527cf1459184b22915c1452dbcf65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: FortuneData-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for FortuneData-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 efe635bad90bc027ebbfb3ccc85225a6661dc55d9d3b893aef73b0b3397977d3
MD5 5d17bb11ae255e03a89ecc0769709d61
BLAKE2b-256 9afa90dcf076f18158eb4c03f7b1baae85ef626b3a1a655707e1b73ca4928fd0

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