rail_pz_service package
rail_pz_service is a tool-kit to stand up a web service to provide on-the-fly estimates of per-object photometric redshifts.
It consists of several python sub-packages:
rail_pz_service.common: some common utilites such as configuration management.
rail_pz_service.client: a client-side python interface to access a server.
rail_pz_service.db: the database model and some utilities to mangage it.
rail_pz_service.server: the web service and associated routers.
And a few command line tools:
pz-rail-service-client: a client-side CLI to access a server
pz-rail-service-admin: a server-side CLI to manage the underlying database
pz-rail-service-server: the web-server API
pz-rail-service-worker: a worker process to handle request on the server
- rail_pz_service.common package
- rail_pz_service.models package
- rail_pz_service.db package
AlgorithmBaseCacheCache.clear()Cache.create_request()Cache.get_algo_class()Cache.get_catalog_tag_class()Cache.get_estimator()Cache.get_qp_dist()Cache.get_qp_file()Cache.load_algorithms_from_rail_env()Cache.load_catalog_tags_from_rail_env()Cache.load_dataset_from_file()Cache.load_dataset_from_values()Cache.load_estimator()Cache.load_model_from_file()Cache.run_request()Cache.shared_cache()
CatalogTagDatasetEstimatorModelRequestRequest.class_stringRequest.col_names_for_tableRequest.dataset_Request.dataset_idRequest.estimator_Request.estimator_idRequest.get_create_kwargs()Request.get_open_requests()Request.idRequest.pydantic_mode_classRequest.qp_file_pathRequest.time_createdRequest.time_finishedRequest.time_startedRequest.user
RowMixin- DB Admin CLI
- rail_pz_service.client