Skip to content

Commit

Permalink
Release 1.0.4 (#101)
Browse files Browse the repository at this point in the history
* Release 1.0.4

* Update README.md CI badge

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: extremeheat <extreme@protonmail.ch>
  • Loading branch information
3 people authored Sep 27, 2023
1 parent 054332f commit d186ef3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.0.4
* [javascript: check NODE_BIN in os.environ dict instead of attr (#100)](https://github.com/extremeheat/JSPyBridge/commit/054332f69b51ee2b9dca6d8de188313f9070d208) (thanks @extremeheat)

## 1.0.3
* [Add option to configure call timeout (REQ_TIMEOUT) from env var for Python calls from JavaScript (#90)](https://github.com/extremeheat/JSPyBridge/commit/95ad451f22ab5f20b8b63372377ea560a18c04b0) (thanks @jc-roman)

Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# JSPyBridge
[![NPM version](https://img.shields.io/npm/v/pythonia.svg)](http://npmjs.com/package/pythonia)
[![PyPI](https://img.shields.io/pypi/v/javascript)](https://pypi.org/project/javascript/)
[![Build Status](https://github.com/extremeheat/JSPyBridge/workflows/Node.js%20CI/badge.svg)](https://github.com/extremeheat/JSPyBridge/actions/workflows/)
[![Build Status](https://github.com/extremeheat/JSPyBridge/actions/workflows/node.yml/badge.svg)](https://github.com/extremeheat/JSPyBridge/actions/workflows/)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/extremeheat/jspybridge)



Interoperate Node.js and Python. You can run Python from Node.js, *or* run Node.js from Python. **Work in progress.**

Requires Node.js 14 and Python 3.8 or newer.
Expand Down Expand Up @@ -322,4 +321,4 @@ for await (const file of files) {

* You can set the Node.js/Python binary paths by setting the `NODE_BIN` or `PYTHON_BIN` enviornment variables before importing the library. Otherwise, the `node` and `python3` or `python` binaries will be called relative to your PATH enviornment variable.

* Function calls will timeout after 100000 ms and throw a `BridgeException` error. That default value can be overridden by defining the new value of `REQ_TIMEOUT` in an environment variable.
* Function calls will timeout after 100000 ms and throw a `BridgeException` error. That default value can be overridden by defining the new value of `REQ_TIMEOUT` in an environment variable.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pythonia",
"author": "extremeheat",
"description": "Bridge to call and interop Python APIs from Node.js",
"version": "1.0.3",
"version": "1.0.4",
"main": "./src/pythonia/index.js",
"types": "./src/pythonia/index.d.ts",
"repository": "https://github.com/extremeheat/JSPyBridge",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1!1.0.3', # Required
version='1!1.0.4', # Required

# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
Expand Down

0 comments on commit d186ef3

Please sign in to comment.