Skip to content

yanhuangdata/pypi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

PEP 503 compliant PyPi repository

repo url

https://yanhuangdata.github.io/pypi/simple/

Usage

poetry

https://python-poetry.org/docs/repositories/#install-dependencies-from-a-private-repository

[[tool.poetry.source]]
name = "yh-repo" 
url = "https://yanhuangdata.github.io/pypi/simple/"  

pip install

pip install pyarrow --extra-index-url https://yanhuangdata.github.io/pypi/simple/

Add new package

  1. Create link in the main index.html file;
  2. Create file {PACKAGE}/index.html if it doesn't exist yet;
  3. In the file {PACKAGE}/index.html add the following line: <a href="{URL}#sha256={SHA}>{FILENAME}</a>, where
    • {URL} is a publicly available url of the binary file (which could be hosted on S3 for example);

    • {SHA} is obtained from python script

      python -c "import hashlib; print(hashlib.sha256(open('./path/to/your/package.whl', 'rb').read()).hexdigest())"

    • and {FILENAME} is the name of the wheel file.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages