semvec/pypi-packages huggingface dataset:
fetch-content-providers-and-resolvers 0.10
Finds content providers/resolvers on Android devices
License: MIT
Keywords: settings,adb,pandas,DataFrame,content,android,providers,resolvers


# Finds content providers/resolvers on Android devices 

### Some things you have to know:

- You might need root access 
- I have only tested it against BlueStacks / Windows 10 / Python 3.9.


```python

$pip install fetch-content-providers-and-resolvers


from fetch_content_providers_and_resolvers import ContentProviderResolverFetcher
adb_path = "C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe"
deviceserial = "localhost:5875"
cpr = ContentProviderResolverFetcher(
    adb_path=adb_path,
    deviceserial=deviceserial,
    folder="data/",  # As far as I know, this folder exists on any Android device, so you don't have to change anything
    folder_for_temp_files=r"F:\ctestprov",  # Folder to store the temp dex files
    ripgrep_path="rg.exe",  # Download RipGrep https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-pc-windows-gnu.zip
)
cpr.connect_to_adb()
cpr.get_all_files()  # Find all dex files / If you want to limit the packages to scan, you can modify cpr.df
cpr.pull_files()  # Copy the files to the hard drive
cpr.extract_content_providers()
cpr.check_results(
    exit_keys="ctrl+x", print_output=True, timeout=None,
)  # If you press ctrl+x you can kill a query which got stuck, you can also set a timeout for each query
df = cpr.get_all_results_checked()  # returns checked results
df1 = cpr.get_all_results()  # returns unchecked results



```
django-autodisco 0.1.1
Django autodiscover modules utils
License: MIT
Requires Python: >=3.8,<4.0
Keywords: django,fsm

# django-autodisco

Micro django lib that helps auto-loading app modules.

**Why this lib?**

I am used to grouping signal connectors and receivers in a module called `receivers.py`. I didn't want add the module import in the `ready` method of all the apps anymore.

---

## Installation

```
pip install django-autodisco
```
Or, for the latest git version
```bash
python -m pip install 'django-autodisco @ git+https://github.com/etchegom/django-autodisco.git'
```

---

## Usage

Add the `autodisco` django app:

```python
INSTALLED_APPS = [
    ...
    "autodisco",
]
```

Define the modules to auto-load in settings:

```python

AUTODISCO_MODULES = [
    "receivers",
    ...
]

```

---

## Run example

```bash
make example
```

---

## Run tests

```bash
make tests
```