semvec/pypi-packages huggingface dataset:
offprem 0.0.2b0
A tool to interact with VPCs configured in AWS accounts and roles.
Requires Python: >=3.9

# Offprem
Offprem will query AWS for all VPC's a profile has access to.
The vpc_id, region, and associated tags of each discovered VPC is stored in a configuration file, which can then be leveraged to automatically create STS tokens and boto3 sessions.

## Installation
Requires Python 3.9+:
```shell
python -m pip install offprem
```

## Features
- Save the VPC ID and region for all VPCs an account/role has access to.
- Supports roles, and accounts with Multi-Factor Authentication enabled.
- Automatically create STS tokens and boto3 sessions to interact with VPCs.

## Usage
Read the [tutorial](/docs/Tutorial.md).

## Local Development and Testing
### Development
Development and testing should be done in a virtual environment.
```shell
$ git clone https://github.com/Fauxsys/offprem.git
$ cd offprem
$ python -m venv venv --prompt offprem
$ source venv/bin/activate
(offprem) $ python -m pip install -U pip
```

Install offprem locally.
```shell
(parserconfig) $ python -m pip install -e ".[test]"
```

### Testing
You can test any changes locally with pytest.
```shell
(offprem) $ python -m pytest --cov=offprem 
```

You can also test offprem as an installed package.
```shell
(offprem) $ python -m tox
```

### Building a wheel
```shell
(offprem) $ python -m pip install build
(offprem) $ python -m build --wheel
```

There should now be a wheel in the `dist` directory.
```shell
(offprem) $ ls -1 dist
offprem-0.0.2b0-py3-none-any.whl
```
bmkgnasir 0.3.2
retrieve latest earthquake information in Indonesia
Requires Python: >=3.6

## Latest Earthquake in Indonesia 

### How it works
This package will retrieve latest earthquake information from [BMKG](https://bmkg.go.id)

### Author
Nasir Nooruddin

### Email
nasir@nasir.id

### How to use this package
install command :

    pip install requests
    pip install beautifulsoup4
    pip install bmkgnasir

Insert following scripts into your main.py

    from bmkg import extract, show
    if __name__ == '__main__':
        result = extract()
        show(result)
dynamic-load 0.0.5
Load module, function from string

Dynamically load modules for Python
===================================

Load python module, or member of module from string.

Example Usage
-------------
Load module, or member of module from string.
::

    from dynamic_load import dynamic_load
    dattime_module =  dynamic_load("datetime") # Load datetime module
    dattime_module.datetime.now()
    time_function = dynamic_load("time.time")
    time_function()


Execute functionn of module from string.
::

    from dynamic_load import dynamic_execute
    answer =  dynamic_execute("datetime.datetime.now")
    answer = dynamic_execute("time.sleep", 10) # execute(time.sleep(10))

Convert function as string.
::

    from dynamic_load immport dynamic_string
    string = dynamic_string(datetime.datetime.now)
pytest-srcpaths 1.2.1
Add paths to sys.path
Requires Python: >=3.7

# pytest-srcpaths

Add paths to `sys.path`.  
A pytest plugin to help pytest find the code you want to test.


## Installation

Install with pip:

    pip install pytest-srcpaths


## Usage

Add a line in your pytest.ini file with a key of `srcpaths`.
It should contain a space-separated list of paths.

    [pytest]
    srcpaths = src lib

Paths are relative to the directory that pytest.ini is in.  
You can include the top level directory with a dot.

    [pytest]
    srcpaths = .

## Alternatively, use `pythonpath`

The option `pythonpath` also works the same.

    [pytest]
    pythonpath = src lib

pytest 7 (not released yet) is planned to include the `pythonpath` option. 

For pytest 6.2.x, this plugin will work.


## Changelog

* 1.2.1 - Add `pythonpath` as an alternative to `srcpath` option for pytest versions < 7.0.0
  * this is to allow this project to act as a temporary workaround until pytest 7 is released

## Similar project

This plugin was inspired by [pytest-pythonpath](https://pypi.org/project/pytest-pythonpath/) whose implementation and scope are a bit different.
matchcaselib 0.0.1b0
Easy implementation of Python 3.10's structural pattern matching.

# Match-Case Library
### a.k.a. matchcaselib

---

Welcome to matchcaselib, an easy implementation of [Python 3.10's new feature](https://docs.python.org/3/whatsnew/3.10.html) of structural pattern matching.

This project is currently in a **BETA STAGE**.

## Installation
You can install this package by running the following command in your terminal:

`pip install matchcaselib`

or **update it** with the command

`pip install --upgrade matchcaselib`

---

## Usage
```py
from matchcaselib import match

a = input("Enter in a number: ")
a = int(a)
b = input("Enter in another number: ")
b = int(b)

with match(a, b) as m:
  if(m.case(1, 1)):
    print("All ones.")
  if(m.case(1, 2)):
    print("One and two.")
  if(m.case(a, 1)):
    print("The value of A can be anything!  A was {} and b was 1.".format(a))
  if(m.default):
    print("I don't know what you mean...")
```

---

## What you can do:
 - Compare as many sets of variables as you would like (the amount you provide with the initialization of the class must be consistent with the amount you use for the `case` method.)
 - Make a "default" response - Run a block if `default` is true (no matches were found)

## Work in Progress features:
 - Multi-pattern matching (test for multiple patterns)
 - Break function - leave the current match

## What not to do:
 - Use different amounts of variables for the class initialization and the use of the `case` method
 - I don't know, there aren't many bugs right now LOL