https://github.com/alertua/import_tax_calculator
Import Tax Calculator for Ukraine
https://github.com/alertua/import_tax_calculator
customs tax ukraine
Last synced: 14 days ago
JSON representation
Import Tax Calculator for Ukraine
- Host: GitHub
- URL: https://github.com/alertua/import_tax_calculator
- Owner: ALERTua
- Created: 2024-04-12T15:11:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-05-16T09:13:01.000Z (about 1 month ago)
- Last Synced: 2026-05-16T10:29:58.940Z (about 1 month ago)
- Topics: customs, tax, ukraine
- Language: Python
- Homepage: https://tax.alertua.pp.ua
- Size: 705 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://stand-with-ukraine.pp.ua)
[](https://stand-with-ukraine.pp.ua)
[](https://stand-with-ukraine.pp.ua)
[](https://stand-with-ukraine.pp.ua)
# Customs Tax Calculator
This Django project provides a web-based customs tax calculator for calculating import taxes on parcels in Ukraine.
## Features
- Calculates customs taxes based on the price input.
- Supports both Euro and Dollar currencies with conversion rates.
## Django SECRET_KEY
The `SECRET_KEY` is used for cryptographic signing in Django and is critical for production security.
### How to generate it
Using Django's built-in utility:
```python
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
```
Or using Python's secrets module:
```python
import secrets
print(secrets.token_urlsafe(50))
```
### How to use it in Docker run
```bash
docker run -e SECRET_KEY=your_generated_secret_key -p 8000:8000 your_image
```
The SECRET_KEY is configured in `config/settings.py` using the `SECRET_KEY` environment variable. In DEBUG mode (development), it falls back to an insecure generated key. In production (DEBUG=False), the environment variable is required.
Do not forget to run with --init for SIGTERM to correctly forward to child processes.
[Amazon Userscript](userscripts/README.md)
## GitHub
https://github.com/ALERTua/import_tax_calculator