deslum / cssdbpy Goto Github PK
View Code? Open in Web Editor NEWFastest SSDB client written on Cython. Production ready
License: BSD 2-Clause "Simplified" License
Fastest SSDB client written on Cython. Production ready
License: BSD 2-Clause "Simplified" License
Create support execute_pipeline
>>> from cssdbpy import Connection
>>> conn = Connection('127.0.0.1', 8888)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "cssdbpy/cssdbpy.pyx", line 20, in cssdbpy.cssdbpy.Connection.__init__ (cssdbpy/cssdbpy.c:1029)
TypeError: Expected bytes, got str
Write unit tests.
hello,
thanks for share nice tool.
does this library support password authentication?
Create pool connections
Hi!
(venv)sdvbd-laptop cssdbpy # pip install cssdbpy
Downloading/unpacking cssdbpy
Downloading cssdbpy-0.0.2.tar.gz
Running setup.py (path:/home/test/Desktop/cssdbpy/venv/build/cssdbpy/setup.py) egg_info for package cssdbpy
Installing collected packages: cssdbpy
Running setup.py install for cssdbpy
building 'cssdbpy.cssdbpy' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cssdbpy/cssdbpy.c -o build/temp.linux-x86_64-2.7/cssdbpy/cssdbpy.o
x86_64-linux-gnu-gcc: error: cssdbpy/cssdbpy.c: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
Complete output from command /home/test/Desktop/cssdbpy/venv/bin/python -c "import setuptools, tokenize;__file__='/home/test/Desktop/cssdbpy/venv/build/cssdbpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-G4wCGz-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/test/Desktop/cssdbpy/venv/include/site/python2.7:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cssdbpy
copying cssdbpy/__init__.py -> build/lib.linux-x86_64-2.7/cssdbpy
running build_ext
building 'cssdbpy.cssdbpy' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/cssdbpy
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cssdbpy/cssdbpy.c -o build/temp.linux-x86_64-2.7/cssdbpy/cssdbpy.o
x86_64-linux-gnu-gcc: error: cssdbpy/cssdbpy.c: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
----------------------------------------
Cleaning up...
Command /home/test/Desktop/cssdbpy/venv/bin/python -c "import setuptools, tokenize;__file__='/home/test/Desktop/cssdbpy/venv/build/cssdbpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-G4wCGz-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/test/Desktop/cssdbpy/venv/include/site/python2.7 failed with error code 1 in /home/test/Desktop/cssdbpy/venv/build/cssdbpy
Storing debug log for failure in /root/.pip/pip.log
Rewrite code for send messages in ssdb. Old code not supported pipelining
Update
Create examples
Poetry, Python 3.7.0b3, Ubuntu 18.10
$ poetry add cssdbpy
Using version ^0.1.1 for cssdbpy
Updating dependencies
Resolving dependencies... (0.1s)
Package operations: 1 install, 0 updates, 0 removals
- Installing cssdbpy (0.1.1)
[EnvCommandError]
Command ['/home/t/.cache/pypoetry/virtualenvs/data-api-py3.7/bin/pip', 'install', '--no-deps', 'cssdbpy==0.1.1'] errored with
the following output:
Collecting cssdbpy==0.1.1
Using cached https://files.pythonhosted.org/packages/c7/b1/72d177917c581a3e09fa332a446ebbb635a07ac70fdabdd3b540ca3670e2/cssd
bpy-0.1.1.tar.gz
Installing collected packages: cssdbpy
Running setup.py install for cssdbpy: started
Running setup.py install for cssdbpy: finished with status 'error'
Complete output from command /home/t/.cache/pypoetry/virtualenvs/data-api-py3.7/bin/python -u -c "import setuptools, token
ize;__file__='/tmp/pip-build-2f9t2odu/cssdbpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\
n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-gdukfsl8-record/install-record.txt --sing
le-version-externally-managed --compile --install-headers /home/t/.cache/pypoetry/virtualenvs/data-api-py3.7/include/site/pyth
on3.7/cssdbpy:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/cssdbpy
copying cssdbpy/__init__.py -> build/lib.linux-x86_64-3.7/cssdbpy
running build_ext
building 'cssdbpy.cssdbpy' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/cssdbpy
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/t/.cache/py
poetry/virtualenvs/data-api-py3.7/include -I/home/t/.pyenv/versions/3.7.0b3/include/python3.7m -c cssdbpy/cssdbpy.c -o build/t
emp.linux-x86_64-3.7/cssdbpy/cssdbpy.o
gcc: error: cssdbpy/cssdbpy.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/t/.cache/pypoetry/virtualenvs/data-api-py3.7/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-b
uild-2f9t2odu/cssdbpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec
(compile(code, __file__, 'exec'))" install --record /tmp/pip-gdukfsl8-record/install-record.txt --single-version-externally-ma
naged --compile --install-headers /home/t/.cache/pypoetry/virtualenvs/data-api-py3.7/include/site/python3.7/cssdbpy" failed wi
th error code 1 in /tmp/pip-build-2f9t2odu/cssdbpy/
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.