Genomcore-sdk-python¶
Last edit on: Sep 26, 2025
Latest version: 1.4.9
Genomcore is a Python3 library with a set of tools intended to communicate with Genomcore’s Biomed Platform and API in a programmatic way, so it is easier for the developer to create tools, apps, etc, that interact with it.
Quick start:¶
If you are an internal Genomcore developer and have AWS CodeArtifact configured, you can install this library as with any other Python package:
python -m pip install genomcore
# Install a specific version
python -m pip install genomcore==x.x.x
Inside your Python scripts, you can import the API client as follows:
from genomcore.client import Genomcore
api = Genomcore(token="A_VALID_TOKEN", refresh_token="A_VALID_REFRESH_TOKEN")
api.is_alive()
Note
For other methods of installation, check the Installation section.
Tip
- Check the usage examples sections for code snippets and examples on how to use this library:
Table of contents:¶
User Guide
Examples
Developer Guide
Source
- Records Controller
RecordsControllerRecordsController.create_records()RecordsController.update_multiple_records()RecordsController.update_records()RecordsController.get_records()RecordsController.query_records()RecordsController.delete_records()RecordsController.__annotations__RecordsController.__firstlineno__RecordsController.__static_attributes__
- Templates Controller
- Files Controller
FilesControllerFilesController._idprojectFilesController._idactorFilesController._format_extensions()FilesController.is_alive()FilesController._is_valid_extension()FilesController._check_extensions()FilesController.unfold()FilesController.create_folder()FilesController.download()FilesController.upload_multiple()FilesController.download_multiple()FilesController._check_if_exists()FilesController._check_filetypes()FilesController.upload()FilesController.upload_dir()FilesController._get_local_and_remote_paths()FilesController.is_dir()FilesController.get()FilesController.all()FilesController.filter()FilesController.filter_kube()FilesController.get_metadata()FilesController.get_public_url()FilesController.delete()FilesController.move()FilesController.unlock_file()FilesController.__annotations__FilesController.__firstlineno__FilesController.__static_attributes__
- Files OMICS
OmicsFilesControllerOmicsFilesController.PENDINGOmicsFilesController.PROCESSINGOmicsFilesController.COMPLETEDOmicsFilesController.FAILEDOmicsFilesController.copy_to_omics_bucket()OmicsFilesController.get_copy_omics_status()OmicsFilesController.__annotations__OmicsFilesController.__firstlineno__OmicsFilesController.__static_attributes__
- Variants
VariantsControllerVariantsController.is_alive()VariantsController.get_template()VariantsController.create_observations()VariantsController.query_observations()VariantsController.delete_observations()VariantsController.count()VariantsController.__annotations__VariantsController.__firstlineno__VariantsController.__static_attributes__
- Variants Batch
VariantsBatchControllerVariantsBatchController.COMPLETEVariantsBatchController.PENDINGVariantsBatchController.FAILEDVariantsBatchController.BatchsIdVariantsBatchController.get_errorsVariantsBatchController.errorsVariantsBatchController.totalVariantsBatchController.statusVariantsBatchController.get_status()VariantsBatchController.wait()VariantsBatchController.create_one_observations_batch()VariantsBatchController.create_observations_batch()VariantsBatchController.__annotations__VariantsBatchController.__firstlineno__VariantsBatchController.__static_attributes__
- History Controller
- Time Series Controller
- Events Controller
- Auth Controller
AuthControllerAuthController.envAuthController.tokenAuthController.refresh_tokenAuthController.token_typeAuthController.hostAuthController.decoded_tokenAuthController.bearerAuthController.login()AuthController.decode_jwt()AuthController.get_project_id()AuthController.refresh()AuthController.to_json()AuthController.__firstlineno__AuthController.__static_attributes__
- Mail Controller
EmailControllerEmailController.MODE_GENERICEmailController.TPL_DEFAULTEmailController.TPL_EXISTENT_CUSTOMEREmailController.TPL_PARTNER_CUSTOMEREmailController.TPL_NEW_CUSTOMER_BASEEmailController.TPL_EXISTENT_CUSTOMER_BASEEmailController.TPL_RESET_PASSWORDEmailController.TPL_PRE_ORDEREmailController.TPL_LOGISTIC_SERVICEEmailController.TPLSEmailController.send_genomcore()EmailController.__annotations__EmailController.__firstlineno__EmailController.__static_attributes__EmailController.send()
- Form Controller
- Templates Controller