semvec/pypi-packages huggingface dataset:
reponow 0.0.1
convention based repo clone, open, etc
Requires Python: >=3.9

# reponow package

Features:
- A library that allows you to parse repo locations and map them to a consistent location on disk.
- Several commands to help clone and/or open a repo, via its repo location only:
```sh
wcl https://github.com/g0t4/dotfiles
opener https://github.com/g0t4/dotfiles
```

This package is from a learning exercise for my course at Pluralsight:
TODO link coming soon: [Python: Functions and Modules](https://github.com/g0t4/course-python-functions-modules)


## Install

```sh
pipx install reponow
wcl ...
opener ...
```

## Build

### Setup .venv w/ dependencies

```sh
# use uv for dependencies
uv sync

# OR, use venv/pip manually
python3 -m venv .venv
source .venv/bin/activate
# source .venv/bin/activate.fish  # if using fish shell
pip3 install .
```

### Run commands

```sh
# always make sure your venv is activated
source .venv/bin/activate[.fish]

# run commands "standalone"
uv pip install --editable .
# --editable allows you to change the code, w/o re-installing it
wcl ...
opener ...

# cloner, pick one:
python3 reponow/wcl.py
python3 -m reponow.wcl
python3 -m reponow # thanks to __main__.py

# opener, pick one:
python3 reponow/opener.py
python3 -m reponow.opener
```

### Test wcl

FYI I have automated unit tests in the real wcl.py I use, in my dotfiles repo:
https://github.com/g0t4/dotfiles/blob/master/zsh/compat_fish/pythons/wcl.tests.py

```sh

# AND, I have a few examples in test_cases.sh:
./test_cases.sh > expected_test_cases_output
git diff # see if any changes to versioned output file (checked in copy is correct per my wesdemos user)

# double check expected matches what's in test_cases.sh
icdiff test_cases.sh expected_test_cases_output
# then look for commmented out paths to line up (obviously not the full script)
```
soda-core-mysql-utf8-hotfix 3.5.5.post1
Soda Core MySQL Package - UTF8 Charset Hotfix


# Soda Core MySQL Package - UTF8 Charset Hotfix

⚠️ **WARNING: This is an unofficial temporary hotfix for the [soda-core-mysql](https://pypi.org/project/soda-core-mysql/) package.**

**This is NOT the official version. Do not use on production environments.**

**This package will be deleted once the fix is applied to the official package.**

## Known Issue

If you are running MySQL versions lower than 5.5.3, the Python connector version (8.0.30)
will try to alias utf8 to utf8mb4 (which obviously doesn't exist yet for versions less than 5.5.3)
as stated in its release notes.

This may result in the error: `Character set 'utf8' unsupported`

## Recommendations

- Please ensure you are using MySQL 5.5.3 or higher
- If you must use older MySQL versions, consider using an older version of the mysql-connector-python package
pypendentdrop 0.1.4
Open-source Python API with a graphical and command-line interface to measure surface tension coefficients from images of pendent drops.
Requires Python: >=3.8
Keywords: analysis, drop, image, measure, pendant, pendent, surface, tension

# PyPendentDrop

Open-source Python API with a graphical and command-line interface to measure surface tension coefficients from images of pendent drops.

* Package on [PyPI](https://pypi.org/project/pypendentdrop/)
* Documentation on [ReadTheDocs](https://pypendentdrop.readthedocs.io)
* Source code on  [GitHub](https://github.com/Moryavendil/pypendentdrop)


## Installation

Simply use

    pip install pypendentdrop[full]

or, if you only want to use the command-line version (resp. the graphical version), you can replace `[full]` by `[cli]` (resp. `[gui]`). Use no option to download a minimal working version of the library.

## Using PyPendentDrop

### Graphical interface

To launch the gui version, use the command

    ppt-gui

Use the relevant fields to provide an image, the pixel density of your image and the relevant physical parameters (density contrast, acceleration of gravity). Buttons allow you to estimate the parameters coarsely and to optimize this estimation. You can manually change and/or fix the values of the parameters.

### Command-line

To use the command-line version, use

    ppt-cli

Use the `-h` (help) option to list the availables options and the `-v` (verbose) option to display more information as the program goes.

### In a python script

In the import section of your script, write

    import pypendentdrop as ppd

and you can then use the functions defined in the library. An example script `examplescript.py` is provided on the GitHub repository. 

<!-- ## How it works

### The pendent drop method

[...] see scientific litterature

### PyPendentDrop

The main steps of measuring the surface tension of a liquid using the pendent drop method are

1. Select an image (if possible a high quality, high contrast image of a symmetric drop) using `ppd.import_image(filename)`

    *Optionally:* select the Region Of Interest in your image

2. Choose a threshold for your image (or use `ppd.auto_threshold(image)` to find it for you)

3. Detect the contour of the drop using `ppd.detect_main_contour(image, threshold)`

4. Specify the pixel density (or pixel size) of the image

5. Obtain a coarse estimation of the parameters of the drop (tip position, angle of gravity, radius at apex, capillar length of liquid) using `ppd.estimate_parameters(image, contour, pixeldensity)`

    *Optionally:* set some of the parameters yourself if the automatically-estimated parameters are not accurate enough

6. Fit the drop profile using the estimated parameters as initial condition using `ppd.optimize_profile(contour, estimated_parameters)`

7. Knowing the density contrast (density difference between the fluids times gravity acceleration), compute the surface tension. -->

## Contact

Contact me at `pypendentdrop@protonmail.com`
f9-factoryfloor-helpers 0.1.1.dev1
Helper tools for FactoryFloor projects
Requires Python: >=3.7

# FactoryFloor Helpers

A collection of helper tools for FactoryFloor projects.

## Installation

```bash
pip install f9-factoryfloor-helpers
```

## Features

### Context Services

The `context_services` module provides classes for working with Five9 context services:

- `Holiday`: A Pydantic model representing a holiday with a name and date
- `HolidayBuilder`: A builder class for retrieving and formatting holiday information
- `TableBuilder`: A builder class for creating and managing Five9 context service tables

### Environment Utilities

The `environment` module provides utilities for environment-specific configurations:

- `get_base_url`: A function to get the base URL for the Five9 API based on the region

## Usage Examples

### Working with Holidays

```python
from factoryfloor_helpers.context_services import HolidayBuilder

# Create a holiday builder for the UK
holiday_builder = HolidayBuilder("GB")

# Get the next public holidays
holidays = holiday_builder.get_next_public_holidays()

# Print the holidays
for holiday in holidays:
    print(f"{holiday.name}: {holiday_builder.get_date(holiday)}")
```

### Creating Context Service Tables

```python
from factoryfloor_helpers.context_services import TableBuilder
from factoryfloor_helpers.environment import get_base_url
from five9 import RestAdminAPIClient

# Create a Five9 client
f9client = RestAdminAPIClient(
    base_url=get_base_url("US"),
    username="your_username",
    password="your_password",
    domain_id="your_domain_id"
)

# Create a table builder
table_builder = TableBuilder(f9client, dev_mode=True)

# Create a datatable
table = table_builder.create_datatable("MY_TABLE", "My test table")

# Define attributes
attributes = [
    {
        'name': 'ID',
        'type': 'STRING',
        'unique': True,
        'required': True,
    },
    {
        'name': 'NAME',
        'type': 'STRING',
        'unique': False,
        'required': True,
    }
]

# Create attributes
table_builder.create_attributes(table, attributes)

# Create a query
table_builder.create_query(table.id, "MY_QUERY", "My test query", "AND", ["ID"])
```

## License

MIT