Skip to main content

Mysql connection parameters defined in a text file, reads the parameter file and return the connection parameter’s dict

example:

First, you must have a parameter file, which reads as follows:

# mysql Connection parameters

host=localhost

password=password

user=userid

database=dbname

Then,you can use this package in your python program

>>>import getMysqlConnPara

>>>getMysqlConnPara.getMysqlConnPara(‘/home/user/conn.conf’)

{‘host’: ‘localhost’, ‘password’: ‘password’, ‘user’: ‘userid’, ‘database’: ‘dbname’}

Release files for getMysqlConnPara 2.0.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 getMysqlConnPara 2.0.0
File Size Uploaded
getMysqlConnPara-2.0.0.tar.gz 1.5 kB Details

Release files / getMysqlConnPara-2.0.0.tar.gz

Download URL getMysqlConnPara-2.0.0.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7118e817cf4d6efeaeb79ca288144925e6cddce1ab794336e15888e5a57fc7dd
BLAKE2b-256 checksum
How to use checksums
5616f65ffdfa6c536f4dc744a716e6e963bdd0b18a53ab42af8ea8d8d53ce6b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file

1.0.2

1 release file

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