Skip to main content

Plot the magical Mandelbrot set.

Project description

Publish

Finally, let's be brave and publish our package to PyPI. There's no good reason for you not to do this, as it's free and easy to do, and it's an awesome thing to be able to say you've done!

0 - Create or log in to PyPI

Next, we need to create an account on PyPI, or log in if we already have one. You can do this at https://pypi.org/account/register/.

1 - Create an API token

Go to https://pypi.org/manage/account/token/ and create a new API token. Make sure to copy the token somewhere safe, as you won't be able to see it again.

2 - Add the token to Poetry

poetry config pypi-token.pypi your-token-you-just-created

3 - Build

Now we need to build the package.

poetry build

4 - Publish

Run the following command to publish the package to PyPI:

poetry publish

Note

The name you give your package must be unique on PyPI. If you try to publish a package with a name that already exists, you'll get an error.


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

mandybrot-0.0.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

mandybrot-0.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file mandybrot-0.0.0.tar.gz.

File metadata

  • Download URL: mandybrot-0.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/22.1.0

File hashes

Hashes for mandybrot-0.0.0.tar.gz
Algorithm Hash digest
SHA256 96fa35193141d7149931a537411667332d879ea137e7c25e097767b1e972321a
MD5 2e5aa5741de3579043cd59cdece195f5
BLAKE2b-256 6128209e7853948b4afd31c44e16b1ee868da1b38ea21c14395f4d666fb99a43

See more details on using hashes here.

File details

Details for the file mandybrot-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: mandybrot-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/22.1.0

File hashes

Hashes for mandybrot-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92e618ac289499db44ae4efb31916f285b1a7987b170c4b0eaafe053efdf1dda
MD5 1a4767fc53ab9ca5e50fd789a76069dc
BLAKE2b-256 8941b4dd26ec3515200f169e7a00a5d7c56f012084f37430fb7ce4ee20d4058b

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