semvec/pypi-packages huggingface dataset:
peaks 0.0.2
Organize and run frequently used commands
Requires Python: >=3.8,<3.12

<p align="center">
  <h1>Skate</h1>
</p>

---

[![Release](https://img.shields.io/github/v/release/fpgmaas/skate)](https://img.shields.io/github/v/release/fpgmaas/skate)
[![Build status](https://img.shields.io/github/actions/workflow/status/fpgmaas/skate/main.yml?branch=main)](https://github.com/fpgmaas/skate/actions/workflows/main.yml?query=branch%3Amain)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/skate)](https://pypi.org/project/skate/)
[![codecov](https://codecov.io/gh/fpgmaas/skate/branch/main/graph/badge.svg)](https://codecov.io/gh/fpgmaas/skate)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/skate)](https://pypistats.org/packages/skate)
[![License](https://img.shields.io/github/license/fpgmaas/skate)](https://img.shields.io/github/license/fpgmaas/skate)

_skate_ is a command line utility to help you organise and quickly run frequently used commands.

<p align="center">
<img src="docs/skate.gif"/>
</p>

## Quickstart

### Installation

_skate_ can be installed by running

```shell
pip install skate
```

To get started, run

```shell
skate init
```

which will prompt to add a `skate/skate.yaml` file in the user's home directory for global commands, and/or a `skate.yaml` file in the current directory for commands specific to the current project. 

To use _skate_ to run any of the pre-configured commands, simply run

```
skate
```

For more information, see the [documentation](https://fpgmaas.github.io/skate/).

## Configuration

_skate_ can look for configuration in the following two locations:

- In a `skate.yaml` file in the current directory
- In any `.yaml` file in the the global configuration directory, which is defaulted to `~/skate`, but which can be overridden with the environment variable `SKATE_HOME`.

An example `.yaml` file could look as follows:

```yaml
test:
  my-command:
    cmd: "echo Hello! My name is: $name. My favourite fruit is: $fruit"
    echo: false
    args:
      - name
      - fruit: apple
```

Which adds the command group `test` wth a single command called `my-command`. When `my-command` is selected to be run, _skate_ prompts the user for `name` and `fruit` before running the command specified in `cmd`, where `fruit` is defaulted to `apple` if the user does not give any input.

For more details, see the [configuration](https://fpgmaas.github.io/skate/configuration) section of the documentation.

---

Repository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).
sysinfop 0.1.1
Lightweight system info grabber
Requires Python: >=3.11,<4.0

sysinfop
========

Lightweight system info utility

   Sysinfop is my own attempt at a *Neofetch* / *Screenfetch* style cli
   app. Sysinfop Is built using Python3 and requires both a working
   Python3 install as well as the Poetry build tool available on your
   system if you are building the project from source. Pre-built
   ``wheel``, ``sdist``, ``.exe`` (Windows), and ``.app`` (MacOS) assets
   will be available soon...

What does it look like?
-----------------------

On a 2022 Macbook Air for example, it will output the following.

.. code:: shell

     hostname.local
     * IP: 127.0.0.1
     * OS: Darwin
     * CPU: arm
     * RAM: 8 GB

How to use it
-------------

Simply call ``sysinfop`` from your shell configuration.

bash
~~~~

.. code:: shell

   $ echo "sysinfop" >> ~/.bashrc

zsh
~~~

.. code:: shell

   $ echo "sysinfop" >> ~/.zshrc

How to install it
-----------------

Install from pip
~~~~~~~~~~~~~~~~

.. code:: shell

   pip install sysinfop

Contributing
------------

The project is a simple Python 3 app that is built using the Poetry
tool, this is all you need to contribute. PR's, issues, etc. all
directed to this github repo.

LICENSE
-------

MIT License

Copyright (c) 2022 Josh Burns josh@joshburns.xyz

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
noll 0.1.0
Nothing. Nil. Nada.
Requires Python: >=3.9,<4.0

# Noll

**Nothing. Nil. Nada.**

An object that is as not there as I could conjure up.

You can safely index it and compare with it. It will always return an untruthy value, whether that be `0`, `""`, or itself whenever possible.

```py
from noll import Noll

Noll().index.whatever['and'].you.will.always.end.up['with'].a.Noll['object']
```
mysh 0.0.2
Organize and run frequently used commands
Requires Python: >=3.8,<3.12

<p align="center">
  <h1>Skate</h1>
</p>

---

[![Release](https://img.shields.io/github/v/release/fpgmaas/skate)](https://img.shields.io/github/v/release/fpgmaas/skate)
[![Build status](https://img.shields.io/github/actions/workflow/status/fpgmaas/skate/main.yml?branch=main)](https://github.com/fpgmaas/skate/actions/workflows/main.yml?query=branch%3Amain)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/skate)](https://pypi.org/project/skate/)
[![codecov](https://codecov.io/gh/fpgmaas/skate/branch/main/graph/badge.svg)](https://codecov.io/gh/fpgmaas/skate)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/skate)](https://pypistats.org/packages/skate)
[![License](https://img.shields.io/github/license/fpgmaas/skate)](https://img.shields.io/github/license/fpgmaas/skate)

_skate_ is a command line utility to help you organise and quickly run frequently used commands.

<p align="center">
<img src="docs/skate.gif"/>
</p>

## Quickstart

### Installation

_skate_ can be installed by running

```shell
pip install skate
```

To get started, run

```shell
skate init
```

which will prompt to add a `skate/skate.yaml` file in the user's home directory for global commands, and/or a `skate.yaml` file in the current directory for commands specific to the current project. 

To use _skate_ to run any of the pre-configured commands, simply run

```
skate
```

For more information, see the [documentation](https://fpgmaas.github.io/skate/).

## Configuration

_skate_ can look for configuration in the following two locations:

- In a `skate.yaml` file in the current directory
- In any `.yaml` file in the the global configuration directory, which is defaulted to `~/skate`, but which can be overridden with the environment variable `SKATE_HOME`.

An example `.yaml` file could look as follows:

```yaml
test:
  my-command:
    cmd: "echo Hello! My name is: $name. My favourite fruit is: $fruit"
    echo: false
    args:
      - name
      - fruit: apple
```

Which adds the command group `test` wth a single command called `my-command`. When `my-command` is selected to be run, _skate_ prompts the user for `name` and `fruit` before running the command specified in `cmd`, where `fruit` is defaulted to `apple` if the user does not give any input.

For more details, see the [configuration](https://fpgmaas.github.io/skate/configuration) section of the documentation.

---

Repository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).
csvplus 0.0.2
Create, Read, Update, Delete, and Move Rows in a CSV File
Keywords: create,crud,csv,delete,move,read,update

# csvplus
> Create, Read, Update, Delete, and Move Rows in a CSV File

## install
```sh
pip install csvplus
```

## usage
```py
import csvplus

filepath = "./folder/cars.csv"

# create csv with the given column names 
csvplus.create(filepath, ["make","model","year"])

# append a new row to the end of the csv file
csvplus.add(filepath, { "make": "Kia", "model": "Soul", "year": 2023 })

# delete all rows matching the where conditions
csvplus.delete(filepath, where={ "make": "Tesla" })

# find all rows matching the where conditions
csvplus.read("countries.csv", where={ "year": 1776 })
[{ "name": "United States of Ameriac", "abbreviation": "USA", "year": 1776 }]

# move rows
move(filepath, from_row, to_row, debug_level=0, quoting=csv.QUOTE_ALL):
csvplus.move("example.csv", 0, 20) # move the first row to the 20th line
```
event-emitter-asyncio 1.0.4
Super simple event emitter in Python 3, built with asyncio. No decorators required.
Requires Python: >=3.7

# Event Emitter (asyncio)

Super simple event emitter in Python 3, built with asyncio. No decorators required. Built around a subset of the NodeJS [EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) API. 

A full write up and explanation for how this module works can be found [here](https://joeltok.com/blog/2021-3/building-an-event-bus-in-python).

## Installation

```sh
pip install event_emitter_asyncio
```

## Usage (Working example)

```py
import asyncio

from event_emitter_asyncio.EventEmitter import EventEmitter
event_emitter = EventEmitter()

async def run():
  # add a listener
  async def func(event):
    for pet in event['pets']:
      print(pet)
  event_emitter.add_listener('some-event', func)

  # emit an event every second for 3 seconds
  n = 0
  while n < 3:
    event_data = { 'pets': ['cats', 'dogs'] }
    event_emitter.emit('some-event', event_data)
    await asyncio.sleep(1)
    n += 1

  # remove the listener
  event_emitter.remove_listener('some-event', func)

loop = asyncio.get_event_loop()
loop.run_until_complete(run())
```

This will give:
```sh
> cats
> dogs
> cats
> dogs
> cats
> dogs
```

## Developing on this repo

### Development

```sh
git clone git@github.com:joeltok/event-emitter-asyncio.git
cd ./event-emitter-asyncio
python3 -m venv ./venv
source venv/bin/activate
pip3 install pytest
pip3 install pytest-asyncio
```

### Testing 

```sh
python3 -m pytest src/event_emitter_asyncio/
```

### Packaging

```sh
source venv/bin/activate
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
```

```sh
rm -rf dist && python3 -m build
twine upload dist/*
```