Giter VIP home page Giter VIP logo

kuna's Introduction

Header

Hello, folks!

My name is Dmytro Litvinov and I'm a Python developer.

🔧 Technologies & Tools

✍ Blog & Writing

Apart from coding, I also maintain a blog - you can find my articles on my website at DmytroLitvinov.com as well as on значок

I share my insights and expertise on software development, coding, and design, as well as offering practical tips and advice on how to become a better developer 🚀

A sample of my recent articles:

💌 Sign up for my newsletter


This page's statistics:

Dmytro Litvinov profile views

kuna's People

Contributors

dependabot[bot] avatar dmytrolitvinov avatar kazanzhy avatar pyup-bot avatar sevikkk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kuna's Issues

AttributeError: module 'kuna' has no attribute 'KunaAPI'

  • Kuna API wrapper version: 0.4.0
  • Python version: 3
  • Operating System: Ubuntu 20.04
$ python3
Python 3.8.5 (default, Jan 27 2021, 15:41:15) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import kuna
>>> graph_kuna = kuna.KunaAPI()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'kuna' has no attribute 'KunaAPI'

Інсталював версію з github.

В результаті просто імпортував код напряму з kuna.py а не через модуль. Працює, дуже дякую ^.^

Add support for API v3

Hi,

As I'm seeing, the last update of this package is for 2018 and since then, API has changed! could you please release an update to cover changes?

ImportError: cannot import name '__version__' from partially initialized module 'kuna'

  • Kuna API wrapper version: 0.4.1
  • Python version: 3.9.7
  • Operating System: Linux Ubuntu 21.10

Description

Exception "ImportError" is raised when I try to import KunaAPI class.
There is a circular import that causes an issue. It was added in #99

What I Did

To reproduce just run the following:

pip install kuna
python -c 'from kuna import KunaAPI'

Execution result example:

$ pip install kuna
Collecting kuna
  Using cached kuna-0.4.1-py2.py3-none-any.whl
Requirement already satisfied: Click>=6.0 in ./.virtualenvs/tmp/lib/python3.9/site-packages (from kuna) (8.0.3)
Installing collected packages: kuna
Successfully installed kuna-0.4.1
$ 
$ python -c 'from kuna import KunaAPI'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/dvk/.virtualenvs/tmp/lib/python3.9/site-packages/kuna/__init__.py", line 2, in <module>
    from .kuna import KunaAPI, APIError
  File "/home/dvk/.virtualenvs/tmp/lib/python3.9/site-packages/kuna/kuna.py", line 12, in <module>
    from kuna import __version__
ImportError: cannot import name '__version__' from partially initialized module 'kuna' (most likely due to a circular import) (/home/dvk/.virtualenvs/tmp/lib/python3.9/site-packages/kuna/__init__.py)

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

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.