Skip to content

Commit dc97bee

Browse files
committed
This and that
1 parent e0a5a10 commit dc97bee

File tree

7 files changed

+41
-12
lines changed

7 files changed

+41
-12
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Python 🐍 distributions 📦 to PyPI, TestPyPI and Anaconda
1+
name: Publish
22

33
on: push
44

@@ -31,10 +31,10 @@ jobs:
3131
with:
3232
skip_existing: true
3333
password: ${{ secrets.PYPI_TOKEN }}
34-
- name: publish-to-conda
35-
if: startsWith(github.ref, 'refs/tags')
36-
uses: m0nhawk/conda-package-publish-action@master
37-
with:
38-
subDir: './conda'
39-
AnacondaUsername: ${{ secrets.ANACONDA_USERNAME }}
40-
AnacondaPassword: ${{ secrets.ANACONDA_PASSWORD }}
34+
#- name: publish-to-conda
35+
# if: startsWith(github.ref, 'refs/tags')
36+
# uses: m0nhawk/conda-package-publish-action@master
37+
# with:
38+
# subDir: './conda'
39+
# AnacondaUsername: ${{ secrets.ANACONDA_USERNAME }}
40+
# AnacondaPassword: ${{ secrets.ANACONDA_PASSWORD }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ venv.bak/
102102
# Rope project settings
103103
.ropeproject
104104

105+
# PyCharm project settings
106+
.idea
107+
105108
# mkdocs documentation
106109
/site
107110

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @m0nhawk
1+
* @amotl

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

33
Copyright (c) 2017 Andrew Prokhorenkov
4+
Copyright (c) 2022 Andreas Motl
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Yet another Grafana API library for Python. Support Python 3 only.
1010

1111
You need Python 3 and only the `requests` library installed.
1212

13+
## History
14+
15+
The library was originally conceived by Andrew Prokhorenkov at https://github.com/m0nhawk/grafana_api.
16+
Thank you very much for your efforts!
17+
1318
## Quick start
1419

1520
Install the pip package:
@@ -98,6 +103,22 @@ Work on API implementation still in progress.
98103
| Teams | + |
99104
| User | + |
100105

106+
107+
## Software tests
108+
109+
```shell
110+
pip install pytest
111+
pytest test
112+
```
113+
114+
## Release
115+
116+
```shell
117+
pip install pep517 twine
118+
python -m pep517.build --source --binary --out-dir dist/ .
119+
twine upload --repository=testpypi dist/*
120+
```
121+
101122
## Issue tracker
102123

103124
Please report any bugs and enhancement ideas using the `grafana-client` issue tracker:

conda/meta.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ about:
3535
doc_url: https://panodata.github.io/grafana-client/
3636
dev_url: https://panodata.github.io/grafana-client/
3737

38-
extra:
39-
recipe-maintainers:
40-
- m0nhawk
38+
#extra:
39+
# recipe-maintainers:
40+
# - m0nhawk

docs/backlog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# grafana-client backlog
2+
3+
- `python -m pep517.build --source --binary --out-dir dist/ .`
4+
pep517.build is deprecated. Consider switching to https://pypi.org/project/build/

0 commit comments

Comments
 (0)