semvec/pypi-packages huggingface dataset:
bma 0.2.0a2
BornHack Media Archive Django project
Requires Python: >=3.11

[![Run Tox CI](https://github.com/bornhack/bma/actions/workflows/tox.yml/badge.svg?branch=develop)](https://github.com/bornhack/bma/actions/workflows/tox.yml)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![codecov](https://codecov.io/gh/bornhack/bma/graph/badge.svg?token=AN3NmaCDAr)](https://codecov.io/gh/bornhack/bma)

# bma
BornHack Media Archive

## What
The BornHack Media Archive is a site for sharing pictures and video from BornHack events. It uses the BornHack website oauth2 provider for login.

## How
> Note! The server is using database functions not compatible with sqlite. Use postgresql instead.


* Copy `bma/environment_settings.py.dist` to `bma/environment_settings.py` and either edit it directly, or use .env file or environment variables to configure.
    * Set `OAUTH_SERVER_BASEURL` to point to a local instance of the BornHack website eg. `http://127.0.0.1:8000`, or leave it pointing at the prod bornhack.dk server.
* Create an oauth app on the BornHack instance you specified in `OAUTH_SERVER_BASEURL`:
    * login to the BornHack instance and go to the url `OAUTH_SERVER_BASEURL/o/applications`.
    * register a new app.
    * client type `confidential`
    * grant type `authorization code`
    * redirect uri's `BMA_BASEURL/accounts/bornhack/login/callback/` eg. `http://127.0.0.1:8001/accounts/bornhack/login/callback/`.
* Run `manage.py migrate`
    * If you get a database error about missing 'gist', you need to run `create extension btree_gist;` on your postgresql instance.
* Run `manage.py createsuperuser` to create a local database user in the BMA instance
* Log in with the superuser and add a social app on the BMA admin website using the client id and secret from the bornhack website used in the above step.
* Move `example.com` to `chosen sites`.


It should now be possible to login to BMA using a BornHack account.

To use the CLI app for uploading or BMA workers make sure the url of the autocreated oauth application for the user matches the BMA instance (for localhost dev change https to http).
AutoAnSign 0.0.1.post2
安卓签到
Requires Python: >=3.6

# autotask_android

基于[airtest_mobileauto](airtest_mobileauto)的安卓自动化任务脚本

![GitHub forks](https://img.shields.io/github/forks/MobileAutoFlow/autoAnSign?color=60c5ba&style=for-the-badge)![GitHub stars](https://img.shields.io/github/stars/MobileAutoFlow/autoAnSign?color=ffd700&style=for-the-badge)


## 脚本开发环境说明
* 本脚本基于分辨率`960x540`, dpi`160`的安卓模拟器开发
* dpi或者分辨率不同很容易识别失败。
* 有的模拟器打开特定APP会闪退

安装

```
python -m pip install autoAnSign --upgrade
```

## 当前开发项目
### 基于url的签到
* `web_url`,直接打开特定url,实现签到, **适配任意的安卓设备**
* 将url存储到`web_url.txt`,下面是我常用的url
```
none
```

### 基于浏览器的签到
* *注: 本脚本于via-5.9.0测试通过, 需开启桌面模式、全屏、浏览器标识(windows/chrome),其他浏览器自行替换图片资源*
* 只能在境内的模拟器/容器内执行, 这些网站在不同地区显示的内容不同.
* `web_ablesci`, [科研通](https://www.ablesci.com/)每日签到
* `web_muchong`, [小木虫](https://muchong.com/bbs/)每日签到

### 基于app的签到
* `app_alicloud`, 阿里云盘每日签到(横屏版960x540)




## 运行
* 创建`tag.txt`则开启领取`tag.py`中定义的礼包

```
python run.py config.win.yaml
```

我的配置文件 `config.win.yaml`
```
mynode: 10
MuMudir: 'D:\Program Files\Netease\MuMu Player 12\shell'
MuMu_Instance:
  10: "0"
LINK_dict:
  10: Android:///127.0.0.1:16384
figdir: assets
logfile:
  10: result.ce.txt
prefix: "autotask"
```


## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=MobileAutoFlow/autoAnSign&type=Date)](https://star-history.com/#MobileAutoFlow/autoAnSign&Date)