
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Authentication and authorization tools for interacting with the Vuforia Web Services (VWS) API.
|Build Status| |codecov| |PyPI| |Documentation Status|
Authentication and authorization tools for interacting with the Vuforia Web Services (VWS) API.
.. code:: sh
pip install vws-auth-tools
This is tested on Python 3.12+.
.. invisible-code-block: python
from mock_vws import MockVWS from mock_vws.database import VuforiaDatabase
mock = MockVWS(real_http=False) database = VuforiaDatabase( server_access_key='my_access_key', server_secret_key='my_secret_key', client_access_key='my_access_key', client_secret_key='my_secret_key', ) mock.add_database(database=database) mock.enter()
.. code-block:: python
from urllib.parse import urljoin
import requests from vws_auth_tools import authorization_header, rfc_1123_date
request_path = '/targets' content = b'' method = 'GET' date = rfc_1123_date() authorization_header = authorization_header( access_key='my_access_key', secret_key='my_secret_key', method=method, content=content, content_type='', date=date, request_path=request_path, )
headers = {'Authorization': authorization_header, 'Date': date}
response = requests.request( method=method, url=urljoin(base='https://vws.vuforia.com', url=request_path), headers=headers, data=content, )
assert response.status_code == 200, response.text
.. invisible-code-block: python
mock.exit()
See the full documentation <https://vws-auth-tools.readthedocs.io/en/latest>
__.
.. |Build Status| image:: https://github.com/VWS-Python/vws-auth-tools/workflows/CI/badge.svg :target: https://github.com/VWS-Python/vws-auth-tools/actions .. |codecov| image:: https://codecov.io/gh/VWS-Python/vws-auth-tools/branch/main/graph/badge.svg :target: https://codecov.io/gh/VWS-Python/vws-auth-tools .. |Documentation Status| image:: https://readthedocs.org/projects/vws-auth-tools/badge/?version=latest :target: https://vws-auth-tools.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. |PyPI| image:: https://badge.fury.io/py/VWS-Auth-Tools.svg :target: https://badge.fury.io/py/VWS-Auth-Tools
FAQs
Authentication and authorization tools for interacting with the Vuforia Web Services (VWS) API.
We found that vws-auth-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.