Comments (4)
Would be great to have an easier access to the filenames inside the registry.
Currently, we must search for them inside the registry dictionary, but we must convert the dict_keys
to list first. This leads to ugly coding.
For example, if we want to get a list of every filename in the registry we must do something like this:
filenames = list(GOODBOY.registry)
Would be nice to have a more stylish way of doing it, something like GOODBOY.filenames
.
from pooch.
@santisoler OK, that's something we could easily add as a property
in Pooch
. Maybe registry_files
instead of filenames
. Would you mind opening a PR for this?
from pooch.
@leouieda I've just opened #42 for this improvement.
from pooch.
Thanks! Merged
from pooch.
Related Issues (20)
- Invenio RDM support HOT 3
- Make data repository registration a public API HOT 2
- Allow running pooch on air-gapped systems HOT 4
- Unable to download files in Dataverse repositories when files don't have PIDs HOT 10
- DataVerse file DOIs in pooch.retrieve HOT 1
- Pooch 1.7.0 fails when filenames have apostrophes HOT 9
- Download from URL with expired SSL certificate HOT 4
- Problem accessing public files on Dropbox HOT 4
- Add support for downloading from AWS S3 butckets HOT 1
- If Unzip/Untar fails because of a non-existent member, calling without members won't work HOT 2
- Feature: allow null hash in registry files HOT 3
- Make sure that any test that uses the network is properly marked HOT 1
- pooch.make_registry does not handle spaces in filenames correctly HOT 1
- `KeyError: 'key'` in ZenodoRepository.download_url() after Zenodo migration HOT 8
- Mention in docs that registry files must use POSIX compatible file names
- Release v1.8.0 HOT 1
- Sorry wrong repo for the issue HOT 1
- fatiando.org is down HOT 2
- Add "git blob hash" as available hash HOT 3
- Add or document support for Dryad via DOIDownloader HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pooch.