fsspec / fsspec/filesystem_spec
How to assemble urlpath from given fs or protocol?
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 490
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 38
Description
Does fsspec provide any API to assemble urlpath or local path from given fs or protocol?
e.g
def get_path(protocol, file_path):
# decide which pattern to use
# return "/xxx/xxx" or "protocol://xxx/xxx"
path1 = get_path('file', "xxx/xxx")
# path1: /xxx/xxx
path2 = get_path('s3', "xxx/xxx")
# path2: s3://xxx/xxx
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reviewing fsspec's existing filesystem and URL/path interfaces, then define the supported local and protocol-qualified outputs shown in the examples; done means an agreed API covering both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100