semvec/pypi-packages huggingface dataset:
tablelinker-lib 1.0.0
A library of processes for manipulating tabular data in CSV format
Requires Python: >=3.8.1,<3.11.0
Keywords: CSV,tabular,manipulation,cleansing

# tablelinker-lib

TableLinker をコマンドライン / プログラム組み込みで利用するためのライブラリ。

## インストール手順

Poetry を利用します。

```
$ poetry install --with group=dev
$ poetry shell
```

MacOS の場合、デフォルトの python バージョンが 3.11 なので
pytorch がインストールできません。以下の手順が必要です。

```
% pyenv install 3.10
% poetry env use 3.10
% poetry shell
% poetry install --with group=dev
```

## コマンドラインで利用する場合

tablelinker モジュールを実行すると、標準入力から受け取った CSV を
コンバータで変換し、標準出力に送るパイプとして利用できます。

```
$ cat sample/datafiles/yanai_tourism.csv | \
  python -m tablelinker sample/taskfiles/task.json
```

利用するコンバータと、コンバータに渡すパラメータは JSON ファイルに記述し、
パラメータで指定します。

## 組み込んで利用する場合

`sample.py` を参照してください。
elog-thiago1080 0.0.5
This is a Python package that provides decorators for logging function execution and timing function execution.
Requires Python: >=3.7

# Function Logger and Timer
This is a Python package that provides decorators for logging function execution and timing function execution.

## Installation
You can install the package using pip:
'pip install log_exc_decorator'

## Usage
### Logging function execution
To log function execution, use the elog decorator. Here's an example:

`from log_exc_decorator import elog`

```python
@elog
def my_function():
    # your code here
    pass
```
This will log the start and end of my_function, as well as any exceptions that may occur.

### Timing function execution
To time function execution, use the timeit decorator. Here's an example:

```python
from log_exc_decorator import timeit

@timeit
def my_function():
    # your code here
    pass
```
This will time how long it takes to execute my_function and log the elapsed time.

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
Apache
AIFrameWork 0.0.5
A library for performaing machine learning tasks with ease
Requires Python: >=3.6

# AIFrameWork

This is a Python library that provides functionality for performing machine learning tasks with ease. 

## Installation

You can install this library using pip:

```bash
pip install AIFrameWork
```
Usage

Here is an example of how to use this library. 

SINGLE TARGET REGRESSION 

from my_library import RegressionSingleTarget

# Create an instance of the regression model
model = RegressionSingleTarget()

# Fit the model to the training data
model.fit(X_train, y_train)

# Predict on the test data
y_pred = model.predict(X_test)
Regression-single-target 0.1
A library for performaing machine learning tasks with ease
Requires Python: >=3.6

# AIFrameWork

This is a Python library that provides functionality for performing machine learning tasks with ease. 

## Installation

You can install this library using pip:

```bash
pip install AIFrameWork
```
Usage

Here is an example of how to use this library. 

SINGLE TARGET REGRESSION 

from my_library import RegressionSingleTarget

# Create an instance of the regression model
model = RegressionSingleTarget()

# Fit the model to the training data
model.fit(X_train, y_train)

# Predict on the test data
y_pred = model.predict(X_test)
prettyprompt 0.1.5
Keeping your prompts clean since 2023

# Pretty Prompt

Simple tools for better prompts.

## Installation

`pip install prettyprompt`

## Usage

### Sniffing bad intentions

```python
from prettyprompt import sniffers

# will this SQL statement write to my database?
sniffers.is_sql_write_statement(user_supplied_sql)

# is this a prompt injection attempt? ask ChatGPT
# (needs an OpenAI API key)
sniffers.is_prompt_injection(prompt, strategy="LLM")

# uses spaCy to indicate the imperative-ness of a string
# needs a trained pipeline e.g. `python -m spacy download en_core_web_sm`
sniffers.is_imperative(prompt)
```

### Converting input

```python
from prettyprompt import converters

# convert scraped HTML into plain text, maintaining some structure
converters.html_to_text(scraped_html)

# splits text into meaningful chunks, using GPT-3.5
converters.chunker(long_text, max_words_per_chunk, min_words_per_chunk)
```

### Cleaning input

```python
from prettyprompt import cleaners

# remove tags from HTML
cleaners.remove_tags(html)

# normalise spaces
cleaners.normalise_spaces(text)

# swap common 'smart' characters with ASCII equivalents
cleaners.simplify_text(text)
```

## Tests

- `pip install pytest pytest-mock`
- `pytest`

## TODO

- [Prompt Injection](https://github.com/tomdyson/prettyprompt/issues/1)
yaclipy-tools 0.10.1
An extensible, asyncio interface to subprocesses, plus a set of wrappers around common system tools that works well with yaclipy
Requires Python: >=3.7

# yaclipy-tools

An extensible, asyncio interface to subprocesses, plus a set of wrappers around common system tools that works well with [yaclipy](https://pypi.org/project/yaclipy)

## Tools

* curl
* docker
* ffmpeg
* firebase
* gcloud
* git
* gpg
* graphviz
* grep
* kubectl
* md5
* nginx
* openssl
* shasum

The set of tools can easily be extended by subclassing SysTool

## ProcTask

This creates an asynchronous connection to a sub-process.  It is based upon loop.subprocess_exec().

>>> await ProcTask('diff', 'README.md', 'README.md')
0

For more complicated interactions, plugins are used.

>>> await ProcTask.using(Lines(1))('ls', '-al')
[...]

The Lines plugin captured stdout (1) and return a list of lines.
If no plugins want to return a value then the default behavior is to return the returncode as seen in the above example.
If multiple plugins want to return a value then they are returned as a tuple:

>>> await ProcTask.using(Lines, Lines(2))('ls', '-al')
([...], [...])

The first value of the tuple contains the lines from stdout AND stderr, whereas the second list only contains stderr lines.

# Echo

The Echo plugin prints to the print_ext Printer().  By setting the context you can create nice, grouped command output.

# Lines

Capture the output and return a list of strings

# OneLine

Capture the output but only return one of the lines

# Input

Send data to stdin of the process

# Log

Capture the output and send it to a file (or other io.Stream)

# Watch

Ask for the output to be captured so that you can use it asynchronously.


## SysTool

SysTool build upon ProcTask by integrating it with yaclipy and adding more user-facing features, such as:

* configurable command location (no more environment variables)
* Tool availability and version check.  
* Helpful info about how to install missing tools.




[![PyPI - Version](https://img.shields.io/pypi/v/yaclipy-tools.svg)](https://pypi.org/project/yaclipy-tools)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/yaclipy-tools.svg)](https://pypi.org/project/yaclipy-tools)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install yaclipy-tools
```

## License

`yaclipy-tools` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.