Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 10 additions & 15 deletions CODE_OF_CONDUCT.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,9 @@ Our Standards

Examples of behavior that contributes to creating a positive environment include:

Using welcoming and inclusive language
Being respectful of differing viewpoints and experiences
Gracefully accepting constructive criticism
Focusing on what is best for the community
Showing empathy towards other community members
Examples of unacceptable behavior by participants include:

The use of sexualized language or imagery and unwelcome sexual attention or advances
Trolling, insulting/derogatory comments, and personal or political attacks
Public or private harassment
Publishing others' private information, such as a physical or electronic address, without explicit permission
Other conduct which could reasonably be considered inappropriate in a professional setting
Our Responsibilities
Using welcoming and inclusive language Being respectful of differing viewpoints and experiences Gracefully accepting constructive criticism Focusing on what is best for the community Showing empathy towards other community members Examples of unacceptable behavior by participants include:

The use of sexualized language or imagery and unwelcome sexual attention or advances Trolling, insulting/derogatory comments, and personal or political attacks Public or private harassment Publishing others' private information, such as a physical or electronic address, without explicit permission Other conduct which could reasonably be considered inappropriate in a professional setting Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Expand All @@ -32,12 +22,17 @@ Project maintainers have the right and responsibility to remove, edit, or reject
Scope
-----

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
Representation of a project may be further defined and clarified by project maintainers.

Enforcement
-----------

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at adamdangoor@gmail.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at adamdangoor@gmail.com.
All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
The project team is obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

Expand Down
7 changes: 2 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,8 @@ VWS and Query APIs
Model Target Web API
~~~~~~~~~~~~~~~~~~~~

The `Model Target Web API`_ authenticates with OAuth2 client credentials
rather than the VWS signature scheme. This package builds the HTTP Basic
header for the ``POST /oauth2/token`` request and the ``Bearer`` header for
the dataset endpoints; making the token request, and caching the returned
token, are left to you.
The `Model Target Web API`_ authenticates with OAuth2 client credentials rather than the VWS signature scheme.
This package builds the HTTP Basic header for the ``POST /oauth2/token`` request and the ``Bearer`` header for the dataset endpoints; making the token request, and caching the returned token, are left to you.

.. code-block:: python

Expand Down
13 changes: 5 additions & 8 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,11 @@ VWS and Query APIs
Model Target Web API
~~~~~~~~~~~~~~~~~~~~

The `Model Target Web API`_ does not use the signature scheme which
``authorization_header`` implements. It authenticates with OAuth2 client
credentials: a ``POST /oauth2/token`` request with HTTP Basic credentials
and a ``grant_type=client_credentials`` form body returns a bearer token,
which is then sent to the dataset endpoints.

This package builds the headers only. Making the token request, and
caching the returned token until it expires, are left to you.
The `Model Target Web API`_ does not use the signature scheme which ``authorization_header`` implements.
It authenticates with OAuth2 client credentials: a ``POST /oauth2/token`` request with HTTP Basic credentials and a ``grant_type=client_credentials`` form body returns a bearer token, which is then sent to the dataset endpoints.

This package builds the headers only.
Making the token request, and caching the returned token until it expires, are left to you.

.. code-block:: python

Expand Down
3 changes: 2 additions & 1 deletion newsfragments/1908.change.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Drop Python 3.13 support. Python 3.14 or later is now required, allowing development installs to use PyTorch-free ``vws-python-mock`` releases.
Drop Python 3.13 support.
Python 3.14 or later is now required, allowing development installs to use PyTorch-free ``vws-python-mock`` releases.