Skip to content

Prettify output #466

Closed as not planned
Closed as not planned
@Zethson

Description

@Zethson

lamin info

gives

Current user: zethson
- handle: zethson
- email: [email protected]
- id: I5DPZdiE
Current instance: zethson/lukas-bionty-test
- owner: zethson
- name: lukas-bionty-test
- storage root: s3://lukas-bionty-test/
- storage region: eu-central-1
- db: sqlite:////home/zeth/.cache/lamindb/lukas-bionty-test/lukas-bionty-test.lndb
- schema: {'bionty'}

without any colors. Think we can do better.

>>> import lamindb as ln
>>> ln.view()
****************
* module: core *
****************
Storage
                            root type        region          created_at updated_at
id                                                                                
Zg0KqiDx  s3://lukas-bionty-test   s3  eu-central-1 2023-03-30 14:36:29       None
User
                            email   handle  name          created_at updated_at
id                                                                             
I5DPZdiE  [email protected]  zethson  None 2023-03-30 14:36:28       None
******************
* module: bionty *
******************

isn't really pretty. We could prettify this with a Rich table

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions