Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

RFC document, tooling and other content related to the array API standard

License

NotificationsYou must be signed in to change notification settings

data-apis/array-api

All Contributors

This repository contains documents, tooling and other content related to theAPI standard for arrays (or tensors).

These are relevant documents related to the content in this repository:

SeeCONTRIBUTING.md for how to go about contributing tothis array API standard.

Workgroup Meetings

To coordinate activities and facilitate discussion across the Python ecosystem, the Consortium for Python Data API Standards holds an open meeting every other week on Thursdays throughout the year.

This meeting is open to the public. So if you have questions about the array API standard, pain points, feature requests, or are just wanting to listen in, we encourage you to join the public call to connect with Consortium members, stay updated on the latest Consortium activities, and chat with others in the community.

Everyone is welcome—drop in and say hello!

Time

UTC 17:00 (05:00 PM) every other Thursday:

TimezoneDate/Time
US / PacificThu 10:00 (10:00 AM)
US / MountainThu 11:00 (11:00 AM)
US / CentralThu 12:00 (12:00 AM)
US / EasternThu 13:00 (01:00 PM)
EU / WesternThu 18:00 (06:00 PM)
EU / CentralThu 19:00 (07:00 PM)
EU / EasternThu 20:00 (08:00 PM)
MoscowThu 20:00 (08:00 PM)
ChennaiThu 22:30 (10:30 PM)
HangzhouFri 01:00 (01:00 AM)
TokyoFri 02:00 (02:00 AM)
SydneyFri 03:00 (03:00 AM)

Links

Joining the meeting

  • See the public calendar for information on how to join!

Agenda

  • Have specific things to discuss? Feel free to comment on#853 or the linked agenda document!

Development

Building docs locally

Quickstart

To install the local stubs and additional dependencies of the Sphinx docs, youcan usepip install -r doc-requirements.txt. Then just runningmake at theroot of the repository should build the whole spec website.

$ pip install -r doc-requirements.txt$ make$ ls _site/2021.12/  draft/  index.html  latest/  versions.json

The nitty-gritty

The spec website is comprised of multiple Sphinx docs (one for each spec version),all of which exist inspec/ and rely on the modules found insrc/ (mostnotablyarray_api_stubs). For purposes of building the docs, thesesrc/modules do not need to be installed as they are added to thesys.path atruntime.

To build specific versions of the spec, runsphinx-build on the respectivefolder inspec/, e.g.

$ sphinx-build spec/2012.12/ _site/2012.12/

Additionally,make draft aliases

$ sphinx-build spec/draft/ _site/draft/

To build the whole website, which includes every version of the spec, you canutilizemake spec.

Making a spec release

The Sphinx doc atspec/draft/ should be where the in-development spec resides,withsrc/array_api_stubs/_draft/ containing its respective stubs. A specrelease should involve:

  • Renamingsrc/array_api_stubs/_draft/ tosrc/array_api_stubs/_YYYY_MM

  • Renamingspec/draft/ tospec/YYYY.MM

  • Updatingspec/YYYY.MM/conf.py

    ...- from array_api_stubs import _draft as stubs_mod+ from array_api_stubs import _YYYY_MM as stubs_mod...- release = "DRAFT"+ release = "YYYY.MM"...
  • Updatingspec/_ghpages/versions.json

    {+     "YYYY.MM": "YYYY.MM",...
  • UpdatingMakefile

    ...-sphinx-build "$(SOURCEDIR)/PREVIOUS.VER" "$(BUILDDIR)/PREVIOUS.VER" $(SPHINXOPTS)+ -sphinx-build "$(SOURCEDIR)/YYYY.MM" "$(BUILDDIR)/YYYY.MM" $(SPHINXOPTS)- -cp -r "$(BUILDDIR)/PREVIOUS.VER" "$(BUILDDIR)/latest"+ -cp -r "$(BUILDDIR)/YYYY.MM" "$(BUILDDIR)/latest"...

These changes should be committed and tagged. The next draft should then becreated. To preserve git history for both the new release and the next draft:

  1. Create and checkout to a new temporary branch.
$ git checkout -b tmp
  1. Make an empty commit.This is required so merging the temporary branch(4.) is not automatic.
$ git commit --allow-empty -m"Empty commit for draft at YYYY.MM"
  1. Checkout back to the branch you are making a spec release in.
$ git checkout YYYY.MM-release
  1. Merge the temporary branch, specifying no commit and no fast-forwarding.
$ git merge --no-commit --no-ff tmpAutomatic merge went well; stopped before committing as requested
  1. Checkout thespec/draft/ files from the temporary branch.
$ git checkout tmp -- spec/draft/
  1. Commit your changes.
$ git commit -m"Copy YYYY.MM as draft with preserved git history"

You can rungit blame on bothspec/YYYY.MM andspec/draft files to verifywe've preserved history. See thisStackOverflow questionfor more background on the approach we use.


Contributors ✨

Thanks goes to these wonderful people (emoji key):

Saul Shanabrook
Saul Shanabrook

🔧🤔🔬
Athan
Athan

🖋🔣🔧🔬
Stephannie Jimenez Gacha
Stephannie Jimenez Gacha

🔣🖋🔬
Aaron Meurer
Aaron Meurer

🖋⚠️🔧
Tony Fast
Tony Fast

🚧
Ralf Gommers
Ralf Gommers

📝💼💻🖋📖🔍🚧🤔📆📢
Travis E. Oliphant
Travis E. Oliphant

💼🔍🤔
Leo Fang
Leo Fang

👀🤔🖋
Tianqi Chen
Tianqi Chen

🤔👀
Stephan Hoyer
Stephan Hoyer

🤔👀💬
Alexandre Passos
Alexandre Passos

🤔👀
Paige Bailey
Paige Bailey

🔍
Adam Paszke
Adam Paszke

🤔👀📢
Andreas Mueller
Andreas Mueller

🤔👀
Sheng Zha
Sheng Zha

🤔
kkraus
kkraus

🤔👀📢
Tom Augspurger
Tom Augspurger

👀💬
edloper
edloper

👀💬
Areg Melik-Adamyan
Areg Melik-Adamyan

👀🔍
Oleksandr Pavlyk
Oleksandr Pavlyk

👀💬
tdimitri
tdimitri

🤔
Jack Pappas
Jack Pappas

🤔
Ashish Agarwal
Ashish Agarwal

👀💬
Edward Z. Yang
Edward Z. Yang

🤔
Mike Ruberry
Mike Ruberry

🤔
Eric Wieser
Eric Wieser

🤔
Carol Willing
Carol Willing

🤔
Alex Rogozhnikov
Alex Rogozhnikov

🤔
Matthew Honnibal
Matthew Honnibal

🤔
Mario Lezcano Casado
Mario Lezcano Casado

🤔
Bas van Beek
Bas van Beek

🤔
Sebastian Berg
Sebastian Berg

🤔
Isaac Breen
Isaac Breen

🤔
Kenichi Maehashi
Kenichi Maehashi

🤔
Chris Pryer
Chris Pryer

🤔
Tirth Patel
Tirth Patel

🤔
Kshiteej K
Kshiteej K

🤔
Anirudh Dagar
Anirudh Dagar

🤔
Tom White
Tom White

🤔
Matthew Barber
Matthew Barber

🤔🖋
Philip Meier
Philip Meier

🔬💻
Zac Hatfield-Dodds
Zac Hatfield-Dodds

🤔💻
Daniel Lenton
Daniel Lenton

💻
Simone G
Simone G

💻🤔
Tyler Reddy
Tyler Reddy

🤔
Matt Barrett
Matt Barrett

🤔
Jatin Prakash
Jatin Prakash

🤔
Ishtiaq Hussain
Ishtiaq Hussain

🤔
sherry30
sherry30

🤔
João Lobo
João Lobo

🤔
Neil Girdhar
Neil Girdhar

🤔
Nathaniel Starkman
Nathaniel Starkman

🤔
jakirkham
jakirkham

🤔
RickSanchezStoic
RickSanchezStoic

🤔
Talley Lambert
Talley Lambert

🤔
Juan Nunez-Iglesias
Juan Nunez-Iglesias

🤔
Christian Kothe
Christian Kothe

🤔
Carlos Ramos Carreño
Carlos Ramos Carreño

🤔
Gilad
Gilad

🤔
Thomas J. Fan
Thomas J. Fan

🤔
Conchylicultor
Conchylicultor

🤔
Franck Charras
Franck Charras

🤔
Keith Kraus
Keith Kraus

🤔
Lucas Colley
Lucas Colley

🚧🐛

This project follows theall-contributors specification. Contributions of any kind welcome!

About

RFC document, tooling and other content related to the array API standard

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors37

Languages


[8]ページ先頭

©2009-2025 Movatter.jp