# Newb: get all namespaces (python client)

**URL:** https://discuss.aerospike.com/t/newb-get-all-namespaces-python-client/2628
**Category:** General Discussion
**Created:** [March 11, 2016, 9:56am UTC](https://discuss.aerospike.com/t/newb-get-all-namespaces-python-client/2628 "2016-03-11T09:56:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![joaquinft](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@joaquinft](https://discuss.aerospike.com/u/joaquinft)
#### Post date: [March 11, 2016, 9:56am UTC](https://discuss.aerospike.com/t/newb-get-all-namespaces-python-client/2628/1 "2016-03-11T09:56:34Z")

</div>

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

---

<div class="post-metadata">

### Author: ![dfc](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@dfc](https://discuss.aerospike.com/u/dfc)
#### Post date: [September 29, 2016, 11:28pm UTC](https://discuss.aerospike.com/t/newb-get-all-namespaces-python-client/2628/2 "2016-09-29T23:28:06Z")

</div>

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.
