semvec/pypi-packages huggingface dataset:
banking-adv-coding-proj 0.1.5
A banking system that helps you deposit, withdraw, change account password, and shows you your account details.

Banking Management System README
Welcome to the Banking Management System README. This document provides an overview of the banking system, its features, setup instructions, and usage guidelines.

Table of Contents
Overview
Features
Setup Instructions
Usage
Contact details
License

## Overview
This project implements a simple banking system in Python using object-oriented programming principles and SQLite for database management. It allows users to perform various account actions such as depositing money, withdrawing funds, changing passwords, and viewing account details.

## Features
Account Actions:
Deposit: Add funds to an existing account.
Withdraw: Remove funds from an existing account.
Change Password: Update the password associated with an account.
Show Account Details: Display account holder's information and balance.

Secure Authentication:
Password validation using a secure method.

Database Management:
SQLite database ("banking_management.db") integration for storing account information securely.

## Setup Instructions
Prerequisites
Python 3.x installed on your system.
SQLite

Installation
Clone the repository:
git clone https://github.com/your_username/banking-system.git
cd banking-system

Install dependencies:
pip install -r requirements.txt

Create the database tables:
python banking_system.py
The system uses SQLite for database operations. Ensure banking_management.db is present and accessible.

## Usage
Run the main program to interact with the banking system:
python main.py

Follow the prompts to perform actions:
Enter account number and password to authenticate.
Select from available actions (C: Change Password, D: Deposit, W: Withdraw, S: Show Account Details, Q: Quit).
Follow on-screen instructions for each action.

## Contact details:
zuha.haider110@gmail.com

## License
This project is licensed under the MIT License - see the LICENSE file for details.
prometheus-aws-guardduty-exporter 3.0.0
Prometheus exporter for AWS GuardDuty
Requires Python: >=3.11
Keywords: prometheus, aws, guardduty

# Prometheus exporter for AWS GuardDuty


## Features

- Exports the number of current (unarchived) findings from AWS GuardDuty, splitted by region and severity
- Supports multiple AWS regions


## Exported metrics

The exporter exports the following metrics:

| Metric name                          | Type     | Labels               | Description      |
| ------------------------------------ | -------- | -------------------- | ---------------- |
| `aws_guardduty_exporter_up`          | gauge    | _None_               | Always `1`: can be used to check if it's running |
| `aws_guardduty_current_findings`     | gauge    | `region`, `severity` | The current number of unarchived findings |
| `aws_guardduty_scrape_errors_total`  | counter  | `region`, `severity` | The total number of scrape errors |


## How to run it

You have two options to run it:

1. Manually install and run the [`prometheus-aws-guardduty-exporter` Python package](https://pypi.org/project/prometheus-aws-guardduty-exporter/)
   ```
   pip3 install prometheus-aws-guardduty-exporter

   prometheus-aws-guardduty-exporter --region us-east-1
   ```

2. Use the [Docker image available on Docker hub](https://hub.docker.com/r/spreaker/prometheus-aws-guardduty-exporter/)
   ```
   docker run --env AWS_ACCESS_KEY_ID="id" --env AWS_SECRET_ACCESS_KEY="secret" spreaker/prometheus-aws-guardduty-exporter --region us-east-1
   ```

The cli supports the following arguments:

| Argument                       | Required | Description |
| ------------------------------ | -------- | ----------- |
| `--region REGION [REGION ...]` | yes      | AWS GuardDuty region (can specify multiple space separated regions) |
| `--role-arn`                   |          | The ARN of an AWS role to assume |
| `--exporter-host`              |          | The host at which the Prometheus exporter should listen to. Defaults to `127.0.0.1` |
| `--exporter-port`              |          | The port at which the Prometheus exporter should listen to. Defaults to `9100` |
| `--log-level LOG_LEVEL`        |          | Minimum log level. Accepted values are: `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`. Defaults to `INFO` |


## Required IAM privileges

In order to successfully run, this application requires the following IAM privileges:

```
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid":    "ListDetectorsAndGetFindingsStatisticsInAnyRegion",
      "Effect": "Allow",
      "Action": [
        "guardduty:ListDetectors",
        "guardduty:GetFindingsStatistics"
      ],
      "Resource": "*"
    }
  ]
}
```


## Development

Run the development environment:

```
docker-compose build dev && docker-compose run --rm dev
```

Run tests in the dev environment:

```
python3 -m unittest
```


## License

This software is released under the [MIT license](LICENSE.txt).