Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pydicts-0.15.0 #78

Merged
merged 1 commit into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions jupyter/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ kernelspec:
---
# CHANGELOG

## 0.15.0 (2023-3-24)
- Added dod_print, lol_order_by, lod_add_row methods.
- Added automatic documentation to the whole project.

## 0.14.0 (2023-03-21)
- Add method lod_remove_duplicates
- Python>=3.9 is now required
Expand Down
31 changes: 31 additions & 0 deletions jupyter/lod.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ lod.lod2dod(lod_,"b")

## lod2dod_tuple

```{code-cell}
:tags: [remove-input]

from pydicts import lod
help(lod.lod2dod_tuple)
```




## lod2list

Converts a list of dictionaries (lod) to list using all values of key
Expand Down Expand Up @@ -93,6 +103,13 @@ lod.lod2lol(lod_,["b","a"])

## lod2lood

```{code-cell}
:tags: [remove-input]

from pydicts import lod
help(lod.lod2lood)
```

## lod_average

Calculates average from all values is the list of dictionaries with the key passed as parameter.
Expand Down Expand Up @@ -281,5 +298,19 @@ lod_sum(lod,"a")

## lod_sum_negatives

```{code-cell}
:tags: [remove-input]

from pydicts import lod
help(lod.lod_sum_negatives)
```

## lod_sum_positives

```{code-cell}
:tags: [remove-input]

from pydicts import lod
help(lod.lod_sum_positives)
```

4 changes: 2 additions & 2 deletions pydicts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from datetime import datetime
__version__="0.14.0"
__versiondatetime__= datetime(2024, 3, 21, 7, 0)
__version__="0.15.0"
__versiondatetime__= datetime(2024, 3, 24, 9, 25)
__versiondate__=__versiondatetime__.date()
6 changes: 4 additions & 2 deletions pydicts/locale/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: TooManyFiles\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-13 19:04+0100\n"
"POT-Creation-Date: 2024-03-24 09:37+0100\n"
"PO-Revision-Date: 2020-04-03 08:54+0200\n"
"Last-Translator: trabajo <[email protected]>\n"
"Language-Team: Spanish <[email protected]>\n"
Expand Down Expand Up @@ -40,6 +40,9 @@ msgstr ""
msgid "I can't add a column with different size of lol"
msgstr "No puedo añadir una columna con un tamaño diferente al lol"

msgid "I can't add a row with different size of the first row of the lol"
msgstr ""

msgid "I can't remove positions from a None list"
msgstr "No puedo borrar posiciones de una lista que es None"

Expand All @@ -57,4 +60,3 @@ msgstr "Sin datos que mostrar"

msgid "This table continues in the next page"
msgstr "Esta tabla continúa en la siguiente página"

5 changes: 4 additions & 1 deletion pydicts/locale/pydicts.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-21 07:05+0100\n"
"POT-Creation-Date: 2024-03-24 09:37+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -38,6 +38,9 @@ msgstr ""
msgid "I can't add a column with different size of lol"
msgstr ""

msgid "I can't add a row with different size of the first row of the lol"
msgstr ""

msgid "I can't remove positions from a None list"
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pydicts"
version = "0.14.0"
version = "0.15.0"
description = "Module to use dictionaries in various situations"
authors = ["turulomio <[email protected]>"]
license = "GPL-3.0"
Expand Down
Loading