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.3.tar.gz (14.6 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.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: get_car_info-0.3.3.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for get_car_info-0.3.3.tar.gz
Algorithm Hash digest
SHA256 5ab844ee1a8c516d4715e112e7f31e5f82b2da6a1536961e94bb6e72a516350c
MD5 a011a46a7431c8be1c6bd98c20338be0
BLAKE2b-256 11f466dd2263b99be73ff349b2a40e0aadcc958a0b5fafbedcd1e38ba5c2c489

See more details on using hashes here.

File details

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

File metadata

  • Download URL: get_car_info-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for get_car_info-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e45fbd9a7b9d7de5ddd24582e911395e71fbef1f497bbd38c77e5e9f2fdda9a6
MD5 ac2d3b3c62e13445c38048e3e8e2ea3b
BLAKE2b-256 95b3d58f82adb3f92fc68095c6a93e310178868bc290e167d4421adf79f381a1

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