semvec/pypi-packages huggingface dataset:
canaddress 0.1.2
A library for cleaning and parsing addresses.
License: MIT
Requires Python: >=3.6


# CanAddress

CanAddress is a Python library for cleaning and parsing addresses. It standardizes addresses by converting them to a consistent format and splitting them into components such as street number, street name, city, province/state, and postal code.

## Features

- Clean and standardize addresses
- Split addresses into components
- Easily integrate with pandas DataFrames

## Installation

You can install CanAddress using pip:

```bash
pip install canaddress
```

## Usage

Here's a basic example of how to use CanAddress:

```python
import pandas as pd
from canaddress import AddressParser

# Sample data
    data = {
        'Property_Address': [
            '1801  3077 WESTON ROAD, TORONTO, ONTARIO M9M3A1',
            '711  4673 JANE STREET, TORONTO, ONTARIO M3N2L1',
            '105  55 NEPTUNE DRIVE, TORONTO, ONTARIO M6A1X2',
            '104  5949 YONGE STREET, TORONTO, ONTARIO M2M3V8'
        ]
    }
df = pd.DataFrame(data)

# Initialize the AddressParser
parser = AddressParser(df, 'Property_Address')

# Clean and process the data
parser.clean_and_process_data()

# Display the cleaned and processed data
print(parser.display_data())
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## Author

- Avneesh Chaudhary
- Email: hey@avneeshchaudhary.com
```
DigiKala 1.0
DigiKala library to connect and work with digikala.com!
License: MIT

# DigiKala

[تغییر زبان به فارسی](https://github.com/NuoQTe/DigiKala/blob/main/README_FA.md)

## Create session and work with Digikala API

**Installation:**

   Install the DgiKala library from PyPI or GitHub.
   
   ```bash
   pip install DigiKala
   ```
   
   or
   
   ```bash
   git clone https://github.com/NuoQTe/DigiKala.git
   ```


**Crate session**
   ```python
   import asyncio
   from DigiKala import Client

   async def main()
       app = Client("NuoQTe")
       await app.login()
       await app.close()        
    
   asyncio.run(main())
   ```
    
or

   ```python
   import asyncio
   from DigiKala import Client

   async def main()
       async with Client('NuoQTe',do_login=True) as app:
          pass    

   asyncio.run(main())
   ```

**Examples**:
   ```python
   import asyncio
   from DigiKala import Client , SearchFilter


   async def main():
    
      async with Client('NuoQTe',do_login=True) as app:
            
       # Search in DigiKala
         result = await app.search(SearchFilter(
               query="Laptop",
               classification="notebook-netbook-ultrabook",
               has_selling_stock=True,
               price_range=(50000000 , 80000000),
               sort_code=4
            ))

         product = await result.products[3].get_product()
         product = product.product
         print(product.variants)
         
         # add product in my cart
         await product.add_cart()

   asyncio.run(main())    
   ```

## Capabilities

    - login phone number or email with sent code or password
    - logout
    - crate session file
    - search with all filters
    - search wuth product ID
    - get product comments 
    - get account information
    - get cart information
    - add product to cart
    - remove product from the cart


  
## License

This project is licensed under the MIT License. See the [LICENSE](https://github.com/NuoQTe/DigiKala/blob/main/LICENSE) file for details.

<a href="https://pypi.org/project/DigiKala/"><img src="https://img.shields.io/badge/DigiKala-1.0-F5F5F5?style=flat-square&labelColor=DC143C"></a> 

## Developer
- **Telegram**: [t.me/NuoQTe](https://t.me/NuoQTe)

---