An awesome package that does something
Project description
Rocket
Rocket
est une bibliothèque Python pour simuler des fusées et des navettes dans un jeu ou une simulation physique. Elle fournit des fonctionnalités pour déplacer les fusées, calculer des distances et modéliser des fusées sous différentes formes, y compris des fusées circulaires.
Installation
Utilisez le gestionnaire de paquets pip pour installer rocket
.
pip install rocket
## Usage
```python
import rocket
# Create a new rocket at position (0,0)
rocket1 = rocket.Rocket()
# Move the rocket by 5 units along the x-axis and 3 units along the y-axis
rocket1.move_rocket(5, 3)
# Create another rocket and calculate the distance to rocket1
rocket2 = rocket.Rocket(10, 10)
distance = rocket1.get_distance(rocket2)
print(f"Distance between rocket1 and rocket2: {distance}")
# Create a circular rocket with radius 5
circle_rocket = rocket.CircleRocket(0, 0, 5)
# Get the area of the circular rocket
area = circle_rocket.get_area()
print(f"Area of the circular rocket: {area}")
# Get the circumference of the circular rocket
circumference = circle_rocket.get_circumference()
print(f"Circumference of the circular rocket: {circumference}")
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maouladrocket-1.0.0.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file maouladrocket-1.0.0.tar.gz
.
File metadata
- Download URL: maouladrocket-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf9a8c497788df8e227960a8f9a620f6aa043aa53f9383cef6ed26c00490f5c5 |
|
MD5 | da54cd1c65a5b1aae607aa86696d8400 |
|
BLAKE2b-256 | 46af6122fe753b5f84e56e18fa620310c3ec2765cc6e030a45a928b42a957637 |
File details
Details for the file MAOuladrocket-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: MAOuladrocket-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 741bcbd0cb541b17520bde8ccb3ab5b9ab9bb746cb52c5a156bddcf1797e15e6 |
|
MD5 | b53a4d2251edaebf917bce5362555d93 |
|
BLAKE2b-256 | 584d640002d9ac62af1d336428ad2010c0f3db6dc4720df5a7bfab56974cfd13 |