python-poetry / python-poetry/tomlkit

Question: Is there something like jsonpath?

Open
#133 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
850
Forks
162
Avg merge
13m
Merged PRs (30d)
2

Description

Is something alike jsonpath/xpath supported by this library?

Something that would allow me to get/set the value of plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options.SystemdCgroup that is inside the document:

version = 2
[plugins]
  [plugins."io.containerd.grpc.v1.cri"]
   [plugins."io.containerd.grpc.v1.cri".containerd]
      [plugins."io.containerd.grpc.v1.cri".containerd.runtimes]
        [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
          runtime_type = "io.containerd.runc.v2"
          [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
            SystemdCgroup = true

Or something that would take plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options and would return the table container?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the library's existing document and table access APIs, using the nested TOML example and dotted path in the issue as the starting case. Determine whether nested get/set and returning the target table are already supported; done would require a defined behavior for these operations or a clear explanation of the existing API.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.