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 ..
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 * ..
I would like to know how to get the complete list of available python modules in pypi. I consulted pypi but this is not what I wanted Source: Python..
I have a model that I want to use in my package but the model is too big ~ (90mb), and the there is a limit on pypi with 100 mb. Can I some how upload this model to another server and use get request to download it first time library is used ? This ..
I am creating my own python package using PyPi and I want to update my package because of a bug it has. But when I change the version in setup.py it keeps the sdist files the same. (0.0.0) instead of something like: 0.0.1; from setuptools import setup, find_packages with open(file="README.md", mode="r") as FILE: long_description = ..
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 ..
I have this python package located in a github repository. I can install it from the github link directly like so : pip install git+https://github.com/mkdocs/mkdocs.git I would like to do the same, but install some extra dependencies. When using just the package name, we can do : pip install mkdocs[i18n] But if I try : ..
I am trying to publish a PyPI package. I am testing by first uploading to TestPyPI. My setup.py is fairly simple: import pathlib from setuptools import setup, find_packages # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file README = (HERE / "README.md").read_text() # This call to setup() does ..
I would like to be sure that the python package grpcio (version >= 1.38.1) that I need to install is using BoringSSL and not OpenSSL. I was looking a conda-forge conda-forge or pypi pypi or at the grpc site grpc but could find this info. I found some blog that mention that boringssl is used ..
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 ..