Skip to main content

notehub-py

The OpenAPI definition for the Notehub.io API.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.2.0
  • Package version: 7.0.0
  • Generator version: 7.5.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://dev.blues.io/support/

Requirements.

Python 3.7+

Installation & Usage

pip install

With pip via PyPy:

python3 -m pip install notehub-py

(you may need to run pip with root permission: sudo python3 -m pip install notehub-py)

Then import the package:

import notehub_py

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import notehub_py

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import notehub_py
from notehub_py.rest import ApiException
from pprint import pprint

configuration = notehub_py.Configuration(
    access_token = "PERSONAL_ACCESS_TOKEN"
)


# Enter a context with an instance of the API client
with notehub_py.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = notehub_py.SkillsApi(api_client)
    project_or_product_uid = 'app:2606f411-dea6-44a0-9743-1130f57d77d8' # str | 
    skill_name = 'references/devices.md' # str | Relative .md name, case-insensitive, at most 512 UTF-8 bytes. In URLs, encode the whole name once: references/devices.md becomes references%2Fdevices.md; a literal % becomes %25. Pass the unencoded name to SDKs. Spaces, Unicode and punctuation are allowed. No absolute paths, dot segments, empty segments, backslashes, colons, control characters or surrounding segment whitespace.
    if_match = 'if_match_example' # str | Required; use one strong ETag or quoted skill revision. Wildcards and weak tags are rejected.

    try:
        # Delete a project skill
        api_instance.delete_skill(project_or_product_uid, skill_name, if_match)
    except ApiException as e:
        print("Exception when calling SkillsApi->delete_skill: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.notefile.net

Class Method HTTP request Description
SkillsApi delete_skill DELETE /v1/projects/{projectOrProductUID}/skills/{skillName} Delete a project skill
SkillsApi get_skill GET /v1/projects/{projectOrProductUID}/skills/{skillName} Get a project skill
SkillsApi get_skills GET /v1/projects/{projectOrProductUID}/skills List project skills
SkillsApi put_skill PUT /v1/projects/{projectOrProductUID}/skills/{skillName} Create or replace a project skill
AlertApi get_alerts GET /v1/projects/{projectOrProductUID}/alerts List alerts
AuthorizationApi o_auth2_client_credentials POST /oauth2/token Get an access token with OAuth client credentials
DescriptionApi delete_global_description DELETE /v1/description/{descriptionName} Delete a global description record
DescriptionApi delete_project_description DELETE /v1/projects/{projectOrProductUID}/description/{descriptionName} Delete a project description record
DescriptionApi get_global_description GET /v1/description/{descriptionName} Get a global description record
DescriptionApi get_project_description GET /v1/projects/{projectOrProductUID}/description/{descriptionName} Get a project description record
DescriptionApi list_global_descriptions GET /v1/description List global description records
DescriptionApi list_project_descriptions GET /v1/projects/{projectOrProductUID}/description List a project's description records
DescriptionApi set_global_description POST /v1/description/{descriptionName} Create or replace a global description record
DescriptionApi set_project_description POST /v1/projects/{projectOrProductUID}/description/{descriptionName} Create or replace a project description record
DeviceApi add_db_note POST /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} Add a note to a .db notefile
DeviceApi add_qi_note POST /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} Queue a note for a Notecard
DeviceApi create_notefile POST /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID} Create an empty notefile
DeviceApi delete_device DELETE /v1/projects/{projectOrProductUID}/devices/{deviceUID} Delete a device
DeviceApi delete_device_environment_variable DELETE /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key} Delete a device environment variable
DeviceApi delete_note DELETE /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} Delete a note
DeviceApi delete_notefiles DELETE /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files Delete notefiles
DeviceApi disable_device POST /v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable Disable a device
DeviceApi enable_device POST /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable Enable a device
DeviceApi get_db_note GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} Get a note
DeviceApi get_device GET /v1/projects/{projectOrProductUID}/devices/{deviceUID} Get a device
DeviceApi get_device_environment_hierarchy GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy Get a device's environment hierarchy
DeviceApi get_device_environment_variables GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables Get device environment variables
DeviceApi get_device_environment_variables_by_pin GET /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin Get device environment variables using a PIN
DeviceApi get_device_health_log GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log Get a device's health log
DeviceApi get_device_journey GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys/{journeyID} Get a journey and its events
DeviceApi get_device_journeys GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys List a device's journeys
DeviceApi get_device_latest_events GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest Get a device's latest event per notefile
DeviceApi get_device_plans GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans Get a device's cellular data plans
DeviceApi get_device_public_key GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key Get a device's public key
DeviceApi get_device_public_keys GET /v1/projects/{projectOrProductUID}/devices/public-keys List public keys of all devices
DeviceApi get_device_sessions GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions List a device's sessions
DeviceApi get_devices GET /v1/projects/{projectOrProductUID}/devices List devices in a project
DeviceApi get_fleet_devices GET /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices List devices in a fleet
DeviceApi get_notefile GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} Get the notes in a notefile
DeviceApi get_sessions GET /v1/projects/{projectOrProductUID}/sessions List sessions in a project
DeviceApi list_notefiles GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files List a device's notefiles and notes
DeviceApi provision_device POST /v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision Provision a Notecard
DeviceApi set_device_environment_variables PUT /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables Set device environment variables
DeviceApi set_device_environment_variables_by_pin PUT /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin Set device environment variables using a PIN
DeviceApi signal_device POST /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal Send a signal to a connected Notecard
DeviceApi update_db_note PUT /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} Update a note in a .db notefile
EventApi get_events GET /v1/projects/{projectOrProductUID}/events List events in a project
EventApi get_fleet_events GET /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events List events in a fleet
EventApi get_route_logs_by_event GET /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs Get an event's route logs
ExternalDevicesApi create_event_ext_device POST /v1/products/{productUID}/ext-devices/{deviceUID}/event Add an event from an external device
ExternalDevicesApi ext_device_session_close POST /v1/products/{productUID}/ext-devices/{deviceUID}/session/close Close an external device's session
ExternalDevicesApi ext_device_session_open POST /v1/products/{productUID}/ext-devices/{deviceUID}/session/open Open an external device's session
JobsApi cancel_job_run POST /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID}/cancel Cancel a job run
JobsApi create_job POST /v1/projects/{projectOrProductUID}/jobs Create a batch job
JobsApi delete_job DELETE /v1/projects/{projectOrProductUID}/jobs/{jobUID} Delete a batch job
JobsApi delete_job_run DELETE /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID} Delete a job run
JobsApi get_job GET /v1/projects/{projectOrProductUID}/jobs/{jobUID} Get a batch job
JobsApi get_job_run GET /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID} Get a job run
JobsApi get_job_runs GET /v1/projects/{projectOrProductUID}/jobs/{jobUID}/runs List a job's runs
JobsApi get_jobs GET /v1/projects/{projectOrProductUID}/jobs List batch jobs
JobsApi run_job POST /v1/projects/{projectOrProductUID}/jobs/{jobUID}/run Run a batch job
MonitorApi create_monitor POST /v1/projects/{projectOrProductUID}/monitors Create a monitor
MonitorApi delete_monitor DELETE /v1/projects/{projectOrProductUID}/monitors/{monitorUID} Delete a monitor
MonitorApi get_monitor GET /v1/projects/{projectOrProductUID}/monitors/{monitorUID} Get a monitor
MonitorApi get_monitors GET /v1/projects/{projectOrProductUID}/monitors List monitors
MonitorApi update_monitor PUT /v1/projects/{projectOrProductUID}/monitors/{monitorUID} Update a monitor
OrganizationApi get_organization GET /v1/organizations/{organizationUID} Get an organization
OrganizationApi get_organization_balance_history GET /v1/organizations/{organizationUID}/balance-history Get an organization's daily balance
OrganizationApi get_organizations GET /v1/organizations List your organizations
ProjectApi add_device_to_fleets PUT /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets Add a device to fleets
ProjectApi clone_project POST /v1/projects/{projectOrProductUID}/clone Clone a project
ProjectApi create_fleet POST /v1/projects/{projectOrProductUID}/fleets Create a fleet
ProjectApi create_product POST /v1/projects/{projectOrProductUID}/products Create a product
ProjectApi create_project POST /v1/projects Create a project
ProjectApi create_project_secret POST /v1/projects/{projectOrProductUID}/secrets Create a project secret
ProjectApi delete_device_from_fleets DELETE /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets Remove a device from fleets
ProjectApi delete_firmware DELETE /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} Delete host firmware
ProjectApi delete_fleet DELETE /v1/projects/{projectOrProductUID}/fleets/{fleetUID} Delete a fleet
ProjectApi delete_fleet_environment_variable DELETE /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables/{key} Delete a fleet environment variable
ProjectApi delete_product DELETE /v1/projects/{projectOrProductUID}/products/{productUID} Delete a product
ProjectApi delete_project DELETE /v1/projects/{projectOrProductUID} Delete a project
ProjectApi delete_project_environment_variable DELETE /v1/projects/{projectOrProductUID}/environment_variables/{key} Delete a project environment variable
ProjectApi delete_project_secret DELETE /v1/projects/{projectOrProductUID}/secrets/{secretName} Delete a project secret
ProjectApi disable_global_event_transformation POST /v1/projects/{projectOrProductUID}/global-transformation/disable Disable the global event transformation
ProjectApi download_firmware GET /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} Download host firmware
ProjectApi enable_global_event_transformation POST /v1/projects/{projectOrProductUID}/global-transformation/enable Enable the global event transformation
ProjectApi get_aws_role_config GET /v1/projects/{projectOrProductUID}/aws-role-config Get AWS role configuration for role-based authentication
ProjectApi get_device_dfu_history GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/dfu/{firmwareType}/history Get a device's firmware update history
ProjectApi get_device_dfu_status GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/dfu/{firmwareType}/status Get a device's firmware update status
ProjectApi get_device_fleets GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets List a device's fleets
ProjectApi get_devices_dfu_history GET /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/history List devices' firmware update history
ProjectApi get_devices_dfu_status GET /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/status List devices' firmware status
ProjectApi get_firmware_info GET /v1/projects/{projectOrProductUID}/firmware List firmware
ProjectApi get_fleet GET /v1/projects/{projectOrProductUID}/fleets/{fleetUID} Get a fleet
ProjectApi get_fleet_environment_hierarchy GET /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_hierarchy Get a fleet's environment hierarchy
ProjectApi get_fleet_environment_variables GET /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables Get fleet environment variables
ProjectApi get_fleets GET /v1/projects/{projectOrProductUID}/fleets List fleets
ProjectApi get_notefile_schemas GET /v1/projects/{projectOrProductUID}/schemas List Notefile schemas
ProjectApi get_products GET /v1/projects/{projectOrProductUID}/products List a project's products
ProjectApi get_project GET /v1/projects/{projectOrProductUID} Get a project
ProjectApi get_project_by_product GET /v1/products/{productUID}/project Get the project for a ProductUID
ProjectApi get_project_environment_hierarchy GET /v1/projects/{projectOrProductUID}/environment_hierarchy Get the project environment hierarchy
ProjectApi get_project_environment_variables GET /v1/projects/{projectOrProductUID}/environment_variables Get project environment variables
ProjectApi get_project_members GET /v1/projects/{projectOrProductUID}/members List project members
ProjectApi get_project_secrets GET /v1/projects/{projectOrProductUID}/secrets List project secrets
ProjectApi get_projects GET /v1/projects List projects
ProjectApi perform_dfu_action POST /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/{action} Start or cancel firmware updates
ProjectApi set_fleet_environment_variables PUT /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables Set fleet environment variables
ProjectApi set_global_event_transformation POST /v1/projects/{projectOrProductUID}/global-transformation Set the global event transformation
ProjectApi set_project_environment_variables PUT /v1/projects/{projectOrProductUID}/environment_variables Set project environment variables
ProjectApi update_firmware POST /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} Update host firmware metadata
ProjectApi update_fleet PUT /v1/projects/{projectOrProductUID}/fleets/{fleetUID} Update a fleet
ProjectApi update_project_secret PUT /v1/projects/{projectOrProductUID}/secrets/{secretName} Update a project secret
ProjectApi upload_firmware PUT /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} Upload firmware
RouteApi create_route POST /v1/projects/{projectOrProductUID}/routes Create a route
RouteApi delete_route DELETE /v1/projects/{projectOrProductUID}/routes/{routeUID} Delete a route
RouteApi get_route GET /v1/projects/{projectOrProductUID}/routes/{routeUID} Get a route
RouteApi get_route_logs_by_route GET /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs List a route's logs
RouteApi get_routes GET /v1/projects/{projectOrProductUID}/routes List routes
RouteApi update_route PUT /v1/projects/{projectOrProductUID}/routes/{routeUID} Update a route
UsageApi get_api_usage GET /v1/projects/{projectOrProductUID}/usage/api Get billable API usage
UsageApi get_data_usage GET /v1/projects/{projectOrProductUID}/usage/data Get cellular and satellite data usage
UsageApi get_events_usage GET /v1/projects/{projectOrProductUID}/usage/events Get event usage
UsageApi get_route_logs_usage GET /v1/projects/{projectOrProductUID}/usage/route-logs Get route log usage
UsageApi get_sessions_usage GET /v1/projects/{projectOrProductUID}/usage/sessions Get session usage
WebhookApi create_legacy_webhook_event POST /v1/products/{productUID}/devices/{deviceUID}/webhook-event Add a note-shaped event from a device (legacy)
WebhookApi create_webhook POST /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} Create a webhook
WebhookApi create_webhook_device_event_by_product POST /v1/products/{productUID}/webhooks/{webhookUID}/devices/{deviceUID}/event Send a device's event through a webhook
WebhookApi create_webhook_event_by_product POST /v1/products/{productUID}/webhooks/{webhookUID}/event Send an event through a webhook
WebhookApi delete_webhook DELETE /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} Delete a webhook
WebhookApi get_webhook GET /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} Get a webhook
WebhookApi get_webhook_settings_by_product GET /v1/products/{productUID}/webhooks/{webhookUID}/settings Get a webhook by ProductUID
WebhookApi get_webhooks GET /v1/projects/{projectOrProductUID}/webhooks List webhooks
WebhookApi update_legacy_webhook_session PUT /v1/products/{productUID}/devices/{deviceUID}/webhook-session Open or close a webhook device's session (legacy)
WebhookApi update_webhook PUT /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} Update a webhook
WebhookApi update_webhook_settings_by_product PUT /v1/products/{productUID}/webhooks/{webhookUID}/settings Update a webhook by ProductUID

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

personalAccessToken

  • Type: Bearer authentication

Author

engineering@blues.io

Metadata

Release files for notehub-py 7.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for notehub-py 7.0.0
File Size Uploaded Provenance Actions
notehub_py-7.0.0.tar.gz 211.6 kB With provenance Details for notehub_py-7.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for notehub-py 7.0.0
File Interpreter ABI Platform Actions
notehub_py-7.0.0-py3-none-any.whl Python 3 none any Details for notehub_py-7.0.0-py3-none-any.whl

Total release size: 590.3 kB

Release files / notehub_py-7.0.0.tar.gz

Download URL notehub_py-7.0.0.tar.gz
Size 211.6 kB
Tags Source
SHA-256 checksum
How to use checksums
94f986da88ac0b248af1392a99f3e557dc03a965da522f450f747fc1837583d9
BLAKE2b-256 checksum
How to use checksums
c356e50922d57fddcf88f8b08043e6c9672b005f665a3c0c8dbe17eaf2d3b06f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / notehub_py-7.0.0-py3-none-any.whl

Download URL notehub_py-7.0.0-py3-none-any.whl
Size 378.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9500bc6fa69565bc1eb536f3a449b23d03e6fe1b6638bf09d3b72e199b48eb20
BLAKE2b-256 checksum
How to use checksums
2b31208ea3c3a654aa5e1ebc414dd077036d3fb4512d76522fa6dc176703fb69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for notehub-py 7.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for notehub_py-7.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

7.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page