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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nguyenvantrung_math_th2923-0.1.0.tar.gz | 3.2 kB | Without provenance | Details for nguyenvantrung_math_th2923-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nguyenvantrung_math_th2923-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nguyenvantrung_math_th2923-0.1.0-py3-none-any.whl |
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
|
Security for nguyenvantrung-math-th2923 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.