Skip to main content

SPL — a small custom programming language (interpreter in Python).

Project description

someProgrammingLanguage (SPL)

A small custom language implemented in Python. Run .spl files with the run-spl command.

Install from PyPI (after you publish)

pip install someProgrammingLanguage
run-spl yourprogram.spl

Install from a clone / zip (development)

cd SomeProjectFolder
pip install -e .
run-spl yourprogram.spl

Publish to PyPI (make it public for everyone)

  1. Create accounts on PyPI and TestPyPI (optional but recommended for a dry run).
  2. Install build tools: pip install build twine
  3. In the project root: python -m build — creates dist/*.whl and dist/*.tar.gz.
  4. Upload to TestPyPI first: twine upload --repository testpypi dist/*
  5. Test install: pip install -i https://test.pypi.org/simple/ someProgrammingLanguage
  6. Upload to real PyPI: twine upload dist/* (use API token from PyPI → Account settings → API tokens).

After that, anyone in the world can run pip install someProgrammingLanguage with Python 3.10+.

Publish an update (after you change code)

PyPI does not let you overwrite the same version twice. Each release needs a new version number.

  1. Edit pyproject.toml — bump version = "0.3.4" to something higher (e.g. 0.3.5 or 0.4.0). Commit your code changes.
  2. Clean old builds (optional but avoids confusion):
    rm -rf dist/ build/ *.egg-info
    
    Or only delete the dist/ folder before building.
  3. Build fresh artifacts:
    python -m build
    
    This creates new files under dist/ with the new version in the filename.
  4. Upload to PyPI:
    twine upload dist/*
    
    Use your PyPI API token (__token__ + token value) when prompted.
  5. Tell users to upgrade:
    pip install -U someProgrammingLanguage
    
    Or pin a version: pip install someProgrammingLanguage==0.3.5.

Optional: Tag the release in git (v0.3.5) and push to GitHub so the source matches what’s on PyPI.

Optional: public source on GitHub

Push this repo to GitHub (public). You can set Homepage / Repository in pyproject.toml under [project.urls] to that URL.

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

someprogramminglanguage-0.3.5.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

someprogramminglanguage-0.3.5-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file someprogramminglanguage-0.3.5.tar.gz.

File metadata

  • Download URL: someprogramminglanguage-0.3.5.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for someprogramminglanguage-0.3.5.tar.gz
Algorithm Hash digest
SHA256 6d32dd0fb64b3dd89dfe1e0e73c98536a3cda95fc399415374862ec5d7733943
MD5 70207fafd41b13e7ae18d123a8f2dd55
BLAKE2b-256 a265ebf084a467607263c6fde829cd1b0a9650d8e0b57e94690265cacdb38d5f

See more details on using hashes here.

File details

Details for the file someprogramminglanguage-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for someprogramminglanguage-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dd106c1625293434df59a960a13c2f1ed9c978504e038fdf98da4fe8aafef0a8
MD5 575a1c680ee8b77c5a223e864f5bcbb5
BLAKE2b-256 2b7914b385875eedfb3ca6943940e2538ce74b8f47702b103380540359b006fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page