semvec/pypi-packages huggingface dataset:
Sveve 1.1.0
A (limited) Python wrapper for Sveve's SMS sending API

# sveve
A (limited) Python wrapper for Sveve's API

Based on [API documentation](https://sveve.no/apidok/send).

I am in no way affiliated with Sveve and accept no liability for damages caused as a result of using this code.

## Usage

The client returns a pydantic class that matches the data structure in the API documentation unless a fatal error occurs, in which case it raises a `SveveError` with a descriptive error message.

### Initialising client
```python
from sveve.client import SveveClient, SveveError
client = SveveClient(user="usr", password="123", default_sender="funbit")
```

### Sending an SMS
```python
try:
  # Sending to one recipient using client's default_sender
  client.send_sms(to="12345678", msg="Hello world!")
except SveveError:
  print("Something went wrong...")

# Alternatively with multiple recipients
recipients = ["12345001", "12345002", "12345003"]
client.send_sms(to=recipients, msg="Hello world!")
# Or using a custom sender name
client.send_sms(to="12345678", msg="Hello world!", sender="Your Name")
```

### Checking remaining balance
```python
try:
  balance = client.remaining_sms()
except SveveError:
  print("Something went wrong...")
```
pytest-anything 0.1.4
Pytest fixtures to assert anything and something
Requires Python: >=3.7,<4.0

Anything and Something fixtures for pytest
==========================================

If you ever had to ignore a certain part of an assertion, you would end up with
this.

.. code-block:: python

    import pytest


    @pytest.mark.parametrize(
        "obj",
        [
            "string",
            123,
            123.1,
            True,
            False,
            [],
            {},
            (),
            object,
            object(),
            type,
            type(None),
            None,
        ],
    )
    def test_anything(obj, Anything):
        assert obj == Anything


    @pytest.mark.parametrize(
        "obj",
        [
            "string",
            123,
            123.1,
            True,
            False,
            [],
            {},
            (),
            object,
            object(),
            type,
            type(None),
        ],
    )
    def test_something(obj, Something):
        assert obj == Something


    def test_nothing(Something):
        assert None != Something


    def test_something_special(Something):
        assert object() == Something(lambda x: isinstance(x, object))