semvec/pypi-packages huggingface dataset:
pytohub 1.7.5
This is a module that can connect to your lego RI hub or lego SPIKE PRIME hub and can directly upload modules to your hub
License: MIT

# PYTOHub

PYTOHub is a program that can directly connect to your lego spike prime or mindstorms hub

![alt text](banner.png)

# How to download

How to download PYToHub

**Run this in your terminal (Command prompt)**
```
pip install pytohub
```

Press `enter` when you see your hub's serial port, Make sure that you setted up your lego hub for pytohub to connect.

# How to run pytohub

**You can directly run it in the terminal**
```
python -m pytohub
```

# How to setup your lego hub

You need to setup your lego hub

**You can directly run it in the terminal**
```
python -m pytohub --download
```
swodl-interpreter 1.0.1
SWoDL interpreter.
License: MIT

# swodl_interpreter

SWoDL interpreter that is written following the next documentation: http://resources.avid.com/SupportFiles/attach/AssetManagement/References/AssetManagement_2019_6_SWoDLReference.pdf

and

https://resources.avid.com/SupportFiles/attach/AssetManagement/References/AssetManagement_2020_9_ProcessReference.pdf

## Try it in browser

https://vladku.gitlab.io/swodl_interpreter/

## How to run:

Install:

`pip install git+https://gitlab.com/vladku/swodl_interpreter.git`

Run:

`swodl run <filepath>`

or use `swodl --help` to get all params)

> Example how to pass struct as input: `swodl -in "t={'r': [1, 5, 6]}"`

## What to add:

* Input var from file []
* Error handling (line number) [+-]
* Fix str repr for nested out

## How to write web services resolver plugin:

Create your Resolver class with `get_service`, `get_method` and `get_config` methods like:

```python
class WebFake:
    def get_service(self, service, interface):
        return self
    def get_method(self, name):
        def web(*args, **kwargs):
            return f"{name}".join(args)
        return web
    def get_config(self, profileName, keys, default=""):
        ...
    def get_wf(self, name):
        ...
```

Create your own package with following part of setup.py

```python
setuptools.setup(
    ...
    entry_points = {
        'swodl_service_resolvers': [
            '{your_plugin_name} = {packagename}.{modulename}:{classname}',
        ],
    },

)
```

Mock config example:

```python
config = {
    "services": {
        "service_name": {
            "interface_name": {
                "method_name": {
                    "cases": [{
                        "args": [
                            "1"
                        ],
                        "result": "One"
                    }],
                    "default": 123
                }
            }
        }
    },
    "config": {
        "profile": {
            "section": {
                "section": {
                    "key": "CONFIGURATION!"
                }
            }
        }
    }
}
```
func3_lib 0.0.2
Three functions func3_lib 'transpose2d', 'window1d' and 'convolution2d'.
License: MIT
Requires Python: >=3.10,<4.0

# Here is project DE2.1.5

	Module 2: Fundamentals of Data Engineering
	Sprint 1: Advanced Python & Linux Shell Commands
	Part 5: Data Transformation Library
	Version v0.1

## Project requirements

Objectives for this Part
 - Practice using Python and Numpy.
 - Practice building Python libraries.
 - Practice using Poetry.
 - Practice publishing your packages to PyPI.

Requirements
 - Implement the three data transformation functions described in the Context section.
 - Build a Python library containing the three functions.
 - Publish the library to PyPI.
 - Provide suggestions about how your analysis can be improved.

Evaluation Criteria
 - Adherence to the requirements. How well did you meet the requirements?
 - Code quality. Was your code well-structured? Did you use the appropriate levels of abstraction? Did you remove commented-out and unused code? Did you adhere to the PEP8?
 - Code performance. Did you use suitable algorithms and data structures to solve the problems?
 - Presentation quality. Coherence of the presentation of the project, and how well everything is explained.
 - General understanding of the topic.

# Build functions

## func3_lt package

	A package contains 3 functions:
		transpose2d
			"The function `transpose2d` takes a 2D matrix as input and returns its transpose."

		window1d
			" The function `window1d` takes an input array and creates overlapping windows of a specified size,
    		shift, and stride."

		convolution2d
			"The `convolution2d` function performs a 2D convolution operation on an input matrix using a given
    		kernel and stride."

## How to use
	After installing the package use following import:

		from func3_lt import transpose2d, window1d, convolution2d