从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.0.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file FortuneData-1.0.0.tar.gz
.
File metadata
- Download URL: FortuneData-1.0.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ef4a4de236575f7b16ca9b25b134d7cf4a0c7d4439930a2ac6144ff73191f4 |
|
MD5 | 1f677ac418eb64d9f76709b07475c848 |
|
BLAKE2b-256 | e00650eb881bc68be24189008ece4d20bd2b21777c579d7aa64491a34a721087 |
File details
Details for the file FortuneData-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: FortuneData-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27bee5ff981cb4f73b7408b81bc546aa1081d78cf4c7b9dca1aff8c579c3906b |
|
MD5 | 7110626c6d8e790e4c7995e8698aaa34 |
|
BLAKE2b-256 | 94e5403fd395b5c5c040a2d4af59d18f64aa80f49a6b15dafbb2ab2d81e4d058 |