semvec/pypi-packages huggingface dataset:
cupp 1.3.3
Common User Password Profiler
License: MIT
Keywords: cupp,common user password profiler,wordlist,hacking,python,thehackersbrain,gauravraj

# cupp
> Common User Password Profiler

-----

## Description
**CUPP** (Common User Password Profile) is a tool to generate target specific wordlists based on their details provided.

## Version
**Cupp v1.3.3

## Installation

### Using PIP3
- Create a new Python Virtual Environment
	```bash
	python3 -m venv env
	```
- Activate the virtualenv
	```bash
	source env/bin/activate
	```
- Install and run the tool
	```bash
	pip3 install -e . && cupp -v
	```
- Onliner
	```bash
	python3 -m venv && source env/bin/activate && pip3 install -e . && cupp -v
	```


### Using this repo
- Git clone the respository
	```bash
	git clone https://github.com/thehackersbrain/cupp.git
	```
- Change the directory to `cupp`
	```bash
	cd cupp
	```
- Create new python virtualenv and activate it
	```bash
	python3 -m venv env && source env/bin/activate
	```
- Install the tool using **`pip3`**
	```bash
	pip3 install -e .
	```
- Oneliner
	```bash
	git clone https://github.com/thehackersbrain/cupp.git && cd cupp && python3 -m venv env && source env/bin/activate && pip3 install -e . && cupp -v
	```


## Screenshots
![](https://raw.githubusercontent.com/thehackersbrain/cupp/main/screenshots/demo1.png)
![](https://raw.githubusercontent.com/thehackersbrain/cupp/main/screenshots/demo2.png)
![](https://raw.githubusercontent.com/thehackersbrain/cupp/main/screenshots/demo.gif)

## Credit
This tool is originally designed by [**Mebus**](https://github.com/Mebus) [here](https://github.com/Mebus/cupp.git). I tried to enhance the **UI** and added some functionality than the previous version and removed some redundant code, basically it's a mess **;)**

## Social Handles
- [Portfolio](https://gauravraj.xyz/)
- [Blog](https://blog.gauravraj.xyz/)
- [Github](https://github.com/thehackersbrain)
- [Twitter](https://twitter.com/thehackersbrain)
- [LinkedIn](https://www.linkedin.com/in/thehackersbrain)
- [Instagram](https://instagram.com/thehackersbrain)
- [More Projects](https://github.com/thehackersbrain?tab=repositories)
macros.py 0.3.1
Macros for Python
License: MIT
Requires Python: >=3.5

# macros.py

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI version](https://badge.fury.io/py/macros.py.svg)](https://badge.fury.io/py/macros.py)
[![PyPI downloads](https://img.shields.io/pypi/dm/macros.py)](https://badge.fury.io/py/macros.py)
[![Repo Size](https://img.shields.io/github/repo-size/spookybear0/macros.py)](https://github.com/spookybear0/macros.py)


## Macros in python

macros.py is an implemention of macros similar to ones found in C using a custom codec to implement a feature into python

Guido van Rossum would hate me

## Examples

### Max function-macro
```py
# coding: macros

macro def MAX(a, b):
    (a if a > b else b)

# print the max of 1 and 5
def max_1_and_5():
    print(MAX(1, 5))

max_1_and_5()

# output:
# 5
```

This code gets translated to python-readable code:

```py
# coding: macros

# print the max of 1 and 5
def max_1_and_5():
    print((1 if 1 > 5 else 5))

max_1_and_5()

# output:
# 5
```

More examples can be found in the examples directory

## How it works

You might be wondering, how the hell did you make macros in python. It's possible due to a quirk in python that allows custom encodings to be created and preprocess the code before it is run. When a macro is defined it doesn't actually define it as a python variable, it saves the bytecode and name of a macro in a list of macros that is checked against when token of type `tokenize.NAME` is seen. When a macro is used, it yields the tokens of the macro in place (and if the macro has args, replaces those).

## Installing

### From pip
```sh
py -m pip install -U macros.py
```

### From source
```sh
git clone https://github.com/spookybear0/macros.py
cd macros.py
python3 -m pip install -U .
```


## A side note
This library is a joke, please do not ever use this in a real project.

This code is also of terrible quality, but I might decide to improve it soon