Skip to main content

Search for information about the car by the Russian state number

Project description

Получение информации по госномеру

image Downloads image

Установка:

Через pip:

pip install get-car-info

Через uv:

uv add get-car-info

Использование:

from get_car_info import CarInfo

car = CarInfo()

# Укажите российский автомобильный номер в формате А123АА97
data = car.get_data(car_number="Е005КХ05")

# Или укажите VIN номер
data = car.get_data(vin="1GCCT14W6W8579031")

# Некоторая информация
print('Номер:', data.number)
print('vin:', data.vin)
print('Марка:', data.marka)
print('Модель:', data.model)
print('Год производства:', data.year)

# Для получения сведений ОСАГО
osago = car.get_osago("Е005КХ05")

print("Собственник", osago.username)
print("Водители", osago.drivers)
print("Компания", osago.company_name)

При указании гос номера необходимо использовать кириллицу!


car.get_data() возвращает Pydantic объект, где описаны характеристики автомобиля.


• Вся полученная информация находится в общем доступе. Данные получены с помощью www.vinvision.ru и www.sravni.ru

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

get_car_info-0.3.2.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

get_car_info-0.3.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file get_car_info-0.3.2.tar.gz.

File metadata

  • Download URL: get_car_info-0.3.2.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for get_car_info-0.3.2.tar.gz
Algorithm Hash digest
SHA256 7e4ed6f995c65ca6a18e580681ce6130e6f1b731d0368983f9d2c8e697d3ca63
MD5 46f88b24f3eb8d2e12e8d34437460b52
BLAKE2b-256 0167c2c5a9311886a8e659545b890056447908eab0bb59c6fe0e4525bd74316c

See more details on using hashes here.

File details

Details for the file get_car_info-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for get_car_info-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ec8cfa2bad0577c982fe3553a89635b3f3eab2ea0796dbe2c6fd0a9b7a90f86
MD5 fad1b36ba817f4e8c63eb649a70c80c3
BLAKE2b-256 c110b2c36d743bc7f25d54511c51e3a2ecd30d416a0f0d74bffae8b32a4f7553

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page