Papysql
This Library is an interface between Pandas and sqlite3. It gives the possibility to access sql databases and view the tables as pandas DataFrames.
Installation
The library can be installed through pip:
pip install papysql
Alternatively you can download the scripts from here, the main functions are located in papysql/papysql.py file that you can place in the same folder and import in your workspace..
After importing the library it have to read the database with the command
import papysql as pps
db = pps.read(PathToDb)
You can then access data in the db with functions list_tables and display_table e.g.
pps.display_tables(db)
#It lists all the tables in the database
pps.display_table(NameOfTheTable,db)
#It returns the specific table in format of a Pandas Dataframe Object
Finally the Function ExecuteScriptFromFile is work in progress and serves to execute a SQL script from a text file
Future implementation will be aimed at modify and creating tables
Metadata
Release files for papysql 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| papysql-0.2.6-py3-none-any.whl | Python 3 | none | any | Details for papysql-0.2.6-py3-none-any.whl |
Release files / papysql-0.2.6-py3-none-any.whl
| Download URL | papysql-0.2.6-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f1b1d8c92867be86b88664a4e060007b57101b3ee9839803a92760e6652f80e
|
|
BLAKE2b-256 checksum How to use checksums |
0c5b2222fa5340a3b51a50449de69ad917a69bdbe527ca547ffdc171580f0ae9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for papysql 0.2.6
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.