semvec/pypi-packages huggingface dataset:
delegate-property 0.1.0
delegate attributes of a class to another attribute's properties

# Delegate
### A python library for delegation (the metaprogramming feature)

This library adds the `@delegate` decorator which may be used to delegate
attributes from an attribute of the existing class. For example:

```python
from delegate import delegate

class Parent:
    def __init__(self):
        self.a = "a"
        self.b = "b"
        self.d = "d"

# The delegate decorator makes .a and .b available on Child, through its
# "parent" attribute, as though Child had an a and b attribute itself.
@delegate("a", "b", to="parent")
class Child:
    def __init__(self):
        self.parent = Parent()
        self.c = "c"

instance = Child()
assert instance.a == "a"
raised = False
try:
    # But d is not available
    instance.d
except e:
    raised = True

assert raised
```
lettercase 0.3.2
Detection and conversion between letter cases
Requires Python: ~=3.7

# Lettercase
[![CircleCI](https://circleci.com/gh/gieseladev/lettercase.svg?style=svg)](https://circleci.com/gh/gieseladev/lettercase)
[![PyPI](https://img.shields.io/pypi/v/lettercase.svg)](https://pypi.org/project/lettercase)

A Python library for detecting and converting between various letter
cases.

Supported cases:
- snake_case
- SCREAMING_SNAKE_CASE
- Darwin_Case
- dromedaryCase
- PascalCase

## Installation
Using pip
```shell
pip install lettercase
```

## Usage
The basic usage of the library is pretty straight-forward.

To simply convert a string to another case:
```pydocstring
>>> import lettercase

>>> lettercase.convert_to("helloWorld", "snake")
hello_world
```

To detect the case, use the `detect_case` function
which returns a set of all possible cases for the given
string.
```pydocstring
>>> import lettercase

>>> lettercase.detect_case("helloWorld")
{LetterCase.DROMEDARY}
```

By default the function only checks as much of the string
as is necessary to get a unique match, however, if you need
to make sure that the letter case is correct for the entire string,
you can pass `fast_return=False`.
pwntools-r2 1.3.3.8
Debug exploits like a boss with Radare2 in pwntools

# pwntools-r2

Launch `radare2` from `pwntools`. This has been tested to work in combination with `tmux` - **other combinations may or may not work**. This *might* also work with other setups without `tmux` but that's not supported currently.

![alt text](https://github.com/ps1337/r/blob/master/pwntools-r2/pwntools-r2-demo.gif?raw=true)

## Ok How To Use This?

- Create a new pipenv: `pipenv --python 2.7`
- Install this: `pipenv install pwntools-r2`
- Enter the virtual environment: `pipenv shell`
- Code your 1337 exploit:

```
#!/usr/bin/env python2

from pwntools_r2 import *

r2script = """
#r2.cmd('db sym.main')
#r2.cmd('aaa')
#r2.cmd('V!')
"""

p = r2dbg('./a', r2script=r2script)
p.interactive()
```

Be sure to not forget `interactive()` at the end :)

Please note that the commands for `r2` have to be prefixed with a `#`. If you want to pass additional parameters, you can use the same in the function prototype of `gdb.debug` from `pwntools`.

- Do stuff: `python2.7 ./exploit.py`


## Troubleshooting

- You can debug any errors with `context.log_level = 'DEBUG'` via your `pwntools` python script.
- If no terminal can be found, try setting `context.terminal` accordingly - e.g. to `urxvtc`


# Credits

This is based on [this](https://gist.github.com/bannsec/43cf0f1b05ec37eb7e92a2922967bc46) and [this](https://github.com/Enigmatrix/pwntools-dbg-r2/tree/master/r2dbg).