Skip to main content

CITES DDS factory

Project description

CITES DDS Factory

Knihovna obsahuje factory pro přístup k datům CITES pomocí DDA

Třída DdsFactory je typu singleton a používá se v rámci aplikace pro správu dokumentů Jsou implementovány všechny základní funkce čtení a zápisu dat.

Knihovna neslouží ke stahování souborových příloh

Příklad použití

Instalace knihovny:

pip install cites-dds

Zařazení do kódu:

from cites_dds.dds import DdsFactory

CONFIG = {
  CONFIG_DDS_DOCUMENTS: {
    CONFIG_URL: 'https://abc.example.com',
    CONFIG_USERNAME: 'xxxxxxxxxxxxx',
    CONFIG_PASSWORD:  '*************',
    CONFIG_REPID:     'XXXXXXXXXXXXXXXA'
  },
  CONFIG_DDS_PERMITS: {
    CONFIG_URL: 'https://abc.example.com',
    CONFIG_USERNAME: 'xxxxxxxxxxxxx',
    CONFIG_PASSWORD:  '*************',
    CONFIG_REPID:     'XXXXXXXXXXXXXXXA'
  },
  CONFIG_DDS_STATEMENTS: {
    CONFIG_URL: 'https://abc.example.com',
    CONFIG_USERNAME: 'xxxxxxxxxxxxx',
    CONFIG_PASSWORD:  '*************',
    CONFIG_REPID:     'XXXXXXXXXXXXXXXA'
  },
  CONFIG_DDS_CERT_REG: {
    CONFIG_URL: 'https://abc.example.com',
    CONFIG_USERNAME: 'xxxxxxxxxxxxx',
    CONFIG_PASSWORD:  '*************',
    CONFIG_REPID:     'XXXXXXXXXXXXXXXA'
  }
}

DDS_FACTORY = DdsFactory(config=CONFIG)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cites_dds-1.0.0.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cites_dds-1.0.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file cites_dds-1.0.0.tar.gz.

File metadata

  • Download URL: cites_dds-1.0.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for cites_dds-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3f3c23b2f0d5ca1f188ebe7b6d16d200923865a7f8b0c28643e7be435723e4a6
MD5 b2f12fcf515b917e272ee5f6e88348b7
BLAKE2b-256 49d849346130226e0c31115cf126e9a183129558674ce3b3913c434f246daace

See more details on using hashes here.

File details

Details for the file cites_dds-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cites_dds-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for cites_dds-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca40d24e7ea4c610ff23a181210c16d23394f3bb78dcd6754607f733e350bad6
MD5 f4dc4219f45b47dd215734d1be40b433
BLAKE2b-256 74df02aef0015cf7d39a926b7804a469482fdb31aab77d89c4783e99bfaee7c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page