Skip to main content

poste_replique

Library and command line client to facilitate communication with a node replique server.

poste_replique can be used to do evaluation and completion of javascript code on a persistent node REPL.

The replique server is distributed (along with poste_replique) as part of the vim noderepl addon.

replique can also be installed separately with npm::

npm install replique

CLI Usage

You will need to have a running replique server. See the replique documentation for more info.

To connect with the Python CLI:

$ poste_replique.py evaluate '["hello", "world"].join(" ")'
'hello world'

All evaluations take place in a persistent environment.

It is possible to use a different persistent environment by specifying a context:

$ poste_replique.py evaluate --context CLI-test 'var test = "testing"'
undefined
$ poste_replique.py evaluate --context CLI-test 'test'
'testing'
$ poste_replique.py evaluate 'test'
undefined

Not specifying a context is equivalent to specifying the context “default”.

It’s also possible to specify a different host and/or port using the --server and --port options.

API Usage

The API is fairly straightforward.

Communication with the server consists of calling the post function.

See the source code or the docstrings for more information.

An example of usage can be found in the vim addon noderepl.

Protocol

See the documentation for the replique server (found in the noderepl repo) for information on replique’s communication protocol.

Metadata

Release files for poste_replique 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poste_replique 0.1.5
File Size Uploaded Provenance
poste_replique-0.1.5.tar.gz 4.4 kB Without provenance Details

Release files / poste_replique-0.1.5.tar.gz

Download URL poste_replique-0.1.5.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7c50fb74ef7cdd0ee07f7c1ddecf41aa47e2f9a697075fcbcfac576ebb09a4b4
BLAKE2b-256 checksum
How to use checksums
dc26968611cf6b94bea780c78ab9ba01ea840c3f62a87b159dbead9cc8e1d553
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for poste_replique 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page