Skip to main content

travel_order_lib

Небольшая библиотека для курсового проекта про туристическое агентство.

Она используется при оформлении заявки на тур:

  • проверяет выбранного клиента и тур;
  • проверяет количество человек;
  • считает скидку;
  • считает итоговую стоимость заявки;
  • возвращает подготовленные данные для сохранения.

Пример:

from travel_order_lib import ClientOrderData, TourOrderData, create_order_data

client = ClientOrderData(id=1, full_name="Иванов Сергей Петрович", phone="+7 900 111-22-33")
tour = TourOrderData(id=1, title="Солнечная Анталья", base_price=84500)

order = create_order_data(client=client, tour=tour, people_count=3)
print(order.total_price)

Metadata

Release files for frive-travel-order-lib-kursach 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for frive-travel-order-lib-kursach 0.1.0
File Size Uploaded Provenance Actions
frive_travel_order_lib_kursach-0.1.0.tar.gz 4.4 kB Without provenance Details for frive_travel_order_lib_kursach-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for frive-travel-order-lib-kursach 0.1.0
File Interpreter ABI Platform Actions
frive_travel_order_lib_kursach-0.1.0-py3-none-any.whl Python 3 none any Details for frive_travel_order_lib_kursach-0.1.0-py3-none-any.whl

Total release size: 8.0 kB

Release files / frive_travel_order_lib_kursach-0.1.0.tar.gz

Download URL frive_travel_order_lib_kursach-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fe21c79574a7c6b4e858a55f00d231d73069cddc1f9a22906748c1ecfc4dde06
BLAKE2b-256 checksum
How to use checksums
9638cc2a37e0fb6ad68037424aee09f42584b359f5e6d0445dd03f770867529d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / frive_travel_order_lib_kursach-0.1.0-py3-none-any.whl

Download URL frive_travel_order_lib_kursach-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23c49c7604c0a2fc9959d6cb2834164df50e240589b4922f3392e8c66dc3d646
BLAKE2b-256 checksum
How to use checksums
9dbd0f078d255c46c008400e2a589a0fa7029f5ac61c8eb00a1905cd5ea361dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for frive-travel-order-lib-kursach 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page