Giter VIP home page Giter VIP logo

Comments (10)

martindurant avatar martindurant commented on May 27, 2024 1

I believe you would need -c conda-forge -c defusco; however, you may want to stick with pip for now until this package is also on conda-forge.

from adlfs.

arnabbiswas1 avatar arnabbiswas1 commented on May 27, 2024

Hello @martindurant, with pip I am able to install (inside my conda environment):

https://pypi.org/project/adlfs/

However, the documentation (link) is not correct. For DataLakeGen 2, it says:

known_implementations['abfs'] = {'class': 'adlfs.AzureDatalakeFileSystem'}

However, based on the code, it should be:

known_implementations['abfs'] = {'class': 'adlfs.AzureBlobFileSystem'}

Also, there are curly braces at the end of the following lines which needs to be replaced. This is minor (However, copy pasting the code from the documentation doesn't work):

ddf = dd.read_csv('abfs://{CONTAINER}/{FOLDER}/*.csv', storage_options=STORAGE_OPTIONS}
ddf = dd.read_csv('abfs://{CONTAINER}/folder.parquet', storage_options=STORAGE_OPTIONS}

from adlfs.

martindurant avatar martindurant commented on May 27, 2024

You no longer need to modify known_implementations at all. Would appreciate a PR updating that and for the syntax you noticed.

from adlfs.

hayesgb avatar hayesgb commented on May 27, 2024

I've added the updated the README in the "blob_not_exist_exception" branch for the syntax, and corrected the {adlfs.AzureBlobFileSystem}

@martindurant -- It looks adlfs is added to the fsspec master branch, but its not currently in PyPi. Should we update the docs in adlfs now, or wait until it the next version of fsspec is released?

from adlfs.

martindurant avatar martindurant commented on May 27, 2024

I think it would do now, with a note to fsspec that we would appreciate a release soon

from adlfs.

hayesgb avatar hayesgb commented on May 27, 2024

I've added conditional imports to the README.md docs as a compromise. Appreciate the guidance @martindurant.

from adlfs.

arnabbiswas1 avatar arnabbiswas1 commented on May 27, 2024

Sorry about late reply. I was on holidays.

To confirm, I am able to read parquet file without the "known_implementations" now with adlfs 0.1.5.

from adlfs.

hayesgb avatar hayesgb commented on May 27, 2024

@martindurant -- I would like to setup up a release pipeline for pypi and conda, but don't have permissions in Azure Pipelines or the Github account to set up secrets. Is there a preferred method you would recommend?

from adlfs.

martindurant avatar martindurant commented on May 27, 2024

I've only done this sort of thing for TravisCI. What kind of permissions are you missing? If the conda package is built by conda-forge, then you don't need any further configuration, pushing a release to pypi will trigger the build bot to make and test a PR against the feedstock - but you still need to accept and merge that PR.

I have quite a few repos I control, but I've never released anything often enough for it to seem worthwhile to automate!

from adlfs.

hayesgb avatar hayesgb commented on May 27, 2024

Agree the release process isn't burdensome. I guess I just assumed the releases would be automated. I was thinking about replicating this release example, but would need to store secrets. Not a big deal.

from adlfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.