cert-validate-0.0.1
توضیحات
A small function that gets the expiration date of a certificate of a domain
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cert-validate-0.0.1 |
| نام | cert-validate |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | greatbody |
| ایمیل نویسنده | sunruicode@gmail.com |
| آدرس صفحه اصلی | https://github.com/greatbody/cert-validate |
| آدرس اینترنتی | https://pypi.org/project/cert-validate/ |
| مجوز | - |
# Cert Validate
A tool library that helps you get the validate date of a domain's certification.
# Development
## Development dependence tools
> Tool you need to build package
```bash
python3 -m pip install setuptools
```
> Tool you need to publish your package to PyPI
```bash
python3 -m pip install --upgrade twine
```
## Build the package
Run this command at the root folder of this project.
```bash
python3 -m build
```
## Development accounts
You will need account in PyPI to publish your packages.
> Registe a test account for your test use
You definitely would like to avoid situation where your first published version is not usable, use this test PyPI is a good way.
https://test.pypi.org/account/register/
> Registe a offical PyPI account
When it comes to the time when you need to offically release your package, you will need an PyPI account.
https://pypi.org/account/register/
## Create token of testpypi to publish your package
Goto https://test.pypi.org/manage/account/token/ generate a token
Create a $HOME/.pypirc file with this content
```
[testpypi]
username = __token__
password = [token generated]
```
## Publish your package to test
```bash
python3 -m twine upload --repository testpypi dist/*
```
## Create token of pypi to publish your package for publish release
Goto https://pypi.org/manage/account/token/ generate a token
Create/Insert into $HOME/.pypirc file with this content
```
[pypi]
username = __token__
password = [token generated]
```
نیازمندی
| مقدار | نام |
|---|---|
| - | pytz |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cert-validate-0.0.1:
pip install cert-validate-0.0.1.whl
نصب پکیج tar.gz cert-validate-0.0.1:
pip install cert-validate-0.0.1.tar.gz