pynut - Laurent Tupin
It provides various functions to simplify the users life.
Installation
You can install the package from PyPI:
python -m pip install pynut-DB
The package is supported on Python 3.7 and above.
How to use
You can call a function as this example:
$ ----------------------------------------------------
>>> from pyNutTools import nutDate
>>> nutDate.today()
This is the libraries I am using with the package
$ ----------------------------------------------------
>>> pyodbc==4.0.32
Documentation
Temporary documentation for nutDb :
from pyNutDB import nutDb as db
1. Lite Db
db_lite = db.c_db_lite(r'\db_param.db')
db_lite.connect()
df_UID = db_lite.getDataframe("SELECT * FROM tbl_Table")
db_lite.closeConnection()
""" This class allows you to manage simple lite database"""
2. SQL Server (pyodbc)
dbServer = db.c_db_withLog()
# df_UID will be a dataframe of connexion: Server, Database, UID, Password
dbServer.dataframeCredentials(df_UID)
# Request with a dataframe as a return
db.db_SelectReq("SELECT top 10 * FROM tbl_Table")
print(dbServer.df_result)
# OR EXEC a stored procedure
db.db_EXEC('EXEC Stored_Procedure')
END
Metadata
Release files for pynut-DB 2.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pynut-DB-2.1.5.tar.gz | 22.1 kB | Without provenance | Details for pynut-DB-2.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pynut_DB-2.1.5-py3-none-any.whl | Python 3 | none | any | Details for pynut_DB-2.1.5-py3-none-any.whl |
Total release size: 41.3 kB
Release files / pynut-DB-2.1.5.tar.gz
| Download URL | pynut-DB-2.1.5.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
283ab16c52c9923e1ff48b31fb4ec3668b09c0e6ec6d78e21bd70da5a7574d52
|
|
BLAKE2b-256 checksum How to use checksums |
bc372eaf335332688547ddfdfee1e21d90347c971265f7431e0b99037c9d1562
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.9
|
Release files / pynut_DB-2.1.5-py3-none-any.whl
| Download URL | pynut_DB-2.1.5-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3cffd676810d2c0a7060a98c2cae912e28af210a795af8ec5b2ae8541522f884
|
|
BLAKE2b-256 checksum How to use checksums |
151360d3ed0d1b316313f810cd8fcf8f0b98387a47a361a47c8a83f0b893c3c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.9
|
Security for pynut-DB 2.1.5
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.