473,578 Members | 3,286 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Small Database Needed

Hello All,

I'm looking at implementing DB in my program for
analysis of CAD (STL Files). This database will
require the basic functionality.

Query
Sort
Delete/Add Records
I did some looking at the DB packages out there. But,
I'm not interseted in setuping up some huge thing. It
would be great if it is fast, but I can live with a
sub-optimal solution for the present. My interest is
in getting it up and running.

Since, I'm new to Python so please don't hold back on
the comments.

Regards,
Kevin

_______________ _______________ ____
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
Jul 18 '05 #1
14 1413
Kevin McBrearty wrote:
I'm looking at implementing DB in my program for
analysis of CAD (STL Files). This database will
require the basic functionality.


PySQLite to the rescue:

http://pysqlite.sourceforge.net/manual.html

Istvan.
Jul 18 '05 #2
Gadfly!

rgds
Tim R.

På Sun, 21 Nov 2004 06:54:40 -0800 (PST), skrev Kevin McBrearty
<km********@yah oo.com>:
Hello All,

I'm looking at implementing DB in my program for
analysis of CAD (STL Files). This database will
require the basic functionality.

Query
Sort
Delete/Add Records
I did some looking at the DB packages out there. But,
I'm not interseted in setuping up some huge thing. It
would be great if it is fast, but I can live with a
sub-optimal solution for the present. My interest is
in getting it up and running.

Since, I'm new to Python so please don't hold back on
the comments.

Regards,
Kevin


Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jul 18 '05 #3
I haven't used it myself, but at some point when I was looking for a
database I thought this was a very interesting alternative:
http://www.equi4.com/metakit.html. Eventually, I chose to forego databases
and just pickle a data structure. Take a look at it and maybe it will suit
you. On the other hand, I would like to hear any opinions from people who
have used it, I may decide to use it myself someday.

Dan

"Kevin McBrearty" <km********@yah oo.com> wrote in message
news:ma******** *************** *************** @python.org...
Hello All,

I'm looking at implementing DB in my program for
analysis of CAD (STL Files). This database will
require the basic functionality.

Query
Sort
Delete/Add Records
I did some looking at the DB packages out there. But,
I'm not interseted in setuping up some huge thing. It
would be great if it is fast, but I can live with a
sub-optimal solution for the present. My interest is
in getting it up and running.

Since, I'm new to Python so please don't hold back on
the comments.

Regards,
Kevin

_______________ _______________ ____
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com

Jul 18 '05 #4
Considering some recent discussions in this newsgroup about doing a search
before asking questions, I realized I may just have been guilty of that
myself. So I did a search, even though it was after posting that previous
message. I found a few recent threads that are relevant also for the OP's
question:
http://groups.google.com/groups?hl=e...org%26rnum%3D8

http://groups.google.com/groups?hl=e...om%26rnum%3D16

http://groups.google.com/groups?hl=e...rg%26rnum%3D26

Hope this helps and my apologies for the long formatted links.

Dan
"Dan Perl" <da*****@rogers .com> wrote in message
news:m7******** ************@ro gers.com...
I haven't used it myself, but at some point when I was looking for a
database I thought this was a very interesting alternative:
http://www.equi4.com/metakit.html. Eventually, I chose to forego databases
and just pickle a data structure. Take a look at it and maybe it will suit
you. On the other hand, I would like to hear any opinions from people who
have used it, I may decide to use it myself someday.

Dan

"Kevin McBrearty" <km********@yah oo.com> wrote in message
news:ma******** *************** *************** @python.org...
Hello All,

I'm looking at implementing DB in my program for
analysis of CAD (STL Files). This database will
require the basic functionality.

Query
Sort
Delete/Add Records
I did some looking at the DB packages out there. But,
I'm not interseted in setuping up some huge thing. It
would be great if it is fast, but I can live with a
sub-optimal solution for the present. My interest is
in getting it up and running.

Since, I'm new to Python so please don't hold back on
the comments.

Regards,
Kevin

_______________ _______________ ____
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com


Jul 18 '05 #5
Istvan Albert <ia*****@mailbl ocks.com> wrote in message news:<U-*************** *****@giganews. com>...
Kevin McBrearty wrote:
I'm looking at implementing DB in my program for
analysis of CAD (STL Files). This database will
require the basic functionality.


PySQLite to the rescue:

http://pysqlite.sourceforge.net/manual.html

Istvan.


SQLite is very nice.

Another embedded one that you could look at it Metakit
(http://www.equi4.com/metakit.html). It also has very good Python
support. It is not an "SQL" type database though. It is easy to use
though.

Robert
Jul 18 '05 #6
In article <Fs************ ********@rogers .com>,
"Dan Perl" <da*****@rogers .com> wrote:
Considering some recent discussions in this newsgroup about doing a search
before asking questions, I realized I may just have been guilty of that
myself. So I did a search, even though it was after posting that previous
message. I found a few recent threads that are relevant also for the OP's
question:
http://groups.google.com/groups?hl=e...an.711.1086704
144.6949.python-list%40python.o rg&rnum=8&prev =/groups%3Fq%3Dme takit%26hl%3Den %
26lr%3D%26group %3Dcomp.lang.py thon.*%26c2coff %3D1%26scoring% 3Dd%26selm%3Dma ilm
an.711.10867041 44.6949.python-list%2540python .org%26rnum%3D8

http://groups.google.com/groups?hl=e...9CE.503%40zora
n.com&rnum=16&p rev=/groups%3Fq%3Dme takit%26start%3 D10%26hl%3Den%2 6lr%3D%26grou
p%3Dcomp.lang.p ython.*%26c2cof f%3D1%26scoring %3Dd%26selm%3D4 05109CE.503%254 0zo
ran.com%26rnum% 3D16

http://groups.google.com/groups?hl=e...an.255.1073698
893.12720.pytho n-list%40python.o rg&rnum=26&prev =/groups%3Fq%3Dme takit%26start%
3D20%26hl%3Den% 26lr%3D%26group %3Dcomp.lang.py thon.*%26c2coff %3D1%26scoring% 3Dd
%26selm%3Dmailm an.255.10736988 93.12720.python-list%2540python .org%26rnum%3D2 6

Hope this helps and my apologies for the long formatted links.

Dan


Meet a couple of helpful friends:

http://shorl.com/
http://tinyurl.com/

I hope this helps!

-M

--
Michael J. Fromberger | Lecturer, Dept. of Computer Science
http://www.dartmouth.edu/~sting/ | Dartmouth College, Hanover, NH, USA
Jul 18 '05 #7

"Michael J. Fromberger" <Mi************ ******@Clothing .Dartmouth.EDU> wrote
in message news:Michael.J. Fromberger-95B81B.20470421 112004@localhos t...
Meet a couple of helpful friends:

http://shorl.com/
http://tinyurl.com/

I hope this helps!


Thanks! Never felt the need for tools like that before, but with 3 long
URLs they come in real handy!

Dan
Jul 18 '05 #8
Kevin McBrearty <km********@yah oo.com> wrote:
Hello All,

I'm looking at implementing DB in my program for analysis of CAD (STL
Files). This database will require the basic functionality.

Query
Sort
Delete/Add Records

I did some looking at the DB packages out there. But, I'm not
interseted in setuping up some huge thing. It would be great if it is
fast, but I can live with a sub-optimal solution for the present. My
interest is in getting it up and running.

Since, I'm new to Python so please don't hold back on the comments.


In the order preference,
- ASCII text file
- GDBM (but, you can't sort)
- SQLite
all of which are supported by Bash shell and Python.

--
William Park <op**********@y ahoo.ca>
Linux solution for data management and processing.
Jul 18 '05 #9
Hi !

MetaKit doc :

Iadaptive integer (becomes Python int)
L64-bit integer (becomes Python long)
FC float (becomes Python float)
DC double (is a Python float)
SC null terminated string (becomes Python string)
BC array of bytes (becomes Python string)

no date or datetime ?

Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1720
by: Jamie Meredith | last post by:
We are a small graphic design firm who is fighting a growth spurt which has resulted in an overload in our handling of email and proofing. We are looking for a pre-built, open source PHP/MYSQL solution that would provide the following features. Any ideas would be much appreciated. Modification of an existing solution would be acceptable...
2
2947
by: Thomas Weholt \( PRIVAT \) | last post by:
I've got a rather small project, small in the sense that there's not a lot of different tables needed in the database/storage-system, but there will be alot of data and the clients must be able to scan thru huge amounts of data very fast ( Not serial scanning, but lookups by key, preferrably several keys pr record, ie. I need to lookup people...
2
3455
by: Dave Brueck | last post by:
Below is some information I collected from a *small* project in which I wrote a Python version of a Java application. I share this info only as a data point (rather than trying to say this data "proves" something) to consider the next time the "Python makes developers more productive" thread starts up again. Background ========== An...
12
3505
by: Simon Harvey | last post by:
Whato chaps, I work (or am hoping to work! :) for a company that specialises in the following: - Localisation of media - including software, manuals, literature and training material. - Creating training material themselves in many langauges built to order. The main thing I'm thinking about for the company is maybe a sort of content
18
1557
by: B Love | last post by:
I just need a small mod to my code (I think) to get the result I want. Earlier this week I had received help from FredG on concatenating a field in a form. I went on to create a field in the form to collect the temporary concatenation and store it to the underlying table. I am certain that this breaks a few rules of good database practices,...
169
8990
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide untaking to create a toolchain for it. Way back when, there used to be something called "Small C". I wonder if the creator(s) of that would want to...
6
1296
by: Lint Radley | last post by:
Hi Everyone, I need an opinion here on storing data for a program I am working on the processes DICOM images. Essentially, my program stores 25-45 (it varies depending on the user) ranges of pixel values to search the image for. Currently, I am using a .MDF database that requires SQL Express to be installed. For only 25-45 records it...
16
3334
by: scholz.lothar | last post by:
I want to add some extension features to my program and this would require that i bundle a small c compiler with my program. On Unix it seems that tiny-c can do this, but i don't know about windows.
0
7847
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8290
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7874
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8148
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5664
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5342
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3781
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1113
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.