Category : pypi

I am doing a python library. I already did the root of the project, and I want to add functions. I searched on google for the answer, but I found nothing. Can you tell me how to add functions? project root: project -> main.py -> LICENSE -> README.md -> setup.py -> secrets.txt (for .env variable ..

Read more

When I upload to PyPi, the extension folder wasn’t added, only the outer python files were. File Structure: Main Project Folder └──Actual Module Folder └──__init__.py └──file1.py └──extension └──__init__.py └──file2 └──file3 └──file4 └──.gitignore └──setup.py Contents of Actual Module Folder__init__.py from .file1 import * from extension import * Contents of Actual Module Folderextension__init__.py from file2 import * ..

Read more

I’ve a built a rust-python project and published it to PyPi using Maturin. The project is structured like the example on the maturin readme with the addition of the License file: my_project ├── Cargo.toml ├── my_project │ ├── __init__.py │ └── bar.py ├── Readme.md ├── LICENSE └── src └── lib.rs When I use maturin publish ..

Read more

I created a package in Python named wiki-scraper but while installing from PyPi I am getting the following error. ERROR: Could not find a version that satisfies the requirement re (from wiki-scraper) ERROR: No matching distribution found for re I rectified the following error by removing re from requirements.txt but I am facing difficulty as ..

Read more