semvec/pypi-packages huggingface dataset:
email-api 0.2
quickly get the verification code from the temp email
License: MIT
Keywords: email temp email verification code

# Email-api

- ### [快速开始](#快速开始)

- ### [注意](#注意)
- ### [支持](#支持)


## 快速开始

```python
pip install email-api
```


***获取邮箱***
```python
email_api.getEmail(arg)
```
***获取验证码***
```python
email_api.getEmailCode()
```

\
\
**自定义邮箱名称**
```python
import email_api


your_email_name='name'  # name@example.com
print(email_api.getEmail(your_email_name))
print(email_api.getEmailCode())

########################################

name@example.com
123456

########################################
```

\
**随机邮箱名称**
```python
import email_api


print(email_api.getEmail(None))
print(email_api.getEmailCode())

########################################

random@example.com
123456

########################################
```


## 注意
### 方法 getEmail() 必须携带参数
随机邮箱参数为None

自定义邮箱只需设置邮箱名称，不能带入后缀

```python
import email_api

# name@example.com

[✓] your_email_name='name' 

[x] your_email_name='name@example.com'
```

### 关于验证码提取
* **支持纯数字的4-6位验证码**
* **暂不支持混合数字字母或纯字母的验证码**

[验证码提取部分 *Line 59* ](email_api/emailapi.py/) 

## 支持
* [mail.cx](https://mail.cx/#/)
fs-code 0.3.2
PyFilesystems for GitLab, GitHub, and Git
License: MIT
Requires Python: <4.0,>=3.8

# fs-code

[![Documentation][docs badge]][docs link]
[![PyPI][pypi badge]][pypi link]
![Pipeline status][pipeline badge]
![3.8 coverage][3.8 coverage badge]
![3.12 coverage][3.12 coverage badge]
[![Code style: black][code style badge]][code style link]

[PyFilesystems](https://www.pyfilesystem.org/) for GitLab, GitHub, and Git.

---

## Installation

```shell
pip install fs-code[gitlabfs]
# or
pip install fs-code[githubfs]
# or
pip install fs-code[gitfs]
# or
pip install fs-code[all]
```

## Usage

### with <a target="_blank" href="https://docs.pyfilesystem.org/en/latest/openers.html">FS URL</a>

```python
import fs

user_fs = fs.open_fs("gitlab://?user=dAnjou")
readme = user_fs.open("fs-code/main/README.md")
print(readme.read())
```

### with class

```python
from gitlab import Gitlab
from codefs.gitlabfs import UserFS

user_fs = UserFS(Gitlab(), user="dAnjou")
readme = user_fs.open("fs-code/main/README.md")
print(readme.read())
```

[docs link]: https://danjou.gitlab.io/fs-code
[docs badge]: https://img.shields.io/badge/%F0%9F%94%8D-documentation-blue
[pypi link]: https://pypi.org/project/fs-code/ 
[pypi badge]: https://img.shields.io/pypi/v/fs-code
[pipeline badge]: https://gitlab.com/dAnjou/fs-code/badges/main/pipeline.svg
[3.8 coverage badge]: https://gitlab.com/dAnjou/fs-code/badges/main/coverage.svg?job=test%3A%20%5B3.8%5D&key_text=3.8+coverage&key_width=90
[3.12 coverage badge]: https://gitlab.com/dAnjou/fs-code/badges/main/coverage.svg?job=test%3A%20%5B3.12%5D&key_text=3.12+coverage&key_width=90
[code style link]: https://github.com/psf/black
[code style badge]: https://img.shields.io/badge/code%20style-black-000000.svg