Skip to content

pmeier/array-protocol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Array protocol playground

This repository provides a playground for a vendorable protocol for array objects that can be used to statically as well as at runtime check for adherence to the Array API. You can find a discussion in this thread.

consumer.py implements a "vendored" version of the proposed protocol and provider implements a dummy array object adhering to it.

  • The static checks can be run by mypy static_checks.py
  • The runtime checks can be run by python runtime_checks.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages