Getting started with Python

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • shortscale

  • [project] name = "shortscale" description = "English conversion from number to string" authors = [{name = "Jürgen Leschner", email = "[email protected]"}] readme = "README.md" license = {file = "LICENSE"} classifiers = ["License :: OSI Approved :: MIT License"] dynamic = ["version"] [project.urls] Home = "https://github.com/jldec/shortscale-py" [project.scripts] shortscale = "shortscale:main" [build-system] requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [tool.setuptools.dynamic] version = {attr = "shortscale.__version__"}

  • shortscale-rs

  • Some readers may recognize shortscale from earlier explorations in JavaScript, Rust, and Go.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • shortscale-go

  • Some readers may recognize shortscale from earlier explorations in JavaScript, Rust, and Go.

  • shortscale-py

  • Next, I built and published this incomplete v0.1 shortscale module.

  • warehouse

    The Python Package Index

  • $ python -m twine upload dist/* Uploading distributions to https://upload.pypi.org/legacy/ Uploading shortscale-0.1.0-py3-none-any.whl Uploading shortscale-0.1.0.tar.gz ... View at: https://pypi.org/project/shortscale/0.1.0/

  • pyenv

    Simple Python version management

  • # 1. Install pyenv # from https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv git clone https://github.com/pyenv/pyenv.git $HOME/.pyenv export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" # 2. Fix dependencies for macOS # from https://github.com/pyenv/pyenv/wiki#suggested-build-environment brew install openssl readline sqlite3 xz zlib tcl-tk # 3. After the brew install, fix LDFLAGS, CPPFLAGS and add tcl-tk/bin onto PATH export LDFLAGS="$LDFLAGS -L$HOME/homebrew/opt/openssl@3/lib -L$HOME/homebrew/opt/readline/lib -L$HOME/homebrew/opt/sqlite/lib -L$HOME/homebrew/opt/zlib/lib -L$HOME/homebrew/opt/tcl-tk/lib -L$HOME/homebrew/opt/openssl@3/lib -L$HOME/homebrew/opt/readline/lib -L$HOME/homebrew/opt/sqlite/lib -L$HOME/homebrew/opt/zlib/lib -L$HOME/homebrew/opt/tcl-tk/lib" export CPPFLAGS="$CPPFLAGS -I$HOME/homebrew/opt/openssl@3/include -I$HOME/homebrew/opt/readline/include -I$HOME/homebrew/opt/sqlite/include -I$HOME/homebrew/opt/zlib/include -I$HOME/homebrew/opt/tcl-tk/include -I$HOME/homebrew/opt/openssl@3/include -I$HOME/homebrew/opt/readline/include -I$HOME/homebrew/opt/sqlite/include -I$HOME/homebrew/opt/zlib/include -I$HOME/homebrew/opt/tcl-tk/include" export PATH=$HOME/homebrew/opt/tcl-tk/bin:$PATH # 4. Use pyenv to build and install python v3.10 and make it the global default pyenv install 3.10 pyenv global 3.10 # Point to the installed version in .bash_profile (instead of depending on the pyenv shim) export PATH=$HOME/.pyenv/versions/3.10.9/bin:$PATH

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts