bo4e / bo4e-python Goto Github PK
View Code? Open in Web Editor NEWPython Library that Implements the BO4E Standard
License: MIT License
Python Library that Implements the BO4E Standard
License: MIT License
class EinNeuesEnum(StrEnum)
"""
EinNeuesEnum ist ein Muster-ENUM
"""
PYTHON_WERT = "SERIALISIERTER WERT (z.B. in JSON)" #: docstring für python wert
see f.e. #81
To prevent any ambiguities with UENB
Our list of deprecation candidates is long enough already ;)
relates to #115
we're not rebuilding edifact but creating a readable standard. the edifact value should be part of f.e. documentation but not part of the standard
Cause this is an open source package, we should have nice change logs.
Towncrier is a tool which can help us with this work.
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.
https://www.bo4e.de/dokumentation/enumerations/enum-wahrungscode
bitte nicht aus der tabelle rauskopieren, die ist broken.
Besser etwas, das schon code ist: https://github.com/Hochfrequenz/go-bo4e/blob/main/enum/waehrungscode/waehrungscode.go
Hi, since releases will be built by tagging commits on main and merges to main are not squashed: Is there still a need for the develop branch or could we maybe omit the develop->main merges?
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.
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)
Das ist heute ja bereits in vielen IT-Systemen Standard.
English should only be a secondary option.
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
_MarktlokationBase
)_MarktlokationDefaultBase
)Please create a new feature branch, branching off from develop and create a PR once ready.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.