Skip to main content

Pacchetto per i modelli di fastapi sqlalchemy

Project description

FastAPIALI-Models

Modelli SQLAlchemy e Pydantic per l'utilizzo in applicazioni Flask e Fastapi

Installazione dell paccetto con pip da github

pip install -e git+ssh://git@github.com/giaca95/Fastapi-modules.git#egg=fastapi-modules

Per caricare su pypi

python setup.py sdist

twine upload dist/*

Classi SQLAlchemy presenti

Buoni COVID-19 territorio

AziendeEsterne:
    piva: str
    rag_soc: str

BuoniTagli:
    id: int
    cifra: str
    numero: int

AcquisizioneBuoniTestata:
    id: int
    piva: str
    dt_creazione: datetime

    dettagli = relationship("AcquisizioneBuoniDettagli")
    azienda = relationship(AziendeEsterne)

AcquisizioneBuoniDettagli:
    id: int
    id_taglio_buono: int
    qta_buono: int
    dt_inserimento: datetime
    id_testata_acquisizione: int

    buono = relationship("BuoniTagli")

ODS

DimNegozio:
    cod_negozio: str
    des_negozio: str

Richieste volantini

Offerte:
    id: int
    descrizione: str

Linee:
    id: int
    descrizione: str

OfferteAnni:
    id_offerta: int
    anno: str

OfferteLinee:
    id_offerta: int
    id_linea: int

LineeNegozi:
    id_linea: int
    cod_negozio: str

Richieste:
    id: int
    anno: str
    id_offerta: int
    id_linea: int
    cod_negozio: str
    dt_inizio: datetime
    dt_fine: datetime
    invio_ora: bool
    dt_creazione: datetime
    utente: str
    stato: int

    emails = relationship("RichiesteEmail")
    punto_vendita = relationship(DimNegozio)
    offerta = relationship(Offerte)
    linea = relationship(Linee)

RichiesteEmail:
    id_richiesta: int
    email: str

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

fastapi_modules-2.2.9-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_modules-2.2.9-py3-none-any.whl.

File metadata

  • Download URL: fastapi_modules-2.2.9-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.0

File hashes

Hashes for fastapi_modules-2.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bcc6afdd4a28afd2f982c72d456c36e2091196e6d944d0c4fcb472bfd7382ac7
MD5 fc5ccb81946f73521aeefc000c21824d
BLAKE2b-256 e2a686724d59998717247956e4d87661983bad6528806df3653ae8a8ce5fa802

See more details on using hashes here.

Supported by

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