ExploSig Connect
Helpers for sending data from a Python environment to ExploSig (via ExploSig Server) for web-based interactive visualization.
Installation
pip install explosig-connect
Example Usage - Connecting to an existing session
>>> from explosig_connect import connect
>>> # Connect using a session ID supplied by ExploSig.
>>> session_id = 'af6242f3'
>>> conn = connect(session_id)
>>> # Obtain the SBS mutation counts matrix associated with the session.
>>> sbs_counts_df = conn.get_mutation_category_counts('SBS')
>>> # You run some custom code to derive better signature exposures.
>>> exposures_df = my_exposures_computation_method(sbs_counts_df)
>>> # Send the new exposures back to ExploSig for visualization.
>>> conn.send_exposures('SBS', exposures_df)
Example Usage - Starting a new session
>>> from explosig_connect import connect
>>> # Start a new 'empty' session with no samples, signatures, etc. selected.
>>> # This will attempt to open ExploSig in a new browser tab that starts the session.
>>> conn = connect()
>>> # Send an SBS mutation counts matrix to visualize.
>>> conn.send_mutation_category_counts('SBS', my_sbs_counts_df)
>>> # Send an exposures matrix to visualize.
>>> conn.send_exposures('SBS', my_sbs_exposures_df)
>>> # Send a signatures matrix to visualize.
>>> conn.send_signatures('SBS', my_sbs_signatures_df)
Development
Build and install from the current directory.
python setup.py sdist bdist_wheel && pip install .
Metadata
Release files for explosig-connect 0.0.7
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 |
|---|---|---|---|---|
| explosig-connect-0.0.7.tar.gz | 7.9 kB | Without provenance | Details for explosig-connect-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| explosig_connect-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for explosig_connect-0.0.7-py3-none-any.whl |
Total release size: 16.2 kB
Release files / explosig-connect-0.0.7.tar.gz
| Download URL | explosig-connect-0.0.7.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a256972586218019759ed2085ec858f82a5b7b0cc71da98ee5498d76621d0dc7
|
|
BLAKE2b-256 checksum How to use checksums |
cff5baeead68815a0fb893d3f94ba979820a2feee851a2ef86e8ae2ce13866f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.9
|
Release files / explosig_connect-0.0.7-py3-none-any.whl
| Download URL | explosig_connect-0.0.7-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29e521e9e061b0329d6c2ddd31b6066fb7b29aa2835d14d2af13545e6245edbf
|
|
BLAKE2b-256 checksum How to use checksums |
740ab50bbdc55041a99dd163459c3f4fc0184ba027d2033e9f633efddc77e658
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.9
|
Security for explosig-connect 0.0.7
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.