Giter Site home page Giter Site logo

bo4e-python's People

Contributors

deltadaniel avatar dependabot[bot] avatar ewpstanislavkhodorov avatar hf-aschloegl avatar hf-crings avatar hf-fvesely avatar hf-kklein avatar hf-krechan avatar hf-lkosareva avatar jonasschneegans avatar levtoji avatar lord-haffi avatar mj0nez avatar rmorlock avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

bo4e-python's Issues

Implement BusinessObject "Marktlokation" and add a unittested method to validate the MarktlokationsId

Hey Kevin,
as you might already know the so called "Marktlokation" is a central part of the German energy market. This is why it is also an important business object ("BO") in BO4E. Could you please implement the BO according to the official documentation?

Please also add a unittested method to validate the marktlokationsId similar to this method in our DotNet implementation and the respective unittests

  • implement mandatory properties ( in _MarktlokationBase)
  • implement optional properties, defaulting to None (in _MarktlokationDefaultBase)
  • add a method to validate the marktlokationsId (I'd suggest to make it static to be used without a surrounding malo object)
  • write a unittest for the validation method

Please create a new feature branch, branching off from develop and create a PR once ready.

Fix user warnings in setup.cfg

C:\workspaces_test\BO4E-python\.tox\coverage\lib\site-packages\setuptools\dist.py:691: UserWarning: Usage of dash-separated 'project-urls' will not be supported in future versions. Please use the underscore name 'project_urls' instead
  warnings.warn(
C:\workspaces_test\BO4E-python\.tox\coverage\lib\site-packages\setuptools\dist.py:691: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
  warnings.warn(
C:\workspaces_test\BO4E-python\.tox\coverage\lib\site-packages\setuptools\dist.py:691: UserWarning: Usage of dash-separated 'long-description' will not be supported in future versions. Please use the underscore name 'long_description' instead    
  warnings.warn(
C:\workspaces_test\BO4E-python\.tox\coverage\lib\site-packages\setuptools\dist.py:691: UserWarning: Usage of dash-separated 'long-description-content-type' will not be supported in future versions. Please use the underscore name 'long_description_content_type' instead
  warnings.warn(
C:\Python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'use_scm_version'
  warnings.warn(msg)

Improve Enum construction

At the moment the enums are generated during runtime. This is now fine cause it works, but your IDE of choice is not able to make suggestions in this way.
It should be like the HTTPStatus enum

from http import HTTPStatus

HTTPStatus.ACCEPTED

The main struggle is the string representation for the serialization. But this issue should be solveable.

Create consistent docstrings for BO classes

At the moment there is a mix of English and German docstrings.
To further improve the bo4e package, the docstrings should also contain information about each attribute of a BO class.

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.