Skip to main content

Brain

Project description

Py Brain.

Features

  1. Process Streams

    Process 1   S1(t) ---> Pp1.1(t) ---> Pp1.2(t) ---> Pp1.3(t) ---> Pp1.4(t)  
    
    Process 2   S2(t) ---------------> Pp2.1(t) ----> Pp2.1(t)
                               \
                                \
                                 \
                                 _\|
    Process 3                      T1 (t) -----> Tp1.1 (t) ----> Tp1.1 (t)
    
  2. Gather Any data from stream by index (t)

    from pulathisi import Brain
    def stream_process_1(context:Brain.Context):
       (<index>,<data>)=context.get_current_value('source_name') # Get latest stored value 
    
  3. Support for async process

  4. Support for multiprocessing

  5. In build Message queue

  6. In build Brain Features

    1. sum sources
           @reactor.sum(name="sum_report", sources=['daily_summary', 'weekly_summary'])
           async def take_order_action(context: Reactor.Context, index, data):
               print(context.brain.reactor_time, index, data)
    
    output
        300000 300000 {'daily_summary': (300000, 'd300000'), 'weekly_summary': (299898, 'w299898')}
    
        400000 400000 {'daily_summary': (400000, 'd400000'), 'weekly_summary': (399946, 'w399946')}
    
        500000 500000 {'daily_summary': (500000, 'd500000'), 'weekly_summary': (499765, 'w499765')}
    
        600000 600000 {'daily_summary': (600000, 'd600000'), 'weekly_summary': (599795, 'w599795')}
    
        700000 700000 {'daily_summary': (700000, 'd700000'), 'weekly_summary': (699966, 'w699966')}
    
  7. support for python development process

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulathisi-0.1.3.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

pulathisi-0.1.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file pulathisi-0.1.3.tar.gz.

File metadata

  • Download URL: pulathisi-0.1.3.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for pulathisi-0.1.3.tar.gz
Algorithm Hash digest
SHA256 555d1e3d1c5113eaad2a2a7b7cd8a65581d16b398c99cd08ebe81c81054f96bf
MD5 8adfc4358973a9d1281d2e388fde3945
BLAKE2b-256 af18f006b52aab01269d408fd815421a864d68894d1815cf79e3a7b51598f30a

See more details on using hashes here.

File details

Details for the file pulathisi-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pulathisi-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for pulathisi-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 90e6ffc400a9bd577654c283b981bfebe14167de2ddc9bb5ccfc8ea149aeeea1
MD5 3a528b63bddf0d7df559ddf073c5f5ab
BLAKE2b-256 eaa5fd770512496876c42ae10b6a43a38830660f51c9b6a5d067f0e656f57518

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page