Skip to content

Releases: TheItsProjects/ItsPrompt

v1.5

24 Apr 13:17
df965c6
Compare
Choose a tag to compare

ItsPrompt v1.5

With this update ItsPrompt finally introduces a Documentation, now available here!

We also updated the process of generating visualisation media for ItsPrompt. With vhs, updating the images is now as simple as running a single command!

Since the last release we also introduced lists in TablePrompt, disabled options and separators. To read more about them, visit our documentation!

Documentation

A documentation for ItsPrompt is finally available here!

TablePrompt Lists

You can now input data for TablePrompt as a TablePromptList:

data = [
    ["field 1", "field 2"],
    ["field 3", "field 4"]
]

Disabled Options

All Prompt Types which take a list of options now offer a new disabled argument, which takes a list of IDs to be disabled. Those cannot be selected and are grayed out.

To read more, visit Disabled Options.

Separators

Separators can be used to separate different options in different groups.

To read more, visit Separators.


If you've got any ideas on what could be changed, added, or improved, visit our Discussions, Discord or open an Issue!

What's Changed

Full Changelog: v1.4...v1.5

v1.4

27 May 07:08
c9284ee
Compare
Choose a tag to compare

ItsPrompt v1.4

Today we are pleased to announce that finally, TablePrompt can be used without installing pandas!

To use TablePrompt with a dictionary, simply create one in the style of:

data = {
    "column name": ["field 1", "field 2"],
    ...
}

Now use this dict as the data attribute of TablePrompt. It's that easy!

You can still use pandas.DataFrame, either by installing pandas separately or by installing ItsPrompt with:

pip install itspromt[df]

We are currently working a way to use TablePrompt with lists as well, stay tuned!

If you've got any ideas on what could be changed, added, or improved, visit our Discussions, Discord or open an Issue!

What's Changed

Full Changelog: v1.3...v1.4

v1.3

14 May 14:05
9b7c816
Compare
Choose a tag to compare

ItsPrompt v1.3

This new release of ItsPrompt brings some small updates, the biggest of which are the added testing and linting!

There were some smaller changes made to the README as well as some other documentation.

If you've got any ideas on what could be changed, added, or improved, visit our Discussions, Discord or open an Issue!

What's Changed

New Contributors

Full Changelog: v1.2...v1.3

v1.2

07 May 11:28
51465fe
Compare
Choose a tag to compare

ItsPrompt v1.2

This release adds an all-new prompt type: the TablePrompt!

To use it, simply create a pandas.DataFrame and add it as the data of the prompt:

data = DataFrame({
    'Food': ['Pizza', 'Burger', 'Salad'],
    'Qty': [1, 0, 0],
})

ans = Prompt.table(
    'Please fill in your quantity',
    data,
)

print(ans)

If you've got any ideas on what could be changed, added, or improved, visit our Discussions, Discord or open an Issue!

What's Changed

Full Changelog: v1.1...v1.2

v1.1

08 Mar 18:59
6b6cc66
Compare
Choose a tag to compare

ItsPrompt v1.1

This is our first update to ItsPrompt.

This version includes Autocompletion for input prompt and some small changes. Read more about Autocompletion in the README!

We also enabled Discussions, feel free to ask questions or share your thoughts!

What's Changed

New Contributors

Full Changelog: v1.0...v1.1

First Release!

06 Mar 21:12
Compare
Choose a tag to compare

Hello Everyone!

This is the first release of ItsPrompt, so there is not too much to say. Everything you need to know is available in the README.

Have fun!

Full Changelog: https://github.com/TheItsProjects/ItsPrompt/commits/v1.0