semvec/pypi-packages huggingface dataset:
shell-lib 2.0.2
A Python utility to simplify the writing of shell-like scripts.
Requires Python: >=3.7

### Introduction

[Documentation](https://shell-lib.readthedocs.io) | [Changelog](https://shell-lib.readthedocs.io/changelog.html) | [Repository](https://bitbucket.org/wjssz/shell_lib)

`shell-lib` is designed to simplify the writing of shell-like scripts:

- Python syntax: Write scripts in readable Python, freeing from complex shell command syntax.
- Reliable error handling: Use Python's exception to manage command failure. If a command fails, by default, it raises a `subprocess.CalledProcessError` exception. For commands that may fail, user can also only check the exit-code.
- Cross-platform compatibility: Write a single script that works across Linux, macOS, and Windows platforms.
- Rich ecosystem integration: Easily integrate with both the CLI tool and Python library ecosystems.
- Lightweight and portable: Only use Python standard library.
- Well tested: Consistent and reliable behavior on different platforms and Python versions.
- Friendly: Readers can understand the code without consulting the documentation. If writers use modern IDEs, then almost no need to consult the documentation.

It provides some functions that make writing shell-like scripts easy:

1. Executing external command: Conveniently invoke external commands.
2. File and directory operations: Provide a consistent and intuitive file system operations API, that clearly distinguish between file and directory operations.
3. User interactions: Do common interactions with one line of code.
4. Obtaining system information: Get common system information for shell-like scripts.

This module was co-created with [Google Gemini](https://gemini.google.com/).

### Usage

```python
#!/usr/bin/python3
from shell_lib import sh

PROJECT_PATH = "my_project"
FILE = "hello.txt"

sh.create_dir(PROJECT_PATH)
# sh.cd() context manager restores the previous working directory when
# exiting the code block, even if an exception raised within the code block.
with sh.cd(PROJECT_PATH):
    sh(f"echo 'Hello, World!' > {FILE}")
    print(f"File size: {sh.get_file_size(FILE)} bytes")
sh.remove_dir(PROJECT_PATH)
```
There is a [demo script](https://shell-lib.readthedocs.io/#demo-script) at the documentation page.
chinaunicom-ai 0.9.1
山东联通产互AI工具箱
Requires Python: >=3.8

# -*- coding: utf-8 -*-
#1.安装依赖包
```cmd
pip install chinaunicom-ai
```

#2.dify_toolbox：dify调用方法

#3.asr_toolbox：paraformer与smallsensorvoice调用方法

#4.container_toolbox: 预置多容器动态创建与销毁
rgmining-synthetic-dataset 0.9.5
A synthetic dataset for Review graph mining project
Requires Python: >=3.11
Keywords: dataset, dexa, graph, mining, review

A Synthetic Review Dataset
==========================

|GPLv3| |Build Status| |PyPi| |Japanese|

|Logo|

This package provides a method to load a synthetic review dataset.

The synthetic review dataset has been introduced in the following paper:

-  Kazuki Tawaramoto, `Junpei Kawamoto <https://www.jkawamoto.info>`__,
   `Yasuhito
   Asano <http://ris.toyo.ac.jp/profile/en.d83b3a53c4e08dc39c5613ee8954ad37.html>`__, and
   `Masatoshi
   Yoshikawa <http://www.db.soc.i.kyoto-u.ac.jp/~yoshikawa/>`__,
   "`A Bipartite Graph Model and Mutually Reinforcing Analysis for
   Review
   Sites <http://www.anrdoezrs.net/links/8186671/type/dlg/http://link.springer.com/chapter/10.1007%2F978-3-642-23088-2_25>`__,"
   Proc. of `the 22nd International Conference on Database and Expert
   Systems
   Applications <http://www.dexa.org/previous/dexa2011/index.html>`__
   (DEXA 2011),
   pp.341-348, Toulouse, France, August 31, 2011.

Installation
------------

Use ``pip`` to install this package.

.. code:: shell

    pip install --upgrade rgmining-synthetic-dataset

Usage
-----

This package provides ``load`` method which takes a graph object and
adds reviewers, products and reviews to the graph.

.. code:: py

    # `graph` is an instance of a graph class.
    import synthetic
    synthetic.load(graph)

This package also provides an executable script, ``rgmining-synthetic-dataset``.
See the `document <https://rgmining.github.io/synthetic/scripts.html>`__
for more information.

License
-------

This software is released under The GNU General Public License Version 3,
see `COPYING <COPYING>`__ for more detail.

.. |GPLv3| image:: https://img.shields.io/badge/license-GPLv3-blue.svg
   :target: https://www.gnu.org/copyleft/gpl.html
.. |Build Status| image:: https://github.com/rgmining/synthetic/actions/workflows/python-lib.yaml/badge.svg
   :target: https://github.com/rgmining/synthetic/actions/workflows/python-lib.yaml
.. |PyPi| image:: https://img.shields.io/badge/pypi-0.9.5-brightgreen.svg
   :target: https://pypi.python.org/pypi/rgmining-synthetic-dataset
.. |Japanese| image:: https://img.shields.io/badge/qiita-%E6%97%A5%E6%9C%AC%E8%AA%9E-brightgreen.svg
   :target: http://qiita.com/jkawamoto/items/9a7647c47998fab4a1ad
.. |Logo| image:: https://rgmining.github.io/synthetic/_static/image.png
   :target: https://rgmining.github.io/synthetic/