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.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: FortuneData-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d67d081f57dfd5113fb8d0d696a0e51c75d938a149806eb40956b6a983efe74d
MD5 bc0196fa66fab48c282348440b82650a
BLAKE2b-256 4d5a2a7e60c36263a09f925723df297920e0035d667dbcc3741db237f2008664

See more details on using hashes here.

File details

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

File metadata

  • Download URL: FortuneData-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6b67c503ac134091408b1f65b0fb312952e4dbaffb46e2582d518901bbcc4c96
MD5 6064d5aec9ab9c044d2c89b7c65cdaa6
BLAKE2b-256 0b89bbfa3b95ecf53a4d8e99c1455c9b94fac2f6bd39fa7887022b08b250859a

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