semvec/pypi-packages huggingface dataset:
ecs-exec 0.0.4
Simple script to allow one to execute commands on AWS ECS Fargate once ECS exec has been correctly configured.
Requires Python: >=3

# ecs-exec
pip installable bin to allow user to exec commands inside containers running on [AWS ECS Fargate](https://aws.amazon.com/fargate/) that relies on [terraformed](https://www.terraform.io/) infrastructure.

# Motivation
- Run commands inside containers defined by terraform on AWS ECS Fargate.

# Installation
```bash
$ pip install ecs-exec
```

# Usage
At minimum a terraform module which will output the following:
```terraform
output "cluster_id" {
  value = "${var.cluster_id}"
}

output "main_task_arn" {
  value = "${var.main_task_arn}"
}
```
`cluster_id` is used to identify the ECS cluster, and `main_task_arn` is used to identify the main task in the ECS cluster. This also assumes that you have configured the following to allow ECS exec:
- ECS cluster
- ECS task
- AWS user

Once you have applied the terraform configuration, pull the output into json:
```bash
$ terraform output -json custom_ecs_service > custom_ecs_service.json
```
Now you can run your command inside a specific container
```bash
AWS_PROFILE=staging ecs-exec --file custom_ecs_service.json --container php-fpm --command bash
```
If you do not know the container name upfront then not supplying the container will print out valid container names.

# Output
Output will look something like:
```bash
AWS_PROFILE=staging ecs-exec --file custom_ecs_service.json --container php-fpm --command "date +%F"

The Session Manager plugin was installed successfully. Use the AWS CLI to start a session.


Starting session with SessionId: ecs-execute-command-qNq9bIy0uTrZlriS
This session is encrypted using AWS KMS.
2021-06-25


Exiting session with sessionId: ecs-execute-command-qNq9bIy0uTrZlriS.
```
loudify-worker 0.0.post16
Initialisation module of loudify_worker.

# loudify-worker

> Running a GNU Radio flowgraph as a ZMQ worker.

<!-- ![dev build status](https://github.com/martynvdijke/gr-lora_sdr/workflows/dev%20build%20status/badge.svg)
[![docs-dev](https://github.com/martynvdijke/gr-lora_sdr/workflows/docs-dev/badge.svg)](https://martynvdijke.github.io/gr-lora_sdr/html/index.html)
![dev test status](https://github.com/martynvdijke/gr-lora_sdr/workflows/dev%20test%20status/badge.svg) -->
[![Documentation Status](https://readthedocs.org/projects/loudify/badge/?version=latest)](https://loudify.readthedocs.io/en/latest/?badge=latest)
![PyPI](https://img.shields.io/pypi/v/loudify-worker)
![PyPI - Downloads](https://img.shields.io/pypi/dw/loudify-worker)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/9f8d0669f5b74de5bf678a002ea21b48)](https://www.codacy.com/gh/martynvdijke/loudify-worker/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=martynvdijke/loudify-worker&amp;utm_campaign=Badge_Grade)
[![GitHub license](https://img.shields.io/github/license/martynvdijke/loudify-worker)](https://github.com/martynvdijke/loudify-worker/blob/dev/LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

<!-- PROJECT LOGO -->
<br />
<p align="center">
  <a href="https://github.com/martynvdijke/gr-lora_sdr/settings">
    <img src="pictures/worker.png" alt="Logo">
  </a>

  <h3 align="center">Loudify - worker</h3>

  <p align="center">
    Loudify worker, running gnuradio flowgraph as a ZMQ worker.
    <br />
    <a href="https://loudify.readthedocs.io/en/latest"><strong>Explore the docs »</strong></a>
    <br />
    <br />
    <a href="https://github.com/martynvdijke/loudify-worker/issues">Report a bug</a>
    <a href="https://github.com/martynvdijke/loudify-worker/issues">Request a feature</a>
  </p>
</p>

## Summary
This project is a worker for the ZMQ broker - worker setup for LoRa and part of a larger project, see [broker](https://github.com/martynvdijke/loudify-broker) and [gr-lora_sdr](https://github.com/martynvdijke/gr-lora_sdr).

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Make sure to add or update tests as appropriate.

## [Changelog](CHANGELOG.md)
loudify-broker 0.0.post10
Initialisation module for loudify broker.

# loudify-broker
> ZMQ Broker for running GNU Radio 

<!-- ![dev build status](https://github.com/martynvdijke/gr-lora_sdr/workflows/dev%20build%20status/badge.svg)
[![docs-dev](https://github.com/martynvdijke/gr-lora_sdr/workflows/docs-dev/badge.svg)](https://martynvdijke.github.io/gr-lora_sdr/html/index.html)
![dev test status](https://github.com/martynvdijke/gr-lora_sdr/workflows/dev%20test%20status/badge.svg) -->
[![Documentation Status](https://readthedocs.org/projects/loudify/badge/?version=latest)](https://loudify.readthedocs.io/en/latest/?badge=latest)
![PyPI](https://img.shields.io/pypi/v/loudify-broker)
![PyPI - Downloads](https://img.shields.io/pypi/dw/loudify-broker)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/e3620f6ee7844b5d9e4a6422752e4486)](https://www.codacy.com/gh/martynvdijke/loudify-broker/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=martynvdijke/loudify-broker&amp;utm_campaign=Badge_Grade)
[![GitHub license](https://img.shields.io/github/license/martynvdijke/loudify-broker)](https://github.com/martynvdijke/loudify-broker/blob/dev/LICENSE)
<!-- PROJECT LOGO -->
<br />
<p align="center">
  <a href="https://github.com/martynvdijke/gr-lora_sdr/settings">
    <img src="pictures/broker.png" alt="Logo">
  </a>

  <h3 align="center">Loudify - broker</h3>

  <p align="center">
    Loudify broker as part of the ZMQ broker - worker setup
    <br />
    <a href="https://loudify.readthedocs.io/en/latest"><strong>Explore the docs »</strong></a>
    <br />
    <br />
    <a href="https://github.com/martynvdijke/loudify-broker/issues">Report a bug</a>
    <a href="https://github.com/martynvdijke/loudify-broker/issues">Request a feature</a>
  </p>
</p>

## Summary
This project is a broker for the ZMQ broker - worker setup for LoRa and part of a larger project, see [worker](https://github.com/martynvdijke/loudify-worker) and [gr-lora_sdr](https://github.com/martynvdijke/gr-lora_sdr).

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Make sure to add or update tests as appropriate.

## [Changelog](CHANGELOG.md)
mykad 0.3.0
A Python package to validate MyKad numbers
Requires Python: >=3.6

# MyKad

A Python package to check if a MyKad number is valid and gets information such as the birthdate, state of birth and gender.

![screenshot](https://raw.githubusercontent.com/pongloongyeat/mykad/d05cabbde7bd13869c11fd192b81a1b1bbe5a754/images/mykad.png)

## The `MyKad` class

```python
from mykad.mykad import MyKad

mykad = MyKad(MYKAD_NUMBER)
```

The following methods are included in the `MyKad` class:

| Method                     | Comment                                                 |
|----------------------------|---------------------------------------------------------|
| `get_unformatted()`        | Gets the unformatted MyKad string.                      |
| `get_formatted()`          | Gets the formatted MyKad string.                        |
| `is_male()`                | Checks if the MyKad holder is a male.                   |
| `is_female()`              | Checks if the MyKad holder is a female.                 |

The following attributes are included in the `MyKad` class:

| Attribute                  | Comment                                                                  |
|----------------------------|--------------------------------------------------------------------------|
| `birthdate`                | Gets the datetime instance corresponding to the MyKad holder's birthdate.|
| `birth_year`               | Gets the birth year of the MyKad holder.                                 |
| `birth_month`              | Gets the birth month of the MyKad holder.                                |
| `day_of_birth`             | Gets the day of birth of the MyKad holder.                               |
| `birthplace`               | Gets the birthplace of the MyKad holder.                                 |
| `gender`                   | Gets the gender of the MyKad holder.                                     |

## Included utility functions

The following utility functions are included under `mykad.utils`:

| Utility                   | Comment                                                           |
|---------------------------|-------------------------------------------------------------------|
| `is_mykad_valid`          | Checks if a MyKad is valid.                                       |
| `get_birthplace`          | Quickly check the birthplace corresponding to a birthplace code.  |
| `get_state_abbreviation`  | Gets the state abbreviation                                       |