Name | jspyr JSON |
Version |
0.1.0
JSON |
| download |
home_page | https://github.com/tusharsadhwani/jspyr |
Summary | JsPyr (pronounced Jasper) combines a Python and a JavaScript program into a single file. |
upload_time | 2025-03-18 21:42:53 |
maintainer | None |
docs_url | None |
author | Tushar Sadhwani |
requires_python | >=3.9 |
license | MIT |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# jspyr
JsPyr (pronounced Jasper) combines a Python and a JavaScript program into a single file.
## Installation
```bash
pip install jspyr
```
## Usage
```console
$ cat hello.py
print("Hello, World!")
$ cat hello.js
console.log("Hello, World!");
$ jspyr hello.py hello.js --out hello.jp
Created `hello.jp` from `hello.py` and `hello.js`!
$ python hello.jp
Hello, World!
$ node hello.jp
Hello, World!
```
## Local Development / Testing
- Create and activate a virtual environment
- Run `pip install -r requirements-dev.txt` to do an editable install
- Run `pytest` to run tests
## Type Checking
Run `mypy .`
## Create and upload a package to PyPI
Make sure to bump the version in `setup.cfg`.
Then run the following commands:
```bash
python -m build
```
Then upload it to PyPI using [twine](https://twine.readthedocs.io/en/latest/#installation):
```bash
twine upload dist/*
```
Raw data
{
"_id": null,
"home_page": "https://github.com/tusharsadhwani/jspyr",
"name": "jspyr",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Tushar Sadhwani",
"author_email": "tushar.sadhwani000@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2b/c9/e1ac14dc52ab55b09eafa948551cdbf0b211cec314986e29767a7f68cfc4/jspyr-0.1.0.tar.gz",
"platform": null,
"description": "# jspyr\n\nJsPyr (pronounced Jasper) combines a Python and a JavaScript program into a single file.\n\n## Installation\n\n```bash\npip install jspyr\n```\n\n## Usage\n\n```console\n$ cat hello.py\nprint(\"Hello, World!\")\n\n$ cat hello.js\nconsole.log(\"Hello, World!\");\n\n$ jspyr hello.py hello.js --out hello.jp\nCreated `hello.jp` from `hello.py` and `hello.js`!\n\n$ python hello.jp\nHello, World!\n\n$ node hello.jp\nHello, World!\n```\n\n## Local Development / Testing\n\n- Create and activate a virtual environment\n- Run `pip install -r requirements-dev.txt` to do an editable install\n- Run `pytest` to run tests\n\n## Type Checking\n\nRun `mypy .`\n\n## Create and upload a package to PyPI\n\nMake sure to bump the version in `setup.cfg`.\n\nThen run the following commands:\n\n```bash\npython -m build\n```\n\nThen upload it to PyPI using [twine](https://twine.readthedocs.io/en/latest/#installation):\n\n```bash\ntwine upload dist/*\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "JsPyr (pronounced Jasper) combines a Python and a JavaScript program into a single file.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/tusharsadhwani/jspyr"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5b9441033ed9054acec6b6b6c75099440b0d202dce987e470a0d4b27d9aa30fe",
"md5": "1b19cc93beb2a504a6413b15b22928fd",
"sha256": "5e665b7e0e7d4bb77ac347cab03dce55963726e91703ace455c26f22f20efce1"
},
"downloads": -1,
"filename": "jspyr-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1b19cc93beb2a504a6413b15b22928fd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 4268,
"upload_time": "2025-03-18T21:42:52",
"upload_time_iso_8601": "2025-03-18T21:42:52.074830Z",
"url": "https://files.pythonhosted.org/packages/5b/94/41033ed9054acec6b6b6c75099440b0d202dce987e470a0d4b27d9aa30fe/jspyr-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2bc9e1ac14dc52ab55b09eafa948551cdbf0b211cec314986e29767a7f68cfc4",
"md5": "86941b171640afde6faeadff90dfdbae",
"sha256": "05d334d4fcccaee489bb053c8c2e940055f704dc4d2d10cd2491f769020f8389"
},
"downloads": -1,
"filename": "jspyr-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "86941b171640afde6faeadff90dfdbae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 3636,
"upload_time": "2025-03-18T21:42:53",
"upload_time_iso_8601": "2025-03-18T21:42:53.745856Z",
"url": "https://files.pythonhosted.org/packages/2b/c9/e1ac14dc52ab55b09eafa948551cdbf0b211cec314986e29767a7f68cfc4/jspyr-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-03-18 21:42:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tusharsadhwani",
"github_project": "jspyr",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "jspyr"
}