semvec/pypi-packages huggingface dataset:
poetry-codeartifact-plugin 1.0.3
A poetry plugin for keeping your CodeArtifact authorization token up-to-date
Requires Python: >=3.8,<4.0

# poetry-codeartifact-plugin

This Poetry plugin automatically refreshes your authorization token when working with CodeArtifact repositories.

## Installation

Run this to install the plugin:
`poetry self add poetry-codeartifact-plugin`

And to remove:
`poetry self remove poetry-codeartifact-plugin`

## Usage

No configuration or workflow changes are needed. If the plugin detects a HTTP 401 or 403 from a CodeArtifact URL, it will refresh your authorization token and retry the request.

This assumes that your local AWS creds are up-to-date -- if not, your command will still fail.


## Adding a CodeArtifact repository

Add this snippet to your project's `pyproject.toml`:

```toml
[[tool.poetry.source]]
name = "codeartifact-pypi"  # arbitrary, just don't reuse repository names between CodeArtifact repos
url = "https://DOMAIN-123412341234.d.codeartifact.us-west-2.amazonaws.com/REPO/pypi/simple/"  # get this URL from your CodeArtifact dashboard or the GetRepositoryEndpoint API call
```

Learn more about Poetry repositories here: https://python-poetry.org/docs/repositories/
sinchsms 1.0.6
A module to send sms using the Sinch REST apis, www.sinch.com
Keywords: sms,sinch

Python module for sending sms with Sinch
----------------------------------------

Deprecation Warning!
~~~~~~~~~~~~~~~~~~~~
This package will be deprecated and removed from PyPi by the end of January 2024.
For the new Sinch Python SDK go to - https://pypi.org/project/sinch or https://github.com/sinch/sinch-sdk-python


Installation
~~~~~~~~~~~~

.. code:: bash

    pip install sinchsms

Usage example
~~~~~~~~~~~~~

.. code:: python

    import time
    from sinchsms import SinchSMS

    number = '+46000000001'
    message = 'Hello from Sinch!'

    client = SinchSMS(your_app_key, your_app_secret)

    print("Sending '%s' to %s" % (message, number))
    response = client.send_message(number, message)
    message_id = response['messageId']

    response = client.check_status(message_id)
    while response['status'] != 'Successful':
        print(response['status'])
        time.sleep(1)
        response = client.check_status(message_id)
    print(response['status'])

.. note::

    You will need a Sinch account for getting your application key and secret. Visit www.sinch.com to get started.

Using as command line script
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: bash

    ./sinchsms.py
    usage: sinchsms.py <application key> <application secret> send <number> <message> <from_number>
           sinchsms.py <application key> <application secret> status <message_id>
pyfootballdata 0.0.4
A companion client for the football-data.org API
Requires Python: >=3.8

# pyfootballdata

A Python client for [football-data.org](football-data.org) API.

# Installation
```bash
pip install pyfootballdata
```
# Usage
```python
# Step 1: import the package
from pyfootballdata import FootballData

# Step 2: initialize the client (can be `async`)
fd = FootballData('YOUR_API_KEY') 

# Step 3: query the data 
# (e.g. standings for EPL circa 2021)
epl_standings = fd.standings(competition=2021, season=2021)
sorted_by_goals_conceded = epl_standings.overall.sort_by(
    key="goals_against", direction="desc"
)
worst_defense = sorted_by_goals_conceded[0]

print(worst_defense.team.name, worst_defense.goals_against) # Norwich City FC 84
```
# Documentation
TBA
# Examples
TBA