Search found 2937 matches
by support
Sat Jan 18, 2020 11:50 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

Is possible call Awasu at the same time multiple or not? You can, but this is what I was talking about before. If things are slow when processing a single request, issuing ten simultaneous requests is not going to make things faster. There are certain situations where the overall experience might b...
by support
Wed Jan 15, 2020 4:56 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

awasu.user wrote:
Tue Jan 14, 2020 10:38 pm
I want consident, the same pattern for date.

Code: Select all

"published": "{%ITEM-METADATA% timestamp format="..." noCaption}"
where "..." is a standard strftime-format string e.g. "%Y-%m-%d %H:%M:%S"
by support
Wed Jan 15, 2020 4:55 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

Maybe something like threads on multicore machine? Check the thread count in Task Manager. Awasu is highly multi-threaded and you won't find an RSS reader that updates channels faster. But if it's working really hard on this stuff, there's less resources available for API requests. You can throttle...
by support
Tue Jan 14, 2020 5:05 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

NOTE: These response times are too slow, I'll take a look at it. On a freshly-restarted copy of Awasu with 646 channels, using Python to get the following URL (i.e. get all channels): http://localhost:2604/channels/list?f=json&v=1 took 2.74s, of which 0.641s was spent inside Awasu. Well under a sec...
by support
Tue Jan 14, 2020 1:31 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

One of bottleneck is calling at start $/channel/list. I'm looking for smart way to avoid it and speed up running and showing data. I had a quick look through the code and it looks like you're loading the folder structure from the user's config file (in get_nodes() ), then loading channels by folder...
by support
Mon Jan 13, 2020 2:46 pm
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

I plan some test to get how many API call can Awasu get before crash to set safe limits. Awasu should, of course, never crash :roll:, so if you're having problems, send the crash logs through and I'll see what I can do. Any crashes will be because of what's happening at the time, not because of the...
by support
Mon Jan 13, 2020 2:42 pm
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

To add a bit more (because I didn't want to bog down the already-long post above), you absolutely do want to make the front-end Javascript async i.e. use Ajax. The old-style way of building a webapp is, when the user clicks on a link, the browser sends a request to the backend, which generates an HT...
by support
Mon Jan 13, 2020 2:32 pm
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

I check out old Awasu API (Python 2) based library and I think about create this async based. Awasu limiting performance when using is API. Pending can block get data from Awasu. It is not desing to use API and update channels simultinously. I have to walk around. Async IO isn't some magic pixie du...
by support
Mon Jan 06, 2020 3:31 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

I only think that better is at this stage code all project from scratch or better update existing structure. What do you think? There is an idea in software development that you "build one to throw away", that is, you build a quick prototype to understand the problem, explore some ideas, then you t...
by support
Sun Jan 05, 2020 7:56 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

No worries. Not criticizing, just making suggestions. This is pretty impressive for a first program, but if you want other people to work on it, you can't have too many of these special things that need to be set up for it to work. I had to do a bunch of debugging to figure out what needed to be don...
by support
Sat Jan 04, 2020 1:48 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

You have to use convention "M > [name of search agent]" to make it's works. I had tried that, but it still crashed. Is there some reason for this convention i.e. why wouldn't someone want all their search agents available? Maybe you could have something like this: SEARCH_AGENT_PREFIX = "M >" to mea...
by support
Fri Jan 03, 2020 12:41 pm
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

With the ALL_CSV report created, the webapp now starts up, and it looks pretty good :-) Some more comments: (*) If the CSV_TEST_DATA file doesn't exist, the program gets into an infinite loop. (*) Clicking on the [SA} click causes the server to crash. In show_page(), articles_data is [], which means...
by support
Wed Jan 01, 2020 9:27 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

Here's a bit of code that will make things easier. It's a function that simplifies calling the Awasu API: import requests import json AWASU_API = "http://localhost:2604" # nb: get this from config.py TOKEN = "abc123" def call_awasu( api_name, **kwargs ): """Call the Awasu API.""" # prepare the argum...
by support
Wed Jan 01, 2020 8:55 am
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

I've started to take a look at this. Here's some feedback on what I've done so far: (*) The command to install requirements is: pip install -r requirements.txt (*) json is a built-in module, and doesn't need to be in requirements.txt . (*) I am in the camp that believes that third-party modules shou...
by support
Mon Dec 30, 2019 12:27 pm
Forum: Awasu - Extensions
Topic: Any Python programmer want collaboration on Awasu?
Replies: 30
Views: 475

Re: Any Python programmer want collaboration on Awasu?

This is all very cool. One of the key features of Awasu's design is its extensibility, to make it easy to build things like this on top of it, so it's great that you've done this. I'm going to be very busy over the next few months on another project, but I'm to happy review what you've done and make...

Go to advanced search