EPKEEPER common utility package
Project description
epkeeperlib通用包
common
通用模块
- utils
通用工具
divide除法函数。可指定小数点位数,可生成占比、增减比例的百分值
print_df打印pd.DataFrame。可直接复制进excel
create_path若不存在该路径,则创建该路径
bill
电费账单相关工具
- ep_calc
电能计算工具
get_ele_use根据输入的电能值的时间序列(pd.Series),输出用电量
- monitor_bill
监控电费账单计算工具
get_unit_price根据输入的电价参数匹配到相应的电价信息(pd.DataFrame)
get_pf_adjust_rate功率因数调整比例计算函数
- tou
分时段工具
TOU_HOUR每个省份的分时段参数
get_season_code获取电价的季节码(夏季、非夏季)
get_tou_hour获取分时段小时
db
数据库工具
- mysql_pool
MySQL工具
MysqlPoolMySQL连接类
mysql_fetch_dataMySQL数据获取函数
mysql_executeMySQL执行函数
mysql_insert_df插入pd.DataFrame至MySQL数据库
- fetch_monitor
监控数据获取工具
get_oa_monitor_data获取OA监控数据库函数
- sql_faraday
法拉第数据库SQL语句
FARADAY_BILL_SQL账单SQL
FARADAY_TARIFF_SQL电价表SQL
FARADAY_TIME_OF_USE_SQL分时段表SQL
FARADAY_INSPECT_RECORD_SQL巡检记录SQL
FARADAY_DEFECT_RECORD_SQL缺陷记录SQL
- sql_oa
OA数据库SQL语句
OA_USER_INFO_SQL用户基本信息SQL
OA_USER_ELECTRICITY_SQL用户电气信息SQL
OA_INSPECT_RECORD_SQL巡检记录SQL
OA_MONITOR_INFO_SQL监控信息SQL
OA_MONITOR_ALERT_SQL监控告警记录SQL
OA_MAINTENANCE_SQL工程维护信息SQL
OA_DEFECT_RECORD_SQL缺陷记录SQL
microgrid
微电网相关工具
- epk
自建微电网模型
PVWattsAPIPVWatts 光伏数据接口
- nrel
REopt_Lite_API接口
get_api_resultsFunction for posting job and polling results end-point
版本日志
Ver 1.0.20
- fix bug
Ver 1.0.19
- add microgrid.epk.PVWattsAPI
Ver 1.0.18
- add common.exceptions
Ver 1.0.16-17
- add nrel_api
Ver 1.0.13-15
- fix MysqlPool.insert_df
Ver 1.0.10-12
- fix bug
Ver 1.0.9
- add TOU_HOUR code
Ver 1.0.8
- 加入README和HISTORY
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
epkeeperlib-1.0.20.tar.gz
(15.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file epkeeperlib-1.0.20.tar.gz.
File metadata
- Download URL: epkeeperlib-1.0.20.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ced6120e58db4baf955e9b3c2be4ddf59484ba33b1efd96cce2ea0a4306d0be8
|
|
| MD5 |
f5e16327baa57fba52798b331e3566fd
|
|
| BLAKE2b-256 |
86314b8b5f9434dbe480eb2f99e2bcb89d7bbfcdfe9b63992064c51ca41003ea
|
File details
Details for the file epkeeperlib-1.0.20-py3-none-any.whl.
File metadata
- Download URL: epkeeperlib-1.0.20-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef95864a59a453b302ea566a55e55e61198fea72d0138741874ff49949cdc6ac
|
|
| MD5 |
880bcd196bdfe244aa5142933e802e4c
|
|
| BLAKE2b-256 |
07cf7f3049c9fd3d5aec29adcd9b017037bd85800d98fe42a482f77a82a7d00f
|