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.2.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.2-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cites_dds-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 edc6c0d113aec8323812499fcf1b359744b5a975cf6594fc303a4a5332782b22
MD5 89e07bcc46e3991a7641640a463cd476
BLAKE2b-256 6844caa5a434d265490c0247e862154e92fdd32f40456223ca84f8cdfc0dc8f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cites_dds-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e91069589104ece1b1d0d237ac4322f6d907fd555ec9ad92cd067d1c592307b
MD5 75aa05c94175398a267dec33e925bcd4
BLAKE2b-256 e76bff5b73af9839e087537f10570f41a3fe05df0e1749d91ca4269dea1605af

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