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)
- Create accounts on PyPI and TestPyPI (optional but recommended for a dry run).
- Install build tools:
pip install build twine - In the project root:
python -m build— createsdist/*.whlanddist/*.tar.gz. - Upload to TestPyPI first:
twine upload --repository testpypi dist/* - Test install:
pip install -i https://test.pypi.org/simple/ someProgrammingLanguage - 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.
- Edit
pyproject.toml— bumpversion = "0.3.4"to something higher (e.g.0.3.5or0.4.0). Commit your code changes. - Clean old builds (optional but avoids confusion):
rm -rf dist/ build/ *.egg-info
Or only delete thedist/folder before building. - Build fresh artifacts:
python -m build
This creates new files underdist/with the new version in the filename. - Upload to PyPI:
twine upload dist/*
Use your PyPI API token (__token__+ token value) when prompted. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d32dd0fb64b3dd89dfe1e0e73c98536a3cda95fc399415374862ec5d7733943
|
|
| MD5 |
70207fafd41b13e7ae18d123a8f2dd55
|
|
| BLAKE2b-256 |
a265ebf084a467607263c6fde829cd1b0a9650d8e0b57e94690265cacdb38d5f
|
File details
Details for the file someprogramminglanguage-0.3.5-py3-none-any.whl.
File metadata
- Download URL: someprogramminglanguage-0.3.5-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd106c1625293434df59a960a13c2f1ed9c978504e038fdf98da4fe8aafef0a8
|
|
| MD5 |
575a1c680ee8b77c5a223e864f5bcbb5
|
|
| BLAKE2b-256 |
2b7914b385875eedfb3ca6943940e2538ce74b8f47702b103380540359b006fb
|