semvec/pypi-packages huggingface dataset:
simpunch 0.0.3
Simulate PUNCH observations
Requires Python: >=3.10
Keywords: PUNCH, NASA, simulate, data, solar physics

# simpunch

This software creates simulated PUNCH-like data. It's useful in testing the calibration pipeline.

> [!CAUTION]
> This package is still being developed. There will be breaking code changes until v1.
> We advise you to wait until then to use it.

![example simulated image](example.png)

It accepts a total brightness and polarized brightness model as input.
These have been created using the
[FORWARD code](https://www.frontiersin.org/journals/astronomy-and-space-sciences/articles/10.3389/fspas.2016.00008/full)
from [GAMERA simulation data ](https://arxiv.org/pdf/2405.13069).
These images are fed backward through the pipeline from level 3 to level 0 products,
adding appropriate effects along the way.

## Instructions

1. Install the package with `pip install .`
2. Start prefect with `prefect server start`
3. Create a configuration file like [example_config.toml](example_config.toml)
4. Run with `simpunch generate my_config.toml`
langchain-yt-dlp 0.0.8
YouTube loader for LangChain using yt-dlp
Requires Python: >=3.8
Keywords: langchain yt-dlp loader

# langchain-yt-dlp

**`langchain-yt-dlp`** is a Python package that extends [LangChain](https://github.com/langchain-ai/langchain) by providing an improved YouTube integration using `yt-dlp`.
This package addresses a critical limitation in the existing LangChain YoutubeLoader. The original implementation, which relied on `pytube`, became unable to fetch YouTube metadata due to changes in YouTube's structure. `langchain-yt-dlp` resolves this by leveraging the robust `yt-dlp` library, providing a more reliable YouTube document loader.

---

## Key Features

- Retrieve metadata (e.g., title, description, author, view count, publish date) using the `yt-dlp` library.
- Maintain compatibility with LangChain's existing loader interface.

---

## Installation

To install the package, use:

```bash
pip install langchain-yt-dlp
```

Ensure you have the following dependencies installed:
- `langchain`
- `yt-dlp`

Install them with:
```bash
pip install langchain yt-dlp
```

---

## Usage

Here’s how you can use the `YoutubeLoader` from `langchain-yt-dlp`:

### **Basic Example**



### **Loading From a YouTube URL**

```python
from langchain_yt_dlp.youtube_loader import YoutubeLoaderDL

# Initialize using a YouTube URL
loader = YoutubeLoaderDL.from_youtube_url(
    youtube_url="https://www.youtube.com/watch?v=dQw4w9WgXcQ", 
    add_video_info=True
)

documents = loader.load()
print(documents)
```

---

## Parameters

### `YoutubeLoaderDL` Constructor

| Parameter      | Type | Default | Description                             |
|----------------|------|---------|-----------------------------------------|
| `video_id`       | `str`  | None    | The YouTube video ID to fetch data for. |
| `add_video_info` | `bool` | `False`   | Whether to fetch additional metadata.   |

---

## Testing

To run the tests:

1. Clone the repository:
   ```bash
   git clone https://github.com/aqib0770/langchain-yt-dlp
   cd langchain-yt-dlp
   ```

2. Install development dependencies:
   ```bash
   pip install -r requirements.txt
   ```

3. Run the tests:
   ```bash
   pytest tests/test_youtube_loader.py
   ```

---

## Contributing

Contributions are welcome! If you have ideas for new features or spot a bug, feel free to:
- Open an issue on [GitHub](https://github.com/aqib0770/langchain-yt-dlp/issues).
- Submit a pull request.


---

## License

This project is licensed under the MIT License. See the [LICENSE](https://github.com/aqib0770/langchain-yt-dlp/blob/main/LICENSE) file for details.

---

## Acknowledgements

- [LangChain](https://github.com/langchain-ai/langchain) for providing the base integration framework.
- [yt-dlp](https://github.com/yt-dlp/yt-dlp) for enabling enhanced YouTube metadata extraction.
siganalysis 0.5.1
Perform signal analysis
Requires Python: >=3.12

# siganalysis
[pypi ver image]: http://img.shields.io/pypi/v/applyaf.svg
[pypi ver link]: https://pypi.python.org/pypi/applyaf

[![PyPi Version][pypi ver image]][pypi ver link]
[![Build Status][travis image]][travis link]
[![Coverage Status][coveralls image]][coveralls link]
[![License Badge][license image]][LICENSE.txt]

Python (3.6+) routines for analyzing signals. Some of the functions include:

- Calculating [Short-Time Fourier Transform][stft]
- Smoothing a signal
- Plotting an STFT's spectrogram
- Calculating the peak hold of an STFT in the freq domain
- Plotting the peak hold of an STFT

The above functions are handy when analyzing signals recorded in the time
domain, such as using a TEAC LX-10 data recorder, and seeing the frequency
spectrum for Electromagnetic Compatibility (EMC) analyses.


## Installation

You can install [siganalysis][] either via the Python Package Index
(PyPI) or from source.

To install using pip:

```bash
$ pip install siganalysis
```

**Source:** https://github.com/questrail/siganalysis


## Requirements

[siganalysis][] requires the following Python packages:

- [numpy][]
- [scipy][]
- [matplotlib][]


## Contributing

Contributions are welcome! To contribute please:

1. Fork the repository
2. Create a feature branch
3. Add code and tests
4. Pass lint and tests
5. Submit a [pull request][]


## Development Setup

### Development Setup Using pyenv

Use the following commands to create a Python 3.9.9 virtualenv using [pyenv][]
and [pyenv-virtualenv][], install the requirements in the virtualenv named
`siganalysis`, and list the available [Invoke][] tasks.

```bash
$ pyenv virtualenv 3.9.9 siganalysis
$ pyenv activate siganalysis
$ pip install -r requirements.txt
$ inv -l
```


## License

[siganalysis][] is released under the MIT license. Please see the
[LICENSE.txt][] file for more information.


[coveralls image]: http://img.shields.io/coveralls/questrail/siganalysis/master.svg
[coveralls link]: https://coveralls.io/r/questrail/siganalysis
[invoke]: https://www.pyinvoke.org/
[LICENSE.txt]: https://github.com/questrail/siganalysis/blob/develop/LICENSE.txt
[license image]: http://img.shields.io/pypi/l/siganalysis.svg
[numpy]: http://www.numpy.org
[matplotlib]: http://matplotlib.org
[pull request]: https://help.github.com/articles/using-pull-requests
[pyenv]: https://github.com/pyenv/pyenv
[pyenv-virtualenv]: https://github.com/pyenv/pyenv-virtualenv
[pypi ver image]: http://img.shields.io/pypi/v/siganalysis.svg
[pypi ver link]: https://pypi.python.org/pypi/siganalysis/
[scipy]: http://www.scipy.org
[siganalysis]: https://github.com/questrail/siganalysis
[stft]: http://en.wikipedia.org/wiki/Short-time_Fourier_transform
[travis image]: http://img.shields.io/travis/questrail/siganalysis/master.svg
[travis link]: https://travis-ci.org/questrail/siganalysis
[virtualenv]: https://virtualenv.pypa.io/en/latest/
[virtualenvwrapper]: http://virtualenvwrapper.readthedocs.org/en/latest/
Min-Craft 2.0
Say E, You Die.
Requires Python: >=3.6


# MIN CRAFT
Hello everyone, a new script to kill you!
## SETUP
How to setup:

- Setup an bukkit server
- Follow the installation section
- Follow the script install section

## Installation

```bash
pip install speechrecognition mcrcon pyaudio
```

server.propeties >

```bash
  enable-rcon=true
  rcon.password=YOUR_RCON_PASSWORD
  rcon.port=25575
```
    
## Script Setup

#### Get all items

```text
  Script Modifications
```

| Parameter | Type     | Description                |
| :-------- | :------- | :------------------------- |
| `RCON_HOST` | `IP` | **Required**. Make sure to enter a valid ip of your server |
| `RCON_PORT` | `PORT` | **Required**. Make sure to enter a valid port |
| `RCON_PASSWORD` | `PSWD` | **Required**. Make sure to enter a valid password |



## Run Script

To run the script do:

```bash
cd C:\script\directory\
python scriptname.py
select your language
```
Launch your game and play on the server!

## Multiplayer Support
# Note : Multiplayer not fully supported.

How to play script on multiplayer :

- Install playit.gg
- Login to website
- Configure the app
- Launch the app and copy paste the ip (Check Screenshot)

![ScreenShot](https://i.ibb.co/7znXrZZ/Capture.png)  

## Roadmap

- Add an custom banned letter

- Add an easy install support

## Based On

The script is based on this video:

Here the video link to the original concept! [Watch The Video On YouTube](https://www.youtube.com/watch?v=SgVvVelwKIk)

## Contributing

Contributions are always welcome! Make sure to dm me on discord : bowser_2077

![Logo](https://avatars.githubusercontent.com/u/164537694?s=400&u=b3bc2c47db49a0532a54b55dd19c5582134df7ea&v=4)
applyaf 2.1.1
Apply antenna factors and cable loss to spectrum analyzer measurements
Requires Python: >=3.12

# applyaf

[![PyPi Version][pypi ver image]][pypi ver link]
[![Coverage Status][coveralls image]][coveralls link]
[![License Badge][license image]][LICENSE.txt]

[applyaf][] is a Python 3.12+ module that applies frequency dependent antenna
factors and cable losses to spectrum analyzer readings in order to calculate the
incident field. Any duplicate frequency entries in the antenna factors or cable
losses data are removed before interpolating the frequencies to match those of
the spectrum analyzer readings.

## Inputs

Three csv files containing the following are required inputs:

1. Spectrum analyzer measurements
2. Antenna factor data
3. Cable loss data

Each CSV file should contain data in two columns:

1. Frequency
2. Amplitude

The amplitude is expected to be in dB.

## Dependencies

See the `pyproject.toml` and `uv.lock` files for the dependency requirements.

## Future Improvements

Some thoughts for future improvements include:

1. Allowing CSV data files that contain non-dB amplitudes and then
   convert as needed. Should this be a per-file setting?
2. Generalize the code to handle a variable number (>3) of data to be
   interpolated and applied to the given data set.
3. If the code is generalized, should this be wrapped into the
   [siganalysis][] project or left on its own?

## Contributing

Contributions are welcome! To contribute please:

1. Fork the repository
2. Create a feature branch
3. Add code and tests
4. Pass lint and tests
5. Submit a [pull request][]

## Development Setup

### Development Setup Using uv

With [uv][], [ruff][] and [Just][] installed, development has been simplified to
simply running [Just][] to see the available commands.

```bash
$ just
```

#### Deploying with uv

```bash
$ just test
$ git tag -a vX.Y.Z -m "vX.Y.Z"
$ just deploy
```

#### Development Setup on macOS

```bash
$ brew install uv ruff just
```

## License

[applyaf][] is released under the MIT license. Please see the
[LICENSE.txt][] file for more information.

[applyaf]: https://github.com/questrail/applyaf
[coveralls image]: http://img.shields.io/coveralls/questrail/applyaf/master.svg
[coveralls link]: https://coveralls.io/r/questrail/applyaf
[invoke]: https://www.pyinvoke.org/
[just]: https://just.systems/
[LICENSE.txt]: https://github.com/questrail/applyaf/blob/develop/LICENSE.txt
[license image]: http://img.shields.io/pypi/l/applyaf.svg
[numpy]: http://www.numpy.org
[pull request]: https://help.github.com/articles/using-pull-requests
[pypi ver image]: http://img.shields.io/pypi/v/applyaf.svg
[pypi ver link]: https://pypi.python.org/pypi/applyaf
[ruff]: https://docs.astral.sh/ruff/
[siganalysis]: https://github.com/questrail/siganalysis
[uv]: https://docs.astral.sh/uv/
repvar 0.1.221
Easily replace variables within file contents and filenames!
Requires Python: >=3.12

# JSON Variable Replacer CLI (repvar)

This project is a Command Line Interface (CLI) application built using Python and the typer library. It allows you to replace variables in files and filenames within an input folder and save the processed files to an output folder.

## Features

- **Variable Replacement**: Replace variables in the format `${variable}` found in file contents and filenames.
- **Transformations**: Supports variable transformations such as:
  - `lowercase`: Convert variable value to lowercase.
  - `uppercase`: Convert variable value to uppercase.
  - `nocase`: Remove underscores (`_`) and apply lowercase.
  - `remove_`: Remove underscores (`_`).
- **Automatic Variable Detection**: If no variables JSON file is specified, the application looks for a `variables.json` file in the input folder.
- **Logging Summary**: Displays a concise summary with color-coded output, including:
  - Number of files found.
  - Number of files changed.
  - Number of files unchanged.

## Installation

### Method 1: Install from PyPI

The package is available on PyPI and can be installed directly:

```bash
pip install repvar
```

### Method 2: Install from Source

Clone the repository and install the dependencies:

```bash
git clone https://github.com/vamanfredi/repvar.git
cd repvar
pip install typer typing-extensions
```

### Method 3: Use uv

Install `uv` and run the tool installation:

```bash
pip install uv
uv tool install --from git+https://github.com/vamanfredi/repvar repvar
```

## Usage

Run the CLI application with the following command:

```bash
repvar <input_folder> <output_folder> [variables_json]
```

### Arguments

- `<input_folder>`: Path to the folder containing the files to process.
- `<output_folder>`: Path to the folder where processed files will be saved.
- `[variables_json]`: Optional. Path to the JSON file with variables. Defaults to `variables.json` in the input folder.

### Example

```bash
repvar ./input ./output ./variables.json
```

### Example `variables.json`

```json
{
  "username": "JohnDoe",
  "project": "MyProject",
  "greeting": "Hello"
}
```

#### Result

**Before replacement:**

- Filename: `welcome_${username}.txt`
- Content: `Welcome to ${project}, ${greeting}!`

**After replacement:**

- Filename: `welcome_JohnDoe.txt`
- Content: `Welcome to MyProject, Hello!`

## Output Example

Upon execution, the CLI will display a summary:

```plaintext
Input Folder: ./input
Output Folder: ./output
Variables Loaded: ['username', 'project', 'greeting']
Files Found: 10
✓ Files Changed: 8
~ Files Unchanged: 2
```

## License

This project is licensed under the MIT License. See the `LICENSE` file for details.
pyacad 0.0.6
A package aimed to simplfy coding of Activex Automation Module of AutoCAD, based on pywin32 library.

# pyacad

A package aimed to simplfy coding of Activex Automation Module of AutoCAD, based on pywin32 library.


## Features

- Uses of COM (Componnent Object Model of Microsoft) for manipulate AutoCAD application with Python.
- Python Autocad class for manipulate.

## Usage

```
from pyacad import Autocad, APoint

# Create a line in the active document model space.
acad = Autocad()
p0 = APoint(1, 1)
p1 = APoint(2, 3)
acad.model.AddLine(p0, p1)

# Zoom the line by extents.
acad.app.ZoomExtents()
```


## Links

- Documentation at: [ReadTheDocs](https://pyacad.readthedocs.io/en/latest/)
- Source code and issue tracking at: [GitHub](https://pypi.org/project/pyacad/)

## Support me:

- If you want to pay me for a beer, coffee, or something else: [C|_|](https://www.paypal.com/paypalme/KevinAxelTagliaferri)
sbcli-lvol-ha-1 0.0.3
CLI for managing SimplyBlock cluster


# Simply Block
[![Docker Image Build](https://github.com/simplyblock-io/sbcli/actions/workflows/docker-image.yml/badge.svg)](https://github.com/simplyblock-io/sbcli/actions/workflows/docker-image.yml)

[![Python Unit Testing](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml/badge.svg)](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml)


## Install
Add the package repo from AWS CodeArtifact using [awscli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)

```bash
aws codeartifact login --tool pip --repository sbcli --domain simplyblock --domain-owner 565979732541 --region eu-west-1
```
Install package
```bash
pip install --extra-index-url https://pypi.org/simple sbcli-dev
```

# Components

## Simply Block Core
Contains core logic and controllers for the simplyblock cluster

## Simply Block CLI
Please see this document
[README.md](../main/simplyblock_cli/README.md)


## Simply Block Web API
Please see this document
[README.md](../main/simplyblock_web/README.md)



### local development

FoundationDB requires a client library (libfdb_c.dylib) for the Python bindings to interact with the database.
Depending on the OS architecture, please install the appropriate version from the official github repo

```
wget https://github.com/apple/foundationdb/releases/download/7.3.3/FoundationDB-7.3.3_arm64.pkg
```

setup the code on a management node and the webApp code can be developed by building the `docker-compose-dev.yml` file.


```
sudo docker compose -f docker-compose-dev.yml up --build -d
```
repvar_vamanfredi 0.1.22
Easily replace variables within file contents and filenames!
Requires Python: >=3.12

# JSON Variable Replacer CLI (repvar)

This project is a Command Line Interface (CLI) application built using Python and the `typer` library. It allows you to replace variables in files and filenames within an input folder and save the processed files to an output folder.

## Features

- **Variable Replacement**: Replace variables in the format `${variable}` found in file contents and filenames.
- **Transformations**: Supports variable transformations such as:
  - `lowercase`: Convert variable value to lowercase.
  - `uppercase`: Convert variable value to uppercase.
  - `nocase`: Remove underscores (`_`) and apply lowercase.
  - `remove_`: Remove underscores (`_`).
- **Automatic Variable Detection**: If no variables JSON file is specified, the application looks for a `variables.json` file in the input folder.
- **Logging Summary**: Displays a concise summary with color-coded output, including:
  - Number of files found.
  - Number of files changed.
  - Number of files unchanged.

## Installation

1. Clone the repository:
   ```bash
   git clone https://github.com/vamanfredi/repvar.git
   cd repvar
   ```
2. Install dependencies:
   ```bash
   pip install typer typing-extensions
   ```
### Method 2: Use uv
 1. Install uv:
    ```bash
    pip install uv
    ```
 2. Run uv tool install:
    ```bash
     uv tool install --from git+https://github.com/vamanfredi/repvar repvar
     ```

## Usage

Run the CLI application with the following command:
```bash
python main.py replace <input_folder> <output_folder> [variables_json]
```

### Arguments
- `<input_folder>`: Path to the folder containing the files to process.
- `<output_folder>`: Path to the folder where processed files will be saved.
- `[variables_json]`: Optional. Path to the JSON file with variables. Defaults to `variables.json` in the input folder.

### Example
```bash
python main.py replace ./input ./output ./variables.json
```

## Example `variables.json`

```json
{
  "username": "JohnDoe",
  "project": "MyProject",
  "greeting": "Hello"
}
```

### Result
- Before replacement:
  - Filename: `welcome_${username}.txt`
  - Content: `Welcome to ${project}, ${greeting}!`
- After replacement:
  - Filename: `welcome_JohnDoe.txt`
  - Content: `Welcome to MyProject, Hello!`

## Output Example

Upon execution, the CLI will display a summary:
```plaintext
Input Folder: ./input
Output Folder: ./output
Variables Loaded: ['username', 'project', 'greeting']
Files Found: 10
✓ Files Changed: 8
~ Files Unchanged: 2
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
easy-commit 0.2.1
AI-powered Git commit message generator
Requires Python: >=3.7

# Easy Commit

AI-powered Git commit message generator

## Installation

```bash
pip install easy-commit
```

## Usage

### Stage your changes
```bash
git add .
```
It is neccesary to first stage all your changes. This picks up the code diffs from the staged changes.

### Save your default provider configuration
#### You can set the provider and api-key once when you first run it, after that you will be able to run it in any project or IDE.
```bash
easy-commit --provider groq --api-key your-api-key --save-config
```

Arguments:
- `--diff-size` : Maximum length of diff to analyze (default: 2048)
- `--trunc-diff`: Flag to include multiple diffs or truncate the diff (default: False)
#### Easy commit now supports bigger diffs, it splits those diffs into chunks and summarizes all the changes into a single message. use it when you have a lot of code changes, but be carefull as this might use a lot of tokens
- `--commit-len`: Maximum length of commit message (default: 100)
- `--provider` :  API provider to use for LLM functionality (default: groq)
- `--api-key` : API key for the selected LLM provider
- `--save-config` : Flag to save the provided configuration of easier accesability later (default: False)

#### Check [providers.yaml](https://github.com/PraNavKumAr01/easy_commit/blob/main/providers.yaml) for the providers supported and their default models.

## Examples
```bash
easy-commit
```
Yes! Thats actually all it takes. You will be shown the commit message, and prompted to press enter to perform the commit

### With arguments
```bash
easy-commit --diff-size 1024 --commit-len 50 --provider groq --api-key your-api-key
```

## Requirements
- Python 3.7+
- Groq API key
jahia-pylastic 0.0.9
Interact with Jelastic API
Requires Python: >=3.7

# pylastic

*Jelastic* combined with *Python*, here is **Pylastic** !

Pylastic provides many functions to interact with Jelastic API.

Arguments needed for initialization:

* hostame (Jelastic cluster endpoint)
* login
* password

To upgrade Pylastic, here is the official documentation: https://packaging.python.org/tutorials/packaging-projects/
monopylib 0.1.0
Tool for managing Python monorepos
Requires Python: >=3.6

# monopy
**monopy** is a Python tool designed to help manage monorepo structures efficiently, with support for managing dependencies, configurations, and service execution.

### monorepo structure
````
â””â”€â”€ python-monorepo
    â”œâ”€â”€ Readme.md
    â”œâ”€â”€ config.json  
    â”œâ”€â”€ monorepo
    â”‚   â”œâ”€â”€ services
    â”‚   â”‚   â”œâ”€â”€ x
    â”‚   â”‚   â”‚   â”œâ”€â”€ Dockerfile
    â”‚   â”‚   â”‚   â”œâ”€â”€ app
    â”‚   â”‚   â”‚   â”‚   â”œâ”€â”€ __init__.py
    â”‚   â”‚   â”‚   â”‚   â”œâ”€â”€ application.py
    â”‚   â”‚   â”‚   â”‚   â”œâ”€â”€ main.py
    â”‚   â”‚   â”‚   â”‚   â””â”€â”€ requirements.txt        
    â”‚   â”‚   â”‚   â”œâ”€â”€ local-utils.json
    â”‚   â”‚   â”‚   â””â”€â”€ requirements.txt
    â”‚   â”œâ”€â”€ utils
    â”‚   â”‚   â”œâ”€â”€ y
    â”‚   â”‚   â”‚   â”œâ”€â”€ app     
    â”‚   â”‚   â”‚   â”‚   â”œâ”€â”€ __init__.py
    â”‚   â”‚   â”‚   â”‚   â””â”€â”€ y.py
    â”‚   â”‚   â”‚   â”œâ”€â”€ local-utils.json
    â”‚   â”‚   â”‚   â””â”€â”€ requirements.txt
    â”‚   â”‚   â””â”€â”€ z
    â”‚   â”‚       â”œâ”€â”€ app
    â”‚   â”‚       â”‚   â”œâ”€â”€ __init__.py
    â”‚   â”‚       â”‚   â””â”€â”€ z.py
    â”‚   â”‚       â”œâ”€â”€ local-utils.json
    â”‚   â”‚       â””â”€â”€ requirements.txt
    â”‚   â””â”€â”€ versions-lock.json
````
### config.json 
````
{
    "repo_name": "monorepo",
    "services_dir": "services",
    "utils_dir": "utils",
    "venv_dir_name": ".venv",
    "default_case": "local-case",
    "version_lock_file": "versions-lock.json",
    "service_main_file": "main.py",
    "local_utils_file": "local-utils.json"
  }
  
````
### monorepo/services/x/local-utils.json
````
{
    "local_dependencies": [
        "y"
    ],
    "requirements": [
        "boto3"
    ],
    "local_dependencies_requirements": [

    ]
}
````
## run specific service:
```  cd python-monorepo  ```
```  monopy run service x  ```
or:
```  cd monorepo  ```
```  monopy run service x .. ```

## ci command for uncopy unnecceassery util service:

```  monopy run service x . ci-case ```

## build command inside the dockerfile:

```  monopy run service x . build-case ```

## build command inside the cmd in dockerfile:

```  monopy run service x . build-case ```