semvec/pypi-packages huggingface dataset:
gobtools 0.1.2
Library to control and interact with the Goblin ecosystem.
Requires Python: >=3.8
Keywords: Goblin, Goblin Miner, Goblin Weaver

# GobTools
Library to control and interact with the Goblin ecosystem.

[![Apache-2.0](https://custom-icon-badges.herokuapp.com/badge/license-Apache%202.0-8BB80A.svg?logo=law&logoColor=white)]()
![Github Tag](https://img.shields.io/github/v/tag/Hietan/gobtools)

## What is GobTools?

GobTools streamlines access to GoblinWeaver.\
By simply passing information as arguments to Python functions, requests are sent effortlessly, and responses are returned as dictionaries.

Please refer to the [official repository](https://github.com/Goblin-Ecosystem/goblinWeaver.git) for more details about GoblinWeaver.

## Installation

- pip

Run the following command:

```
pip install git+https://github.com/Hietan/gobtools.git
```

- Rye

Run the following command in a rye project:

```
rye add gobtools --git https://github.com/Hietan/gobtools.git
```

## Usage

> [!TIP]
> GobTools requires that the GoblinWeaver API server is running.\
> Ensure the GoblinWeaver is started before using GobTools.\
> You may need to provide the API server's URL when using GobTools.

### 1. Import

Import the necessary module for creating a controller instance:

```python
from gobtools.weaver.controller import WeaverController
```

### 2. Instance Creation

Create an instance of the controller by specifying the URL of the GoblinWeaver API server.

```python
controller = WeaverController("<your-api-server-url>")
```

> [!NOTE]
> Replace `<your-api-server-url>` with the actual URL for you environment (e.g., "http://localhost:8080") where your GoblinWeaver server is running\

### 3. Get Data

Get all releases of an artifact from org.apache.logging.log4j:log4j-core with added values (`CVE`, `FRESHNESS`).\
The function `get_artifact_releases` sends POST requests to `<your-api-server-url>/artifact/releases`.\
You can receive the results as dictionary.

```python
releases = controller.get_artifact_releases(
    "org.apache.logging.log4j", 
    "log4j-core", 
    ["CVE", "FRESHNESS"]
)
```

Other REST API endpoints can also be accessed through GobTools function.\
For detailed API documentation, please refer to `<your-api-server-url>/swagger-ui/index.html`

### 4. Print Result

By using `json_format`, you can format and display the results.

```python
from gobtools.utils.json import json_format

print(json_format(releases))
```
pyqcodeeditor 0.3.7
A qtpy implementation of Megaxela’s QCodeEditor (based on C++ Qt).
Requires Python: <4.0,>=3.8

# PyQCodeEditor

A simple code edit widget for pyside and pyqt (qtpy).

## Description
This is a python implementation of the QCodeEditor（written in C++ Qt）. 
This project uses qtpy as the abstract layer of different python bindings of Qt, so that the user can choose whatever
python binding of qt they want, like pyqt5、pyqt6、pyside2、pyside6.

The original QCodeEditor can be found here: https://github.com/Megaxela/QCodeEditor.

## Status

### Now the following features are implemented:

1. Auto parentheses.
2. Different highlight rules.
3. Auto indentation.
4. Replace tabs with spaces.
5. Some builtin completion and highlight rules
6. Support custom themes and styles
7. Pure python, No C++ code

**Completers for:**
1. [C++](pyqcodeeditor/completers/QCXXCompleter.py)
2. [Python](pyqcodeeditor/completers/QPythonCompleter.py)
3. [Lua](pyqcodeeditor/completers/QLuaCompleter.py)
4. [glsl](pyqcodeeditor/completers/QGLSLCompleter.py)

**Highlighters for:**
1. [C++](pyqcodeeditor/highlighters/QCXXHighlighter.py)
2. [Python](pyqcodeeditor/highlighters/QPythonHighlighter.py)
3. [Json](pyqcodeeditor/highlighters/QJSONHighlighter.py)
4. [Lua](pyqcodeeditor/highlighters/QLuaHighlighter.py)
5. [glsl](pyqcodeeditor/highlighters/QGLSLHighlighter.py)


### Unimplemented and known bugs:

- Frame selection (I write the python according to the original C++ code, but some bugs are occurred and 
I don't know why and how fix it for now)

- Highlighting for python's multi-line strings is not fully behave as expected
(again I don't time to look into it and find a workaround now, any help is welcome)

### Different from QCodeEditor:

- The styles and language rules are defined in json instead of xml


**Note: This is not a fully featured IDE or code editor like VS Code**

## Get-Started

### Install this library

```bash
pip install PyQCodeEditor
```

### Install the python binding of QT you want, for example, PySide2

```bash
pip install pyside2
```

### Import QCodeEditor and use it as any regular qt widget:

```python
from qtpy.QtWidgets import QApplication
from pyqcodeeditor.QCodeEditor import QCodeEditor
from pyqcodeeditor.highlighters import QPythonHighlighter
from pyqcodeeditor.completers import QPythonCompleter

app = QApplication([])
editor = QCodeEditor()
editor.setCompleter(QPythonCompleter())
editor.setHighlighter(QPythonHighlighter())
editor.resize(800, 600)
editor.setPlainText("print('hello world!')")
editor.show()
app.exec_()
```

Here is a screenshot of the above code:

![](./doc/hello_world.png)


## License

This lib itself is under the MIT license, but user should also comply with the license of
the qt binding lib they choose.  For example, if the user uses PyQT5, they should comply with the GPL license, if they chooses the PySide2 they should comply with the LGPL license, and so on
pyroll-shida-flow-stress 3.0.0
Plugin for PyRolL providing the constitutive flow stress function from S. Shida.
Requires Python: <4.0,>=3.9

# PyRoll Shida Flow Stress Model

Plugin for PyRolL providing the constitutive flow stress function from S. Shida.

For the docs, see [here](docs/index.md).

This project is licensed under the [BSD-3-Clause license](LICENSE).

The package is available via PyPi and can be installed with

    pip install pyroll-shida-flow-stress
pyroll-mauk-gottschling-flow-stress 3.0.0
Plugin for PyRolL providing the flow stress approach and material database for the flow stress model of Mauk and Gottschling.
Requires Python: <4.0,>=3.9

# PyRoll Plugin

Template for PyRoll Plugin Repositories.

Please follow the following instructions when creating your own PyRoll plugins:

- The folder `pyroll` is a namespace package, place your plugin package therein to make it discoverable by the CLI for example by just renaming the nested `plugin` package to the desired).

- Use [`pytest`](https://docs.pytest.org) for creating unit tests. Place all test files in the `tests` folder.

- Update the `pyproject.toml` with your metadata. It is recommended to use [`hatch`](https://hatch.pypa.io) to maintain dependencies, as is preconfigured. It is recommended that the plugin major version corresponds to the PyRoll Core major version (so plugin versions 2.x.x working with `pyroll-core` 2.x.x).

- Place documentation in the `docs` folder:
    - you may provide a printable documentation using LaTeX based on the `docs.tex` template and the
      provided `PyRollDocs` class
    - you may provide a web documentation using Markdown or RST rendered by GitHub or external tools
      like [Sphinx](https://www.sphinx-doc.org)
    - you may provide a printable documentation built from Markdown or RST by tools such
      as [Pandoc](https://pandoc.org/)
    - if appropriate, include the result PDF in the commit and link it from `README.md` like [so](docs/docs.pdf)
    - include model and usage information in the documentation

- Please use a permissive license such as BSD or MIT

- Edit this readme file with contents of your own needs.
    
- If you want your plugin to be listed on the main documentation website (see [here](https://pyroll.readthedocs.io/en/latest/plugins/index.html)), please contact the maintainers preferably using an issue or PR.

## Usage of the Preconfigured Hatch Scripts

To build the docs use (needs a working LaTeX installation)

    hatch run docs:build

To run the tests use

    hatch run test:all

The test environment is preconfigured to test with Python 3.9, 3.10 and 3.11.
The tests are skipped for the respective version, if it can not be found.
pyroll-sander-spreading 3.0.0
Plugin for PyRolL providing spreading claclulation using Sanders's equation.
Requires Python: <4.0,>=3.9

# PyRoll Sander Spreading

Plugin for PyRoll providing the Sander spreading model.

For the docs, see [here](docs/docs.pdf).

This project is licensed under the [BSD-3-Clause license](LICENSE).

The package is available via [PyPi](https://pypi.org/project/pyroll-sander-spreading/) and can be installed with
    
    pip install pyroll-sander-spreading
pyroll-lee-flow-stress 3.0.0
Plugin for PyRoll providing the constitutive flow stress function from Lee et al.
Requires Python: <4.0,>=3.9

# PyRolL Lee Flow Stress Model

Plugin for PyRolL providing the constitutive flow stress function from Lee et al..

For the docs, see [here](docs/index.md).

This project is licensed under the [BSD-3-Clause license](LICENSE).

The package is available via PyPi and can be installed with

    pip install pyroll-lee-flow-stress
pyroll-misaka-flow-stress 3.0.0
Plugin for PyRolL providing the constitutive flow stress function from Y. Misaka.
Requires Python: <4.0,>=3.9

# PyRolL Misaka Flow Stress Model

Plugin for PyRolL providing the constitutive flow stress function from Y. Misaka.

For the docs, see [here](docs/index.md).

This project is licensed under the [BSD-3-Clause license](LICENSE).

The package is available via PyPi and can be installed with

    pip install pyroll-misaka-flow-stress
pyroll-neutral-point-estimator 3.0.0
Plugin for PyRolL providing a variety of neutral point estimators.
Requires Python: <4.0,>=3.9

# PyRolL Neutral Point Estimator
Plugin for PyRoll providing a variety of neutral point estimators.

For the docs, see [here](docs/docs.pdf).

This project is licensed under the [BSD-3-Clause license](LICENSE).

The package is available via [PyPi](https://pypi.org/project/pyroll-neutral-line-estimator/) and can be installed with
    
    pip install pyroll-neutral-point-estimator
my-temp-converter 0.1.0
A simple temperature converter
Requires Python: >=3.7

# Temperature Converter

A simple package to convert between Celsius and Fahrenheit temperatures.

## Usage
```python
from temp_converter import celsius_to_fahrenheit, fahrenheit_to_celsius

# Convert 100°C to Fahrenheit
f = celsius_to_fahrenheit(100)
print(f)  # 212.0

# Convert 212°F to Celsius
c = fahrenheit_to_celsius(212)
print(c)  # 100.0