semvec/pypi-packages huggingface dataset:
uda-medical 0.1.1
Unsupervised Domain Adaptation

# Unsupervised Domain Adaptation
[![PyPI](https://github.com/iserh/uda/actions/workflows/publish-to-pypi.yml/badge.svg)](https://github.com/iserh/uda/actions/workflows/publish-to-pypi.yml)
[![Tests](https://github.com/iserh/uda/actions/workflows/test-master.yml/badge.svg)](https://github.com/iserh/uda/actions/workflows/test-master.yml)
## Installation
Simply run
```sh
pip install .
```

If you want to use the `uda_wandb` integrations please install with extra (double quotes only needed in `zsh`):
```sh
pip install ".[wandb]"
```
quickmathsfunctions 0.0.4
A simple test package for Buildkite's Python CI/CD demonstration
Requires Python: >=3.6

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# Python CI/CD with Buildkite

This repository serves as a code container for the tutorial I wrote on [Buildkite's blog](#todo).

> Blog link will be updated once the article is published.

## Features

- [x] Simple Utility functions
- [x] Publish documentation to Readthedocs.io
- [x] CI/CD with Buildkite

## Getting Started

Follow these instructions to get the project up and running.

```bash
# Clone the repo
git clone https://github.com/ravgeetdhillon/buildkite-python-ci-cd

# Change directory
$ cd buildkite-python-ci-cd

# Initialize virtual environment
$ python3 -m venv venv

# Install dependencies
$ pip install
```

> For detailed instructions, [read the blog](#todo).

## Tech Stack

- [Python](https://python.org)

## Authors

- [Ravgeet Dhillon](https://github.com/ravgeetdhillon)

## Extra

- You are welcome to make [issues and feature requests](https://github.com/ravgeetdhillon/buildkite-python-ci-cd/issues).
- In case you get stuck somewhere, feel free to contact me via [Mail](mailto:ravgeetdhillon@gmail.com).
helloworld-danlh 0.0.1
Test say hello func

Practice creating Packages

Steps:
- Create 'script'.py, put in src dir inside project directory
- Create setup.py in project dir.
- run: python 'script'.py bdist_wheel (Create package from script.py using setup.py as config)
- run: pip install -e .   (Install package in current directory)
- test script: from 'script' import 'funcname' ... call function
- Choose a license https://choosealicense.com/ and create LICENSE.txt file
- Add classifiers to setup.py file https://pypi.org/classifiers/
- Add a README.md describing project, how to install (with reqs), usage
- Add README to setup.py file as long_description
- Add library dependencies to setup.py as install_requires, and developer dependencies as extras_require  (requirements.txt is an alternative to this, but setup.py recommended)
- Test files in test directory, run pytest
- Optional: url and author in setup.py
- run py setup.py sdist  (For source distribution)
- Publish package: py setup.py bdist_wheel sdist
- Push to PyPI: twine upload dist/*
TTEkits 0.2.4
This is a travel time estimation Python Library!

# Background
Twenty-first century urban planner have identified the understanding of 
Complex city traffic pattern as a major priority, leading to a sharp increase
in the amount and the diversity of traffic data being collected. For instance,
taxi companies in an increasing number of major cities have started recording
metadata for every individual car ride, such as its origin, destination, and
travel time. In this paper, we show that we can leverage network optimization
insights to extract accurate travel time estimations from such origin-destination
data, using information from a large number of taxi trips to reconstruct the 
traffic patterns in an entire city.

This Python Library TTEkits used the algorithm proposed by Dimitris Bertsimas 
et al. in the paper published in Operation Research for travel time estimation.


## Install  
```pip install TTEkits```  
Before you can install TTEkits, you'll need to install some dependency libraries.  

## Usage  
>+ step 1: import library  

```
from TTEkits import model
```  

>+ step 2: instantiation

```
graph_model = model.World(type=1,num=1000,sigma=0.1,reg=1000,time_limit=0.6)
```  

>+ step 3: model train  
```
graph_model.train()
```  

>+ step 4: model test  

```
graph_model.test()
```  

>+ step 5: visualization  

```
G = ox.graph_from_place('Manhattan, New York City, New York, USA', network_type='drive')  
picture = Visualization(G,type=2,manual=True)
picture.plot_real_path(-73.98215485,40.76793671,-73.96463013,40.76560211)
```  

## License

@Elon Lau

This reposity is licensed under the MIT license.
See LICENSE for details.
color-gradient-generator 1.3.1
This package will generate a color gradient. The colors, the number of colors generated, the color format, the hexadecimal prefix are configurable.

# Color Gradient Generator

This tool will allow you to generate a color gradient from RGB, decimal or hexadecimal. The source code is available on [GitHub](https://github.com/MrPRAINGLE/color-gradient-generator-python).

---

## Table of content

- [Color Gradient Generator](#color-gradient-generator)
  - [Table of content](#table-of-content)
  - [Colors](#colors)
  - [Color formats](#color-formats)
  - [Errors](#errors)
    - [IncorrectProvidedColor](#incorrectprovidedcolor)
  - [Gradient generator](#gradient-generator)

---

## Colors

Every color of the gradient has a value, and that is all you see, but in fact, there is a class named `Color`, which have a "value" argument.

With this class, you can access the color format. The purpose of this class is also to convert its original value to all of the available formats, in case you want your gradient in a specific format.

---

## Color formats

There are 3 color formats, accessible by the `ColorFormat` Enum class:

- DEC for decimal
- HEX for hexadecimal
- RGB for RGB

---

## Errors

A lot of time, while you use this generator, error will raise. A lot of them would just be `TypeError` of `AttributeError`, but custom errors is a thing. At the moment, only one was created.

### IncorrectProvidedColor

This error raises when the color argument of the `Color` class is incorrect.

---

## Gradient generator

The color generation is accessible by the `generate_gradient` function. There are 3 kwargs : the two colors and the amont of variations to add in the gradient. Then there are 2 optionnal args : _format, which is the format in which the gradient will generate, and hex_prefix, useful only if you generate an hexadecimal gradient.

If the amont of variations provided is too high in relation to the difference between the two colors, an error will raise. You can have up to 500 variations.

If you do not provide a "_format" argument, it is necessary that both colors have the same format.

If you do not provide a "hex_prefix" argument, there will simply be no prefix.

---

Well then, that's about it, have fun !