Newb: get all namespaces (python client)

Hi,

I am new to Aerospike and I would like to know how to manage the namespaces and sets.

  • read all namespaces, all sets in a namespace
  • create a new namespace, create new set

The namespace management is not well documented in the first examples on the website.

Thanks, J

config = { ‘hosts’: [ (‘127.0.0.1’, 3000) ], ‘timeout’: 1500 } client = aerospike.client(config).connect() spaces = client.info(‘namespaces’) print(spaces)

Note : If you don’t find some examples/doc/explanation for Python in the documentation, try to look in the Java doc.