Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
use pip install EPIC-API-Client.
see example.py for usage and setup .env accordingly.
tip: use uv pip for faster pip (pip install uv
)!
To familiarize, play around and test out the functionality of this package, you can use the EPIC sandbox. To use this sandbox, you only need to register an app at vendor services of EPIC, enable the EPIC sandbox and you're done! In the environment file, leave the url blanc, the epic api client will then automatically refer requests to the EPIC sandbox.
Nebula uses unix websockets to send web requests instead of simple http requests. This capability has been added to this wrapper which can be activated setting the use_unix_socket=True argument:
client = EPICClient(client_id=client_id, jwt_generator=jwt_generator, base_url=base_url, use_unix_socket=True)
Make sure to setup your Nebula environment as if you would use the Webcallout functionality from EPIC itself.
still to write about and implement
If your favorite function is not yet implemented, let me know, I will do this for you!
uv pip uninstall jwt
uv pip uninstall PyJWT
uv pip install PyJWT
Send predictive model scores back to the Epic Cognitive Computing Platform for filing.
:param model_id: str, the ECCP model ID the scores are for
:param job_id: str, the autogenerated job ID for the evaluation on ECCP
:param output_type: str, the type of output for the predictive model
:param server_version: str, the server version of the predictive context
:param session_id: str, the session ID of the predictive context
:param entity_ids: list, a list of dictionaries with ID and Type for the entity
:param outputs: dict, the output values of the predictive model
:param raw: dict, optional, raw features used to calculate the scores
:param predictive_context: dict, optional, additional context information for the predictive model
:return: dict, the response from the Epic Cognitive Computing Platform
example outputs
{
"Output_Name": {
"Scores": {
"Score_Name_1" : { "Values": [val1, val2,.., valN] },
"Score_Name_2" : { "Values": [val1, val2,.., valN] }
},
"Features": {
"Feature1": { "Contributions":[contrib1, contrib2, ..., contribN]},
"Feature2": { "Contributions":[contrib1, contrib2, ..., contribN]}
}
}
}
example raw
{
"Additional_Feature_1" : { "Values": [val1, val2,.., valN] },
"Additional_Feature_2" : { "Values": [val1, val2,.., valN] }
}
FAQs
EPIC API Client including authentication flow and some wrapped API calls
We found that epic-api-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.