Skip to main content

Isogeo - XLSX Exporter

PyPI PyPI - Python Version

Build Status Azure DevOps coverage

Documentation Status Code style: black

Python package to export Isogeo metadata into Excel workshbook using the Python SDK and Openpyxl.

Usage in a nutshell

  1. Install:

    pip install isogeo-export-xl
    
  2. Authenticate

    # import
    from isogeo_pysdk import Isogeo
    # API client
    isogeo = Isogeo(
        auth_mode="group",
        client_id=ISOGEO_API_GROUP_CLIENT_ID,
        client_secret=ISOGEO_API_GROUP_CLIENT_SECRET,
        auto_refresh_url="{}/oauth/token".format(ISOGEO_ID_URL),
        platform=ISOGEO_PLATFORM,
    )
    
    # getting a token
    isogeo.connect()
    
  3. Make a search:

    search = isogeo.search(include="all",)
    # close session
    isogeo.close()
    
  4. Export:

    # import
    from isogeotoxlsx import Isogeo2xlsx
    # instanciate the final workbook
    out_workbook = Isogeo2xlsx(
        lang=isogeo.lang,
        url_base_edit=isogeo.app_url,
        url_base_view=isogeo.oc_url
    )
    # add needed worksheets
    out_workbook.set_worksheets(auto=search.tags.keys())
    
    # parse search results
    for md in map(Metadata.clean_attributes, search.results):
        out_workbook.store_metadatas(md)
    
    # save file
    out_workbook.save("./isogeo_export_to_xlsx.xlsx")
    

Metadata

Release files for isogeo-export-xl 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for isogeo-export-xl 1.3.2
File Size Uploaded Provenance Actions
isogeo-export-xl-1.3.2.tar.gz 25.3 kB Without provenance Details for isogeo-export-xl-1.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for isogeo-export-xl 1.3.2
File Interpreter ABI Platform Actions
isogeo_export_xl-1.3.2-py3-none-any.whl Python 3 none any Details for isogeo_export_xl-1.3.2-py3-none-any.whl

Total release size: 60.4 kB

Release files / isogeo-export-xl-1.3.2.tar.gz

Download URL isogeo-export-xl-1.3.2.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
be2451891861354ff4ba257c0e3560a857bb181c38b8b45c3fece1e93b93a4d3
BLAKE2b-256 checksum
How to use checksums
1629241e175c603c0776562e74c6974e14e26ec44968aa6cc7f3ad6df4f3a200
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / isogeo_export_xl-1.3.2-py3-none-any.whl

Download URL isogeo_export_xl-1.3.2-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87f48c1cf940734dd341997fdf176bb5db8ae2389e0044e9674669963fdc95f1
BLAKE2b-256 checksum
How to use checksums
32f775e50a0b65a6af5169e6284f65395da9c7454f735104db104aad3fa3fe40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Security for isogeo-export-xl 1.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page