Rocket Project
A simple Python project that models rockets and their behavior.
It includes different types of rockets such as:
- Rocket — the base class representing a rocket in 2D space
- Shuttle — a reusable rocket with a number of completed flights
- CircleRocket — a rocket modeled as a circle with a given radius
Features
- Move rockets in a 2D coordinate system
- Calculate distances between rockets
- Compute area and circumference for circular rockets
- Demonstrate inheritance and method overriding in Python
Classes Overview
Rocket
Represents a basic rocket with coordinates (x, y).
Shuttle
Inherits from Rocket and adds a flights_completed attribute.
CircleRocket
Inherits from Rocket and adds:
r→ the radius of the rocketget_area()→ returns π * r²get_circumference()→ returns 2 * π * r
🧩 Installation
Make sure you have Python installed.
You can clone this repository and run the examples in Jupyter Notebook or any IDE.
git clone https://github.com/Amina212004/rocket.git
cd rocket-project
Metadata
Release files for linear-regression-amina-fezazi-V1 0.1.1
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 |
|---|---|---|---|---|
| linear_regression_amina_fezazi_v1-0.1.1.tar.gz | 2.9 kB | Without provenance | Details for linear_regression_amina_fezazi_v1-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| linear_regression_amina_fezazi_v1-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for linear_regression_amina_fezazi_v1-0.1.1-py3-none-any.whl |
Total release size: 6.4 kB
Release files / linear_regression_amina_fezazi_v1-0.1.1.tar.gz
| Download URL | linear_regression_amina_fezazi_v1-0.1.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e47fde63f9ecfcea278ce4ab0a7fde35557ad0de716888714c3c76334fbe83b
|
|
BLAKE2b-256 checksum How to use checksums |
61d7610056e9fe7545c87f581e7a6ea9302b903731836179302b79eef43a5909
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / linear_regression_amina_fezazi_v1-0.1.1-py3-none-any.whl
| Download URL | linear_regression_amina_fezazi_v1-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46507ceee440e05a795de3b7d0fe430e22c5320cee09b69de03093ebd3a9de5e
|
|
BLAKE2b-256 checksum How to use checksums |
7166082553ea0c29947bd0b3b2e15b08d7054e20cdf27043818304fe73b91d61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for linear-regression-amina-fezazi-V1 0.1.1
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.