Git Product home page Git Product logo

sdk-python3's Introduction

Official Kuzzle Python SDK - ALPHA VERSION

About Kuzzle

A backend software, self-hostable and ready to use to power modern apps.

You can access the Kuzzle repository on Github

SDK Documentation

The complete SDK documentation is available here

Protocol used

The Python SDK implements the websocket protocol.

Build

Execute the following snippet to clone the GIT repository, and build the SDK. It will then be available in the "build/" directory

git clone --recursive [email protected]:kuzzleio/sdk-python3.git
git submodule update --init --recursive
cd sdk-python3
make

sdk-python3's People

Contributors

aschen avatar jenow avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdk-python3's Issues

GNU make fails on Windows 10

There's an issue in any of the Makefiles (either sdk-python3, sdk-cpp or sdk-c) for Windows. Unfortunately, I don't know where the exact problem is because I don't know GNU syntax.

BTW: The execution order in the README is wrong. It should be

git clone --recursive [email protected]:kuzzleio/sdk-python3.git
cd sdk-python3
git submodule update --init --recursive
make

Expected Behavior

The successful execution of make.

Current Behavior

When I execute make the following error appears:

E:\projects\sdk-python3>make
rm -rf .\\sdk-cpp\\sdk-c\\build\\*.so*
process_begin: CreateProcess(NULL, rm -rf .\sdk-cpp\sdk-c\build\*.so*, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
Makefile:63: recipe for target 'remove_so' failed
make: *** [remove_so] Error 2

When I execute make -n the following error appears:

E:\projects\sdk-python3>make -n
rm -rf .\\sdk-cpp\\sdk-c\\build\\*.so*
if not exist E:\projects\sdk-python3\\build mkdir E:\projects\sdk-python3\\build
cd sdk-cpp/sdk-c && make
make[1]: Entering directory 'E:/projects/sdk-python3/sdk-cpp/sdk-c'
if not exist E:\projects\sdk-python3\sdk-cpp\sdk-c\build mkdir E:\projects\sdk-python3\sdk-cpp\sdk-c\build
cd go\\src\\github.com\\kuzzleio\\sdk-go && go get .\\...
C:\Go\bin\go build -o E:/projects/sdk-python3/sdk-cpp/sdk-c/build\\kuzzlesdk.lib -buildmode=c-archive .\\cgo\\kuzzle\\
C:\Go\bin\go build -o E:/projects/sdk-python3/sdk-cpp/sdk-c/build\\kuzzlesdk.dll -buildmode=c-shared .\\cgo\\kuzzle\\
rename E:\projects\sdk-python3\sdk-cpp\sdk-c\build\\kuzzlesdk.h kuzzle.h
cd E:/projects/sdk-python3/sdk-cpp/sdk-c/build && mv E:/projects/sdk-python3/sdk-cpp/sdk-c/build\\kuzzlesdk.lib E:/projects/sdk-python3/sdk-cpp/sdk-c/build\\kuzzlesdk.lib.1.0.0 && mv E:/projects/sdk-python3/sdk-cpp/sdk-c/build\\kuzzlesdk.dll E:/projects/sdk-python3/sdk-cpp/sdk-c/build\\kuzzlesdk.dll.1.0.0
cd E:/projects/sdk-python3/sdk-cpp/sdk-c/build && ln -sr kuzzlesdk.lib.1.0.0 kuzzlesdk.lib
cd E:/projects/sdk-python3/sdk-cpp/sdk-c/build && ln -sr kuzzlesdk.dll.1.0.0 kuzzlesdk.dll
make[1]: Leaving directory 'E:/projects/sdk-python3/sdk-cpp/sdk-c'
swig -Wall -c++ -python -py3 -outdir E:/projects/sdk-python3//build -o kcore_wrap.cxx -I.\\sdk-cpp\\include -I.\\sdk-cpp\\sdk-c\\include\\ -I.\\sdk-cpp\\src -I.\\sdk-cpp\\sdk-c\\build\\ `pkg-config --cflags python3` swig/core.i
make: *** No rule to make target 'kcore_wrap.cxx', needed by 'kcore_wrap.o'.  Stop.

Possible Solution

/

Steps to Reproduce

  1. Windows 10 as OS
  2. Download and install MinGW, go to C:\MinGW\bin and rename mingw32-make.exe to make.exe
  3. set C:\MinGW\bin in the System's Path environment variable
  4. Clone this repository in the folder of your choice, update the repository's submodules like described in the README and execute make in the CMD-shell in the folder

Context (Environment)

/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.