From ef9a65d1a10ee5982ac1785291a692be1ee743e4 Mon Sep 17 00:00:00 2001 From: Marc Skov Madsen Date: Tue, 18 Oct 2022 19:05:54 +0000 Subject: [PATCH] rc10 --- README.md | 74 ++++++++++++++-------------- src/awesome_panel_cli/__init__.py | 2 +- src/awesome_panel_cli/cli/release.py | 6 ++- 3 files changed, 42 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 0cc60d8..011e932 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # ✨ Awesome Panel CLI +[![Follow on Twitter](https://img.shields.io/twitter/follow/MarcSkovMadsen.svg?style=social)](https://twitter.com/MarcSkovMadsen) +[![Follow on LinkedIn](https://img.shields.io/badge/linked-in-blue)](https://www.linkedin.com/in/marcskovmadsen) + We want to - make it super simple to develop high-quality [Panel](https://awesome-panel.org) data apps. @@ -19,39 +22,7 @@ This project draws inspiration from other CLI tools like ⚠️ THIS PROJECT IS IN AN ALPHA STATE AND WILL CHANGE. USE IT AT YOUR OWN RISK. -## 🖥️ Monitor - -[![PyPI version](https://badge.fury.io/py/awesome-panel-cli.svg)](https://pypi.org/project/awesome-panel-cli/) -[![Downloads](https://pepy.tech/badge/awesome-panel-cli/month)](https://pepy.tech/project/awesome-panel-cli) -![Python Versions](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue) -![Test Results](https://github.com/awesome-panel/awesome-panel-cli/actions/workflows/tests.yaml/badge.svg?branch=main) -[![codecov](https://codecov.io/gh/awesome-panel/awesome-panel-cli/branch/main/graph/badge.svg?token=MXANQHSUUV)](https://codecov.io/gh/awesome-panel/awesome-panel-cli) -[![License](https://img.shields.io/badge/License-MIT%202.0-blue.svg)](https://opensource.org/licenses/MIT) - -[![Follow on Twitter](https://img.shields.io/twitter/follow/MarcSkovMadsen.svg?style=social)](https://twitter.com/MarcSkovMadsen) -[![Follow on LinkedIn](https://img.shields.io/badge/linked-in-blue)](https://www.linkedin.com/in/marcskovmadsen) - -## ⭐ Support - -Please support [Panel](https://panel.holoviz.org) and -[awesome-panel](https://awesome-panel.org) by giving the projects a star on Github: - -- [holoviz/panel](https://github.com/holoviz/panel). -- [awesome-panel/awesome-panel](https://github.com/awesome-panel/awesome-panel). - -Thanks - -## ❤️ Contribute - -If you are looking to contribute to this project you can find ideas in the [issue tracker](https://github.com/awesome-panel/awesome-panel-cli/issues). To get started check out the [DEVELOPER_GUIDE](DEVELOPER_GUIDE.md). - -I would love to support and receive your contributions. Thanks. - -[![Hacktober Fest](https://github.blog/wp-content/uploads/2022/10/hacktoberfestbanner.jpeg?fit=1200%2C630)](https://github.com/awesome-panel/awesome-panel-cli/issues). - -## 📙 How to - -### 🚀 Get started in under a minute +## 🚀 Get started in under a minute Install the CLI. @@ -67,13 +38,15 @@ pn hello ![pn hello](https://github.com/awesome-panel/awesome-panel-cli/blob/main/assets/videos/pn-hello.gif?raw=true) -### 📒 Get started on Binder +You can now find the examples in the folder `examples/awesome-panel/awesome-panel-cli`. + +## 📒 Get started on Binder Click the button [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/awesome-panel/awesome-panel-cli/feature/binder) -### ❓ Check out the CLI commands +## ❓ Check out the CLI commands Try running the commands below @@ -95,7 +68,7 @@ pn create app --help ![pn create app --help](https://github.com/awesome-panel/awesome-panel-cli/blob/main/assets/images/pn-create-app-help.png?raw=true) -### 🎁 Create an app +## 🎁 Create an app Run @@ -111,7 +84,7 @@ panel serve streaming_indicators.py ![Streaming Indicators](https://github.com/awesome-panel/awesome-panel-cli/blob/main/assets/videos/streaming_indicators.gif?raw=true) -### 🔥 Install the current `master` branch +## 🔥 Install the current `master` branch If you want to try out or test the newest features you can install the current `master` branch via @@ -119,3 +92,30 @@ If you want to try out or test the newest features you can install the current ` pip install pip -U pip install git+https://github.com/awesome-panel/awesome-panel-cli.git ``` + +## ⭐ Support + +Please support [Panel](https://panel.holoviz.org) and +[awesome-panel](https://awesome-panel.org) by giving the projects a star on Github: + +- [holoviz/panel](https://github.com/holoviz/panel). +- [awesome-panel/awesome-panel](https://github.com/awesome-panel/awesome-panel). + +Thanks + +## ❤️ Contribute + +If you are looking to contribute to this project you can find ideas in the [issue tracker](https://github.com/awesome-panel/awesome-panel-cli/issues). To get started check out the [DEVELOPER_GUIDE](DEVELOPER_GUIDE.md). + +I would love to support and receive your contributions. Thanks. + +[![Hacktober Fest](https://github.blog/wp-content/uploads/2022/10/hacktoberfestbanner.jpeg?fit=1200%2C630)](https://github.com/awesome-panel/awesome-panel-cli/issues). + +## 🖥️ Monitor + +[![PyPI version](https://badge.fury.io/py/awesome-panel-cli.svg)](https://pypi.org/project/awesome-panel-cli/) +[![Downloads](https://pepy.tech/badge/awesome-panel-cli/month)](https://pepy.tech/project/awesome-panel-cli) +![Python Versions](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue) +![Test Results](https://github.com/awesome-panel/awesome-panel-cli/actions/workflows/tests.yaml/badge.svg?branch=main) +[![codecov](https://codecov.io/gh/awesome-panel/awesome-panel-cli/branch/main/graph/badge.svg?token=MXANQHSUUV)](https://codecov.io/gh/awesome-panel/awesome-panel-cli) +[![License](https://img.shields.io/badge/License-MIT%202.0-blue.svg)](https://opensource.org/licenses/MIT) diff --git a/src/awesome_panel_cli/__init__.py b/src/awesome_panel_cli/__init__.py index 5083877..3dd404c 100644 --- a/src/awesome_panel_cli/__init__.py +++ b/src/awesome_panel_cli/__init__.py @@ -1,4 +1,4 @@ """The Panel CLI package provides a command line interface to speed up your work when working in the terminal. """ -VERSION = "0.1.0rc9" +VERSION = "0.1.0rc10" diff --git a/src/awesome_panel_cli/cli/release.py b/src/awesome_panel_cli/cli/release.py index 1d8d32c..fb06de1 100644 --- a/src/awesome_panel_cli/cli/release.py +++ b/src/awesome_panel_cli/cli/release.py @@ -22,5 +22,7 @@ def python_package(version: str, test: bool = False): "testpypi", ] ) - run(command=command) - logger.info("Package released with with success") + if run(command=command): + logger.info("Package released with success") + else: + logger.error("Package NOT released")