Skip to main content

some common tool

Project description

solax common module

install

pip install solax_py_library

struction

module:

  • api: provide the api
  • core: core code
  • errors: define errors
  • test: unit tests
  • types: modle define

module

This package provide some general modules to help us can focus on the real project coding.It`s our own package,we can add more and more general modules.

  • upload: The module define the upload tool.It support the way by Ftp.

quick start

await upload(
    upload_type=UploadType.FTP,
    configuration=ftp_config,
    upload_data=UploadData(
        upload_type=UploadType.FTP,
        data=dict(
            file_type=FTPFileType.CSV,
            file_name="new_file.csv",
            data=[
                {
                    "EMS1000序列号": "XMG11A011L",
                    "EMS1000本地时间": "2025-02-11 15:39:10",
                    "EMS1000版本号": "V007.11.1",
                    "电站所在国家和地区": None,
                    "电站所在当前时区": None,
                    "电站系统类型": None,
                }
            ],
        ),
    ),
)

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

solax_py_library-1.0.0.53rc0.tar.gz (36.8 kB view details)

Uploaded Source

Built Distribution

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

solax_py_library-1.0.0.53rc0-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

Details for the file solax_py_library-1.0.0.53rc0.tar.gz.

File metadata

  • Download URL: solax_py_library-1.0.0.53rc0.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.8.10 Linux/5.15.0-139-generic

File hashes

Hashes for solax_py_library-1.0.0.53rc0.tar.gz
Algorithm Hash digest
SHA256 ee1500bc1619e5d7a15d08f7c79738f486218bed42b751bfc492ba257d08a598
MD5 3256001ec9d8d652a9cae44089ab4678
BLAKE2b-256 ee8295d259e59cb4e995c6a12ff19b9051b9790cc894446343ef2a70b7d36363

See more details on using hashes here.

File details

Details for the file solax_py_library-1.0.0.53rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for solax_py_library-1.0.0.53rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb9ab2e3f07b3fe4fd60c2ca4d8f3450947ff1dfde0320be1d6290c705f7e74f
MD5 bf222767043761ab8ab4382ed73500bb
BLAKE2b-256 7f95671f4f169b79def3f4346340ce5ac7172fce6cf20d9f0ee212480090348a

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