morel-theme 0.1.3 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_auth.cpython-38.pyc +0 -0
  3. data/assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_books.cpython-38.pyc +0 -0
  4. data/assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_cities.cpython-38.pyc +0 -0
  5. data/assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_pub.cpython-38.pyc +0 -0
  6. data/assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_repo.cpython-38.pyc +0 -0
  7. data/assets/---copy-content-to-main-folder---/_cities/caracas.md +3 -0
  8. data/assets/---copy-content-to-main-folder---/_cities/madrid.md +3 -0
  9. data/assets/---copy-content-to-main-folder---/_publishers/compania-iberoamericana-de-publicaciones.md +3 -0
  10. data/assets/---copy-content-to-main-folder---/_publishers/fundacion-biblioteca-ayacucho.md +3 -0
  11. data/assets/---copy-content-to-main-folder---/_repositories/archivo-rialta.md +3 -0
  12. data/assets/---copy-content-to-main-folder---/_repositories/consejo-latinoamericano-de-ciencias-sociales.md +3 -0
  13. data/assets/---copy-content-to-main-folder---/csv-to-md-all.py +5 -0
  14. data/assets/---copy-content-to-main-folder---/csv_to_md_auth.py +20 -0
  15. data/assets/---copy-content-to-main-folder---/{_books/csv-to-md.py → csv_to_md_books.py} +2 -2
  16. data/assets/---copy-content-to-main-folder---/csv_to_md_cities.py +20 -0
  17. data/assets/---copy-content-to-main-folder---/csv_to_md_pub.py +20 -0
  18. data/assets/---copy-content-to-main-folder---/csv_to_md_repo.py +20 -0
  19. metadata +18 -6
  20. data/assets/---copy-content-to-main-folder---/_authors/csv-to-md.py +0 -21
  21. data/assets/---copy-content-to-main-folder---/_cities/csv-to-md.py +0 -18
  22. data/assets/---copy-content-to-main-folder---/_publishers/csv-to-md.py +0 -18
  23. data/assets/---copy-content-to-main-folder---/_repositories/csv-to-md.py +0 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a21607c7ed3f28503ef452005232910d524af42c140159beab2960532de62cde
4
- data.tar.gz: 11565bde74e1dcc86de6a5577a47472c6ee429f5d5000fc1717ed18da7bcea62
3
+ metadata.gz: 164aafa65cadcd40a4990caa751f6cb01f51091bb9f167beec3c3d3e9ed66938
4
+ data.tar.gz: a8ad7f57a0bf7174a167e1d2a1e56b97543d4c2ff434b680a1c0c27a617881c7
5
5
  SHA512:
6
- metadata.gz: 9b0d40ba7b1c03fbde8f6919bfeb6b1c960de6218173a1282eda53f50b0a0a191b9012255cf2ac82b58a87ed25071f04f8c15193b42d39db3122b6348c1574e4
7
- data.tar.gz: fe8de7c5b6beb6effb63efd1595834ba3ffef763b0450f42ff00cd1bd53045439a38aca0344170dfb130139c394ee26e5eee63455e2f6a74e78f124ccb05e94d
6
+ metadata.gz: f12389848d0f5e4e6636d9c57e86cf1d9436c20bb5f54d5cb643bc40d878946a649abb16fccb212d090a3e6066d511d644d4e6c2334738039afd1ae513b70126
7
+ data.tar.gz: 893218871e310ec1e42a9e654fb4e870d3e243666860bffc9d0b545d19b8f28f52a28fe04616dc67f1c5aa834a45fd7b49acfc73f481a3071b64f439770092bc
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Caracas
3
+ ---
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Madrid
3
+ ---
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Compañía Iberoamericana de Publicaciones
3
+ ---
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Fundación Biblioteca Ayacucho
3
+ ---
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Archivo Rialta
3
+ ---
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Consejo Latinoamericano de Ciencias Sociales
3
+ ---
@@ -0,0 +1,5 @@
1
+ import csv_to_md_pub
2
+ import csv_to_md_auth
3
+ import csv_to_md_books
4
+ import csv_to_md_cities
5
+ import csv_to_md_repo
@@ -0,0 +1,20 @@
1
+ import pandas as pd
2
+
3
+ from slugify import slugify
4
+
5
+ # Create a dataFrame from csv file
6
+ data = pd.read_csv("_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
7
+
8
+ # Set the titles column to a list
9
+ books = data.values.tolist()
10
+
11
+ # Loop through each name, create .md file, set contents to string
12
+ for book in books:
13
+ title = str(book[14])
14
+ url = slugify(title)
15
+ file_name = f'_authors/{url}.md'
16
+
17
+ with open(file_name, 'w', encoding="utf-8") as f:
18
+ f.write(f'---\ntitle: {title}\n---')
19
+ f.close()
20
+ print(f'{file_name} saved')
@@ -3,7 +3,7 @@ import pandas as pd
3
3
  from slugify import slugify
4
4
 
5
5
  # Create a dataFrame from csv file
6
- data = pd.read_csv("../_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
6
+ data = pd.read_csv("_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
7
7
 
8
8
  # Set the titles column to a list
9
9
  books = data.values.tolist()
@@ -30,7 +30,7 @@ for book in books:
30
30
  url = slugify(url_raw) # slugify is an imported app
31
31
 
32
32
 
33
- file_name = f'{url}.md'
33
+ file_name = f'_books/{url}.md'
34
34
  xcrpt = str(book[9])
35
35
 
36
36
 
@@ -0,0 +1,20 @@
1
+ import pandas as pd
2
+
3
+ from slugify import slugify
4
+
5
+ # Create a dataFrame from csv file
6
+ data = pd.read_csv("_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
7
+
8
+ # Set the titles column to a list
9
+ books = data.values.tolist()
10
+
11
+ # Loop through each name, create .md file, set contents to string
12
+ for book in books:
13
+ title = str(book[2])
14
+ url = slugify(title)
15
+ file_name = f'_cities/{url}.md'
16
+
17
+ with open(file_name, 'w', encoding="utf-8") as f:
18
+ f.write(f'---\ntitle: {title}\n---')
19
+ f.close()
20
+ print(f'{file_name} saved')
@@ -0,0 +1,20 @@
1
+ import pandas as pd
2
+
3
+ from slugify import slugify
4
+
5
+ # Create a dataFrame from csv file
6
+ data = pd.read_csv("_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
7
+
8
+ # Set the titles column to a list
9
+ books = data.values.tolist()
10
+
11
+ # Loop through each name, create .md file, set contents to string
12
+ for book in books:
13
+ title = str(book[1])
14
+ url = slugify(title)
15
+ file_name = f'_publishers/{url}.md'
16
+
17
+ with open(file_name, 'w', encoding="utf-8") as f:
18
+ f.write(f'---\ntitle: {title}\n---')
19
+ f.close()
20
+ print(f'{file_name} saved')
@@ -0,0 +1,20 @@
1
+ import pandas as pd
2
+
3
+ from slugify import slugify
4
+
5
+ # Create a dataFrame from csv file
6
+ data = pd.read_csv("_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
7
+
8
+ # Set the titles column to a list
9
+ books = data.values.tolist()
10
+
11
+ # Loop through each name, create .md file, set contents to string
12
+ for book in books:
13
+ title = str(book[11])
14
+ url = slugify(title)
15
+ file_name = f'_repositories/{url}.md'
16
+
17
+ with open(file_name, 'w', encoding="utf-8") as f:
18
+ f.write(f'---\ntitle: {title}\n---')
19
+ f.close()
20
+ print(f'{file_name} saved')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morel-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - febr3s
@@ -77,26 +77,38 @@ files:
77
77
  - _layouts/post.html
78
78
  - _layouts/publisher.html
79
79
  - _layouts/repository.html
80
- - assets/---copy-content-to-main-folder---/_authors/csv-to-md.py
80
+ - assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_auth.cpython-38.pyc
81
+ - assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_books.cpython-38.pyc
82
+ - assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_cities.cpython-38.pyc
83
+ - assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_pub.cpython-38.pyc
84
+ - assets/---copy-content-to-main-folder---/__pycache__/csv_to_md_repo.cpython-38.pyc
81
85
  - assets/---copy-content-to-main-folder---/_authors/horacio-quiroga.md
82
86
  - assets/---copy-content-to-main-folder---/_authors/vicente-huidobro.md
83
87
  - assets/---copy-content-to-main-folder---/_books/altazor-vicente-huidobro-1931.md
84
- - assets/---copy-content-to-main-folder---/_books/csv-to-md.py
85
88
  - assets/---copy-content-to-main-folder---/_books/cuentos-horacio-quiroga-2004.md
86
89
  - assets/---copy-content-to-main-folder---/_chriterias/author.md
87
90
  - assets/---copy-content-to-main-folder---/_chriterias/city.md
88
91
  - assets/---copy-content-to-main-folder---/_chriterias/edition.md
89
92
  - assets/---copy-content-to-main-folder---/_chriterias/publisher.md
90
93
  - assets/---copy-content-to-main-folder---/_chriterias/repository.md
91
- - assets/---copy-content-to-main-folder---/_cities/csv-to-md.py
94
+ - assets/---copy-content-to-main-folder---/_cities/caracas.md
95
+ - assets/---copy-content-to-main-folder---/_cities/madrid.md
92
96
  - assets/---copy-content-to-main-folder---/_data/.~lock.books.csv#
93
97
  - assets/---copy-content-to-main-folder---/_data/books.csv
94
98
  - assets/---copy-content-to-main-folder---/_data/chriterias.csv
95
- - assets/---copy-content-to-main-folder---/_publishers/csv-to-md.py
96
- - assets/---copy-content-to-main-folder---/_repositories/csv-to-md.py
99
+ - assets/---copy-content-to-main-folder---/_publishers/compania-iberoamericana-de-publicaciones.md
100
+ - assets/---copy-content-to-main-folder---/_publishers/fundacion-biblioteca-ayacucho.md
101
+ - assets/---copy-content-to-main-folder---/_repositories/archivo-rialta.md
102
+ - assets/---copy-content-to-main-folder---/_repositories/consejo-latinoamericano-de-ciencias-sociales.md
97
103
  - assets/---copy-content-to-main-folder---/about.md
98
104
  - assets/---copy-content-to-main-folder---/agregar.md
99
105
  - assets/---copy-content-to-main-folder---/blog.md
106
+ - assets/---copy-content-to-main-folder---/csv-to-md-all.py
107
+ - assets/---copy-content-to-main-folder---/csv_to_md_auth.py
108
+ - assets/---copy-content-to-main-folder---/csv_to_md_books.py
109
+ - assets/---copy-content-to-main-folder---/csv_to_md_cities.py
110
+ - assets/---copy-content-to-main-folder---/csv_to_md_pub.py
111
+ - assets/---copy-content-to-main-folder---/csv_to_md_repo.py
100
112
  - assets/---copy-content-to-main-folder---/obras.md
101
113
  - assets/---copy-content-to-main-folder---/search.html
102
114
  - assets/---copy-content-to-main-folder---/sitemap.xml
@@ -1,21 +0,0 @@
1
- import pandas as pd
2
-
3
- from slugify import slugify
4
-
5
- # Create a dataFrame from csv file
6
- data = pd.read_csv("../_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
7
-
8
- # Set the titles column to a list
9
- titles = data.values.tolist()
10
-
11
- # Loop through each name, create .md file, set contents to string
12
- for title in titles:
13
- fname = str(title[14])
14
- url = slugify(fname)
15
- file_name = f'{url}.md'
16
- ttl = str(title[14])
17
-
18
- with open(file_name, 'w', encoding="utf-8") as f:
19
- f.write(f'---\ntitle: {ttl}\n---')
20
- f.close()
21
- print(f'{file_name} saved')
@@ -1,18 +0,0 @@
1
- import pandas as pd
2
-
3
- # Create a dataFrame from csv file
4
- data = pd.read_csv("../_data/chriterias.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
5
-
6
- # Set the titles column to a list
7
- titles = data.values.tolist()
8
-
9
- # Loop through each name, create .md file, set contents to string
10
- for title in titles:
11
- fname = str(title[3])
12
- file_name = f'{fname}.md'
13
- ttl = str(title[0])
14
-
15
- with open(file_name, 'w', encoding="utf-8") as f:
16
- f.write(f'---\ntitle: {ttl}\n---')
17
- f.close()
18
- print(f'{file_name} saved')
@@ -1,18 +0,0 @@
1
- import pandas as pd
2
-
3
- # Create a dataFrame from csv file
4
- data = pd.read_csv("../_data/chriterias.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
5
-
6
- # Set the titles column to a list
7
- titles = data.values.tolist()
8
-
9
- # Loop through each name, create .md file, set contents to string
10
- for title in titles:
11
- fname = str(title[3])
12
- file_name = f'{fname}.md'
13
- ttl = str(title[0])
14
-
15
- with open(file_name, 'w', encoding="utf-8") as f:
16
- f.write(f'---\ntitle: {ttl}\n---')
17
- f.close()
18
- print(f'{file_name} saved')
@@ -1,18 +0,0 @@
1
- import pandas as pd
2
-
3
- # Create a dataFrame from csv file
4
- data = pd.read_csv("../_data/chriterias.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
5
-
6
- # Set the titles column to a list
7
- titles = data.values.tolist()
8
-
9
- # Loop through each name, create .md file, set contents to string
10
- for title in titles:
11
- fname = str(title[3])
12
- file_name = f'{fname}.md'
13
- ttl = str(title[0])
14
-
15
- with open(file_name, 'w', encoding="utf-8") as f:
16
- f.write(f'---\ntitle: {ttl}\n---')
17
- f.close()
18
- print(f'{file_name} saved')