Skip to main content

PyCalculatrice

Une simple application Django qui fournit une calculatrice web basique avec les opérations addition, soustraction, multiplication et division.


Installation

1. Cloner le dépôt (ou télécharger le package)

git clone https://ton-repo-ou-chemin/pycalculatrice.git
cd pycalculatrice

2. Créer et activer un environnement virtuel (optionnel mais recommandé)

python3 -m venv venv
source venv/bin/activate  # Linux/Mac
venv\Scripts\activate     # Windows

3. Installer les dépendances

pip install -r requirements.txt

4. Installer le package localement (mode editable)

pip install -e .

Utilisation dans un projet Django
1. Créer un projet Django (si ce n'est pas déjà fait)

django-admin startproject monprojet
cd monprojet

2. Ajouter pycalculatrice dans INSTALLED_APPS dans monprojet/settings.py

INSTALLED_APPS = [
    # autres apps
    'pycalculatrice',
]

3. Inclure les URLs dans monprojet/urls.py

from django.urls import path, include

urlpatterns = [
    # autres urls
    path('calculatrice/', include('pycalculatrice.urls')),
]

4. Appliquer les migrations Django

python manage.py migrate

5. Lancer le serveur

python manage.py runserver

Metadata

Release files for pycalculatrice 0.2

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

Source distribution (sdist)

Source distribution for pycalculatrice 0.2
File Size Uploaded Provenance Actions
pycalculatrice-0.2.tar.gz 3.7 kB Without provenance Details for pycalculatrice-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pycalculatrice 0.2
File Interpreter ABI Platform Actions
pycalculatrice-0.2-py3-none-any.whl Python 3 none any Details for pycalculatrice-0.2-py3-none-any.whl

Total release size: 8.0 kB

Release files / pycalculatrice-0.2.tar.gz

Download URL pycalculatrice-0.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c424c50bb3f87f15c45024854a6d5c7811a98a421746665b1a7920693557bc99
BLAKE2b-256 checksum
How to use checksums
e61487e8df0a2a0577084d271971ff46dca068e4c02430a8b9380942a42131f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / pycalculatrice-0.2-py3-none-any.whl

Download URL pycalculatrice-0.2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04c518379f4d9d7c71d5acca87ed3d653a113b35b5c7f05bd8047ba410106ed1
BLAKE2b-256 checksum
How to use checksums
f413f83d490870699dafd87b61b7c08fcb05260b48fb1be12ba121609a0bf441
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Security for pycalculatrice 0.2

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.2 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