pybfc

A Python library that include dependency graphs or attribute dictionary.
Download

pybfc Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Boris Figovsky
  • File Size:
  • 34 KB

pybfc Tags


pybfc Description

pybfc is a handy, easy to use, generic purpose library in Python designed to include directed graphs, dependency graphs, threads-related algorithms, etc. Basically the library offers: · An Attribute Dictionary - a proxy to a dictionary via attributes; · Function caching; · Dependency Graphs: creating, managing and running tasks in DFS and threaded modes; · Directed Graphs; · Freezing concept: making stuff hashable and comparable; · Frozen Dict: like frozenset but a dict; · Linked-list: a double linked list; · Derivable Data: data containers with inheritance: · DerivedSet; · DerivedDict; · NamedContext: each context has a name, local data, derivable data and bubbles - to control contexts that derive from it. · Thread Pool; · Multi-lock, to manage multi locking requests easily; · Orderded Data: · ordered set; · ordered dict (Python 2.7 has this already) · File-like: · Indented file - a wrapper for file objects to write indented text; · Blocked file - a wrapper for file objects to write block-like text; · thread-safe line writer; · Picklable: · Modules and callables in them; · partial (Python 2.7 fixed this already). · Views: can iterate on the same data multiple times: · generators; · sequences of weak refs; · Utilities and wrappers: · Python code compilation; · exec statement add-ons; · cached file importing; · OS related; · Multiprocessing related. Note: This library has not reached maturity yet.


pybfc Related Software