1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
JSAM’s basic operations are get, put and remove, with basic support for transactions via begin, commit and rollback. All stored objects are identified by an integer key.
A JSAM database is opened by supplying a URL to jsam.jsurl.parse() and calling the open() method on the returned object. The syntax of URL depends on the particular “access method”.
The following URL types currently exist:
* file: directory plain text JSON files * rcs: directory plain text JSON files under RCS * cvs: directory plain text JSON files under CVS (not tested) * svn: directory plain text JSON files under SVN (not tested) * sqlite: object trees stored in an SQLite3 database * mysql: object trees stored in a MySQL database (lightly tested) * pgsql: object trees stored in a PostgreSQL database (lightly tested)
Query methods include:
* Collections: a jQuery/Django-like method-chained interface
* XPath query language subset (only supported for SQL backends)
* P4J (E4X-like) query language (only supported for SQL backends)
which allows construction of "xpath" queries in Python using
method chaining and operator overload, bridging the lexical divide
between code and query.
- pydoc jsam.<URLTYPE>_jsam
gives information on the URL syntax for <URLTYPE>
- pydoc jsam.jsam.JSAM
gives information on jsam object methods
- pydoc jsam.xpath
gives information on XPath query syntax (SQL backends only)
- pydoc jsam.p4j
gives information on P4J Python native query syntax
NOTE:
* uses Python 2.6+ supplied "json"; requires "simplejson" on Python 2.5 * file-based storage depends on POSIX file semantics * requires "MySQLdb" for MySQL * requires "psycopg2" for PostgreSQL
The name “JSAM” is a joke on IBM Mainframe O/S data “Access Methods” (BDAM, BSAM, VSAM, ISAM, QSAM, BPAM).
The obvious name ‘jsonstore’ was already taken by another package in the Python Package Index (PyPI).
The URL/URI syntax was cribbed from Django, which copied SQLAlchemy.
Metadata
Release files for jsam 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| jsam-0.7.tar.gz | 56.9 kB | Without provenance | Details |
Release files / jsam-0.7.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | jsam-0.7.tar.gz |
|---|---|
| Size | 56.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a985479d61e144e8dee55d2d0fc97a8ca92d7663e36b272ba61aa4091ad3c27d
|
|
BLAKE2b-256 checksum How to use checksums |
71b7246b5f1a05c23f0f87615833466cfd6bcbec4d486c13ab78ae6509886c52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for jsam 0.7
Upload timing
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
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.