Skip to content

dse-jarvis/4genius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

pip install ibmaemagic

How to use ?

from ibmaemagic import AnalyticsEngineClient

#create client
ae = AnalyticsEngineClient(host="dummy-host")

#create volume and upload file
ae.create_volume("VOLUME-NAME", create_arguments=create_arguments)
ae.start_volume("VOLUME-NAME")
ae.add_file_to_volume(...)

#create Analytics Engine Instance
ae.create_instance("AE_INSTANCE_NAME", create_arguments=create_arguments_instance)
ae.submit_word_count_job("AE_INSTANCE_NAME")

#download job logs
ae.download_logs("AE_INSTANCE_NAME", "VOLUME-NAME", "JOB-ID")

#delete Volume and Analytics instance
ae.delete_volume("VOLUME-NAME")
ae.delete_instance("AE_INSTANCE_NAME")

4genius

  • Ravi
  • Dheeraj
  • Sepi
  • Kai

Run Test

Releases

No releases published

Packages

No packages published

Languages