• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux bicop Download

bicop

August 3, 2009
This software enables the reading of configuration files in a bind-style format.
Version 1.0 RC2
License BSD License
Platform Linux
Supported Languages English
Homepage www.wiggy.net
Developed by Wichert Akkerman
Bicop is a powerful Python library aimed at processing ISC bind-style configuration files. These files usually contain nested structures that can be challenging to read and modify, but Bicop can help you overcome this obstacle with ease.

The nested structures usually look like this:

```
datasource1 {
server "server1.your.domain";
username "client";
password "secret";
extra {
isolation "full";
};
};

tables {
"users";
"groups";
};
```

With Bicop, parsing these structures is incredibly easy. All you need to do is use the 'parse' method, like so:

```
from bicop import parse

parse("/etc/bind/named.conf")
```

This method will return a Python dictionary containing all the data read from the file. Entries in the dictionary can be other dictionaries or lists, effectively allowing you to store and access any type of configuration data.

A common requirement when working with configuration files is to support default values or handle configuration at multiple levels with priorities. Bicop can help you achieve this with its 'merge' utility method. With this method, you can merge two or more dictionaries, like so:

```
from bicop import merge

configuration = parse("/etc/application.conf")
userconfig = parse("/home/user/.application")
merge(configuration, userconfig, overwrite=True)
```

This method allows you to handle configurations of varying levels with ease, making it an essential tool for developers and system administrators alike.

Configuration files in this format can have deeply nested structures, which can make accessing them using standard Python dictionaries cumbersome. To make this easier, Bicop provides a NestedDict wrapper. Here's an example:

```
from bicop import NestedDict

configuration = NestedDict(parse("/etc/application.conf"))
print "Your signature is: %s" % configuration["profiles/user/signature"]
```

This wrapper makes accessing deeply nested structures much more comfortable and intuitive, making your life as a developer or system administrator a lot easier.

In conclusion, Bicop is a powerful and flexible tool that can help you handle complex configuration files with ease. Whether you're a developer or a system administrator, Bicop can help you manage and modify configuration files effortlessly, allowing you to focus on more critical aspects of your work.
What's New

Version 1.0 RC2: N/A

Free Download 9K
377
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    92
  4. SlideMap 1.2.2
    82
  5. CherryTV 0.1
    81
  6. porm r2
    79
  7. Swiftfox 3.0b5pre-2
    77
  8. Java Games 1.0
    76
  9. Clewarecontrol 0.8
    75
  10. fuseftp 0.8
    74

Related Downloads

ManEdit
ManEdit is software that operates as an editor, viewer, and browser for ...
Per-Song Volume
Per-Song Volume is a software tool written in Perl that manages specific ...
Java2SD
Java2SD is an automatic tool that aids in generating sequence diagrams, contributing ...
BananaSplitter
BananaSplitter is a DivX or XviD compatible software that enables the user ...
Gnome Game Studio
Gnome Game Studio is a user-friendly game design software with a modular ...
AI::Evolve::Befunge::Physics
This is a software summary of a physics engine base class in ...
check_nagios_summary
"check_nagios_summary" is a software tool that enables distributed monitoring through Nagios. It ...
Actualiza
Actualiza is a semi-automatic update program for apt based systems developed by ...
Green Bay Packers Theme
The Green Bay Packers' official Firefox theme offers users a custom-designed browser ...
Rose::DB::Object::Cached
This software creates a memory cache object that represents a single row ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.