Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.064 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'subject:Python': 0.06; 'assign': 0.07; 'mining': 0.09; 'moreover,': 0.09; 'extensible': 0.16; 'nodes.': 0.16; 'received:172.18.0': 0.16; 'refactoring': 0.16; 'similarly,': 0.16; 'to:name:python-list@python.org': 0.22; 'header:Received:8': 0.24; 'source': 0.25; 'tables': 0.26; 'header :In-Reply-To:1': 0.27; 'xml': 0.29; 'database,': 0.30; 'really,': 0.31; 'becomes': 0.33; "i'd": 0.34; 'but': 0.35; 'charset:us- ascii': 0.36; 'requirements': 0.37; 'two': 0.37; 'easily': 0.37; 'lists.': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'read': 0.60; 'relations': 0.60; 'most': 0.60; 'received:unknown': 0.61; 'kind': 0.63; 'more': 0.64; 'between': 0.67; 'importantly,': 0.68; 'destination': 0.91; 'bandwidth': 0.96 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=jhVCqOCcONDhIh1w2GEjcBn40ITekX4NlKMVE0oiDkw= c=1 sm=1 a=0SdSWYkgFHUA:10 a=7PYXob_7ZXMA:10 a=AgG5ixNBvo4A:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=fJA44qW2MToPm5Yq6OAA:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1398860921; bh=aBTq33ejSYwW8waGKIYe4hzXk76iEF41FibMWhXOnZA=; h=From:To:Subject:Date:References:In-Reply-To; b=H/I9cnx4fKw2dXieJYAFolMVTiVCOgIHQ3+9mWdPqFaj/8aVktBGNHliiPjKuaTt9 zJlKT4xIULJ2B80UWVRR+G95CJ/wP41ggVcGAv2Gbe+d9LRi3nX911b6ld8vTFFY8n UbCTy/jt9VBSIj5lYtwJ6kygQ494fy5tn8/YXv8A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1398860921; bh=aBTq33ejSYwW8waGKIYe4hzXk76iEF41FibMWhXOnZA=; h=From:To:Subject:Date:References:In-Reply-To; b=H/I9cnx4fKw2dXieJYAFolMVTiVCOgIHQ3+9mWdPqFaj/8aVktBGNHliiPjKuaTt9 zJlKT4xIULJ2B80UWVRR+G95CJ/wP41ggVcGAv2Gbe+d9LRi3nX911b6ld8vTFFY8n UbCTy/jt9VBSIj5lYtwJ6kygQ494fy5tn8/YXv8A= X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.activenetwerx.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.1 From: "Joseph L. Casale" To: "python-list@python.org" Subject: RE: Designing a network in Python Thread-Topic: Designing a network in Python Thread-Index: AQHPZFe8mAGKKYORLUig6HCBX7x/rZsqFccQ Date: Wed, 30 Apr 2014 12:28:28 +0000 References: <8ab783e8-a36e-49e5-a329-2c4d98df8537@googlegroups.com> In-Reply-To: <8ab783e8-a36e-49e5-a329-2c4d98df8537@googlegroups.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.0.201] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1398860993 news.xs4all.nl 2854 [2001:888:2000:d::a6]:33832 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70775 > I have managed to read most of the important data in the xml onto lists. > Now, I have two lists, Source and Destination and I'd like to create bi-d= irectional > links between them. > And moreover, I'd like to assign some kind of a bandwidth capacity to the= links and > similarly, storage and processing capacity to the nodes. I don't know anything about your use case or data really, but from the abov= e I already know I would shove this all into a database, adding tables with rel= ations and mining data based on relations becomes trivial. More importantly, it al= so then becomes easily extensible without refactoring as your requirements change. Just my opinion, jlc