Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 1.13 KB

README.md

File metadata and controls

70 lines (49 loc) · 1.13 KB

Pycurl

Usage

pybasecurl https://nextjsvietnam.com --output nextjsvietnam.com.html

Install env

pip3 install --user pipenv
pipenv --python 3.9
  • Activate virtualenv : pipenv shell
  • Install dependencies: pipenv install

References

Test package

pip install -e .

Build package

python -m build

Upload package

# test
twine upload --repository testpypi dist/*
# production
twine upload --skip-existing --repository pypi dist/* --verbose

Test with docker

winpty docker run --name python -it python bash
pip install pybasecurl
pybasecurl https://nextjsvietnam.com --output nextjsvietnam.com.html
cat nextjsvietnam.com.html

Authenticate with pypi

nano $HOME/.pypirc

[distutils]
index-servers =
    pypi

[pypi]
#repository = https://upload.pypi.org/legacy/
username = __token__
password = your-pipy-api-token