Skip to content

Update cat2cloud notebook code #540

@lshaw8317

Description

@lshaw8317

For next release of blosc2 we can change the code in the notebooks since the wheels branch will have a latest.txt file. hence the followign should install blosc2

   # URL of the latest.txt file in GitHub Pages
    latest_url = "https://Blosc.github.io/blosc2/wheels/latest.txt"
    # Fetch wheel name
    wheel_name = requests.get(latest_url).text.strip()
    # Install the wheel dynamically
    wheel_url = f"https://Blosc.github.io/blosc2/wheels/{wheel_name}"
    await micropip.install(wheel_url)
    print(f"Installed {wheel_name} successfully!")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions