This package will take care of cleaning the database and querying the database.
Project description
ShynaDatabase
Suggested: Not to use
This package will take care of cleaning the database and querying the database. More functionality will be added as I process.
test = ShynaDatabase() # Make the object of the class
# share the host and password credentail and key file
cred_filename_host = 'host.ini'
key_file_host = 'host.key'
cred_filename_pass = 'dbpass.ini'
key_file_pass = 'dbpass.key'
test.host = test.set_host(cred_filename_host=cred_filename_host, key_file_host=key_file_host)
test.passwd = test.set_password(cred_filename_pass=cred_filename_pass, key_file_pass=key_file_pass)
print(test.check_connectivity()) # True if the database is connected
query = "SELECT * FROM test"
print(test.create_insert_update_or_delete(query=query)) # returns a dictoinary with result or 'EMPTY' as string
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ShynaDatabase-0.97.2.tar.gz
(10.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ShynaDatabase-0.97.2.tar.gz.
File metadata
- Download URL: ShynaDatabase-0.97.2.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08b5123c8c0b4eb52bd756df603ee4546871e1bd041ff8a0d4f69cd2c6ce0b8a
|
|
| MD5 |
789fcbf3b94ac987a7946bd959bfdecc
|
|
| BLAKE2b-256 |
6ceaadf1b4a2211414dd14015d18122ce72b43192fd21c2821022250a53c6a34
|
File details
Details for the file ShynaDatabase-0.97.2-py3-none-any.whl.
File metadata
- Download URL: ShynaDatabase-0.97.2-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
388280fc85bd0243970b79c200cd6b1075ad7e1d603c1d526a95a05f297c24af
|
|
| MD5 |
9bd9c2a31a7b89daba5f82a386d942b3
|
|
| BLAKE2b-256 |
6d615aee638ab129a01f1c8b9a0cd99557a98f860cfd3f0a320fc5d726a574fa
|