semvec/pypi-packages huggingface dataset:
tracklist 0.0.3
Library and CLI tool for processing tracklists

# Tracklist for Python

[![PyPI](https://img.shields.io/pypi/v/tracklist)](https://pypi.org/project/tracklist)
[![Typecheck](https://github.com/fwcd/python-tracklist/actions/workflows/typecheck.yml/badge.svg)](https://github.com/fwcd/python-tracklist/actions/workflows/typecheck.yml)

A small library and CLI tool for processing tracklists in several formats, including CUE.
leuci-pol 0.0.53
Interpolation of 3d maps
Requires Python: >=3.6

# leuci-pol Package

A library for interpolation of 3d matrices on unit (0,0,0) basis
Manimpulation of the map to other spaces can be done in the leuci-xyz library

# Some instructions
### Activate/install virtual environment
```
python3 -m venv .venv

source ./.venv/bin/activate
(deactivate)
```
### Install the requirements
```
pip install -r requirements.txt
```
convertunit 1.0.1
For Converting various units.
Requires Python: >=3.6

**# **# Unit Conversion Package****

This Python package provides a collection of functions for unit conversions across different categories such as length, weight, time, data size, area, and volume. The package is designed to make it easy to convert values from one unit to another. To use the package, simply import the desired conversion functions from `convertunit` and utilize them in your code. For example:

## **# Installation Guide**

On your terminal (Command Prompt) write the following command. 
`pip install convertunit`
Hit Enter.

**## Usage Guide**

```python
from convertunit import conv

x = 2000
a = conv.cm2m(x)
print(f'The answer is {a}m')
```

## Project Link: https://github.com/Asylum0741/UnitConverter

## Following is the list of all conversions in the package:

### Length Conversions
*  cm to inches (cm2in)
*  inches to cm (in2cm)
*  cm to meters (cm2m)
*  meters to cm (m2cm)
*  meters to feet (m2ft)
*  feet to meters (ft2m)
*  km to miles (km2mi)
*  miles to km (mi2km)

### Weight Conversions
*  kilograms to pounds (kg2lb)
*  pounds to kilograms (lb2kg)
*  grams to ounces (g2oz)
*  ounces to grams (oz2g)
*  grams to kilograms (g2kg)
*  kilograms to grams (kg2g)

### Time Conversions
*  minutes to seconds (min2sec)
*  seconds to minutes (sec2min)
*  hours to minutes (hr2min)
*  minutes to hours (min2hr)
*  hours to seconds (hr2sec)
*  seconds to hours (sec2hr)
*  milliseconds to seconds (ms2sec)
*  seconds to milliseconds (sec2ms)
*  microseconds to seconds (us2sec)
*  seconds to microseconds (sec2us)
*  nanoseconds to seconds (ns2sec)
*  seconds to nanoseconds (sec2ns)
*  days to hours (days2hr)
*  hours to days (hr2days)
*  weeks to days (weeks2days)
*  days to weeks (days2weeks)
*  months to days (months2days)
*  days to months (days2months)
*  years to days (years2days)
*  days to years (days2years)

### Data Size Conversions
*  bytes to kilobytes (B2KB)
*  kilobytes to bytes (KB2B)
*  bytes to megabytes (B2MB)
*  megabytes to bytes (MB2B)
*  bytes to gigabytes (B2GB)
*  gigabytes to bytes (GB2B)
*  kilobytes to megabytes (KB2MB)
*  megabytes to kilobytes (MB2KB)
*  kilobytes to gigabytes (KB2GB)
*  gigabytes to kilobytes (GB2KB)
*  megabytes to gigabytes (MB2GB)
*  gigabytes to megabytes (GB2MB)
*  bytes to terabytes (B2TB)
*  terabytes to bytes (TB2B)
*  kilobytes to terabytes (KB2TB)
*  terabytes to kilobytes (TB2KB)
*  megabytes to terabytes (MB2TB)
*  terabytes to megabytes (TB2MB)
*  gigabytes to terabytes (GB2TB)
*  terabytes to gigabytes (TB2GB)
*  petabytes to bytes (PB2B)
*  bytes to petabytes (B2PB)

### Area Conversions
*  square meters to square feet (sqm2sqft)
*  square feet to square meters (sqft2sqm)
*  square meters to square centimeters (sqm2sqcm)
*  square centimeters to square meters (sqcm2sqm)
convertnit 1.0.0
For Converting various units.
Requires Python: >=3.6

**# **# Unit Conversion Package****

This Python package provides a collection of functions for unit conversions across different categories such as length, weight, time, data size, area, and volume. The package is designed to make it easy to convert values from one unit to another. To use the package, simply import the desired conversion functions from `convertunit` and utilize them in your code. For example:

## **# Installation Guide**

On your terminal (Command Prompt) write the following command. 
`pip install convertunit`
Hit Enter.

**## Usage Guide**

```python
from convertunit import conv

x = 2000
a = conv.cm2m(x)
print(f'The answer is {a}m')
```

## Project Link: https://github.com/Asylum0741/UnitConverter

## Following is the list of all conversions in the package:

### Length Conversions
*  cm to inches (cm2in)
*  inches to cm (in2cm)
*  cm to meters (cm2m)
*  meters to cm (m2cm)
*  meters to feet (m2ft)
*  feet to meters (ft2m)
*  km to miles (km2mi)
*  miles to km (mi2km)

### Weight Conversions
*  kilograms to pounds (kg2lb)
*  pounds to kilograms (lb2kg)
*  grams to ounces (g2oz)
*  ounces to grams (oz2g)
*  grams to kilograms (g2kg)
*  kilograms to grams (kg2g)

### Time Conversions
*  minutes to seconds (min2sec)
*  seconds to minutes (sec2min)
*  hours to minutes (hr2min)
*  minutes to hours (min2hr)
*  hours to seconds (hr2sec)
*  seconds to hours (sec2hr)
*  milliseconds to seconds (ms2sec)
*  seconds to milliseconds (sec2ms)
*  microseconds to seconds (us2sec)
*  seconds to microseconds (sec2us)
*  nanoseconds to seconds (ns2sec)
*  seconds to nanoseconds (sec2ns)
*  days to hours (days2hr)
*  hours to days (hr2days)
*  weeks to days (weeks2days)
*  days to weeks (days2weeks)
*  months to days (months2days)
*  days to months (days2months)
*  years to days (years2days)
*  days to years (days2years)

### Data Size Conversions
*  bytes to kilobytes (B2KB)
*  kilobytes to bytes (KB2B)
*  bytes to megabytes (B2MB)
*  megabytes to bytes (MB2B)
*  bytes to gigabytes (B2GB)
*  gigabytes to bytes (GB2B)
*  kilobytes to megabytes (KB2MB)
*  megabytes to kilobytes (MB2KB)
*  kilobytes to gigabytes (KB2GB)
*  gigabytes to kilobytes (GB2KB)
*  megabytes to gigabytes (MB2GB)
*  gigabytes to megabytes (GB2MB)
*  bytes to terabytes (B2TB)
*  terabytes to bytes (TB2B)
*  kilobytes to terabytes (KB2TB)
*  terabytes to kilobytes (TB2KB)
*  megabytes to terabytes (MB2TB)
*  terabytes to megabytes (TB2MB)
*  gigabytes to terabytes (GB2TB)
*  terabytes to gigabytes (TB2GB)
*  petabytes to bytes (PB2B)
*  bytes to petabytes (B2PB)

### Area Conversions
*  square meters to square feet (sqm2sqft)
*  square feet to square meters (sqft2sqm)
*  square meters to square centimeters (sqm2sqcm)
*  square centimeters to square meters (sqcm2sqm)
flask-tasker 0.1.0
Simplify task management in flask applications.
Requires Python: >=3.8

Flask-task
==============

Simplify task management in flask applications.

Installation
------------

You can install this package as usual with pip:

    pip install flask-task

Example
-------

```py
import time

from flask import Flask
from flask_socketio import SocketIO
from flask_tasker import FlaskTasker

app = Flask(__name__)
socketio = SocketIO(app)
flask_tasker = FlaskTasker(app, socketio)

flags = {}

@flask_tasker.dispose()
def dispose(task_id, on_progress, on_success, on_error):
    flags[task_id] = False

    # Simulate task progress.
    count = 5
    for i in range(count):
        if flags[task_id]:
            return
        time.sleep(1)
        on_progress(data={'progress': (i + 1) / count * 100})

    # Simulate task success or failure.
    if (round(time.time()) % 2 == 0):
        on_success()
    else:
        on_error()


@flask_tasker.terminate()
def terminate(task_id):
    flags[task_id] = True


if __name__ == '__main__':
    flask_tasker.run()
```

Resources
---------

- [Github](https://github.com/xuhuanstudio/flask-tasker)
- [PyPI](https://pypi.python.org/pypi/flask-tasker)
DivarApi 0.0.3
Unofficial api of Divar - by Reverse Engineering
Requires Python: >=3.9
Keywords: python,divar,api,iran,web scraping,bot,palas


# DivarApi 🇮🇷

Under construction! Not compelitly ready for use yet! Currently experimenting and planning! 

English / [فارسی - Farsi](README_fa.md)

Developed by Palas - 2023

# Examples - getting newest annon from a city (Buggy Alpha Version)

## 1. Install the pkg using pip
```
pip3 install DivarApi
```

Creating A Client

```python
from DivarApi.core import Client

Bot = Client()
# on this example we want to get the data from mashhad city and buy-apartment category
Bot.get_newest_category('mashhad' , 'buy-apartment')

# it returns a bs4 instance , you can specify if you want to have it as json with jsonify = true argument and more...
```

## Getting Number from Token and id
Every post and annon in Divar.ir contains a Token that you can use to get phone number 

e.x -> https://divar.ir/v/title/AZgVLMTF
Token is after the title (end of the url) and in this example its { AZgVLMTF }
you can get the phone number using the get_number method as :

```python
from DivarApi.core import Client

Bot = Client()

# if method doesnt work correctly plz use your own jwt token in header
Bot.get_number(AZgVLMTF)
# if this token exists and has a phone number youll get it 
# but if the number is hidden , itll returns Hidden Number!
```

## Getting Image of a post ( annon )
To use this feature you should pass an ID and Token of a post , also you should specify headers fully
how to get ID of a post?
in every image link related to a post you can find it , also you can use the get_newest_category() and there you can find related field get tagged there before the token , i mean :

https://s101.divarcdn.com/static/pictures/1692404705/AZVD2hGi.jpg

in this example , the id is 1692404705 and the token is AZVD2hGi
so you can get the image through get_post_pic:

```python
from DivarApi.core import Client

Bot = Client(header:dict)
Bot.get_post_pic(1692404705 , 'AZVD2hGi' , path = 'E:\\download\basefolder')

#if your jwt token which should be in cookie inside header was expired you'll get this error:
#the cookie you specified is not correct! or jwt is expired
# or if the link was incorrect you'll get statuscode - Bad request

```
## On Developing state which means its not stable completly.
## star the rep on github ❤️