# Energy Dashboard Library (EDL)
This is a collection of common library functions used by the [Energy
Dashboard](https://github.com/energy-analytics-project/energy-dashboard), a
project of the [Energy Analytics
Project](https://github.com/energy-analytics-project).
## Overview
Common utility functions are used by:
* [energy-dashboard-cli](https://github.com/energy-analytics-project/energy-dashboard-client)
* [data feeds](https://github.com/energy-analytics-project/energy-dashboard/data)
* [feed generator](https://github.com/energy-analytics-project/data-source-template)
This is probably only interesting to project maintainers. Tool users will want
to look at
[energy-dashboard-cli](https://github.com/energy-analytics-project/energy-dashboard-client).
## Dependencies
* [conda](https://conda.io/en/latest/)
* [make](https://www.gnu.org/software/make/manual/html_node/Introduction.html)
## Getting Started
```bash
# only required the first time around, creates a conda environment named 'eap-dev'
make setup
# activate the created conda environment
conda activate eap-dev
# build
make build
```
## Publishing
* Ensure that you have a valid account and that your account has permissions to push to this project.
* Ensure that your `~/.pypirc` file is up to date. Note that I'm using auth tokens below:
```text
[distutils]
index-servers=
pypi
testpypi
[testpypi]
repository: https://test.pypi.org/legacy/
username: __token__
password: pypi-...elided...
[pypi]
username: __token__
password: pypi-...elided...
```
* Publish to test first
```bash
# publish
make test-publish
```
* If that worked, then publish to prod
```bash
# publish
make prod-publish
```
## Links
* https://geohackweek.github.io/Introductory/01-conda-tutorial/
* https://packaging.python.org/guides/migrating-to-pypi-org/
* https://packaging.python.org/guides/using-testpypi/
* https://packaging.python.org/tutorials/packaging-projects/
## Author
Todd Greenwood-Geer (Enviro Software Solutions, LLC)
没有合适的资源?快使用搜索试试~ 我知道了~
PyPI 官网下载 | energy-dashboard-library-0.3.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 65 浏览量
2022-01-11
03:29:02
上传
评论
收藏 31KB GZ 举报
温馨提示
共29个文件
py:17个
txt:5个
md:2个
资源来自pypi官网。 资源全名:energy-dashboard-library-0.3.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
energy-dashboard-library-0.3.tar.gz (29个子文件)
energy-dashboard-library-0.3
MANIFEST.in 82B
PKG-INFO 3KB
edl
resources
filesystem.py 3KB
db.py 4KB
time.py 1KB
web.py 4KB
state.py 2KB
zp.py 2KB
__init__.py 0B
xmlparser.py 24KB
log.py 2KB
exec.py 1KB
__init__.py 0B
cli
repo.py 1KB
feed.py 20KB
feeds.py 1KB
__init__.py 0B
stage.py 0B
LICENSE 34KB
setup.cfg 38B
energy_dashboard_library.egg-info
PKG-INFO 3KB
requires.txt 77B
SOURCES.txt 673B
entry_points.txt 20B
top_level.txt 4B
dependency_links.txt 1B
setup.py 7KB
CHANGELOG.md 61B
README.md 2KB
共 29 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功