semvec/pypi-packages huggingface dataset:
llcsciencesdk 2.2.7
A mini SDK for interacting with the LLC Science Admin

# LLC Science SDK

> A simple way to fetch scientific data from the Science Admin.
> Please visit {BASE_URL}/api/schema/swagger-ui/#/ for more information on the API.

## Installation

```sh
pip install llcsciencesdk
```

## Updating to a new version

```sh
pip install llcsciencesdk -U
```

## Usage

#### Specifying environment

```python
from llcsciencesdk.llc_api import ScienceSdk

llc_api = ScienceSdk() # connect to production
llc_api = ScienceSdk(environment="staging") # connect to staging
llc_api = ScienceSdk(environment="local") # connect to localhost
llc_api = ScienceSdk(environment="http://127.0.0.1:8009") # connect to custom url
```

#### Logging in

```python
from llcsciencesdk.llc_api import ScienceSdk

llc_api = ScienceSdk()
llc_api.login("username", "password")
```

#### Using the endpoints

```python
from llcsciencesdk.llc_api import ScienceSdk
llc_api = ScienceSdk()
llc_api.login("username", "password")
model_input = llc_api.get_ft_input(1)
planting_design_list = llc_api.get_planting_design_list()
planting_design_detail = llc_api.get_planting_design(10)
```



## Supported endpoints

See the swagger docs for a complete list. {BASE_URL}/api/schema/swagger-ui/#/

## For Developers

### Updating package

1. Make sure you have supported version of flit installed (see project.toml).

```
    python3 -m pip install flit
```

2. Set env variables for PiPy login:

```
    Get the token from the PiPy website and run the following commands:
```
3. Update the version of the API in the __init__.py file.
4. Run command to publish to PiPy:

```
    flit publish
```
netspresso-inference-package 0.1.6b0
Inference module.
Requires Python: >=3.8

# How to use

## Use directly
* model_file_path: Model file path(ONNX, TFLite)
* dataset_file_path: The path to the compressed file or the individual npy files where the delimiter of the input layer is used as the file name.

```bash
python3 inference.py --model_file_path tests/your_model_file.tflite --dataset_file_path tests/your_dataset_file.npy 
```

## Import and use

```python
from netspresso_inference_package.inference.inference_service import InferenceService
inf_service = InferenceService(
        model_file_path="/app/tests/people_detection.onnx"
        )
inf_service.run(dataset_file_path="/app/tests/dataset_for_onnx.npy")
print(inf_service.result_file_path)
```
latex2word 1.1
A pure python library implemented by python3 for writing Latex formulas to word.
Requires Python: >=3.7

# LatexToWord
A pure python library implemented by python3 for writing Latex formulas to word.


[Readme_CN](https://github.com/Gu-f/LatexToWord/blob/main/README_CN.md)  

## USAGE  
### Install  
`pip install latex2word`  

### Example  
```python
from docx import Document
from latex2word import LatexToWordElement

"""
`pip install python-docx`  
常规用法  
General usage.  
"""

# 公式(Latex string)
latex_input = r"x={-b \pm \sqrt{b^2-4ac}\over 2a}"
# 构建latex_to_word对象 (Build latex_to_word objects)
latex_to_word = LatexToWordElement(latex_input)

# 插入word公式(Create the docx file and insert the element)
doc = Document()
paragraph = doc.add_paragraph()
latex_to_word.add_latex_to_paragraph(paragraph)

doc.save('test.docx')
```  
Result:  
![demo](https://raw.githubusercontent.com/Gu-f/LatexToWord/main/images/demo.png)