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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cites_dds-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 5fb3d7f91c6e71eadc04774c8360e37743fea4d916bf1ec27830b79cb1322427
MD5 3f54d58a283892acce9f225980cdd2e2
BLAKE2b-256 871d56f526370286f3f11b77536ddceeddb6afed0bf7882c69c2453fe505765d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cites_dds-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 990ec8279700602aeb906db4d362d576f5b84b94382eb0e51daa1fb5d03d6f5a
MD5 f04f4220d804e96a7860d9a250be8a1b
BLAKE2b-256 c14287a80c2d2d349822ec9ebbedb9de779d75cb056f42cbc1c452d9f7e6ebb9

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