semvec/pypi-packages huggingface dataset:
flask-eureka-client 1.0.2
Eureka client library for flask
License: MIT
Keywords: microservice,netflix,flask,eureka,industryapps

# flask-eureka

Flask Eureka Integration

How to
======

Install package using:

```bash
pip install flask-eureka-client
```

And then, in your python project:

```python
from flask import Flask
from flask_eureka import Eureka

app = Flask(__name__)

# do 

eureka = Eureka(app)
eureka.register_service(name="my-flask-service")

app.run()
```

In addition to this, the Eureka defaul blueprint *eureka_bp* offered by the library must be added to your application:

```python
from flask_eureka.eureka import eureka_bp

app.register_blueprint(eureka_bp)
```

Open your eureka discovery service, and the application will be shown as *my-flask-service*.

Configuration
=============

The flask-eureka library integrate with flask's configuration mechanism. The following (environment) variables are used:

- SERVICE_NAME = Service name is used as the application ID towards Eureka
- EUREKA_SERVICE_URL= The Eureka service endpoint used for registration
- EUREKA_SERVICE_PATH = The path of eureka service end point. Default to *eureka/apps*
- EUREKA_INSTANCE_HOSTNAME = The hostname used for registration on eureka.
- EUREKA_HOME_PAGE_URL = The home page url of the app.
- EUREKA_INSTANCE_PORT = The port number used for the instance
- EUREKA_HEARTBEAT = Number of seconds used for updating registration status towards Eureka. Default is 90 seconds
veiled 0.2.4
A very thin CLI wrapper around cryptography.fernet:Fernet
License: MIT
Requires Python: >=3.7,<4.0
Keywords: encryption,symmetric,commandline

veiled
======
A very thin CLI wrapper around `cryptography.fernet:Fernet` for symmetric encryption.

I made this to use in CI things, so I can keep encrypted secrets in my git repositories,
and have my build agents decrypt them using a centralized key.

installation
------------
`pip install veiled`

It's recommended to pin the install to a specific version

usage
-----
Use `--help` to view command-specific usage.

```
Usage: veil [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Commands:
  decrypt
  decrypt-file
  decrypt-yaml
  encrypt
  encrypt-file
  encrypt-yaml
  generate-key
  version
```