Skip to main content

Nguyễn Văn Trung Math TH29.23

Thư viện Python nhỏ cung cấp các phép tính số học cơ bản và công thức tính chu vi, diện tích hình chữ nhật. Dự án được đóng gói để thực hành phát hành thư viện lên Python Package Index PyPI.

Thông tin sinh viên

  • Họ và tên: Nguyễn Văn Trung
  • Lớp: TH29.23
  • Môn học: Python
  • Trường: Trường Đại học Kinh doanh và Công nghệ Hà Nội
  • Bài tập: Buổi 7 — đóng gói và phát hành thư viện lên PyPI

Cài đặt

pip install nguyenvantrung-math-th2923

Sử dụng

from thuvien_nguyenvantrung import cong, dien_tich_hcn

print(cong(2, 3))
print(dien_tich_hcn(4, 5))

Thư viện hỗ trợ Python 3.8 trở lên.

Các hàm được cung cấp

  • cong(a, b): tính tổng hai số.
  • tru(a, b): tính hiệu hai số.
  • nhan(a, b): tính tích hai số.
  • chia(a, b): tính thương hai số và báo lỗi khi chia cho 0.
  • chu_vi_hcn(dai, rong): tính chu vi hình chữ nhật.
  • dien_tich_hcn(dai, rong): tính diện tích hình chữ nhật.

Tác giả

Nguyễn Văn Trung — TH29.23
Môn Python — Trường Đại học Kinh doanh và Công nghệ Hà Nội

Release files for nguyenvantrung-math-th2923 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 nguyenvantrung-math-th2923 0.1.0
File Size Uploaded
nguyenvantrung_math_th2923-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nguyenvantrung-math-th2923 0.1.0
File Interpreter ABI Platform
nguyenvantrung_math_th2923-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / nguyenvantrung_math_th2923-0.1.0.tar.gz

Download URL nguyenvantrung_math_th2923-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b9a3ab64c64e270c676aa0d220bf64f69561445c509ecb67dbe74f7b15c04641
BLAKE2b-256 checksum
How to use checksums
83ef4ee80266c1314842f4b7e9074426e00cf184de8219ed0add5b9aa6661182
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

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

Download URL nguyenvantrung_math_th2923-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acf738b12bf1a7b6cb12ae38c0789871969de9c8320aff2ee04df45530350818
BLAKE2b-256 checksum
How to use checksums
75025b10faba3c0d9470527053423bd9b55ff16d3fd44ef85023cf12f0b1f4e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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