COAR Notify Python Bindings documentation¶
The protocol: https://coar-notify.net/
Specification version: 1.0.1 https://coar-notify.net/specification/1.0.1/
The code: https://github.com/coar-notify/coarnotifypy
The COAR Notify Protocol is a set of profiles, constraints and conventions around the use of W3C Linked Data Notifications (LDN) to integrate repository systems with relevant services in a distributed, resilient and web-native architecture.
This library provides a Python implementation of the COAR Notify Protocol version 1.0.1 (https://coar-notify.net/specification/1.0.1/), which covers the following aspects of the protocol:
A set of model objects which can be used to represent the core Patterns
Built-in validation for Patterns and over values passed to the model APIs
Parse and serialise to JSON-LD
Send notifications to a target inbox
Provides a simple server-side binding to easily integrate notifications into your application
In addition, it provides:
A comprehensive test suite demonstrating the use of the library
A simple inbox which can be run locally for testing
A simple set of integration tests for sending notifications to an inbox
A customisable HTTP layer to allow you to use your own, or to build in custom authentication routines
Detailed API documentation
Contents¶
- Installation
- Quickstart
- Implementing a custom pattern
- Implementing a server
- Creating your own HTTP Layer
- Test Server
- Information for Developers
- API Reference
- coarnotify
- Submodules
- coarnotify.client
- coarnotify.core
- Submodules
- coarnotify.core.activitystreams2
- Attributes
- Classes
- Module Contents
ActivityStream
ActivityStreamsTypes
ActivityStreamsTypes.ACCEPT
ActivityStreamsTypes.ACTIVITY
ActivityStreamsTypes.ANNOUNCE
ActivityStreamsTypes.APPLICATION
ActivityStreamsTypes.ARTICLE
ActivityStreamsTypes.AUDIO
ActivityStreamsTypes.COLLECTION
ActivityStreamsTypes.COLLECTION_PAGE
ActivityStreamsTypes.DOCUMENT
ActivityStreamsTypes.EVENT
ActivityStreamsTypes.FLAG
ActivityStreamsTypes.GROUP
ActivityStreamsTypes.IMAGE
ActivityStreamsTypes.INTRANSITIVE_ACTIVITY
ActivityStreamsTypes.NOTE
ActivityStreamsTypes.OBJECT
ActivityStreamsTypes.OFFER
ActivityStreamsTypes.ORDERED_COLLECTION
ActivityStreamsTypes.ORDERED_COLLECTION_PAGE
ActivityStreamsTypes.ORGANIZATION
ActivityStreamsTypes.PAGE
ActivityStreamsTypes.PERSON
ActivityStreamsTypes.PLACE
ActivityStreamsTypes.PROFILE
ActivityStreamsTypes.QUESTION
ActivityStreamsTypes.REJECT
ActivityStreamsTypes.RELATIONSHIP
ActivityStreamsTypes.SERVICE
ActivityStreamsTypes.TENTATIVE_ACCEPT
ActivityStreamsTypes.TENTATIVE_REJECT
ActivityStreamsTypes.TOMBSTONE
ActivityStreamsTypes.UNDO
ActivityStreamsTypes.VIDEO
Properties
ACTIVITY_STREAMS_NAMESPACE
ACTIVITY_STREAMS_OBJECTS
- coarnotify.core.notify
- Attributes
- Classes
- Module Contents
NestedPatternObjectMixin
NotifyActor
NotifyBase
NotifyBase.get_property()
NotifyBase.optional_and_validate()
NotifyBase.required()
NotifyBase.required_and_validate()
NotifyBase.set_property()
NotifyBase.to_jsonld()
NotifyBase.validate()
NotifyBase.validate_property()
NotifyBase.doc
NotifyBase.id
NotifyBase.type
NotifyBase.validate_properties
NotifyBase.validate_stream_on_construct
NotifyBase.validators
NotifyItem
NotifyObject
NotifyPattern
NotifyPatternPart
NotifyProperties
NotifyService
NotifyTypes
SummaryMixin
NOTIFY_NAMESPACE
VALIDATORS
- coarnotify.core.activitystreams2
- Submodules
- coarnotify.exceptions
- coarnotify.factory
- coarnotify.http
- coarnotify.patterns
- Submodules
- coarnotify.patterns.accept
- coarnotify.patterns.announce_endorsement
- coarnotify.patterns.announce_relationship
- coarnotify.patterns.announce_review
- coarnotify.patterns.announce_service_result
- coarnotify.patterns.reject
- coarnotify.patterns.request_endorsement
- coarnotify.patterns.request_review
- coarnotify.patterns.tentatively_accept
- coarnotify.patterns.tentatively_reject
- coarnotify.patterns.undo_offer
- coarnotify.patterns.unprocessable_notification
- Classes
- Package Contents
- Submodules
- coarnotify.server
- coarnotify.test
- coarnotify.validate
- Submodules
- coarnotify