semvec/pypi-packages huggingface dataset:
erddaputil 0.3.0
Tools for managing ERDDAP
Requires Python: >=3.7

# ERDDAPUtil
ERDDAPUtil provides additional tools for managing an ERDDAP installation which focus on:

* Managing ERDDAP in a Kubernetes environment with high availability
* Automating the deployment of new datasets and updated files for ERDDAP to serve
* Obtaining statistics from ERDDAP in a more common format

The tool is divided into four main components:

* The ERDDAPUtil service (or daemon) which performs management operations.
* A command line interface for the ERDDAPUtil service
* A web interface for the ERDDAPUtil service that also provides Prometheus metrics
* An AMPQ worker service that listens for AMPQ messages and interfaces with the ERDDAPUtil service

[Documentation](https://erddaputil.readthedocs.io/en/latest)

## Installation
ERDDAPUtil can be installed as a Python package via `python -m pip install erddaputil`. It
is also available as a Docker image `dfomeds/erddaputil`.

Visit the [Quickstart Guide](https://erddaputil.readthedocs.io/en/latest/setup.html) to obtain
details on getting starting with the tool.

For most features, ERDDAPUtil requires access to the ERDDAP and Tomcat directory structures 
so that it can access and modify files. It should therefore be installed on the same physical
server or in the same Kubernetes Pod as ERDDAP.


## Features

### ERDDAP Management Features
* Trigger dataset reload, including a "badFiles" or a "hard" reload
* Compile ERDDAP's `dataset.xml` file from a directory of XML files
* Block or unblock IP addresses and emails in ERDDAP's `dataset.xml` file
* Add or remove IP addresses from the unlimited requests entry in `datasets.xml` 
* Scrape ERDDAP's `status.html` page and turn it into Prometheus statistics
* Scrape Tomcat's access logs and turn them into Prometheus statistics
* Remove old log files from Tomcat and ERDDAP
  
### Additional Features
* Execute ERDDAP management commands (reloads, compiles, blocks, unblocks) from the command 
  line or by authenticated HTTP request
* Define clusters of ERDDAP servers and pass all commands executed on one server to all other 
  servers in the cluster (requires RabbitMQ or Azure Service Bus)
GSMM-transcriptome-data-mapper 0.0.1
A package to map transcriptome data to constrain reactions of a genome scale metabolic model
Requires Python: >=3.7

####################################

map_transcriptome_data function

####################################

Author: Soukaina Timouma
E-mail: soukaina.timouma@gmail.com


The purpose of this function is to enable the mapping of transcriptome data into a genome scale metabolic model reactions, enabling the imposition of restrictions that accurately represent the experimental conditions being investigated.


map_transcriptome_data() required 4 positional arguments: 'model', 'transcriptomeData', 'threshold_abundance', and 'max_bound'

- 'model': genome scale model
- 'transcriptomeData': dictionary containing the gene IDs (as written in the genome scale model) as keys and the transcription levels as values.
- 'threshold_abundance': threshold to consider that a gene is expressed rather than be noise. For example you can set the threshold to 10 as recommended in DESeq2 documentation.
- 'max_bound': the value of the upper bounds when there is no restriction. For example, in Yeast8 model, the lower and upper bounds range from -1000 to 1000. For Yeast8 model, the 'max_bound' is 1000.


Installation:


python3 -m pip install GSMM_transcriptome_data_mapper
educelab-cmdparse 0.2.0
Python module for parsing arbitrary pipeline commands
Requires Python: >=3.9

# educelab-cmdparse

`educelab-cmdparse` is a Python module for parsing arbitrary pipeline commands 
from program arguments. It is meant to be used in conjunction with `argparse`.

## Requirements
- Python 3.9+

## Installation

This project is available on PyPI:

```shell
python3 -m pip install educelab-cmdparse
```
hf-chat 0.1.0
Unofficial Huggingface chat async wrapper for reverse engineered api
Requires Python: >=3.11

# Unofficial HuggingFace chat api.

### Description

[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3113/)

A simple async ready wrapper for reverse engineered API of [HuggingChat](https://huggingface.co/chat).

<p>The project has no affiliation with Hugging Face, and it is neither endorsed nor officially supported by Hugging Face. 
The repository owner(s) and contributors cannot be held responsible for any damages or losses resulting from the 
utilization of this repository or its contents. Users bear sole responsibility for their actions and any potential 
consequences that may ensue.</p>

### Installing

```
pip install hf-chat
```

### Quickstart

```
import asyncio
from hf_chat import ChatCompletion

async def main():
    chat = ChatCompletion("email", "password")
    async with chat:
        await chat.create_conversation(switch_to=True)
        user_input = input('> ')
        print(await chat.ask(user_input))
        
asyncio.run(main())
```

<hr>

Inspired by [Soulter/hugging-chat-api](https://github.com/Soulter/hugging-chat-api)
Num-Tini4 0.0.1a1
Python precise number type.
Requires Python: >=3.11

# Example Package

This is a simple example package. You can use
[Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
to write your content.


# Num

[![Pylint](https://github.com/Tini4/Num/actions/workflows/pylint.yml/badge.svg)](https://github.com/Tini4/Num/actions/workflows/pylint.yml)
[![codecov](https://codecov.io/gh/Tini4/Num/branch/master/graph/badge.svg?token=BILTI4331O)](https://codecov.io/gh/Tini4/Num)

Python precise number type.

```python
from src.Num_Tini4.num import Num

number1 = Num()
number2 = Num()

number1.set_num({2: 1, 3: 2}, sign=Num.Sign.NEGATIVE)  # 18
number2.set_num({11: -1})  # 1/11

print((number2 + number1).get_fraction())  # 199/11
print()
print(abs(number1))

number1.set_float(18 / 11)
print(18 / 11)
print(number1.get_float())
print(number1)
print(number1.get_fraction())
print()

number1.set_float(-18 / 11)

print(number1)
print(number1.get_float())
print(-18 / 11)

number1.set_int(3)
number2.set_int(2)
print((number1 ** number2).get_float())
```

## 1
- http://www.java2s.com/Tutorials/Python/Class/Overload_divide_operator.htm
- https://www.geeksforgeeks.org/operator-overloading-in-python/

## 2
- https://t5k.org/lists/small/millions/
- https://t5k.org/notes/faq/LongestList.html
- http://compoasso.free.fr/primelistweb/page/prime/liste_online_en.php