semvec/pypi-packages huggingface dataset:
superseamanz 1.1
superseamanz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
probanishmentz 1.1
probanishmentz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
diaphragmedz 1.1
diaphragmedz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
nemasz 1.1
nemasz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
xontrib-cmd-durations 0.3.2
Send notification once long running command is finished. Add duration PROMP_FIELD.
License: MIT
Requires Python: >=3.7
Keywords: xontrib, xonsh

## Overview

<p align="center">
Send notification once long-running command is finished and also show the execution time.
</p>

## Installation

To install use pip:

``` bash
xpip install xontrib-cmd-durations
# or: xpip install -U git+https://github.com/jnoortheen/xontrib-cmd-durations
```

## Usage

Add the `long_cmd_duration` section to the [prompt fields](https://xon.sh/tutorial.html#customizing-the-prompt) and load the xontrib i.e.:

``` bash
$RIGHT_PROMPT = '{long_cmd_duration:⌛{}}{user:{{BOLD_RED}}🤖{}}{hostname:{{BOLD_#FA8072}}🖥{}}'
$XONTRIB_CD_LONG_DURATION = 5  # default
xontrib load cmd_done
```

If the command is taking more than `$XONTRIB_CD_LONG_DURATION` seconds then `long_cmd_duration` returns the duration in human readable way:

![](./images/2020-10-26-10-59-38.png)

The desktop notification is sent if the terminal is not focused:

![](./images/2020-11-02-13-38-47.png)

Currently the focusing part requires `xdotool` to be installed.

## Known issues

### Notifications in Windows
On windows the notification will get triggered all the time. 
`Finding whether the terminal is focused` is not implemented for Windows yet and PRs are very welcome on that.
Set `$XONTRIB_CD_TRIGGER_NOTIFICATION = False` to completely off the notification part.

### Notifications in MacOS

If you want to change the app name in notification in MacOS you can use `$XONTRIB_CD_NOTIFICATION_APP_NAME` environment variable with [automatically replaced keywords](https://xon.sh/tutorial.html#customizing-the-prompt):
```xsh
$XONTRIB_CD_NOTIFICATION_APP_NAME = '{user}@{hostname}:{cwd}'
$RIGHT_PROMPT = '{long_cmd_duration}'
xontrib load cmd_done

sleep 6
# Switch to another window
```
Result:

![](./images/notification-mac.png)


## Credits

This package was created with [xontrib cookiecutter template](https://github.com/jnoortheen/xontrib-cookiecutter).
militiaz 1.1
militiaz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
gnocchettiz 1.1
gnocchettiz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
methodizedz 1.1
methodizedz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```
preadvertisedz 1.1
preadvertisedz
License: MIT
Keywords: SOME, MEANINGFULL, KEYWORDS

# Python library quick start
This is a minimal template for uploading your python packages to pypi.org.

## To Use
* First clone this project.
```bash
# Clone this repository
git clone https://github.com/defartsa23/python-library-quick-start.git
# Go into the repository
cd python-library-quick-start
```
* Rename the folder `your-package` to the package name you want. then place all your files into a folder. Open the `__init__.py` file with a text editor of your choice. In this file, you write nothing but the import statement which has the following schema:
```python
from .Filename import Classname
```
* Replace the information in the `setup.py` file with the matching content.
* Upload your package to PyPi
```sh
python setup.py sdist
twine upload dist/*
```