Skip to content

Releases: buggy-shep/pydmvl

v0.5.0

Choose a tag to compare

@buggy-shep buggy-shep released this 03 Oct 11:33

Corrects the derived unpaid predicates (spec 0010):

  • AccountSummary.has_debt is now debt_current < 0: the account balance is signed, so a negative value means money is owed.
  • Charge.is_paid now compares against the adjusted charge (charged_adjusted, ist_nach100), so a period carrying a correction is correctly reported as paid.

No API signatures change; Session.has_unpaid_documents builds on the corrected predicates.

v0.4.1

Choose a tag to compare

@buggy-shep buggy-shep released this 03 Oct 10:55

NITS cleanup (spec 0009):

  • Coerce the isActual counter flag (bool/int/"true"/"1") instead of a strict is True check.
  • Sync spec 0004 R1 with counters/account; update the README usage example.
  • Add edge tests for flag representations.

v0.4.0

Choose a tag to compare

@buggy-shep buggy-shep released this 03 Oct 09:16

Read-only payment segments from the getpayments action.

  • New PaymentSegment and PaymentOptions models.
  • New DmvlClient.payment_segments() / AsyncDmvlClient.payment_segments() (read-only, requires a prior login()).
  • Defensive parse_payment_options parser.
  • The getpayments action returns the amount due by payment channel (spec 0008), not payment history.
  • Version 0.4.0.

v0.3.0

Choose a tag to compare

@buggy-shep buggy-shep released this 03 Oct 08:55

0.3.0

Read-only meter counters.

  • Session.counters: tuple[Counter, ...] parsed from the account snapshot's counters[] array.
  • Counter (name, serial, service, verification date, readings) and CounterReading (period, reading, volume, kind, actual flag), exported from the package.
  • Counter.current_reading returns the reading marked actual, or None.
  • AccountInfo.counters now derives from the parsed counters.
  • Submitting or deleting readings remains out of scope.

See specs/0006-counters-read.md.

v0.2.0

Choose a tag to compare

@buggy-shep buggy-shep released this 02 Oct 19:03

Expose account metadata via Session.account: AccountInfo.

  • New AccountInfo: organization, database, developer/contact e-mail, address, flat, management key, full name, phone, contact, settings, and counts of charges/receipts/counters/payments/news.
  • AccountInfo.raw: the parsed authentication response for fields not yet modelled; excluded from repr so a logged session never prints the password hash.
  • Defensive parsing: malformed settings yields an empty mapping instead of failing login.

Backward compatible; existing Session/summary APIs unchanged.

pydmvl 0.1.0

Choose a tag to compare

@buggy-shep buggy-shep released this 02 Oct 17:21

First release. Unofficial Python client for the Domovladelets+ (homeowner) account API: authentication (login + MD5 hash), the home-screen account snapshot, per-period charges and receipt links, payment history, sync + async clients, and configurable TLS verification (off by default because the service serves an incomplete certificate chain).