Skip to main content

This is (for now) a test.

Project description

expert_intelligence_toolbox

This is an experimental v0.1, which currently serves no function other than testing. Hello update.

Internal:

Follow this: https://packaging.python.org/en/latest/tutorials/packaging-projects/

A package needs:

  • pyproject.toml (used to define the metadata and configuration for your package. It provides information such as the package name, version, dependencies, and other details required for installation and distribution.)

  • README.md: This file contains the documentation and information about your package. It is commonly written in Markdown format and serves as the main entry point for users and developers to understand how to use your package.

  • LICENSE: This file includes the license under which your package is distributed. It is important to choose and include the appropriate license file, as we discussed in the previous response.

  • requirements.txt or pyproject.toml: These files are used to specify the dependencies required by your package. requirements.txt is a common format that lists the package names and versions, while pyproject.toml is used in the context of projects using the Poetry dependency manager.

How to get the package ready.

For Unix/MacOS: see this https://packaging.python.org/en/latest/tutorials/packaging-projects/

1 - Make a 'wheel' and source distribution file (you pack the source code as binary and tar file) py -m pip install --upgrade build py -m build

2 - go to https://test.pypi.org/account/register/ and complete the steps on that page. Verify your email address.

3 - To securely upload your project, you’ll need a PyPI API token. Create one at https://test.pypi.org/manage/account/#api-tokens, setting the “Scope” to “Entire account”. Don’t close the page until you have copied and saved the token — you won’t see that token again.

4 - Upload to PyPI test index py -m pip install --upgrade twine py -m twine upload --repository testpypi dist/* Username: token PW: enter your token here (WARNING - CTRL-V WILL NOT WORK. IN VSCODE: Edit --> Paste) Note:

  • Be carefull to check whether you're using the pypi or test.pypi to access the package. This tutorial is for test.pypi, so if you're using pypi, please change from --repository testpypi into --repository pypi
  • If you can't not get to the package using API key, using (not recommend, may cause leak private information)
twine upload -u YOUR-USERNAME -p YOUR-PASSWORD --repository testpypi dist/*

5 - you can pull your own package from py -m pip install --index-url https://test.pypi.org/simple/ --no-deps expert_intelligence_toolbox

6 - make a real package delete dist directory py -m build py -m twine upload dist/* Username: token PW: enter your token here (WARNING - CTRL-V WILL NOT WORK. IN VSCODE: Edit --> Paste)

5 - What if you make any changes? Just repeat. Change version number in pyproject.toml py -m build twine upload --skip-existing dist/* twine upload --skip-existing --repository testpypi dist/* (for testpypi)

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

expert_intelligence_toolbox-0.0.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file expert_intelligence_toolbox-0.0.6.tar.gz.

File metadata

File hashes

Hashes for expert_intelligence_toolbox-0.0.6.tar.gz
Algorithm Hash digest
SHA256 513e2da8a6a3863760c0730632d0cd920c6c37c60a5fb17e8feb5336f25a7194
MD5 486c2cfafec10a32dd8ef96500931817
BLAKE2b-256 cb50fe94eeee2bfdf533abe32dc63492f44a3361d808e005b2fd766075802f1c

See more details on using hashes here.

File details

Details for the file expert_intelligence_toolbox-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for expert_intelligence_toolbox-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4e239b3a13f66d94d388dd4a302eddcd5fbf0c29a4b86bc8f1307d62a498a043
MD5 16177f6ecec9f6c785862c8aef9116b6
BLAKE2b-256 daabb2479f04dd74a64bbc039e53cdc4ab9d0cabfa62381f27fe302c22194aa9

See more details on using hashes here.

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