Git Product home page Git Product logo

para-client-python's Introduction

Logo

Python Client for Para

NuGet version Join the chat at https://gitter.im/Erudika/para

What is this?

Para was designed as a simple and modular backend framework for object persistence and retrieval. It helps you build applications faster by taking care of the backend. It works on three levels - objects are stored in a NoSQL data store or any old relational database, then automatically indexed by a search engine and finally, cached.

This is the Python client for Para.

Quick start

  1. Use the PyPI package manager to install the Python client for Para:
$ pip3 install paraclient
  1. Initialize the client with your access and secret API keys.
from paraclient import ParaClient

paraclient = ParaClient('ACCESS_KEY', 'SECRET_KEY');

Documentation

Contributing

  1. Fork this repository and clone the fork to your machine
  2. Create a branch (git checkout -b my-new-feature)
  3. Implement a new feature or fix a bug and add some tests
  4. Commit your changes (git commit -am 'Added a new feature')
  5. Push the branch to your fork on GitHub (git push origin my-new-feature)
  6. Create new Pull Request from your fork

For more information see CONTRIBUTING.md

License

Apache 2.0

para-client-python's People

Contributors

albogdano avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sujai1009

para-client-python's Issues

ImportError: cannot import name 'ParaClient' from 'paraclient'

Sorry if this is an obvious question - I’m relatively new to using Python!

I’ve created a virtual environment and installed the paraclient:

# Create new virtual environment
python3.10 -m venv env
# Activate the virtual environment
source env/bin/activate
# Install the para client for python
python3.10 -m pip install paraclient
# update?
# pip install paraclient --upgrade
# Store in requirements file (for reproducibility)
python3.10 -m pip freeze > python_requirements.txt

I then try to run the code from the readme example:

from paraclient import ParaClient

but get the error ImportError: cannot import name 'ParaClient' from ‘paraclient’. The reference points to the library (which was installed) to the init.py file - which is empty. Online I can only find suggestions that this is caused by a circular reference import. Looking at the code though I do not see if/where this would be the case.

Hope you can help!

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.