Skip to main content

Assignment pipeline

Project description

2022_assignment1_users_db

Gruppo

Progetto

Link GitLab: https://gitlab.com/mik3sw/2022_assignment1_users_db

Quick start

Questa applicazione gesisce un database di utenti, raccogliendo informazioni come nome, email, password, genere, età ecc... In particolare è composta da due moduli

  • package/database.py che gestisce la creazione e l'accesso e le modifiche al database;
  • package/functions.py che gestisce l'output delle query;
  • package/csvdata.py che serve a fini di test su grandi quantità di dati;

Le librerie utilizzate sono già all'interno del pacchetto python e non è necessario installarle

  • sqlite3
  • os

Pipeline

stages:
  - build
  - verify
  - testing
  - package
  - upload
  - production

Build: al momento non servono dipendenze particolari per il funzionamento del software, usa sqlite3 già integrata in Python;

Verify: usa prospector e bandit per analizzare il codice all'interno della cartella ./package (jobs paralleli);

  • verifyProspector
  • verifyBandit

Testing: usa pytest per effettuare unit e integration tests, valutati separatamente e in parallelo;

  • unitTest
  • integTest

Package: usa setup.py e wheel per creare il pacchetto da distribuire;

Release: usa twine per eseguire l'upload del pacchetto appena creato;

Deploy: fase di doploy su macchina virtuale (AWS) scarichiamo il pacchetto e lo usiamo in un file python di test per controllare l'output corretto

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mikemazzi-0.0.12-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file mikemazzi-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: mikemazzi-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for mikemazzi-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f105cacb982a55ddeb4b2c9658ee1991ae8042d24aa0ce17ae1150ffaf45089d
MD5 f9a5c1f163e518fb35bc7c2260a278c6
BLAKE2b-256 77e52aea7718a3e8ad64285870fcc6b3b6a4ded8b98e29e99c89a7f382257377

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page