Django Calendar Widget? [closed] - django

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Does anyone know of any existing packages or libraries that can be used to build a calendar in a django app?

A quick google search reveals django-gencal, which looks like exactly what you need. It would also be worth looking at the snippets under the calendar tag on Django Snippets at http://www.djangosnippets.org/tags/calendar/.

It seems that django-calendar has become django-agenda: http://github.com/dokterbob/django-agenda

Great Tipps
django-swingtime lives on
http://github.com/dakrauth/django-swingtime

The django-schedule code originally from thauber (thauber/django-schedule) has been forked and worked into the glamkit/glamkit-eventtools code for Galleries, Libraries, Museums and Archives. It has also been forked and updated by a variety of other folks, e.g. boskee/django-schedule, and my guess is that that might have fewer dependencies and be easier to integrate into another project. It says:
Django-schedule: A calendaring/scheduling application, featuring:
one-time and recurring events
calendar exceptions (occurrences changed or cancelled)
occurrences accessible through Event API and Period API
relations of events to generic objects
ready to use, nice user interface
view day, week, month, three months and year
project sample which can be launched immediately and reused in your project
See the github "network" tab for a graphical navigation from the point of view of a given branch to see how other branches relate to it (i.e. what is available for merging).

svn checkout http://django-calendar.googlecode.com/svn/trunk/ django-calendar-read-only
svn: URL 'http://django-calendar.googlecode.com/svn/trunk' doesn't exist
so google search may reveal, but it's no longer exists.

There is another calendar alternative here, Django Event Calendar from 3captus, that offers something a bit simpler. I'm trying it out now, but it looks like a better fit for me.
From the features list:
Full feature calendar display using python calendar class
Support month scrolling (forward or backward)
AJAX add, modify, delete GUI
Require mimimum knowledge of Django, should be a good compliment after you are done with django tutorial
(http://www.djangoproject.com/documentation/tutorial01/)
Calendar and Event class can be used in any python project
Full unit test included

There are also some calendar functions built into Python itself, you can see a simple implementation here.

Today I ran into django-swingtime. Worth checking out.

Related

django 1.2 tutorials, books and resources? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Where can I find learning resources for django 1.2? I'm new to django and web-programming.
I have started to learn django a couple of months ago so, I'll try to point out what helped me.
I started watching the series of screencasts on how to build a wiki
http://showmedo.com/videotutorials/video?name=1100000
which is pretty easy. If you like watching screencasts they're not bad.
The official tutorial as pointed out before is also good.
I then progressed reading the online book on django. While it is certainly a good reference, I wouldn't recommend it as a starting point though.
I think a better thing to do is to read the practical django projects book by James Benett, the django release manager. It shows you a bunch of best practices which you might overlook (I did) otherwise. It uses django 1.1 but I think most of the code works (sometimes critized in reviews on amazon).
One thing that escaped me for a while is the wealth of third-party django apps which really make your life a lot easier but are not official so they are usually not in official supporting documentation (all of the above).
I recommend you start using
South (for database changes)
immediately. Also consider start using
virtualenv and
pip (both for python package management)
right away. These facilitate package-management a lot and I think using these is considered best practices (I just had to clean up a easy_install-foobar'ed system and it's no fun). If you are interested in the best third-party apps for solving common problems in django check out the blog surfing in Kansas by django developer Eric Holscher. There is also a video from the recent djangocon.
Finally, if you are like me and wondering about the magic that django does, you might want to check out this blog post or this video (3hrs) (and slides) by James Bennett explaining the internals of django very well (I like the blog post better, but take your pick).
Also: I was unaware of the django-users mailing list, this is very helpful and - as far as django is concerned - much more active than stackoverflow.
Django is awesome! I really hope you like it ;)
What about the official tutorial?
http://docs.djangoproject.com/en/1.2/intro/tutorial01/
The online documentation is pretty good. And there's a tutorial for beginners.
http://docs.djangoproject.com/en/1.2/
This resource http://www.udemy.com/full-django-tutorial/ at Udemy can be good starting point.
There's also the djangobook covering the 1.x.x versions. http://www.djangobook.com/en/2.0/ That can be a good start.

Online Flowchart Diagram Tool (run from private wiki) [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there some flowchart diagram tool that would (or could be made to) integrate with a self-hosted wiki?
Requirements:
basic functionality (e.g., drawing some boxes and some arrows)
would strongly prefer it to be visual (i.e., not written out in text that then gets converted)
allows for dynamic editing
it is important that the tool can be integrated into the wiki (e.g., as an extra panel somewhere)
can be run from a personal server
free
I've looked around at other threads here concerning a diagram tool, but they are either desktop applications, online ones which reside on third-party servers, or cost money.
[Edit] Thanks for the responses, but I would like them to be dynamically editable (I've added this to the requirements). What I mean is that I would like to integrate (or run it from a private server) some online collaborative diagramming tool. While I could create a JPG of something made in Graphviz and upload it, this is not easily editable. I would have to upload the source file somewhere, which someone would have to download and edit, then upload the new JPG.
Graphviz dot diagrams can be embedded in some wikis. Unfortunately for your requirements, it's text that gets converted. It's fairly simple to learn and use though.
http://www.graphviz.org/
EDIT: It's free / open source.
I've been looking for something similar - collaborative flowcharts in a wiki. The most interesting so far is this Mediawiki extension: http://www.flowchartwiki.org/wiki/index.php/Main_Page
Balsamiq Mockups for XWiki is the closest thing I've seen. It's more of a previsualization tool however for application mockups, though I'm not sure if this is the kind of tool you're looking for.
It is free if you qualify under their licensing.
Another option would be using Mediawiki with the Dia extension.
I like using the svgedit plugin in dokuwiki for quick diagramming on the run. It produces standard SVG text files and has an always up to the date javascript wysiwyg editor. And, I submitted a bug/feature request on github and the requested functionality was added post haste.
Edit: FOSS!
i understand this question is old enough. but you could try Origramy. it's a Flash-based visual tool. and XML as the result can be get from the component. alas integration to wiki must be made separately
Not sure of the technology you have on your server, but Open Diagram can create a jpg image file on the server which can then be referenced as a normal image in your wiki. Its open source.
I've enjoyed the simplicity of UMLet for a while as a desktop app. Don't let the name fool you! There is more than just UML - it has a lot of basic charting elements in it. It's not pretty, and it can be awkward sometimes, but it works. Has basic visual items in a template/toolbox that you double-click on to reproduce on your canvas. You can then move it about, resize it, or edit the item and modify it via text.
There isn't an existing online integration method (that I've seen), but being that it's good old fashioned java, you might be able to make it happen.
It's free and distributed under the GNU General Public Licence.
honestly i think you are going to have to use Java and code an applet. there are wondrous advancements in javascript libraries (AJAX, JQuery) that also might assist in this...
cheers my friend.

Good open source django project for learning [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can anyone suggest a good open source django project to learn django development.
A great resource is www.djangopackages.com, which lists a lot of the notable Django apps out there, including links to their respective repos, popularity ratings, etc..
Another way to find popular projects is directly on GitHub: https://github.com/search?q=django
Finally:
Awesome Django # https://github.com/wsvincent/awesome-django
Awesome Python # https://github.com/vinta/awesome-python
django-basic-apps is also a very good start to learn django and reusable apps. These apps are simple enough and code is well written.
If you're looking to learn the popular reusable app feature of Django I would suggest Pinax, and you also may want to look at Django-Mingus. I'm the author behind Mingus and I recently posted a list of the apps included in Mingus along with a description of how and why they are used. It maybe helpful in finding some projects you may want to use yourself. Here's a link: "The apps that power Django-Mingus"
There's also a ton of Django projects on Google Code, GitHub, and BitBucket. Just search for "django".
Django-CMS, mentioned above, and Fein-CMS are both good CMS projects to dive into, and the screencasts by Eric are terrific - I absolutely suggest any noob to Django watch all 13 of those screencasts.
I asked Malcolm Tredinnick a few weeks ago if there was a project he admired and he suggested Django Packages. They keep their source on Github .
I wouldn't say that it should be used as a Django tutorial but they have an admirable style of programming and I have picked up more than a few tips and tricks by reading their source. It is definitely a good example to learn from.
One of the best for newbie: 13 screencasts "Django From the Ground Up" at This Week In Django#
edit:
#the website is closed. view archived page.
I recommend Waka Waka. Its a very well written wiki, that should give you a good idea of how to develop in django. It is an application used by Pinax, which by itself should be huge, to learn.
You can also of course go through some of ubernostrum's code like Registration, profiles and Contact Form, which are a standard in the django world. But as some of them involve dynamic forms, it may be best to get to it, after a little actual coding.
If you're interested in running Django in App Engine, checkout out this project. Here's a demo.

How is an aggregator built? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Let's say I want to aggregate information related to a specific niche from many sources (could be travel, technology, or whatever).
How would I do that?
Have a spider/crawler who will crawl the web for finding the information I need (how would I tell the crawler what to crawl because I don't want to get the whole web?)?
Then have an indexing system to index and organize the information I crawled and also be a search engine?
Are systems like Nutch lucene.apache.org/nutch OK to be used for what I want? Do you recommend something else?
Or can you recommend another approach?
For example, how Techmeme.com is built? (it's an aggregator of technology news and it's completely automated - only recently they added some human intervention).
What would it take to build such a service?
Or how do Kayak.com aggregate their data? (It's a travel aggregator service.)
This all depends on the aggregator you are looking for.
Types:
Losely defined - Generially this requires for you datasource to be very flexible about determining the type of information gathers (answers the question of is this site/information Travel Related? Humour? Business related? )
Specific - This relaxes a requirement in the data storage that all of the data is specificially travel related requires for flights, hotel prices, etc.
Typcially an aggregator is a system of sub programs:
Grabber, this searches and grabs all of the content that is needed to be summarized
Summerization- this is typically done through queries to the db and can be adjusted based on user preferences [through programming logic]
View - this formats the information for what the user would like to see and can respond to feedback on the user's likes or dislikes of the item suggested.
For a basic look - check out this: http://en.wikipedia.org/wiki/Aggregator
It will give you an overview of aggregators in general.
In terms of how to build your own aggregator if you're looking for something out of the box that can get you content that YOU want - I'd suggest this: http://dailyme.com/
If you're looking for a codebase / architecture to BUILD your own aggregator-service - I'd suggest looking at something straight forward - like: Open Reddit from http://www.reddit.com/
You need to define what your application is going to do. Building your own web crawler is a huge task as you tend to keep adding new features as you find you need them... only to complicate your design, etc...
Building an aggregator is much different. Whereas a crawler simply retrieves data to be processed later, an aggregator takes already defined sets of data and puts them together. If you use an aggregator, you will probably want to look for already defined travel feeds, financial feeds, travel data, etc... An aggregator is easier to build IMO, but it's more constrained.
If you, instead, want to build a crawler you'll need to define starting pages, define ending conditions (crawl depth, time, etc...) and so on and then still process the data afterwards (that is aggregate, summarize and so on).

What powers Google Charts? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Does any body know what powers Google Charts? I have been using it for a while but not sure what Google used to build it.
They bought the Gapminder library for doing charts. It's a Java library as far as I know, but they don't seem very anxious to release the code as open-source.
Everything at google is done in C++, Java, or Python. I'm guessing the internals is probably done in one of the latter two.
Mathplotlib was my guess too - ( thanks "davidg" ).
SVG - got my own doubts because you don't have to go the length of server side SVG just to produce a static image. No panning or scaling required so not sure if they used SVG
I feel the touch of SVG there..
Maybe Internal engine to generate and work with SVG and export images as PNG images.
Any other thoughts?
Just guessing here: they must be using Python with some charting library and then returning the produced files. There are a few tools to do charts in Python. Matplotlib and ReportLab come to mind.
What is sure is that you can do it with a Java servlet.
Eastwood is an open source implementation of the Google Chart API.
(powered by JFreeChart)
Probably just libraries they have written themselves, it's pretty easy to throw together a chart drawing library, but hard to do it right. So someone hacked together a custom java/C++/python library using already available stuff to be able to update the graphics of his charts easily, and then it extended.
That's the great thing about it, that you can make your own version without much effort, just change the URL and design your own flash animation of the chart. And that the data available in the graphs is easily webscraped..
Just theory, but something like this is perfect small project to do in 20% of your time.