
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
This Python package provides a Software Development Kit (SDK) for interacting with Mediumroast for GitHub. It is used internally by Mediumroast, Inc. and meant for developers to make use of.
This Python package provides a Software Development Kit (SDK) for interacting with Mediumroast for GitHub. It is used internally by Mediumroast, Inc. and meant for developers to make use of.
The SDK is in active development and is subject to change. The SDK is not yet stable and should not be used in production environments.
To install the package, you can use pip:
pip install mediumroast_py
To use the package, you will need to import the mediumroast_py
modules and classes. The package provides three main classes for interacting with objects: Companies
, Interactions
, and Users
.
To use the package, you will need to authenticate with the Mediumroast API using the GitHubAuth
class. Here is an example of how to authenticate with the Mediumroast API using a GitHub App installation and a private key file. You will need to set the MR_CLIENT_ID
, MR_APP_ID
, and YOUR_INSTALLATION_ID
environment variables to the appropriate values for your GitHub App installation. You will also need to set the YOUR_PEM_FILE
environment variable to the path of your private key file. Here is an example of how to authenticate with the Mediumroast API using a GitHub App installation and a private key file.
from mediumroast_py.api import Companies, Interactions, Users
from mediumroast_py.api.authorize import GitHubAuth
auth = GitHubAuth(env={'clientId': os.getenv('MR_CLIENT_ID')})
token = auth.get_access_token_pem(
os.getenv('YOUR_PEM_FILE'),
os.getenv('MR_APP_ID'),
os.getenv('YOUR_INSTALLATION_ID')
)
The Companies
class provides methods for interacting with companies in Mediumroast. You can use the get_all
method to get information about all companies.
company_ctl = Companies(token_info['token'], os.getenv('YOUR_ORG') , process_name)
companies = company_ctl.get_all()
The Interactions
class provides methods for interacting with interactions in Mediumroast. You can use the get_all
method to get information about all interactions.
interaction_ctl = Interactions(token_info['token'], os.getenv('YOUR_ORG') , process_name)
interactions = interaction_ctl.get_all()
If you encounter any issues with the SDK, please report them on the mediumroast_py issues page.
FAQs
This Python package provides a Software Development Kit (SDK) for interacting with Mediumroast for GitHub. It is used internally by Mediumroast, Inc. and meant for developers to make use of.
We found that mediumroast_py 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.