semvec/pypi-packages huggingface dataset:
isEvenAPI 3.0
API Wrapper for the isEven API.
License: MIT
Keywords: api,isEven,math,even,odd

# isEvenAPI

[![codecov](https://codecov.io/gh/ultirequiem/isEvenAPI/branch/main/graph/badge.svg)](https://codecov.io/gh/ultirequiem/isEvenAPI)

The premier Python package for checking the even-ness of a number via an API.
Built-ins are overrated, microservices are always best, regardless of scope. I
read it in a medium article, so...

> I did this when I was learning Python 😆

## Main features

- Cache Memorization ➿
- API Retry Handler ♻

## Install

From PyPI 🐍

```sh
pip install isEvenApi
```

Or from GitHub 🐱

```sh
pip install git+https:/github.com/UltiRequiem/isEvenAPI
```

## Usage

As simple as possible 🤗

```python
from is_even import is_even, is_odd, adverstiment

print(is_even(10)) # True
print(is_odd(10)) # False

print(adverstiment()) # An Advertisement
```

Check the [`examples/`](./examples) directory for more information.

## Alternatives

A simpler aproach 👇

```python
def is_even(number):
    return number % 2 == 0
```

## CLI Tool

The installation process is the same as before.

The normal way 🧐

```sh
is_even 6 2
True
True
```

Or with the verbose mode 🍹

```sh
is_even 6 2 --verbose
6 is even.
2 is even.
```

## Support

Open an Issue, I will check it a soon as possible 👀

If you want to hurry me up a bit
[send me a tweet](https://twitter.com/intent/tweet?text=%40UltiRequiem%20) 😆

Consider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like
my work 🚀

Don't forget to start the repo ⭐

## Authors

[Eliaz Bobadilla (a.k.a UltiRequiem)](https://ultirequiem.com) - Creator and
Maintainer 💪

See also the full list of
[contributors](https://github.com/UltiRequiem/isEvenAPI/contributors) who
participated in this project.

## Versioning

We use [SemVer](http://semver.org) for versioning. For the versions available,
see the [tags](https://github.com/UltiRequiem/isEvenAPI/tags).

## Note

I did this because I'm learning how to upload packages to
[PYPI](https://pypi.org/project/isEvenAPI) with GitHub actions.

## Licence

Licensed under the MIT License.
django-wordle-auth 2022.4.1
Django Wordle Auth backend that uses today's Wordle word of the day as your password.
License: MIT
Requires Python: >=3.7
Keywords: Django

# Django Wordle Auth

Django Wordle Auth backend that uses today's Wordle word of the day as your password.

:fire: Django Wordle Auth is built for demo websites and **should never be used in a production environment**. :fire: 

## Install

```shell
python -m pip install django-wordle-auth
```

Then add `django_wordle_auth.backends.DjangoWordleAuthBackend` to your `settings.AUTHENTICATION_BACKENDS` like:

```python
AUTHENTICATION_BACKENDS = [
    "django.contrib.auth.backends.ModelBackend",
    "django_wordle_auth.backends.DjangoWordleAuthBackend",
]
```
injecta 0.10.2
Dependency Injection Container Library
License: MIT
Requires Python: >=3.7,<4.0

# Injecta

Dependency Injection (DI) Container written in Python. Main component of the [Pyfony Framework](https://github.com/pyfony/pyfony).

## Installation

```
$ pip install injecta
```

## Simple container initialization

(The following steps are covered in the [ContainerInitializerTest](src/injecta/container/ContainerInitializerTest.py))

To start using Injecta, create a simple `config.yaml` file to define your DI services:

```yaml
parameters:
  api:
    endpoint: 'https://api.mycompany.com'

services:
    mycompany.api.ApiClient:
      arguments:
        - '@mycompany.api.Authenticator'

    mycompany.api.Authenticator:
      class: mycompany.authenticator.RestAuthenticator
      arguments:
        - '%api.endpoint%'
        - '%env(API_TOKEN)%'
```

Then, initialize the container:

```python
from injecta.container.ContainerBuilder import ContainerBuilder
from injecta.config.YamlConfigReader import YamlConfigReader
from injecta.container.ContainerInitializer import ContainerInitializer

config = YamlConfigReader().read('/path/to/config.yaml')

containerBuild = ContainerBuilder().build(config)

container = ContainerInitializer().init(containerBuild)
```

Use `container.get()` to finally retrieve your service:

```python
from mycompany.api.ApiClient import ApiClient

apiClient = container.get('mycompany.api.ApiClient') # type: ApiClient   
apiClient.get('/foo/bar')
```

## Advanced examples

1. [Configuring services using parameters](docs/parameters.md)
1. [Service autowiring](docs/autowiring.md)
1. [Using service factories](docs/factories.md)
1. [Tagged services](docs/tagging.md)