summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 02:20:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 02:20:50 +0000
commit6401efee6ea18f4d6a65c07e0092556148fb94c6 (patch)
tree75fb966d002a1a0fab82cdee200adf7d47026d72
parent9970c577e89130c34a71a12b9eaef27566256e08 (diff)
automatic import of python-datawrapperopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-datawrapper.spec365
-rw-r--r--sources1
3 files changed, 367 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ae39b0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/datawrapper-0.5.3.tar.gz
diff --git a/python-datawrapper.spec b/python-datawrapper.spec
new file mode 100644
index 0000000..685a64d
--- /dev/null
+++ b/python-datawrapper.spec
@@ -0,0 +1,365 @@
+%global _empty_manifest_terminate_build 0
+Name: python-datawrapper
+Version: 0.5.3
+Release: 1
+Summary: A light-weight python wrapper for the Datawrapper API
+License: MIT
+URL: https://github.com/chekos/datawrapper
+Source0: https://mirrors.aliyun.com/pypi/web/packages/1d/ff/db068e0c8759806799a9bd95f6e369f13c182ef9f27034b430ff85fd0fdd/datawrapper-0.5.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-importlib-metadata
+Requires: python3-rich
+Requires: python3-requests
+Requires: python3-pandas
+Requires: python3-ipython
+
+%description
+# datawrapper
+
+<div align="center">
+
+[![PyPI Version](https://img.shields.io/pypi/v/datawrapper.svg)](https://pypi.python.org/pypi/datawrapper)
+[![Monthly downloads](https://img.shields.io/pypi/dm/datawrapper)](https://img.shields.io/pypi/dm/datawrappe)
+[![Build status](https://github.com/chekos/datawrapper/workflows/build/badge.svg?branch=master&event=push)](https://github.com/chekos/datawrapper/actions?query=workflow%3Abuild)
+[![Python Version](https://img.shields.io/pypi/pyversions/datawrapper.svg)](https://pypi.org/project/datawrapper/)
+[![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/chekos/datawrapper/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
+
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/chekos/datawrapper/blob/master/.pre-commit-config.yaml)
+[![Semantic Versions](https://img.shields.io/badge/%F0%9F%9A%80-semantic%20versions-informational.svg)](https://github.com/chekos/datawrapper/releases)
+[![License](https://img.shields.io/github/license/chekos/datawrapper)](https://github.com/chekos/datawrapper/blob/master/LICENSE)
+
+A light-weight python wrapper for the Datawrapper API (v3). While it is not developed by Datawrapper officially, you can use it with your API credentials from datawrapper.de
+
+</div>
+
+## 🚀 Features
+
+* Retrieve your account information (including folders).
+* Add data to charts, tables or maps.
+* Create charts, tables or maps - and add data from a `pandas.DataFrame` in one call!
+* Update chart descriptions.
+* Publish charts, tables or maps.
+* Retrieve chart properties, update its metadata, and other information.
+* Display a chart (as output of notebook cell - it gets weird because interactivity ¯\\_(ツ)_/¯ )
+* Retrieve a chart, table or map's iframe code to embed.
+* Export chart as png (still working on the svg and pdf parts).
+* Move charts across folders and organizations.
+* Delete charts.
+* Get a list of all your charts.
+
+## Installation
+
+```bash
+pip install -U datawrapper
+```
+
+or `pipenv`
+
+```bash
+pipenv install datawrapper
+```
+
+or install with `Poetry`
+
+```bash
+poetry add datawrapper
+```
+
+### Contributing
+
+Clone the repository. Move into the directory on your terminal.
+
+Install dependencies for development.
+
+```sh
+pipenv install --dev
+```
+
+Install pre-commit to run a battery of automatic quick fixes against your work.
+
+```sh
+pipenv run pre-commit install
+```
+
+## 📈 Releases
+
+You can see the list of available releases on the [GitHub Releases](https://github.com/chekos/datawrapper/releases) page.
+
+We follow [Semantic Versions](https://semver.org/) specification. When you're ready to make a new release, visit the releases page and create a new entry. Set the tags and press publish. That will trigger a GitHub Action that automatically deploys the code to the Python Package Index.
+
+## 🛡 License
+
+[![License](https://img.shields.io/github/license/chekos/datawrapper)](https://github.com/chekos/datawrapper/blob/master/LICENSE)
+
+This project is licensed under the terms of the `MIT` license. See [LICENSE](https://github.com/chekos/datawrapper/blob/master/LICENSE) for more details.
+
+## 📃 Citation
+
+```
+@misc{datawrapper,
+ author = {chekos},
+ title = {A light-weight python wrapper for the Datawrapper API (v3). While it is not developed by Datawrapper officially, you can use it with your API credentials from datawrapper.de},
+ year = {2021},
+ publisher = {GitHub},
+ journal = {GitHub repository},
+ howpublished = {\url{https://github.com/chekos/datawrapper}}
+}
+```
+
+## Credits
+
+This project was generated with [`python-package-template`](https://github.com/TezRomacH/python-package-template).
+
+
+%package -n python3-datawrapper
+Summary: A light-weight python wrapper for the Datawrapper API
+Provides: python-datawrapper
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-datawrapper
+# datawrapper
+
+<div align="center">
+
+[![PyPI Version](https://img.shields.io/pypi/v/datawrapper.svg)](https://pypi.python.org/pypi/datawrapper)
+[![Monthly downloads](https://img.shields.io/pypi/dm/datawrapper)](https://img.shields.io/pypi/dm/datawrappe)
+[![Build status](https://github.com/chekos/datawrapper/workflows/build/badge.svg?branch=master&event=push)](https://github.com/chekos/datawrapper/actions?query=workflow%3Abuild)
+[![Python Version](https://img.shields.io/pypi/pyversions/datawrapper.svg)](https://pypi.org/project/datawrapper/)
+[![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/chekos/datawrapper/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
+
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/chekos/datawrapper/blob/master/.pre-commit-config.yaml)
+[![Semantic Versions](https://img.shields.io/badge/%F0%9F%9A%80-semantic%20versions-informational.svg)](https://github.com/chekos/datawrapper/releases)
+[![License](https://img.shields.io/github/license/chekos/datawrapper)](https://github.com/chekos/datawrapper/blob/master/LICENSE)
+
+A light-weight python wrapper for the Datawrapper API (v3). While it is not developed by Datawrapper officially, you can use it with your API credentials from datawrapper.de
+
+</div>
+
+## 🚀 Features
+
+* Retrieve your account information (including folders).
+* Add data to charts, tables or maps.
+* Create charts, tables or maps - and add data from a `pandas.DataFrame` in one call!
+* Update chart descriptions.
+* Publish charts, tables or maps.
+* Retrieve chart properties, update its metadata, and other information.
+* Display a chart (as output of notebook cell - it gets weird because interactivity ¯\\_(ツ)_/¯ )
+* Retrieve a chart, table or map's iframe code to embed.
+* Export chart as png (still working on the svg and pdf parts).
+* Move charts across folders and organizations.
+* Delete charts.
+* Get a list of all your charts.
+
+## Installation
+
+```bash
+pip install -U datawrapper
+```
+
+or `pipenv`
+
+```bash
+pipenv install datawrapper
+```
+
+or install with `Poetry`
+
+```bash
+poetry add datawrapper
+```
+
+### Contributing
+
+Clone the repository. Move into the directory on your terminal.
+
+Install dependencies for development.
+
+```sh
+pipenv install --dev
+```
+
+Install pre-commit to run a battery of automatic quick fixes against your work.
+
+```sh
+pipenv run pre-commit install
+```
+
+## 📈 Releases
+
+You can see the list of available releases on the [GitHub Releases](https://github.com/chekos/datawrapper/releases) page.
+
+We follow [Semantic Versions](https://semver.org/) specification. When you're ready to make a new release, visit the releases page and create a new entry. Set the tags and press publish. That will trigger a GitHub Action that automatically deploys the code to the Python Package Index.
+
+## 🛡 License
+
+[![License](https://img.shields.io/github/license/chekos/datawrapper)](https://github.com/chekos/datawrapper/blob/master/LICENSE)
+
+This project is licensed under the terms of the `MIT` license. See [LICENSE](https://github.com/chekos/datawrapper/blob/master/LICENSE) for more details.
+
+## 📃 Citation
+
+```
+@misc{datawrapper,
+ author = {chekos},
+ title = {A light-weight python wrapper for the Datawrapper API (v3). While it is not developed by Datawrapper officially, you can use it with your API credentials from datawrapper.de},
+ year = {2021},
+ publisher = {GitHub},
+ journal = {GitHub repository},
+ howpublished = {\url{https://github.com/chekos/datawrapper}}
+}
+```
+
+## Credits
+
+This project was generated with [`python-package-template`](https://github.com/TezRomacH/python-package-template).
+
+
+%package help
+Summary: Development documents and examples for datawrapper
+Provides: python3-datawrapper-doc
+%description help
+# datawrapper
+
+<div align="center">
+
+[![PyPI Version](https://img.shields.io/pypi/v/datawrapper.svg)](https://pypi.python.org/pypi/datawrapper)
+[![Monthly downloads](https://img.shields.io/pypi/dm/datawrapper)](https://img.shields.io/pypi/dm/datawrappe)
+[![Build status](https://github.com/chekos/datawrapper/workflows/build/badge.svg?branch=master&event=push)](https://github.com/chekos/datawrapper/actions?query=workflow%3Abuild)
+[![Python Version](https://img.shields.io/pypi/pyversions/datawrapper.svg)](https://pypi.org/project/datawrapper/)
+[![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/chekos/datawrapper/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
+
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/chekos/datawrapper/blob/master/.pre-commit-config.yaml)
+[![Semantic Versions](https://img.shields.io/badge/%F0%9F%9A%80-semantic%20versions-informational.svg)](https://github.com/chekos/datawrapper/releases)
+[![License](https://img.shields.io/github/license/chekos/datawrapper)](https://github.com/chekos/datawrapper/blob/master/LICENSE)
+
+A light-weight python wrapper for the Datawrapper API (v3). While it is not developed by Datawrapper officially, you can use it with your API credentials from datawrapper.de
+
+</div>
+
+## 🚀 Features
+
+* Retrieve your account information (including folders).
+* Add data to charts, tables or maps.
+* Create charts, tables or maps - and add data from a `pandas.DataFrame` in one call!
+* Update chart descriptions.
+* Publish charts, tables or maps.
+* Retrieve chart properties, update its metadata, and other information.
+* Display a chart (as output of notebook cell - it gets weird because interactivity ¯\\_(ツ)_/¯ )
+* Retrieve a chart, table or map's iframe code to embed.
+* Export chart as png (still working on the svg and pdf parts).
+* Move charts across folders and organizations.
+* Delete charts.
+* Get a list of all your charts.
+
+## Installation
+
+```bash
+pip install -U datawrapper
+```
+
+or `pipenv`
+
+```bash
+pipenv install datawrapper
+```
+
+or install with `Poetry`
+
+```bash
+poetry add datawrapper
+```
+
+### Contributing
+
+Clone the repository. Move into the directory on your terminal.
+
+Install dependencies for development.
+
+```sh
+pipenv install --dev
+```
+
+Install pre-commit to run a battery of automatic quick fixes against your work.
+
+```sh
+pipenv run pre-commit install
+```
+
+## 📈 Releases
+
+You can see the list of available releases on the [GitHub Releases](https://github.com/chekos/datawrapper/releases) page.
+
+We follow [Semantic Versions](https://semver.org/) specification. When you're ready to make a new release, visit the releases page and create a new entry. Set the tags and press publish. That will trigger a GitHub Action that automatically deploys the code to the Python Package Index.
+
+## 🛡 License
+
+[![License](https://img.shields.io/github/license/chekos/datawrapper)](https://github.com/chekos/datawrapper/blob/master/LICENSE)
+
+This project is licensed under the terms of the `MIT` license. See [LICENSE](https://github.com/chekos/datawrapper/blob/master/LICENSE) for more details.
+
+## 📃 Citation
+
+```
+@misc{datawrapper,
+ author = {chekos},
+ title = {A light-weight python wrapper for the Datawrapper API (v3). While it is not developed by Datawrapper officially, you can use it with your API credentials from datawrapper.de},
+ year = {2021},
+ publisher = {GitHub},
+ journal = {GitHub repository},
+ howpublished = {\url{https://github.com/chekos/datawrapper}}
+}
+```
+
+## Credits
+
+This project was generated with [`python-package-template`](https://github.com/TezRomacH/python-package-template).
+
+
+%prep
+%autosetup -n datawrapper-0.5.3
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-datawrapper -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5fb4f71
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+476708da91519d7cd0f42637943457f6 datawrapper-0.5.3.tar.gz