Registry / database / spring

spring

JSON →
library5.8.7pypypiunverified

Simple Couchbase workload generator built on pylibcouchbase. Version 5.8.7; release cadence is irregular.

pip install spring
INSTALL
IMPORT
SIG · SPRING
S
spring
databasepythonv5.8.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Spring
from spring import Spring
from spring import spring
Class name is CamelCase; lowercase leads to ImportError.

Instantiate and run a Spring workload generator against a Couchbase cluster.

import os from spring import Spring conn_str = os.environ.get('COUCHBASE_CONNECTION_STRING', '') spring = Spring(connection_string=conn_str) spring.run()
Debug
Known issues
breakingPython 2 support dropped after version 4.x.
fix
Use Python 3.6 or later.
affects: >=5.0.0
deprecatedThe `bucket` parameter is deprecated in favor of `collection`.
fix
Use `collection='your_collection'` instead.
affects: >=5.0.0
gotchaDefault connection attempts to local Couchbase unless `COUCHBASE_CONNECTION_STRING` env var is set.
fix
Always set the environment variable to avoid accidental localhost connections.
affects: all
Upgrade
Version history
5.8.7latest on PyPI · released Jul 7, 2014
Audit
Dependencies
pylibcouchbaserequiredRequired runtime dependency for Couchbase operations.
Agent activity
5 hits · last 30 days
node
4
Meta
1
Resources
homepageUNKNOWN
spring — pip install spring · libregistry