semvec/pypi-packages huggingface dataset:
advance-adb 0.0.1
Advance adb toolkit in one place

AdvanceADB

AdvanceADB is a Python library that provides advanced tools and utilities for managing and interacting with Android devices using the Android Debug Bridge (ADB). The library includes functionalities for app management, file operations, device analytics, WhatsApp automation, and more.

Installation

To install the library, use pip:

pip install advanceadb

Features

Core Functionalities

    1.	Device Management:
    •	Start, stop, and restart the ADB server.
    •	Query connected devices.
    •	Get device-specific information like Android version, model, manufacturer, etc.
    2.	App Management:
    •	Install, uninstall, and clear app data.
    •	Launch and stop apps.
    •	Check app permissions and manage them.
    3.	File Operations:
    •	Transfer files between the device and the local system.
    •	List, rename, delete, and copy files or directories on the device.
    4.	Analytics:
    •	Retrieve and analyze call and SMS logs.
    •	Analyze screen time to identify the most used apps.
    5.	Miscellaneous:
    •	Capture screenshots and screen recordings.
    •	Retrieve device battery status and screen properties.
    •	Open URLs on the device.
    6.	Utilities:
    •	Backup and restore media files and apps.
    •	Manual app debloating by uninstalling unused apps.
    7.	WhatsApp Automation:
    •	Send single or bulk WhatsApp messages.
    •	Process CSV files for bulk messaging.

Usage

Initialize Modules

Each feature is encapsulated in its module. Initialize them as follows:

from advanceadb.adb import Adb
from advanceadb.files import files
from advanceadb.app import app
from advanceadb.analytics import Analytics
from advanceadb.misc import Misc
from advanceadb.whatsapp import whatsapp
from advanceadb.utilities import utils

# Example: Initialize ADB

adb = Adb(device_id='your_device_id')

Example: Sending a WhatsApp Message

from advanceadb.whatsapp import whatsapp

# Initialize WhatsApp automation

wa = whatsapp(device_id='your_device_id')

# Send a message to a single number

wa.send_msg('+1234567890', 'Hello from AdvanceADB!')

# Send bulk messages from a CSV file

wa.send_bulk_msg('contacts_and_messages.csv')

Example: Backup Files

from advanceadb.utilities import utils

# Initialize utilities

utility = utils(device_id='your_device_id')

# Backup all media files

utility.backup()

Version

Current version: 0.0.1

Contribution

Feel free to contribute to this project by submitting issues or pull requests on the project’s GitHub repository.
app-monitoring 1.2.1
A to monitoring my app.
Requires Python: >=3.6

# Build package

```bash
python3 setup.py sdist bdist_wheel
```

# Publish package to Pypi

```bash
twine upload dist/*
```

# Docker environment

```bash
docker run -it --rm -v $(pwd):/workspace/app_monitoring python:3.12.7-alpine /bin/sh

apk update
cd /workspace/app_monitoring
python3 -m pip install setuptools
python3 setup.py sdist bdist_wheel
apk add twine
apk add gcc python3-dev musl-dev linux-headers
TWINE_USERNAME="__token__" TWINE_PASSWORD="pypi-....................................................." twine upload --non-interactive dist/*
```
qrst 0.1.0
QRST-AB or QRST is a  QR code-based secure transmission algorithm (QRST-AB) using Avro and Byte Pair Encoding (BPE)
Requires Python: >=3.8

# QRST-AB

QRST-AB or QRST is a  QR code-based secure transmission algorithm (QRST-AB) using Avro and Byte Pair Encoding (BPE).

# Installation

install by pip
```shell
pip install qrst
```

or install by source code
```shell
git clone https://github.com/DrBreath/QRST-AB
cd QRST-AB
python setup.py install 
```
# Get Start

The demonstration code for encoding and decoding with qrst is as follows:
```python
from qrst import QR_Codec,write_qr2png,load_json
import json
qr_codec = QR_Codec('./tests/example/qr.codec.test.config.yml')

# Input JSON: Read a JSON file
obj = load_json('./tests/example/sample_en.json')
# Encode into different QR code data streams
qr_list = qr_codec.encode(obj)
# Decode and restore it back to JSON
patient_id = obj.pop(qr_codec.conf['identity_field'] )
for qr_bytes in qr_list:
   flag,ret = qr_codec.decode(qr_bytes,patient_id)
   print('flag=',flag)
   if flag == 'finished':
      print('ret=',ret)
  
# Test generating QR code images
write_qr2png(qr_list,'./temp')

# Calculate compression ratio
orig_size = len(json.dumps(obj).encode())
compressed_size = sum([len(q) for q in qr_list])
print(f'JSON file size = {orig_size}bytes, compressed siez = {compressed_size}bytes,Compressed Ratio={orig_size/compressed_size:.2f}')
```

- the demo code see as : [./demo.py](./demo.py)
- the example of config see as : [./tests/example/qr.codec.test.config.yml](./tests/example/qr.codec.test.config.ym) 

- the example of test json file see as : [./tests/example/sample_en.json](./tests/example/sample_en.json) 

# Practical Suggestions:
- Refer to [./tests/example/qr.codec.test.config.yml](./tests/example/qr.codec.test.config.ym)  to define your own JSON configuration file and `Apache Avro Schema`
- Using a private corpus to train a tokenizer can achieve better compression performance and prevent third-party decoding. For training methods, refer to [sentencepiece](https://github.com/google/sentencepiece)

# LICENSE
Apache License 2.0

Copyright [2024] [Changzhen Li]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Additional Terms:
- This software is provided for academic, non-commercial use only.
- Any commercial use of this software requires prior written authorization from the author.
sbcli-dev-activate 10.0.1
CLI for managing SimplyBlock cluster


# Simply Block
[![Docker Image Build](https://github.com/simplyblock-io/sbcli/actions/workflows/docker-image.yml/badge.svg)](https://github.com/simplyblock-io/sbcli/actions/workflows/docker-image.yml)

[![Python Unit Testing](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml/badge.svg)](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml)


## Install
Add the package repo from AWS CodeArtifact using [awscli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)

```bash
aws codeartifact login --tool pip --repository sbcli --domain simplyblock --domain-owner 565979732541 --region eu-west-1
```
Install package
```bash
pip install --extra-index-url https://pypi.org/simple sbcli-dev
```

# Components

## Simply Block Core
Contains core logic and controllers for the simplyblock cluster

## Simply Block CLI
Please see this document
[README.md](../main/simplyblock_cli/README.md)


## Simply Block Web API
Please see this document
[README.md](../main/simplyblock_web/README.md)



### local development

FoundationDB requires a client library (libfdb_c.dylib) for the Python bindings to interact with the database.
Depending on the OS architecture, please install the appropriate version from the official github repo

```
wget https://github.com/apple/foundationdb/releases/download/7.3.3/FoundationDB-7.3.3_arm64.pkg
```

setup the code on a management node and the webApp code can be developed by building the `docker-compose-dev.yml` file.


```
sudo docker compose -f docker-compose-dev.yml up --build -d
```
qbirthday 0.7.1
QBirthday birthday reminder
Requires Python: >=3.9

*********
QBirthday
*********

QBirthday is a birthday reminder status icon.


Features
========

- Several backends available (CSV file, Lightning, MySQL databse).
- Extendable to other backends.
- iCalendar export.


Requirements
============

QBirthday runs on Python >= 3.8.

It requires PyQt5 and optionally depends on mysqlclient if a MySQL database is used as backend.


Installation
============

Either as root or in a Python virtual environment:
::

    $ pip install qbirthday

To use MySQL backend, install mysqlclient:
::

    $ pip install mysqlclient


History
=======

QBirthday is a Qt port of GBirthday, a GTK application.


Project links
=============

- PyPI: https://pypi.python.org/pypi/qbirthday
- Changelog: https://github.com/lafrech/qbirthday/blob/master/CHANGELOG.rst
- Issues: https://github.com/lafrech/qbirthday/issues


License
=======

QBirthday is distributed under GPLv2 license (see LICENSE file).