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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: FortuneData-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 1c246ab04385e16b735634e65ceec40cf2af6288afbd68689d1884b8882f74eb
MD5 e6d020b0658012819e53707ec557b3da
BLAKE2b-256 9733d69f52904cd62ce0dde55ef28991564e6557e12f73c1e2ee3d5bf64ff23d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: FortuneData-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9886517ecf7a6b605e04bd96d4c2497ed396c020151d96f17e36ab83085c291f
MD5 f306ce16539e43445a766980c66e2612
BLAKE2b-256 26196777971e12d8b7ee764039a2610c2643f0018b3115ccbf4acc55de62d48c

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