Skip to main content

Python Univer

Содержит маппинг данных из Univer для SqlAlchemy

Установка

$ pip install python_univer

Конфигурация

from python_univer.config import Config, DRIVER
from python_univer.orm import get_session


config = Config(host='адрес', user='пользователь', password='пароль', db='имя базы данных', driver=DRIVER.FREETDS)
Session = get_session(config)

Использование

from python_univer.models import Student


session = Session()

students = session.query(Student).filter(Student.course == 2, Student.status == 1)

for student in students:
    print(student)

Metadata

Release files for python-univer 1.5.0

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

Source distribution (sdist)

Source distribution for python-univer 1.5.0
File Size Uploaded Provenance
python-univer-1.5.0.tar.gz 20.2 kB Without provenance Details

Release files / python-univer-1.5.0.tar.gz

Download URL python-univer-1.5.0.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d6b325e365a5714c952334b58546c493dc3bc2f00e7ee26b75b7732a5f619c6a
BLAKE2b-256 checksum
How to use checksums
b09ad1f9ce03e42be489b79002d120d60eb6c7e8f0517a110fdc147e6a8d7626
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for python-univer 1.5.0

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

1.5.0 This release

1 release file 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