PsycoSSH
A ConnectionFactory for use by psycopg2 to enable SSH Tunneling
Probably should just use create_tunneled_engine which wraps around it
Example
from psycossh import create_tunneled_engine
from sqlalchemy import MetaData
engine = create_tunneled_engine(
ssh_user="ssh_username",
ssh_pkey=r"C:\Path\To\OpenSSH_Private_Key", # without password
ssh_host=r"ssh_server_host",
ssh_port=22, # default value
database=r"main_db",
pg_host="localhost", # default value
pg_port=5432, # default value
pg_password="pg_password"
)
meta = MetaData()
meta.reflect(bind=engine)
print(meta.tables)
Metadata
Release files for psycossh 0.0.1
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 |
|---|---|---|---|---|
| psycossh-0.0.1.tar.gz | 2.8 kB | Without provenance | Details for psycossh-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| psycossh-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for psycossh-0.0.1-py3-none-any.whl |
Total release size: 8.5 kB
Release files / psycossh-0.0.1.tar.gz
| Download URL | psycossh-0.0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
670cdb61c063abfa67abeeee177acb5477bd3a6ab02781a1711baa0cb0cf5dc3
|
|
BLAKE2b-256 checksum How to use checksums |
5116dfff8f5daeec21b5e017a6e4f09f01b419a66cc416d8d1db5e867c56734a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Release files / psycossh-0.0.1-py3-none-any.whl
| Download URL | psycossh-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69bc89c82c1dadd30132662e9bb79ba44eb8168603d8dc2595bcc56ddf9bab43
|
|
BLAKE2b-256 checksum How to use checksums |
581a918064cb98ba7a9213507ccb22e8727ffee6261e8dbcf7c75d67a5f515a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Security for psycossh 0.0.1
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.