semvec/pypi-packages huggingface dataset:
managesf 0.32.1
Software Factory REST API

# managesf

This is a REST-based utility to manage projects, users and other tasks in
SoftwareFactory(http://softwarefactory.enovance.com).
It consists of two parts: a server with a REST API interface and a command line
interface (CLI).

## Documentation

More information is included in the documentation(docs/intro.rst).

## Installation

### CLI sfmanager

Run the following commands if you only want to install the commandline tool:

 pip install -r requirements.txt
 python setup.py

### REST API server

Update config.py and execute the following commands if you want to run managesf in a development setup::

 virtualenv venv
 . venv/bin/activate
 pip install -r requirements.txt
 pecan serve config.py

To run it in production please refer to the Pecan documentation:

* Refer to pecan [doc](http://pecan.readthedocs.org/en/latest/deployment.html#deployment)
remarkabletools-mx-smartsend 1.0.0
⚡ MultiversX SmartSend Python SDK: Library for interacting with Smart Send contracts on MultiversX blockchain
Requires Python: >=3.8

# Mx.NET.SDK.SmartSend
⚡ MultiversX SmartSend Python SDK: Library for interacting with Smart Send contracts on MultiversX blockchain

## How to install?
The content is delivered via PyPI package:
##### [remarkabletools_mx_smartsend](https://pypi.org/project/remarkabletools-mx-smartsend/)

## Main Features
- Create EGLD/Token/MetaESDT/NFT/SFT transactions for Smart Send contracts

## Quick start guide
### Basic example
```python
provider = ProxyNetworkProvider("https://devnet-gateway.multiversx.com")
account = provider.get_account(Address.from_bech32("MY_ADDRESS"))
network_config = provider.get_network_config()
config = DefaultTransactionBuildersConfiguration(network_config.chain_id)

smart_send = SmartSend(account, config, "MY_CONTRACT_BECH32_ADDRESS")

input_transactions: List[TokenAmount] = []
for i in range(1, 10):
    input_transactions.append(TokenAmount("RECEIVER_ADDRESS", TokenPayment.egld_from_amount(f"0.0{i}"))) # TokenPayment can also be fungible_from_amount / meta_esdt_from_amount / non_fungible / semi_fungible

try:
    # You can sync the account before creating transactions (to have the latest nonce)
    # account = provider.get_account(Address.from_bech32("MY_ADDRESS")) # get account data from network
    # smart_send.sync(account) # sync account

    txs = smart_send.create_egld_transactions(input_transactions) # or create_token_transactions / create_metaesdt_transactions / create_nft_transactions / create_sft_transactions
    # sign and send txs
except Exception as ex:
    print(ex)
```

### Advanced example
*The following example is using a wallet __signer__ that should not be used in production, only in private!*
```python
provider = ProxyNetworkProvider("https://devnet-gateway.multiversx.com")
account = provider.get_account(Address.from_bech32("MY_ADDRESS"))
network_config = provider.get_network_config()
config = DefaultTransactionBuildersConfiguration(network_config.chain_id)

signer = UserSigner.from_pem_file(Path("/path/wallet.pem"))

smart_send = SmartSend(account, config, "MY_CONTRACT_ADDRESS")

input_transactions: List[TokenAmount] = []
for i in range(1, 10):
    input_transactions.append(TokenAmount("RECEIVER_ADDRESS", TokenPayment.egld_from_amount(f"0.0{i}")))

try:
    txs = smart_send.create_egld_transactions(input_transactions)
    for tx in txs:
        tx.signature = signer.sign(tx)

    response = provider.send_transactions(txs)
    print(response)
except Exception as ex:
    print(ex)
```
proxyparser-checker 1.0.0
ProxyParser is a library for checking/parsing proxies
Requires Python: >=3.6,<4.0

# ProxyParser

**ProxyParser** is a library for checking/parsing proxies.

```python
>>> from ProxyParser import ProxyParser
>>> 
>>> working_proxies = []
>>> proxies = ProxyParser.parseProxy()
>>> 
>>> for proxy in proxies:
>>>    if ProxyParser.checkProxy(proxy):
>>>       working_proxies.append(proxy)
>>> print("Working proxies:")
>>> print(working_proxies)
Working proxies:
['101.132.25.152:5678', '120.196.188.21:9091']
```

## Installing ProxyParser

ProxyParser is available on PyPi:
```console
$ python -m pip install Proxy-Parser
```

[**GitHub**](https://github.com/TurboKoT1/ProxyParser)
TorchEase 0.0.26
Simplifying working with PyTorch
Keywords: torch,pytorch,early stop,trainer,tensor

TorchEase is a Python package that simplifies working with PyTorch, a popular deep learning framework. It provides a set of easy-to-use tools for training, testing, and deploying machine learning models. TorchEase includes features like early stopping, model fusing, and model evaluation, among others, which help streamline the model development process. Additionally, TorchEase is designed to be highly modular, making it easy to integrate into existing PyTorch projects.
error-suggester 0.1.3
A Python library for error suggestions using ChatGPT

# Error Suggester

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

A Python library for error suggestions.

## Installation

```bash
pip install error-suggester
```

## Usage

```python
from error_suggester import ErrorSuggester

# Initialize ErrorSuggester with your OpenAI API key and enable auto suggestions
ErrorSuggester('YOUR_API_KEY').enable_auto_suggestions()

```

## Features

- Automatic error suggestions based on the provided error message.
- Helps in identifying possible resolutions for encountered errors and exceptions.
fuzzy-json 0.1.0
Python Binding for Fuzzy JSON Parser (fson)

fuzzy-json-py
=============

Fuzzy JSON parser, python binding

Usage
-----

.. code:: python

   import fuzzy_json

   data = fuzzy_json.loads(
       """
   The data is
   {
       'x': nil,
       'a dog': [], // trailing comma is ok
   }.
   """
   )
   print(data)
deepdriver 1.0.1.dev0
deepdriver experiments
Requires Python: >=3.7

# module_python

![basic-test](https://github.com/molabokchi/module_python/workflows/basic-test/badge.svg)

module python library

# Requirement Installation

```console
python3 -m pip install -r requirements.txt
```

# Generate Python GRPC files from Proto

Type the following at the root
```console
python3 -m grpc_tools.protoc -I. --python_out=. --pyi_out=. --grpc_python_out=. deepdriver/sdk/interface/grpc_interface.proto
```
mfunc 0.1.1
A python library to add list slicing capabilities and equality checking to mathematical functions.
Requires Python: >=3.7

# `mfunc`
This library was made so that you can get a list of points of a function by list slicing.
## How to Use
First, put `from mfunc.mfunc import mfunc` at the top of your code.
Then, if you have already defined a function `f(x)`, you can initiate an instance of an `mfunc` by assigning `mfunc(f)` to a variable.
## Supported Features
Here is the list of supported features for an `mfunc`:<br><br>
* Item retrieval and slicing (e.g. `mfunc(lambda x:x)[:5]` returns the values of the function from 0 to 4).<br>

* The arithmetic operators `+ - * / // **`.<br>

* A string representation (returns actual function).
## Bugs
If you hae discovered a bug or have an idea, post it [here](https://github.com/PlaceReporter99/mfunc-bug-tracker/issues).
DLRN 0.26.1
Build packages

====
DLRN
====

DLRN builds and maintains yum repositories following OpenStack
upstream commit streams. (DLRN is not an acronym or an abbreviation,
and it can be pronounced "dee el arr en".)

Documentation is available at
http://dlrn.readthedocs.org/en/latest/

Setup
-----

.. code-block:: shell-session

    # yum install git createrepo python-virtualenv mock gcc \
                  redhat-rpm-config rpmdevtools httpd libffi-devel \
                  openssl-devel yum-utils

Add the user you intend to run as to the mock group and login again.

.. code-block:: shell-session

    $ git clone https://github.com/softwarefactory-project/DLRN.git

If you want to serve the built packages and the status reports, enable the
httpd service, and then either add a section in the server configuration to
map a URL to the data directories, or create a symbolic link:

.. code-block:: shell-session

    # systemctl start httpd
    # cd /var/www/html
    # ln -s <datadir>/repos .

Preparing
---------

.. code-block:: shell-session

    $ cd DLRN
    $ virtualenv ../dlrn-venv
    $ . ../dlrn-venv/bin/activate
    $ pip install --upgrade pip
    $ pip install -r requirements.txt
    $ python setup.py develop


Edit ``projects.ini`` if needed.

Bootstrapping
-------------

Some of the projects require others to build. As a result, use the
special option ``--order`` to build in the order computed from the
BuildRequires and Requires fields of the spec files when you bootstrap
your repository.

.. code-block:: shell-session

    $ dlrn --order

When using this special option, a special variable ``repo_bootstrap``
is defined in the specs, with a value of 1. You can use this variable if
needed, to break dependency loops between packages. For example:

.. code-block:: spec

    %if 0%{?repo_bootstrap} == 0
    BuildRequires: package-with-circular-dependency
    %endif

Running
-------

Once all the packages have been built once, you can get back to build
the packages in the order of the timestamps of the commits.

.. code-block:: shell-session

    $ dlrn

Troubleshooting
---------------

If you interrupt dlrn during mock build you might get an error

.. code-block:: shell-session

    OSError: [Errno 16] Device or resource busy: '/var/lib/mock/dlrn-fedora-x86_64/root/var/cache/yum'

Solution is to clear left-over bind mount as root:

.. code-block:: shell-session

    # umount /var/lib/mock/dlrn-fedora-x86_64/root/var/cache/yum

Other requirements
------------------

If the git clone operation fails for a package, DLRN will try to remove
the source directory using sudo. Please make sure the user running DLRN
can run ``rm -rf /path/to/dlrn/data/*`` without being asked for a password,
otherwise DLRN will fail to process new commits.