Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 874637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:08:11+00:00 2026-05-15T11:08:11+00:00

I’m trying to find a tool and library to edit, write and read data

  • 0

I’m trying to find a tool and library to edit, write and read data in a hierarchical structure, similar to an LDAP tree, a Windows registry or a Berkeley DB structure.
The keys should represent some hierarchy, and the values should have a relatively flexible format (typing is optional, but could be useful). Here is an example:

Items/item_1/shape = "rectangle"
Items/item_1/top = 10
Items/item_1/left = 10
Items/item_1/width = 30
Items/item_1/height = 40

Items/item_2/shape = "square"
Items/item_2/top = 10
Items/item_2/left = 10
Items/item_2/width = 30

Items/item_3/shape = "circle"
Items/item_3/centre_x = 40
Items/item_3/centre_y = 50
Items/item_3/radius = 20
Items/item_3/colour = blue

The use-case would be:

  1. Edit the data store via a convenient GUI.
    This could look like Windows Regedit or Apache Directory Studio (LDAP Browser).

  2. Save that data into some store (e.g. a file).

  3. Load this store from another application, which would be able to query
    it from an API. The library for this would ideally be callable from Python.

I’d like these operations to be reasonably fast for reading, but not have it all loaded in memory in advance. The data store would be updated into the application more or less manually, much less often than the data is read.
Being able to write to that data from the API would be a plus, but it’s not a strict requirement.

Queries would be good. For example (in pseudo query), “List Items/* where top == 10” would return:

  • Items/item_1
  • Items/item_2

Ease of edition (via a good GUI) is one of the most important features.

I’ve considered a few options:

  1. An LDAP server answers most requirements (especially with the help of Apache Directory Studio). However, deploying an LDAP server just for that is too heavy. However good Apache Directory Studio is, the user still needs a reasonable understanding of LDAP (more than just explaining the tree hierachy). I’d also like some flexibility in the creation of schemas (or no schemas at all)
    rather than having to rely on an administrator to do this.

  2. Windows Regedit. I’m not sure if it’s possible, but I guess it’s conceivable to have a registry-like file that has nothing to do with the actual windows registry, editable with custom content via Regedit. I would however like this GUI application to be available on non-Windows platforms and I’m not even sure there’s a Python API to read a Windows registry file.

  3. RDF. That could work. I’m sure there are fairly good Python libraries for semantic web. However, I don’t need any reasoning capabilities. I’d rather have something fast and that doesn’t use much memory. I’m not sure there are any good GUI tools to view and edit the tree (since it’s geared towards webs and graphs).

There are certainly ways to build this sort of data structures on top of existing systems like SQLite (for example), and this would be fine but I’m not sure whether there’s a good GUI that would come with it.

I’d appreciate comments and suggestions, thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:08:11+00:00Added an answer on May 15, 2026 at 11:08 am

    Forgive my densitosity, but if your hierarchy is anything but the roughest kind of example, there must be hugely compelling, overpowering reasons for your choosing that over, say, JSON or even (gulp!) XML:

    <items>
      <item>
       <number>1</number>
       <shape>rectangle</shape>
       <top>10</top>
       <left>10</left>
       <width>30</width>
       <height>40</height>
      </item>
      <item>
       <number>2</number>
       <shape>triangle</shape>
       <top>20</top>
       <left>50</left>
       <width>30></width>
       <height>40</height>
      </item>
    </items>
    

    For XML, you know there are tons of editors that answer your needs. Same with JSON. And I think there are also XML-> MySQL -> XML libraries.

    Why not take that kind of approach?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to select an H1 element which is the second-child in its group
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Seemingly simple, but I cannot find anything relevant on the web. What is the
I want to construct a data frame in an Rcpp function, but when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.