Code Monkey home page Code Monkey logo

py-ebrest's Introduction

easybill_rest (py-ebrest)

Generic badge Generic badge PyPI - Python Version Generic badge Build Status

easybill_rest is a library to work with the easybill REST API (https://www.easybill.de/api/) written in Python.

All Resources are available.

The library supports only the Bearer Authentication and calls the API only through HTTPS.

pip install easybill_rest

Usage

from easybill_rest import Client


client = Client("API-KEY")
result = client.documents().get_document("2")

# Returns the document model. Therefore, a field "title" is included in the dict.
print(result['title'])

py-ebrest's People

Contributors

bolzer avatar dependabot[bot] avatar ne-i avatar soerenbe avatar

Stargazers

Steven K avatar Lukas avatar Arndt Weißhuhn avatar

Watchers

James Cloos avatar Arndt Weißhuhn avatar  avatar

py-ebrest's Issues

Problem install easybill_rest from pypi

Since a few weeks I have trouble to install easybill_rest from pypi. It seems like an update in setuptools broke the package.

Steps to reproduce:

[zeus@xps13 ] /tmp$ lsb_release -a
No LSB modules are available.
Distributor ID:	Neon
Description:	KDE neon 5.27
Release:	22.04

[zeus@xps13 ] /tmp$ python3 -m venv venv
[zeus@xps13 ] /tmp$ source venv/bin/activate
(venv) [zeus@xps13 ] /tmp$ pip install easybill-rest
Collecting easybill-rest
(venv) [zeus@xps13 ] /tmp$ deactivate 
[zeus@xps13 ] /tmp$ rm -rf venv/
[zeus@xps13 ] /tmp$ python3 -m venv venv
[zeus@xps13 ] /tmp$ source venv/bin/activate
(venv) [zeus@xps13 ] /tmp$ pip install -U setuptools
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (59.6.0)
Collecting setuptools
  Downloading setuptools-67.8.0-py3-none-any.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 4.8 MB/s eta 0:00:00
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 59.6.0
    Uninstalling setuptools-59.6.0:
      Successfully uninstalled setuptools-59.6.0
Successfully installed setuptools-67.8.0

(venv) [zeus@xps13 ] /tmp$ pip install easybill-rest
Collecting easybill-rest
  Using cached easybill_rest-0.3.1.tar.gz (9.1 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in easybill_rest setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I had a look and the code and in there is a syntax error. I think there should be a "," after "coverage<5"

"coverage<5"

Can you fix this and release a new package? This would be great!

Best Regards
Sören

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.