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

Uploaded Source

Built Distribution

FortuneData-1.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: FortuneData-1.0.2.tar.gz
  • Upload date:
  • Size: 2.8 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.2.tar.gz
Algorithm Hash digest
SHA256 0e4322f2886e3b5188d56293e775a1afc13532aa9054bd510a4c1b37f1521559
MD5 682bbdb462638aed2b8f303ab0de4e3d
BLAKE2b-256 095e067ddb4ec42de47d69638d83d0fd2aac0e35f5d1290eba6167731bcc1056

See more details on using hashes here.

File details

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

File metadata

  • Download URL: FortuneData-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57aeb3989665d7d4bcdcc49897e260db9524468fa7697f72ea295608a51e00a8
MD5 1115d493369f213aa7764127a9ead5b7
BLAKE2b-256 44fc9d80e020403b2bff5e06fe78c46c11ef01d26c95176560411f3d6927f89e

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