semvec/pypi-packages huggingface dataset:
spotify-token 0.1.4
Python wrapper for Spotify Webplayer access token
License: MIT
Keywords: wrapper,spotify

==============================
spotify-webplayer-accesstoken
==============================

Utility script to get Spotify's web player access token which has more permissions than the normal one that can be obtained through the Spotify API.

This was inspired by `kopiro <https://github.com/kopiro>`_'s work on the same thing on Node (`link <https://github.com/kopiro/node-spotify-webplayer-accesstoken>`_).

Installing
============ 

::

    pip install spotify_token

Usage
============

To obtain the cookies (valid for 1 year):

1. Open a new **Incognito window** in Chrome (or another browser) at https://accounts.spotify.com/en/login?continue=https:%2F%2Fopen.spotify.com%2F

2. Open Developer Tools in your browser (might require developer menu to be enabled in some browsers)

3. Login to Spotify.

4. Search/Filter for `get_access_token` in Developer tools under Network.

5. Under cookies for the request save the values for `sp_dc` and `sp_key`.

6. Close the window without logging out (Otherwise the cookies are made invalid).

An access token can be obtained by running the following::

    import spotify_token as st

    data = st.start_session("sp_dc","sp_key")
    access_token = data[0]
    expiration_date = data[1]

License
============

This project is licensed under the MIT License - see the `LICENSE <LICENSE>`_ file for details
jacdac-python 0.2.15
Python client package for Jacdac
License: MIT

# Jacdac Python

A Python client and server SDK for Jacdac.

**Jacdac** is a plug-and-play hardware/software stack
for **microcontrollers** and their peripherals (sensors/actuators),
with applications to rapid prototyping, making, and physical computing.

-   **[Jacdac Home](https://aka.ms/jacdac/)**
-   **[Jacdac Python Documentation](https://microsoft.github.io/jacdac-docs/clients/python/)**
-   **[API Reference](https://jacdac-python.readthedocs.io/)**
-   Discussions at https://github.com/microsoft/jacdac/discussions
-   Issues are tracked on https://github.com/microsoft/jacdac/issues