Skip to main content

A small function that gets the expiration date of a certificate of a domain

Project description

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

python3 -m pip install setuptools

Tool you need to publish your package to PyPI

python3 -m pip install --upgrade twine

Build the package

Run this command at the root folder of this project.

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

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]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cert_validate-0.0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

cert_validate-0.0.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page