semvec/pypi-packages huggingface dataset:
tour-agent 2.1.6
Python uchun sayohat turlarini boshqaruvchi kutubxona
Requires Python: >=3.8

## 🧳 **`tour-agent` — Python uchun sayohatlarni boshqarish kutubxonasi**

**`tour-agent`** — bu Python dasturlash tili uchun yaratilgan qulay kutubxona bo‘lib, sayohat turlarini boshqarish, mijozlar bilan ishlash va tur paketlarini ko‘rish imkoniyatini beradi.

U orqali siz **admin panel** va **foydalanuvchi paneli** yordamida sayohat jarayonlarini to‘liq boshqarishingiz mumkin.
Kutubxona terminalda rangli interfeys bilan ishlaydi:

* 🟦 **Ko‘k rang** — tizimdan yuborilgan xabarlar
* 🟥 **Qizil rang** — xatoliklar va ogohlantirishlar
* 🟩 **Yashil rang** — foydalanuvchi tomonidan kiritilishi kerak bo‘lgan ma’lumotlar

---

### 👑 **Admin panel imkoniyatlari:**

Administrator uchun maxsus menyu mavjud:

```
ADMIN MENU
1. Tour qo‘shish
2. Tour o‘chirish
3. Barcha tourlarni ko‘rish
4. Statistika
5. Chiqish
```

Bu qismda siz yangi turlarni qo‘shishingiz, mavjudlarini o‘chirishingiz yoki tahliliy ma’lumotlarni ko‘rishingiz mumkin.
Masalan, umumiy foydalanuvchilar soni, tushgan daromad yoki mavjud buyurtmalar haqida statistikani olish mumkin.

---

### 👤 **Foydalanuvchi panel imkoniyatlari:**

Oddiy foydalanuvchi uchun menyu quyidagicha:

```
1. Tourlarni ko‘rish
2. Tourlarni qidirish
3. Shaxsiy kabinet
4. Savatcha
5. Chiqish
```

Bu bo‘limda foydalanuvchilar o‘zlariga yoqqan turlarni ko‘rishlari, izlashlari va savatchaga qo‘shishlari mumkin.
Shuningdek, ular **shaxsiy kabinet** orqali o‘z ma’lumotlarini boshqarishlari mumkin.

---

### 💼 **Shaxsiy kabinet imkoniyatlari:**

```
1. Ma’lumotlarim
2. Balansni ko‘rish
3. Balansga pul qo‘shish
4. Ortga
```

Bu bo‘limda foydalanuvchi o‘z balansini boshqaradi, hisobini to‘ldiradi va shaxsiy ma’lumotlarini yangilaydi.

---

### 💡 **Xususiyatlar:**

* Qulay terminal interfeysi
* Rangli chiqishlar orqali oson tushuniladigan navigatsiya
* Admin va foydalanuvchi uchun alohida menyular
* Statistika va moliyaviy ma’lumotlarni kuzatish
* Tourlarni tezda qo‘shish, qidirish va sotib olish imkoniyati

---

### 🚀 **Foydalanish:**

Kutubxonani o‘rnatish juda oson:

```bash
pip install tour-agent
```

So‘ng quyidagicha chaqirishingiz mumkin:

```python
from tour_agent.main import tour_main

tour_main()

```

---

### ✨ **Xulosa:**

`tour-agent` — bu oson, qulay va interaktiv terminal dasturi ko‘rinishidagi kutubxona bo‘lib, sayohat turlarini boshqarish va foydalanuvchilarga xizmat ko‘rsatishni avtomatlashtirishga yordam beradi.
django-prices-vatlayer 1.2.0
vatlayer.com support for Django
Requires Python: >=3.10

django-prices-vatlayer: [Vatlayer API](https://vatlayer.com/) support for `prices`
=======================================================

[![codecov](https://codecov.io/github/mirumee/django-prices-vatlayer/graph/badge.svg?token=qREkrdSWe0)](https://codecov.io/github/mirumee/django-prices-vatlayer)
![PyPI - Version](https://img.shields.io/pypi/v/django-prices-vatlayer)
![PyPI - Downloads](https://img.shields.io/pypi/dm/django-prices-vatlayer)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-prices-vatlayer)


```python
from prices import Money, TaxedMoney
from django_prices_vatlayer.utils import (
    get_tax_for_rate, get_tax_rates_for_country)

de_tax_rates = get_tax_rates_for_country('DE')
books_tax = get_tax_for_rate(de_tax_rates, 'books')

price_with_vat = books_tax(Money(10, 'EUR'))
print(price_with_vat)
# TaxedMoney(net=Money('10', 'EUR'), gross=Money('11', 'EUR'))

price_with_vat = books_tax(
    TaxedMoney(net=Money(10, 'EUR'), gross=Money(10, 'EUR')))
print(price_with_vat)
# TaxedMoney(net=Money('10', 'EUR'), gross=Money('11', 'EUR'))
```


Installation
============

The package can easily be installed via pip:

```
pip install django-prices-vatlayer
```

After installation, you'll also need to setup your site to use it. To do that, open your `settings.py` and do the following:

1. Add `'django_prices_vatlayer',` to your `INSTALLED_APPS`
2. Add `VATLAYER_ACCESS_KEY = 'YOUR_API_KEY_HERE'` line
3. Replace `YOUR_API_KEY_HERE` with the API key that you have obtained from vatlayer API

Lastly, run `manage.py migrate` to create new tables in your database and `manage.py get_vat_rates` to populate them with initial data.


Forcing secure API connection in production
-------------------------------------------

Because HTTPS is unavailable in the free vatlayer plan, `django-prices-vatlayer` uses the unsafe HTTP connection by default.

If you are using a paid plan, you can force the secure HTTP on your site by adding following line to your `settings.py`:

```python
VATLAYER_USE_HTTPS = True
```

Remember that not using HTTPS may expose you to DNS poisoning and man-in-the-middle attacks; we recommend enabling `VATLAYER_USE_HTTPS` in production sites.


Updating VAT rates
==================

To get current VAT rates from the API run the `get_vat_rates` management command.

You may also set cron job for running this task daily to always be up to date with current tax rates.

---

**Crafted with ❤️ by [Mirumee Software](http://mirumee.com)**

hello@mirumee.com