semvec/pypi-packages huggingface dataset:
tiles-util 1.1.0
Vector Tiles Utilities

# Vector Tiles Utilities
# Repository Renamed
**Note:** This repository has been renamed from `mbtiles-util` to `tiles-util`. Please update your references accordingly.

## Installation: 
- Using pip install (Windows/ Linux):
    ``` bash 
    pip install tiles-util
    ```
- Show information of installed mbtiles-util: 
    ``` bash 
    pip show tiles-util
    ```
- Install the latest vertion of mbtiles-util:
    ``` bash 
    pip install tiles-util --upgrade
    ```
    
- Visit tiles-util on [PyPI](https://pypi.org/project/tiles-util/)

## Usage:
### mbtilesinfo:
- Display MBTiles metadata info:  
    ``` bash 
    > mbtilesinfo <file_path>
    ```
  Ex: `> mbtilesinfo tiles.mbtiles`

### mbtiles2folder: 
- Convert MBTiles file to folder: (support raster MBTiles (.png, .jpg, .webp) and vector MBTiles (.pbf)) 
    ``` bash 
    > mbtiles2folder -i <file_name.mbtiles> -o [output_folder (optional)] -tms [TMS scheme (optional 0 or 1, default is 0)]
    ```
  Ex: `> mbtiles2folder -i tiles.mbtiles -o tiles_folder -tms 0`
  
  Without -o parameter: output_folder has the same name with MBTiles file name at current directory 

### folder2mbtiles: 
- Convert a tiles folder to MBTiles file: (support raster tile (.png, .jpg, .webp) and vector tile (.pbf))
    ``` bash 
    > folder2mbtiles -i <input_folder> -o [file_name.mbtiles (optional)] -tms [TMS scheme (optional 0 or 1, default is 0)]
    ```
  Ex: `> folder2mbtiles -i tiles_folder -o tiles.mbtiles -tms 0`
  
  Without -o parameter: file_name.mbtiles has the same name with input_folder name at current directory 

### geoson2mbtiles: 
- Convert geojson file to mbtiles (python wrapper for tippecanoe in Linux)
    ``` bash 
    > geojson2mbtiles -i <input files> -z <maxzoom> -o <output> -t <tippecanoe path> --extra-args <drop-densest-as-needed or coalesce-densest-as-needed or extend-zooms-if-still-dropping>
    ```
  Ex: ` > geojson2mbtiles -i state.geojson district.geojson -z9 -o state_district.mbtiles -t /usr/local/bin/ --extra-args coalesce-densest-as-needed`  

### folder2s3: 
- Uplpad a vector/ raster tiles folder to Amazon S3 Bucket:  
    ``` bash 
    > folder2s3 -i <input_folder>  -format <'pbf' or 'png' or 'jpg' or 'jpeg' or 'webp'>
    ```
  Ex: `> folder2s3 -i vectortiles_folder -format pbf`
 
  Input S3 parameters:

  ```bash
    > S3 Bucket name: <Your S3 Bucket name (required)>
    > S3 Prefix: [Your S3 prefix (Optional. Press Enter to upload to the bucket root folder)]
    > AWS Access Key ID: <Your_Access_Key_ID (required)>
    > AWS Secret Access Key: <Your_Secrect_Access_Key (required)>
    > AWS Region: <AWS region (Optional. Press Enter to choose default region)>
  ```
unit-ease 0.1
A simple unit converter package for length, temperature, weight, and volume conversions
Requires Python: >=3.6
Keywords: unit converter conversion length temperature weight volume

# Unit Converter

**Unit Converter** is a simple Python package that allows you to convert between various units of length, temperature, weight, and volume. This package provides straightforward functions to handle common unit conversions with ease.

## Features

- **Length Conversions**
  - Meters to Feet and Feet to Meters
  - Kilometers to Miles and Miles to Kilometers
  - Centimeters to Inches and Inches to Centimeters
  - Millimeters to Inches and Inches to Millimeters

- **Temperature Conversions**
  - Celsius to Fahrenheit and Fahrenheit to Celsius
  - Celsius to Kelvin and Kelvin to Celsius

- **Weight Conversions**
  - Kilograms to Pounds and Pounds to Kilograms
  - Grams to Ounces and Ounces to Grams
  - Stones to Kilograms and Kilograms to Stones

- **Volume Conversions**
  - Liters to Gallons and Gallons to Liters
  - Milliliters to Ounces and Ounces to Milliliters
  - Cups to Liters and Liters to Cups

## Installation

You can install the package using pip:

```bash
pip install unit_ease


>>> from unit_ease import (
    meters_to_feet, feet_to_meters,
    kilometers_to_miles, miles_to_kilometers,
    centimeters_to_inches, inches_to_centimeters,
    millimeters_to_inches, inches_to_millimeters,
    celsius_to_fahrenheit, fahrenheit_to_celsius,
    celsius_to_kelvin, kelvin_to_celsius,
    kilograms_to_pounds, pounds_to_kilograms,
    grams_to_ounces, ounces_to_grams,
    stones_to_kilograms, kilograms_to_stones,
    liters_to_gallons, gallons_to_liters,
    milliliters_to_ounces, ounces_to_milliliters,
    cups_to_liters, liters_to_cups
 )

# Length Conversions
>>> print(f"10 meters is {meters_to_feet(10)} feet.")
>>> print(f"5 miles is {miles_to_kilometers(5)} kilometers.")

# Temperature Conversions
>>> print(f"25 Celsius is {celsius_to_fahrenheit(25)} Fahrenheit.")
>>> print(f"300 Kelvin is {kelvin_to_celsius(300)} Celsius.")

# Weight Conversions
>>> print(f"70 kilograms is {kilograms_to_pounds(70)} pounds.")
>>> print(f"5 grams is {grams_to_ounces(5)} ounces.")

# Volume Conversions
>>> print(f"2 liters is {liters_to_gallons(2)} gallons.")
>>> print(f"100 milliliters is {milliliters_to_ounces(100)} ounces.")