author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
234,887
13.11.2020 13:46:13
0
994200955ed22635f32fd8cb9cf6345cf0b4b763
CKAN plugin: add to_ckan methods
[ { "change_type": "MODIFY", "old_path": "frictionless/package.py", "new_path": "frictionless/package.py", "diff": "@@ -407,6 +407,17 @@ class Package(Metadata):\nstorage.write_package(self.to_copy(), force=force)\nreturn storage\n+ def to_ckan(self, *, base_url, dataset_id=None, api_key=None, force=F...
Python
MIT License
frictionlessdata/frictionless-py
CKAN plugin: add to_ckan methods
234,887
13.11.2020 13:46:16
0
988292c3be271585df315b7858735d66e9a005dc
core: make Decimals JSON-serializable when we call to_dict/to_list with json=True
[ { "change_type": "MODIFY", "old_path": "frictionless/row.py", "new_path": "frictionless/row.py", "diff": "from itertools import zip_longest\nfrom collections import OrderedDict\n+from decimal import Decimal\nfrom .helpers import cached_property\nfrom .parsers import JsonParser\nfrom . import errors\...
Python
MIT License
frictionlessdata/frictionless-py
core: make Decimals JSON-serializable when we call to_dict/to_list with json=True
234,887
13.11.2020 13:46:21
0
f9396c98e39f4598bf12a7700b90277114fd70af
CKAN plugin: implement write_package and write_resource
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/ckan.py", "new_path": "frictionless/plugins/ckan.py", "diff": "@@ -184,11 +184,71 @@ class CkanStorage(Storage):\n# Write\n- def write_resource(self, resource, *, force=False, **options):\n- pass\n+ def _write_table(self, table, force=Fals...
Python
MIT License
frictionlessdata/frictionless-py
CKAN plugin: implement write_package and write_resource
234,887
13.11.2020 13:46:24
0
8b799ec9ec699f3e649aef972179bf2a7e97ca1e
CKAN plugin: add tests for write methods add tests for write methods restructure existing test code
[ { "change_type": "DELETE", "old_path": "data/ckan_mock_responses/datastore_delete.json", "new_path": null, "diff": "-{\n- \"help\": \"https://demo.ckan.org/api/3/action/help_show?name=datastore_delete\",\n- \"success\": true,\n- \"result\": {\n- \"resource_id\": \"79843e49-7974-411c-8eb5-fb2d1111d70...
Python
MIT License
frictionlessdata/frictionless-py
CKAN plugin: add tests for write methods - add tests for write methods - restructure existing test code
234,887
13.11.2020 13:46:27
0
c4653e0836f321693c1e8fd7da29cb51f36e5263
CKAN plugin: add docstrings
[ { "change_type": "MODIFY", "old_path": "frictionless/package.py", "new_path": "frictionless/package.py", "diff": "@@ -286,6 +286,13 @@ class Package(Metadata):\n@staticmethod\ndef from_ckan(*, base_url, dataset_id, api_key=None):\n+ \"\"\"Import package from CKAN\n+\n+ Parameters:\n+ base_url (str):...
Python
MIT License
frictionlessdata/frictionless-py
CKAN plugin: add docstrings
234,887
13.11.2020 13:46:30
0
0bdcde39e3c5183613718e3774dc423c9d296463
CKAN plugin: make delete_resource safer delete from self.__tables after the datastore_delete request this way if we throw a HTTPError calling datastore_delete we won't end up in an inconsistent state
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/ckan.py", "new_path": "frictionless/plugins/ckan.py", "diff": "@@ -259,15 +259,15 @@ class CkanStorage(Storage):\nnote = f'Table \"{name}\" does not exist'\nraise exceptions.FrictionlessException(errors.StorageError(note=note))\n- # Remove...
Python
MIT License
frictionlessdata/frictionless-py
CKAN plugin: make delete_resource safer delete from self.__tables after the datastore_delete request this way if we throw a HTTPError calling datastore_delete we won't end up in an inconsistent state
234,912
20.11.2020 13:42:43
-3,600
22408d18695ef9576f3413b6aa1b24fe1ee321c9
Implemented resource.write
[ { "change_type": "MODIFY", "old_path": "frictionless/resource.py", "new_path": "frictionless/resource.py", "diff": "@@ -21,7 +21,6 @@ from . import config\n# TODO: rework path/data/location etc\n# TODO: rework path/data updates syncing\n-# TODO: implement save/write as we have table.write\nclass Res...
Python
MIT License
frictionlessdata/frictionless-py
Implemented resource.write (#537)
234,912
23.11.2020 10:34:08
-3,600
b7288a31d68c89266444d39ec0ecb21714119d16
Fixed text path parsing
[ { "change_type": "MODIFY", "old_path": "frictionless/location.py", "new_path": "frictionless/location.py", "diff": "@@ -37,6 +37,8 @@ class Location:\ndetect = helpers.detect_source_scheme_and_format(new_source)\nscheme = detect[0] or config.DEFAULT_SCHEME\nformat = detect[1] or config.DEFAULT_FORMA...
Python
MIT License
frictionlessdata/frictionless-py
Fixed text path parsing (#543)
234,912
25.11.2020 10:09:27
-3,600
e813a8e1249aa47d0b776c78f543fb1d6b52eaed
Deduplicate resource names on package.infer
[ { "change_type": "MODIFY", "old_path": "frictionless/package.py", "new_path": "frictionless/package.py", "diff": "@@ -119,7 +119,7 @@ class Package(Metadata):\n\"\"\"\nreturn self.get(\"profile\", config.DEFAULT_PACKAGE_PROFILE)\n- @Metadata.property(write=False)\n+ @Metadata.property(cache=False, w...
Python
MIT License
frictionlessdata/frictionless-py
Deduplicate resource names on package.infer (#547)
234,912
25.11.2020 10:19:52
-3,600
33666779310fca483ea5a0b48728443a2d3125dd
Slugify resource names on resource.infer
[ { "change_type": "MODIFY", "old_path": "frictionless/helpers.py", "new_path": "frictionless/helpers.py", "diff": "@@ -9,6 +9,7 @@ import chardet\nimport tempfile\nimport datetime\nimport stringcase\n+from slugify import slugify\nfrom inspect import signature\nfrom importlib import import_module\nfro...
Python
MIT License
frictionlessdata/frictionless-py
Slugify resource names on resource.infer (#548)
234,912
25.11.2020 11:10:23
-3,600
e993bc77b4ad7eacaa8445ec725a966a6e610399
Force utf-8 for saving metadata json/yaml
[ { "change_type": "MODIFY", "old_path": "frictionless/metadata.py", "new_path": "frictionless/metadata.py", "diff": "@@ -112,7 +112,9 @@ class Metadata(helpers.ControlledDict):\nself.to_dict(), indent=2, ensure_ascii=False, cls=encoder_class\n)\ntry:\n- with tempfile.NamedTemporaryFile(\"wt\", delete...
Python
MIT License
frictionlessdata/frictionless-py
Force utf-8 for saving metadata json/yaml (#549)
234,912
03.12.2020 15:34:47
-3,600
495a7d6cff2c2d1ca9f01c7f9ff9f0f46da7e2ba
Fixed Header not being an original one
[ { "change_type": "MODIFY", "old_path": "frictionless/header.py", "new_path": "frictionless/header.py", "diff": "@@ -21,6 +21,7 @@ class Header(list):\nassert len(field_positions) in (len(cells), len(schema.fields))\n# Set attributes\n+ original_cells = cells.copy()\nfields = schema.fields\nself.__sc...
Python
MIT License
frictionlessdata/frictionless-py
Fixed Header not being an original one (#572)
234,912
06.12.2020 10:36:43
-3,600
c58486a07ac4fbc3a4754962663026a8b7de00d8
Drafted support for writing Multipart Data
[ { "change_type": "MODIFY", "old_path": "docs/build/working-with-multipart/README.ipynb", "new_path": "docs/build/working-with-multipart/README.ipynb", "diff": "\"execution_count\": 1,\n\"metadata\": {\n\"execution\": {\n- \"iopub.execute_input\": \"2020-12-04T10:07:28.430573Z\",\n- \"iopub.status.bu...
Python
MIT License
frictionlessdata/frictionless-py
Drafted support for writing Multipart Data (#583)
234,912
07.12.2020 09:52:01
-3,600
f2d4dc20bbc2641862ec015b6fd4a02a5dee0576
Improved error message for bad JSON tabular data
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/json.py", "new_path": "frictionless/plugins/json.py", "diff": "@@ -164,8 +164,8 @@ class JsonParser(Parser):\ntry:\nyield next(parser.data_stream)\nexcept StopIteration:\n- error = errors.SourceError(note=\"cannot extract tabular data from...
Python
MIT License
frictionlessdata/frictionless-py
Improved error message for bad JSON tabular data (#585)
234,912
07.01.2021 17:19:50
-10,800
5bd794179dcbaab080e1e0d0e692b6c875e44d43
Fixed schema as a string validation
[ { "change_type": "MODIFY", "old_path": "frictionless/resource.py", "new_path": "frictionless/resource.py", "diff": "@@ -1485,8 +1485,8 @@ class Resource(Metadata):\nmetadata_duplicate = True\nmetadata_Error = errors.ResourceError\nmetadata_profile = deepcopy(config.RESOURCE_PROFILE)\n- metadata_prof...
Python
MIT License
frictionlessdata/frictionless-py
Fixed schema as a string validation (#611)
234,887
18.01.2021 10:17:42
0
77fb6394be7110aa73de02ed573148996bdd0e1a
Corrections to sql docs
[ { "change_type": "MODIFY", "old_path": "docs/working-with-sql.md", "new_path": "docs/working-with-sql.md", "diff": "@@ -15,7 +15,7 @@ You can read SQL database:\n```py\nfrom frictionless import Package\n-package = Package.from_pandas(url='postgresql://mydatabase')\n+package = Package.from_sql(url='p...
Python
MIT License
frictionlessdata/frictionless-py
Corrections to sql docs (#617)
234,900
25.01.2021 04:19:35
10,800
e6b0e8b6527f046aa325a355ec1386110962a813
Explicit the relationship in introduction guide This is a suggestion. The first time I read, it was not clear that neighbor_id was a self reference to id.
[ { "change_type": "MODIFY", "old_path": "docs/guides/introduction-guide.md", "new_path": "docs/guides/introduction-guide.md", "diff": "@@ -18,7 +18,7 @@ $ cat data/countries.csv\n5\n-As we can see, it's a data containing information about European countries and their populations. Also, it's easy to n...
Python
MIT License
frictionlessdata/frictionless-py
Explicit the relationship in introduction guide (#623) This is a suggestion. The first time I read, it was not clear that neighbor_id was a self reference to id.
234,900
25.01.2021 04:21:31
10,800
5bf224fbd5d58fef18f2b19015fc7e293356ca67
Fixed snippet in introduction guide In the version 3.48 the method read_row_stream() does not exist. read_rows works though.
[ { "change_type": "MODIFY", "old_path": "docs/guides/introduction-guide.md", "new_path": "docs/guides/introduction-guide.md", "diff": "@@ -266,7 +266,7 @@ from frictionless import Resource, Table\ndef source():\nresource = Resource(\"tmp/countries.resource.yaml\", basepath='.')\n- for row in resource...
Python
MIT License
frictionlessdata/frictionless-py
Fixed snippet in introduction guide (#622) In the version 3.48 the method read_row_stream() does not exist. read_rows works though.
234,907
26.01.2021 12:44:25
0
39bacccecd6478b162cf2024f7284721e752b10f
Update introduction-guide.md 'To tell you more' didn't quite seem idiomatic to my ears. I've introduced a minor change to smooth it out.
[ { "change_type": "MODIFY", "old_path": "docs/guides/introduction-guide.md", "new_path": "docs/guides/introduction-guide.md", "diff": "title: Introduction Guide\n---\n-Let's say we have a few raw data files. It's been just collected by the data researchers, and the quality of data is not yet perfect....
Python
MIT License
frictionlessdata/frictionless-py
Update introduction-guide.md (#634) 'To tell you more' didn't quite seem idiomatic to my ears. I've introduced a minor change to smooth it out.
234,907
01.02.2021 06:36:47
0
f548e36ee1dfe671c2840513064c0a65d6d7e02d
Fixed API references overview For some reason a bunch of 'c's had dropped out of the instances of the word 'Reference' here. I've added them back in.
[ { "change_type": "MODIFY", "old_path": "docs/references/references-overview.md", "new_path": "docs/references/references-overview.md", "diff": "@@ -8,23 +8,23 @@ In this section you can find detailed references for:\nList of options for schemes and formats:\n-- [Schemes Referene](schemes-reference.m...
Python
MIT License
frictionlessdata/frictionless-py
Fixed API references overview (#640) For some reason a bunch of 'c's had dropped out of the instances of the word 'Reference' here. I've added them back in.
234,912
10.02.2021 09:35:05
-10,800
1635922f2dafebf8d6002949783cc2b0804a2848
Fixed encoding detection
[ { "change_type": "MODIFY", "old_path": "frictionless/detector.py", "new_path": "frictionless/detector.py", "diff": "+import codecs\nimport chardet\nfrom copy import copy, deepcopy\nfrom .exception import FrictionlessException\n@@ -98,7 +99,7 @@ class Detector:\n# Detect\n- def detect_encoding(self, ...
Python
MIT License
frictionlessdata/frictionless-py
Fixed encoding detection (#672)
234,912
10.02.2021 09:42:38
-10,800
f47d9c7c821aa0f85f84333c36e56d50a8f0c697
Fixed resource.read_bytes
[ { "change_type": "MODIFY", "old_path": "frictionless/resource.py", "new_path": "frictionless/resource.py", "diff": "@@ -632,11 +632,10 @@ class Resource(Metadata):\ngen<bytes>?: byte stream\n\"\"\"\nif not self.closed:\n- loader = self.__loader\n- if not loader:\n- loader = system.create_loader(self...
Python
MIT License
frictionlessdata/frictionless-py
Fixed resource.read_bytes (#673)
234,912
10.02.2021 18:41:22
-10,800
7e8268a371fd70846281346f3d09c13ac877b2fe
Fixed steps.diff/join tests
[ { "change_type": "MODIFY", "old_path": "frictionless/steps/table.py", "new_path": "frictionless/steps/table.py", "diff": "@@ -376,9 +376,8 @@ class table_normalize(Step):\ndef transform_resource(self, resource):\nwith resource:\n- for number, row in enumerate(resource.row_stream, start=1):\n- if num...
Python
MIT License
frictionlessdata/frictionless-py
Fixed steps.diff/join tests (#678)
234,917
10.02.2021 23:42:52
21,600
597b5d739d02843b674171905142697189a0cc2a
Improved text of describe doc
[ { "change_type": "MODIFY", "old_path": "docs/guides/describing-data.md", "new_path": "docs/guides/describing-data.md", "diff": "@@ -17,25 +17,25 @@ In other words, \"describing data\" means creating metadata for your data files. T\n$ pip install frictionless\n```\n-For a dataset, there is even more ...
Python
MIT License
frictionlessdata/frictionless-py
Improved text of describe doc (#679)
234,912
11.02.2021 13:04:56
-10,800
b6133c6ff677530ceab686ee7488dfd9aae45477
Update references-overview.md
[ { "change_type": "MODIFY", "old_path": "docs/references/references-overview.md", "new_path": "docs/references/references-overview.md", "diff": "@@ -6,13 +6,13 @@ In this section you can find detailed references for:\n## Plugins\n-List of the core Frictionless Framework plugins and their status:\n+Li...
Python
MIT License
frictionlessdata/frictionless-py
Update references-overview.md
234,928
12.02.2021 22:19:54
0
8b9e6f254fe7983c42e3047064b23870b81a9eb8
Jen's suggested edits Correct typos. Suggestions for rephrasing and addition of python example.
[ { "change_type": "MODIFY", "old_path": "docs/guides/extracting-data.md", "new_path": "docs/guides/extracting-data.md", "diff": "title: Extracting Data\n---\n-Extracting data means reading tabular data from some source. We can use various customizations for this process such as providing a file forma...
Python
MIT License
frictionlessdata/frictionless-py
Jen's suggested edits Correct typos. Suggestions for rephrasing and addition of python example.
234,912
16.02.2021 09:27:02
-10,800
f4756a1a9d86116d7794345b1d30a5849ed2bc58
Removed commmand-line prompt from Copy
[ { "change_type": "MODIFY", "old_path": "docs/build.py", "new_path": "docs/build.py", "diff": "@@ -15,7 +15,7 @@ from frictionless import plugins, errors, checks, steps, types, helpers\ndef main():\n- build_introduction()\n+ # build_introduction()\nbuild_plugins_reference()\nbuild_schemes_reference()...
Python
MIT License
frictionlessdata/frictionless-py
Removed commmand-line prompt from Copy (#691)
234,917
16.02.2021 01:07:59
21,600
573504406a2bdf0e098365cb8f312bcdd539eea2
Improved introduction docs * edits intro guide, getting started, intro, guide overview * adds install troubleshooting info * fix space apparently I added a space, so I'm removing it now...
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -50,4 +50,4 @@ $ frictionless validate data/invalid.csv\n## Documentation\nPlease visit our documentation portal:\n-- https://framework.frictionlessdata.io/docs/guides/getting-started\n+- https://framework.frict...
Python
MIT License
frictionlessdata/frictionless-py
Improved introduction docs (#685) * edits intro guide, getting started, intro, guide overview * adds install troubleshooting info * fix space apparently I added a space, so I'm removing it now... Co-authored-by: roll <eskarev@gmail.com>
234,912
17.02.2021 16:40:09
-10,800
215433fe6dc20b336883332ba89cc9e7d6eaee0d
Added Package Guide
[ { "change_type": "MODIFY", "old_path": "docs/guides/framework/package-guide.md", "new_path": "docs/guides/framework/package-guide.md", "diff": "title: Package Guide\n---\n-> This guide in under development. We are moving some shared Package information from describe, extract, validate, and transform...
Python
MIT License
frictionlessdata/frictionless-py
Added Package Guide (#698)
234,912
17.02.2021 17:32:08
-10,800
a0d0e49b68f333cdc55077b680a226e92b45a2c6
Added Layout Guide
[ { "change_type": "MODIFY", "old_path": "docs/guides/framework/detector-guide.md", "new_path": "docs/guides/framework/detector-guide.md", "diff": "@@ -32,7 +32,7 @@ The detector class instance are accepted by many classes and functions:\n- validate\n- and more\n-In cases, you just need to create a De...
Python
MIT License
frictionlessdata/frictionless-py
Added Layout Guide (#699)
234,912
17.02.2021 17:50:43
-10,800
8b21797beb36c28f1c601b222d15094b12f92e58
Added Field Guide
[ { "change_type": "MODIFY", "old_path": "docs/guides/framework/field-guide.md", "new_path": "docs/guides/framework/field-guide.md", "diff": "title: Field Guide\n---\n-> This guide in under development. We are moving some shared Field information from describe, extract, validate, and transform guides ...
Python
MIT License
frictionlessdata/frictionless-py
Added Field Guide (#700)
234,912
18.02.2021 11:43:37
-10,800
819c301c13a6867ba6f98f7babb7b296f97b3b34
Added Schema Guide
[ { "change_type": "MODIFY", "old_path": "docs/guides/framework/field-guide.md", "new_path": "docs/guides/framework/field-guide.md", "diff": "@@ -33,7 +33,7 @@ For some types there are additional properties available:\nfrom frictionless import describe\nresource = describe('data/table.csv')\n-field = ...
Python
MIT License
frictionlessdata/frictionless-py
Added Schema Guide (#702)
234,912
18.02.2021 12:19:31
-10,800
1674effe39ee0a473cfbc65e858e1c18a4fd96c0
Added Resource Guide
[ { "change_type": "MODIFY", "old_path": "docs/guides/framework/package-guide.md", "new_path": "docs/guides/framework/package-guide.md", "diff": "@@ -9,13 +9,14 @@ The Data Package is a core Frictionless Data concept meaning a set of resources\nLet's create a data package:\n```python title=\"Python\"\...
Python
MIT License
frictionlessdata/frictionless-py
Added Resource Guide (#703)
234,912
18.02.2021 15:24:05
-10,800
cfe9ce135cd2329fbf80165960091fc5f76c0c9a
Added Inquiry/Report guide drafts
[ { "change_type": "MODIFY", "old_path": "docs/guides/framework/inquiry-guide.md", "new_path": "docs/guides/framework/inquiry-guide.md", "diff": "title: Inquiry Guide\n---\n-> This guide in under development. We are moving some shared Inquiry information from describe, extract, validate, and transform...
Python
MIT License
frictionlessdata/frictionless-py
Added Inquiry/Report guide drafts (#704)
234,912
18.02.2021 15:43:06
-10,800
a143e5883561661420642b9535274fe0f5c46d98
Added Pipeline/Status guide drafts
[ { "change_type": "MODIFY", "old_path": "docs/guides/framework/pipeline-guide.md", "new_path": "docs/guides/framework/pipeline-guide.md", "diff": "title: Pipeline Guide\n---\n-> This guide in under development. We are moving some shared Pipeline information from describe, extract, validate, and trans...
Python
MIT License
frictionlessdata/frictionless-py
Added Pipeline/Status guide drafts (#705)
234,928
18.02.2021 21:31:21
0
2b6bb83c8a130eb48568ae3b9d395d88f8f12c8d
Further suggestions for edits
[ { "change_type": "MODIFY", "old_path": "docs/guides/extracting-data.md", "new_path": "docs/guides/extracting-data.md", "diff": "@@ -74,10 +74,10 @@ pprint(rows)\nThe high-level interface for extracting data provided by Frictionless is a set of `extract` functions:\n- `extract`: detects the source ty...
Python
MIT License
frictionlessdata/frictionless-py
Further suggestions for edits
234,904
24.02.2021 04:36:10
10,800
8eeb2e072384422db87df14a016738b36dc472aa
Minor improvements to the extraction guide
[ { "change_type": "MODIFY", "old_path": "docs/guides/extracting-data.md", "new_path": "docs/guides/extracting-data.md", "diff": "@@ -111,7 +111,7 @@ from frictionless import Resource\nresource = Resource('data/capital-3.csv')\nresource.infer()\n-resource.schema.missing_values.append('3')\n+resource.s...
Python
MIT License
frictionlessdata/frictionless-py
Minor improvements to the extraction guide (#707)
234,912
24.02.2021 12:18:07
-10,800
a093290a0a4677d5b7c6a5fc94a4bca8b06d579e
Improved the migration document
[ { "change_type": "MODIFY", "old_path": "docs/development/migration.md", "new_path": "docs/development/migration.md", "diff": "title: Migration\n---\n-> Frictionless Framework requires Python3.6+\n+Frictionless is a logical continuation of many existing packages created for Frictionless Data as thoug...
Python
MIT License
frictionlessdata/frictionless-py
Improved the migration document (#713)
234,912
01.03.2021 12:10:34
-10,800
81dadeb0f7a069d40cd00324163cc9711f2aa394
Fixed describing non-tabular html
[ { "change_type": "ADD", "old_path": null, "new_path": "data/text.html", "diff": "+<!DOCTYPE html>\n+<html>\n+<head>\n+ <meta charset=\"UTF-8\">\n+</head>\n+<body>\n+text\n+</body>\n+</html\n" }, { "change_type": "MODIFY", "old_path": "frictionless/plugins/html.py", "new_path": "frict...
Python
MIT License
frictionlessdata/frictionless-py
Fixed describing non-tabular html (#723)
234,912
01.03.2021 16:02:55
-10,800
07eb38975d512463b00464ed58aab19f1e4fbf99
Fixed schema/inquiry validation from CLI
[ { "change_type": "MODIFY", "old_path": "frictionless/validate/inquiry.py", "new_path": "frictionless/validate/inquiry.py", "diff": "@@ -18,8 +18,6 @@ def validate_inquiry(source, *, parallel=False, **options):\nReport: validation report\n\"\"\"\n- # TODO: remove this quicfix\n- options.pop(\"detecto...
Python
MIT License
frictionlessdata/frictionless-py
Fixed schema/inquiry validation from CLI (#725)
234,912
01.03.2021 18:10:59
-10,800
cefa453150b23f58c0201f2b15fbbf9feca9858e
Added lxml dependency to ods
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -45,7 +45,7 @@ EXTRAS_REQUIRE = {\n\"gsheets\": [\"pygsheets>=2.0\"],\n\"html\": [\"pyquery>=1.4\"],\n\"json\": [\"ijson>=3.0\", \"jsonlines>=1.2\"],\n- \"ods\": [\"ezodf>=0.3\"],\n+ \"ods\": [\"ezodf>=0.3\", \"lx...
Python
MIT License
frictionlessdata/frictionless-py
Added lxml dependency to ods (#727)
234,898
01.03.2021 18:19:05
-3,600
83c97213aa8beaea8f9f3bc74bc48fc6104f71f5
Consistently use period after last sentence in blockqoutes
[ { "change_type": "MODIFY", "old_path": "docs/guides/describing-data.md", "new_path": "docs/guides/describing-data.md", "diff": "@@ -78,7 +78,7 @@ Table Schema is a specification for providing a \"schema\" (similar to a database\nWe're going to use this file for the examples in this section. For this...
Python
MIT License
frictionlessdata/frictionless-py
Consistently use period after last sentence in blockqoutes (#728)
234,912
02.03.2021 18:44:23
-10,800
1c767b93e8e2b66d50d9b9c8383b1a803841e5a5
Fixed stream tutorial
[ { "change_type": "MODIFY", "old_path": "docs/tutorials/schemes/stream-tutorial.md", "new_path": "docs/tutorials/schemes/stream-tutorial.md", "diff": "@@ -14,7 +14,7 @@ You can read Stream using `Package/Resource` or `Table` API, for example:\nfrom frictionless import Resource\nwith open('data/table....
Python
MIT License
frictionlessdata/frictionless-py
Fixed stream tutorial (#737)
234,907
05.03.2021 22:20:28
0
59aabac6592c5e82a3c037fa5541f0c903583f98
Update validation-guide.md Just correcting a typo and smoothing the English in the headings a little bit
[ { "change_type": "MODIFY", "old_path": "docs/guides/validation-guide.md", "new_path": "docs/guides/validation-guide.md", "diff": "@@ -66,7 +66,7 @@ frictionless validate --type package\nfrictionless validate --type inquiry\n```\n-## Validating Schema\n+## Validating a Schema\nThe `validate_schema` f...
Python
MIT License
frictionlessdata/frictionless-py
Update validation-guide.md (#747) Just correcting a typo and smoothing the English in the headings a little bit
234,923
12.03.2021 17:49:26
10,800
98b1fe8598421c446a30380d4fa8c23947785a00
add link to download 'capital.valid.csv'
[ { "change_type": "MODIFY", "old_path": "docs/guides/validation-guide.md", "new_path": "docs/guides/validation-guide.md", "diff": "@@ -165,6 +165,8 @@ None None byte-count-error The data source does not match the expected byte\nA package is a set of resources + additional metadata. To showcase a pack...
Python
MIT License
frictionlessdata/frictionless-py
add link to download 'capital.valid.csv' (#730)
234,887
14.03.2021 08:08:50
0
c2e99309f20c526c19b517d09a112af68167513d
Remove url param from sql docs Since `url` is no longer a named param
[ { "change_type": "MODIFY", "old_path": "docs/tutorials/formats/sql-tutorial.md", "new_path": "docs/tutorials/formats/sql-tutorial.md", "diff": "@@ -36,7 +36,7 @@ You can write SQL databases:\nfrom frictionless import Package\npackage = Package('path/to/datapackage.json')\n-package.to_sql(url='postgr...
Python
MIT License
frictionlessdata/frictionless-py
Remove url param from sql docs (#753) Since https://github.com/frictionlessdata/frictionless-py/pull/655 `url` is no longer a named param
234,884
21.03.2021 08:26:35
-3,600
47b98949956dce915c0cd1b2427f8fe2aac4cacd
Fix csv write ignoring dialect options like line_terminator
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/csv.py", "new_path": "frictionless/plugins/csv.py", "diff": "@@ -243,9 +243,8 @@ class CsvParser(Parser):\noptions = {}\nsource = resource\ntarget = self.resource\n- for name in vars(target.dialect.to_python()):\n- value = getattr(target.d...
Python
MIT License
frictionlessdata/frictionless-py
Fix csv write ignoring dialect options like line_terminator (#765) Co-authored-by: Florian Fritz <florian.fritzi@gmail.com>
234,912
23.03.2021 14:32:28
-10,800
5c538bbd179494584ec73dcff57b66965afd870b
Fixed field.constraints type
[ { "change_type": "MODIFY", "old_path": "frictionless/field.py", "new_path": "frictionless/field.py", "diff": "@@ -146,6 +146,7 @@ class Field(Metadata):\ndict: constraints\n\"\"\"\nconstraints = self.get(\"constraints\", {})\n+ constraints = constraints if isinstance(constraints, dict) else {}\nretu...
Python
MIT License
frictionlessdata/frictionless-py
Fixed field.constraints type (#770)
234,912
26.03.2021 18:08:34
-10,800
f63b8806a36ced0a33de802d366618a86f6df05e
Implemented resource.to_view()
[ { "change_type": "MODIFY", "old_path": "frictionless/resource.py", "new_path": "frictionless/resource.py", "diff": "@@ -1077,6 +1077,11 @@ class Resource(Metadata):\n# Import/Export\ndef to_dict(self):\n+ \"\"\"Create a dict from the resource\n+\n+ Returns\n+ dict: dict representation\n+ \"\"\"\n# D...
Python
MIT License
frictionlessdata/frictionless-py
Implemented resource.to_view() (#781)
234,912
14.04.2021 10:46:43
-10,800
1e21c8cffe5e4e11fae05660364f79f8aeba18d9
Fixed using stdin in CLI
[ { "change_type": "MODIFY", "old_path": "frictionless/program/describe.py", "new_path": "frictionless/program/describe.py", "diff": "@@ -59,7 +59,7 @@ def program_describe(\nis_stdin = False\nif not source:\nis_stdin = True\n- source = [helpers.create_byte_stream(sys.stdin.buffer.read())]\n+ source =...
Python
MIT License
frictionlessdata/frictionless-py
Fixed using stdin in CLI (#805)
234,912
22.04.2021 17:30:27
-7,200
439c86ae74fa31934684f5c209f0d8b8cee4e3bc
Fixed program.transform swallows errors
[ { "change_type": "ADD", "old_path": null, "new_path": "data/issue-814.yaml", "diff": "+tasks:\n+ - type: resource\n+ source: bad.csv\n+ steps:\n+ - code: table-print\n" }, { "change_type": "MODIFY", "old_path": "frictionless/program/transform.py", "new_path": "frictionless/program/tr...
Python
MIT License
frictionlessdata/frictionless-py
Fixed program.transform swallows errors (#819)
234,880
23.04.2021 16:46:18
-7,200
cc76b5d625f2dddfa73d15fa2594acfb58065141
Add descriptor_innerpath * Add descriptor_innerpath Add the option to specify the descriptor file inside the ZIP datapackage (e.g. some/folder/datapackage.json, datapackage.yaml) * Add descriptor_innerpath docs
[ { "change_type": "MODIFY", "old_path": "docs/references/api-reference.md", "new_path": "docs/references/api-reference.md", "diff": "@@ -3763,6 +3763,11 @@ with Resource(\"data/table.csv\") as resource:\n- `descriptor` _dict|str_ - A resource descriptor provided explicitly.\nKeyword arguments will pa...
Python
MIT License
frictionlessdata/frictionless-py
Add descriptor_innerpath (#808) * Add descriptor_innerpath Add the option to specify the descriptor file inside the ZIP datapackage (e.g. some/folder/datapackage.json, datapackage.yaml) * Add descriptor_innerpath docs Co-authored-by: roll <roll@users.noreply.github.com>
234,912
28.04.2021 16:11:46
-7,200
c186406d4a32ed9f5f1c8fc69e297cf6d920a203
Make header guessing less agressive
[ { "change_type": "MODIFY", "old_path": "frictionless/helpers.py", "new_path": "frictionless/helpers.py", "diff": "@@ -248,6 +248,8 @@ def is_only_strings(cells):\nreturn False\ntry:\nfloat(cell)\n+ # We assume that a year might be a header label\n+ if len(cell) != 4:\nreturn False\nexcept Exception:...
Python
MIT License
frictionlessdata/frictionless-py
Make header guessing less agressive (#830)
234,912
04.05.2021 09:51:42
-7,200
08b122e5962be53280cfa9d6ae49b3b9c690dfde
Detect whether the input is TTY or not
[ { "change_type": "MODIFY", "old_path": "frictionless/program/describe.py", "new_path": "frictionless/program/describe.py", "diff": "@@ -63,9 +63,16 @@ def program_describe(\n# Support stdin\nis_stdin = False\nif not source and not path:\n+ if not sys.stdin.isatty():\nis_stdin = True\nsource = [sys.s...
Python
MIT License
frictionlessdata/frictionless-py
Detect whether the input is TTY or not (#839)
234,912
19.05.2021 11:33:21
-7,200
0948afb1566cdee6690d3cd8a848438a7486ba67
Fixed resource.detector
[ { "change_type": "MODIFY", "old_path": "frictionless/package.py", "new_path": "frictionless/package.py", "diff": "@@ -89,14 +89,14 @@ class Package(Metadata):\ncreated? (str): The datetime on which this was created.\nThe datetime must conform to the string formats for RFC3339 datetime,\n- basepath? ...
Python
MIT License
frictionlessdata/frictionless-py
Fixed resource.detector (#848)
234,912
19.05.2021 16:25:56
-7,200
5b900f2c2ecc329f4aecc5af5635b127f6d0f39d
Make yaml support unicode on export
[ { "change_type": "MODIFY", "old_path": "frictionless/metadata.py", "new_path": "frictionless/metadata.py", "diff": "@@ -137,7 +137,7 @@ class Metadata(helpers.ControlledDict):\nRaises:\nFrictionlessException: on any error\n\"\"\"\n- text = yaml.dump(self.to_dict(), Dumper=IndentDumper)\n+ text = yam...
Python
MIT License
frictionlessdata/frictionless-py
Make yaml support unicode on export (#849)
234,912
19.05.2021 18:54:10
-7,200
ac2a2a4394713cc7a2a0889782a8ad4718ef8a7a
Fixed multiple/multipart problem for validate
[ { "change_type": "MODIFY", "old_path": "frictionless/validate/main.py", "new_path": "frictionless/validate/main.py", "diff": "@@ -23,8 +23,9 @@ def validate(source=None, type=None, **options):\n\"\"\"\nif not type:\nfile = system.create_file(source, basepath=options.get(\"basepath\", \"\"))\n- if fi...
Python
MIT License
frictionlessdata/frictionless-py
Fixed multiple/multipart problem for validate (#851)
234,912
28.05.2021 12:43:39
-7,200
0de6f758d6af1bb1c37ae5b6f10a02377e5d0887
Fixed helpers.join_path
[ { "change_type": "MODIFY", "old_path": "frictionless/helpers.py", "new_path": "frictionless/helpers.py", "diff": "@@ -188,7 +188,7 @@ def is_remote_path(path):\ndef join_path(basepath, path):\n- if not is_remote_path(path):\n+ if not is_remote_path(path) and not os.path.isabs(path):\nif basepath:\ns...
Python
MIT License
frictionlessdata/frictionless-py
Fixed helpers.join_path (#857)
234,912
09.07.2021 11:02:29
-10,800
0f9c0be3796a8a662a724a9de49b26f52ed1da9f
Limit click version
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -64,6 +64,9 @@ INSTALL_REQUIRES = [\n\"jsonschema>=2.5\",\n\"simpleeval>=0.9\",\n\"stringcase>=1.2\",\n+ # NOTE: Remove click after this issue is resolved:\n+ # https://github.com/tiangolo/typer/issues/280\n+ \"cl...
Python
MIT License
frictionlessdata/frictionless-py
Limit click version (#878)
234,912
14.07.2021 12:30:17
-10,800
c17c8872439df604fa67606b76b120b0e2cb8a40
Fixed iteration performace
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/inline.py", "new_path": "frictionless/plugins/inline.py", "diff": "@@ -160,7 +160,6 @@ class InlineParser(Parser):\nyield headers\nyield [item.get(header) for header in headers]\nfor item in data:\n- # NOTE: we need to profile and optimize...
Python
MIT License
frictionlessdata/frictionless-py
Fixed iteration performace (#880)
234,912
30.07.2021 17:40:26
-10,800
43c4dfecfe74535b87f74d6acd84a98b9984ebcc
Fixed resource.dialect profile
[ { "change_type": "MODIFY", "old_path": "frictionless/assets/profiles/package/fiscal.json", "new_path": "frictionless/assets/profiles/package/fiscal.json", "diff": "\"propertyOrder\": 50,\n\"title\": \"CSV Dialect\",\n\"description\": \"The CSV dialect descriptor.\",\n- \"type\": \"object\",\n- \"req...
Python
MIT License
frictionlessdata/frictionless-py
Fixed resource.dialect profile (#889)
234,917
18.08.2021 00:55:12
18,000
02532f6b1c2796faf5ff57e6284c642f9ece6ea6
Edit text for grammar I found some more typos/grammar errors to fix
[ { "change_type": "MODIFY", "old_path": "docs/guides/basic-examples.md", "new_path": "docs/guides/basic-examples.md", "diff": "@@ -56,14 +56,14 @@ id,neighbor_id,name,population\n</Tabs>\n-As we can see, it's a data containing information about European countries and their populations. Also, it's eas...
Python
MIT License
frictionlessdata/frictionless-py
Edit text for grammar (#896) I found some more typos/grammar errors to fix
234,912
27.08.2021 18:42:49
-10,800
99f2b38c3e303494011cc6711238111092d8566e
Fixed ckan reading with mixed resources
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/ckan.py", "new_path": "frictionless/plugins/ckan.py", "diff": "@@ -184,7 +184,12 @@ class CkanStorage(Storage):\ndef read_package(self, **options):\npackage = Package()\nfor name in self:\n+ try:\nresource = self.read_resource(name)\n+ # W...
Python
MIT License
frictionlessdata/frictionless-py
Fixed ckan reading with mixed resources (#900)
234,912
26.09.2021 10:13:57
-10,800
30cdc0a049e1c9b44a3f6185bc5dea623037af86
Fix simpleeval dependency
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -62,7 +62,10 @@ INSTALL_REQUIRES = [\n\"chardet>=3.0\",\n\"requests>=2.10\",\n\"jsonschema>=2.5\",\n- \"simpleeval>=0.9\",\n+ # TODO: recover when the issue is resolved:\n+ # https://github.com/danthedeckie/simple...
Python
MIT License
frictionlessdata/frictionless-py
Fix simpleeval dependency (#916)
234,921
03.10.2021 03:34:27
10,800
c3a6a1831447cb4804b49a6dc707bee2cc75959a
Update describing-data.md Fixing/removing typos; fixing relative link
[ { "change_type": "MODIFY", "old_path": "docs/guides/describing-data.md", "new_path": "docs/guides/describing-data.md", "diff": "@@ -61,7 +61,7 @@ frictionless describe your-table.csv --type resource\nfrictionless describe your-table.csv --type package\n```\n-Please take into account that file names ...
Python
MIT License
frictionlessdata/frictionless-py
Update describing-data.md (#917) Fixing/removing typos; fixing relative link
234,921
03.10.2021 03:35:17
10,800
a6e77403477ab901b9a5af3e56c0c5f5cbe82bde
Update quick-start.md Remove "data" folder from python example for the invalid.csv file, as in the CLI example
[ { "change_type": "MODIFY", "old_path": "docs/guides/quick-start.md", "new_path": "docs/guides/quick-start.md", "diff": "@@ -156,7 +156,7 @@ scheme: file\nfrom pprint import pprint\nfrom frictionless import describe\n-resource = describe('data/invalid.csv')\n+resource = describe('invalid.csv')\npprin...
Python
MIT License
frictionlessdata/frictionless-py
Update quick-start.md (#918) Remove "data" folder from python example for the invalid.csv file, as in the CLI example
234,921
03.10.2021 03:35:54
10,800
64aedd7eeb70eca1c38a055628b07d99244349eb
Update basic-examples.md Remove "data" folder from source file countries.csv when creating the pipeline yaml file in CLI
[ { "change_type": "MODIFY", "old_path": "docs/guides/basic-examples.md", "new_path": "docs/guides/basic-examples.md", "diff": "@@ -491,7 +491,7 @@ values={[{ label: 'CLI', value: 'cli'}, { label: 'Python', value: 'python'}]}>\n$ cat > countries.pipeline.yaml <<EOF\ntasks:\n- type: resource\n- source:...
Python
MIT License
frictionlessdata/frictionless-py
Update basic-examples.md (#919) Remove "data" folder from source file countries.csv when creating the pipeline yaml file in CLI
234,921
03.10.2021 03:36:41
10,800
c7b79bf6093eda5c8305824569c573a234b828c4
Update basic-examples.md Change python code to be os-independent; the previous code won't run on Windows (ls call)
[ { "change_type": "MODIFY", "old_path": "docs/guides/basic-examples.md", "new_path": "docs/guides/basic-examples.md", "diff": "@@ -613,14 +613,13 @@ countries.resource.yaml\n```python script\n-import subprocess\n+import os\n-output = subprocess.check_output('ls countries.*', shell=True)\n-print(outpu...
Python
MIT License
frictionlessdata/frictionless-py
Update basic-examples.md (#920) Change python code to be os-independent; the previous code won't run on Windows (ls call)
234,912
15.10.2021 10:28:52
-10,800
34ff917dc31e5a5fc578c536b18a994261882018
Rebased on reportbro-simpleeval
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -63,7 +63,10 @@ INSTALL_REQUIRES = [\n\"chardet>=3.0\",\n\"requests>=2.10\",\n\"jsonschema>=2.5\",\n- \"simpleeval>=0.9\",\n+ # NOTE:\n+ # We can get back to original \"simpleeval\" when the issue is resolved:\n+ ...
Python
MIT License
frictionlessdata/frictionless-py
Rebased on reportbro-simpleeval (#926)
234,912
15.10.2021 11:04:27
-10,800
b88ff6a6fc5094ababe654299ae14af3f348fbd0
Fixed tabular-data-package
[ { "change_type": "MODIFY", "old_path": "frictionless/assets/profiles/package/tabular.json", "new_path": "frictionless/assets/profiles/package/tabular.json", "diff": "\"propertyOrder\": 40,\n\"title\": \"Table Schema\",\n\"description\": \"A Table Schema for this resource, compliant with the [Table S...
Python
MIT License
frictionlessdata/frictionless-py
Fixed tabular-data-package (#927)
234,917
25.10.2021 02:08:04
18,000
31c50b72210856c61ddf47e6b28bab5a46fd0ac4
adds tutorial and how-to from hackathon
[ { "change_type": "MODIFY", "old_path": "docs/development/contributing.md", "new_path": "docs/development/contributing.md", "diff": "@@ -6,7 +6,7 @@ We welcome contributions from anyone! Please read the following guidelines, and\n## General Guidelines\n-We use Github as a code and issues hosting plat...
Python
MIT License
frictionlessdata/frictionless-py
adds tutorial and how-to from hackathon (#934)
234,890
08.11.2021 04:22:55
18,000
5c1817f1d8d1931a6017024b24300a769f91f9a1
Markdown formatting error in the docs The current format makes it look like the bullet point and the paragraph below is one and the same. These however contain two different ideas. I have added a new line to fix this formatting issue.
[ { "change_type": "MODIFY", "old_path": "docs/guides/describing-data.md", "new_path": "docs/guides/describing-data.md", "diff": "@@ -324,6 +324,7 @@ To continue learning about data resources please read:\nA Data Package consists of:\n- Metadata that describes the structure and contents of the package...
Python
MIT License
frictionlessdata/frictionless-py
Markdown formatting error in the docs (#943) The current format makes it look like the bullet point and the paragraph below is one and the same. These however contain two different ideas. I have added a new line to fix this formatting issue.
234,912
08.11.2021 14:59:53
-7,200
6385dd1e76285d4b27baffc4d85a14913fd21341
Emit an error for resource names duplication
[ { "change_type": "MODIFY", "old_path": "frictionless/package.py", "new_path": "frictionless/package.py", "diff": "@@ -712,6 +712,9 @@ class Package(Metadata):\n# Resources\nfor resource in self.resources:\nyield from resource.metadata_errors\n+ if len(self.resource_names) != len(set(self.resource_na...
Python
MIT License
frictionlessdata/frictionless-py
Emit an error for resource names duplication (#946)
234,889
07.12.2021 14:10:53
-3,600
0753d61fd9a048a87b3f87a472493a8bded018b9
Use row.cells for `cell/row-error` * Use row values for `row-error` cells fixes * check `cells` attr in `foreign-key-error` tests * fixed None cell values in errors. Updated tests * keep using row.values() instead of row.cells * use row.cells instead of row.values() in errors
[ { "change_type": "MODIFY", "old_path": "frictionless/errors/cell.py", "new_path": "frictionless/errors/cell.py", "diff": "@@ -73,9 +73,10 @@ class CellError(RowError):\nif field_name == name:\ncell = row[field_name]\nfield_position = row.field_positions[field_number - 1]\n+ to_str = lambda v: str(v)...
Python
MIT License
frictionlessdata/frictionless-py
Use row.cells for `cell/row-error` (#952) * Use row values for `row-error` cells fixes #951 * check `cells` attr in `foreign-key-error` tests * fixed None cell values in errors. Updated tests * keep using row.values() instead of row.cells * use row.cells instead of row.values() in errors
234,893
23.12.2021 09:11:44
-3,600
3309b0525fda0fc3360fabcd5c0bde8785fb6d58
Add documentation for table dimensions validator
[ { "change_type": "MODIFY", "old_path": "docs/guides/validation-checks.md", "new_path": "docs/guides/validation-checks.md", "diff": "@@ -176,3 +176,81 @@ pprint(report.flatten([\"code\", \"message\"]))\n'The row at position 4 has an error: the row constraint to conform is '\n'\"salary == bonus * 5\"'...
Python
MIT License
frictionlessdata/frictionless-py
Add documentation for table dimensions validator (#961)
234,912
13.01.2022 16:14:25
-10,800
10730f5d180d001875942d63c1f7b0339bf0e1fe
Fixed steps.table_update with new_name
[ { "change_type": "MODIFY", "old_path": "frictionless/steps/field.py", "new_path": "frictionless/steps/field.py", "diff": "@@ -313,6 +313,8 @@ class field_update(Step):\nfunction = lambda val, row: simpleeval.simple_eval(formula, names=row)\nif function:\nresource.data = table.convert(name, function)...
Python
MIT License
frictionlessdata/frictionless-py
Fixed steps.table_update with new_name (#970)
234,912
18.01.2022 17:35:59
-10,800
4383888086765232428bae200b323105ec38dfe7
Fixed sql plugin writing resources order * Fixed sql plugin writing resources order by * Removed unused data
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/sql.py", "new_path": "frictionless/plugins/sql.py", "diff": "@@ -378,8 +378,10 @@ class SqlStorage(Storage):\nself.__metadata.create_all(tables=sql_tables)\n# Write data\n- for resource in package.resources:\n- self.__write_convert_data(re...
Python
MIT License
frictionlessdata/frictionless-py
Fixed sql plugin writing resources order (#978) * Fixed sql plugin writing resources order by @davidpeckham * Removed unused data
234,894
03.02.2022 03:16:31
18,000
6c120a1716abc8c5a825a88c62a91ba0935be4b1
Allow Mapping instead of dict instance
[ { "change_type": "MODIFY", "old_path": "frictionless/file.py", "new_path": "frictionless/file.py", "diff": "import os\nimport glob\n+from collections.abc import Mapping\nfrom pathlib import Path\nfrom .helpers import cached_property\nfrom . import settings\n@@ -148,7 +149,7 @@ class File:\n# Detect ...
Python
MIT License
frictionlessdata/frictionless-py
Allow Mapping instead of dict instance (#985) Co-authored-by: roll <roll@users.noreply.github.com>
234,924
23.03.2022 22:01:04
0
35425305296f34f0ce902994151b2d7bbf0aca5b
Update validation-guide.md
[ { "change_type": "MODIFY", "old_path": "docs/guides/validation-guide.md", "new_path": "docs/guides/validation-guide.md", "diff": "@@ -224,7 +224,7 @@ As we can see, the result is in a similar format to what we have already seen, a\n> The Inquiry is an advanced concept mostly used by software integra...
Python
MIT License
frictionlessdata/frictionless-py
Update validation-guide.md (#1006)
234,912
19.04.2022 17:58:39
-10,800
48ebe4a725b585b2d2a522e6a80676292384f0cb
Migrate to codecov-action@2
[ { "change_type": "MODIFY", "old_path": ".github/workflows/general.yaml", "new_path": ".github/workflows/general.yaml", "diff": "@@ -41,7 +41,7 @@ jobs:\n- name: Test software\nrun: make test-ci\n- name: Report coverage\n- uses: codecov/codecov-action@v1\n+ uses: codecov/codecov-action@v2\nservices:\...
Python
MIT License
frictionlessdata/frictionless-py
Migrate to codecov-action@2 (#1037)
234,912
19.04.2022 18:11:14
-10,800
f6704e22955a7b0f6a582e2b9f764d59fd1f1de0
Improved DataWithErrorHandling's repr
[ { "change_type": "MODIFY", "old_path": "frictionless/transform/resource.py", "new_path": "frictionless/transform/resource.py", "diff": "@@ -81,6 +81,9 @@ class DataWithErrorHandling:\nself.data = data\nself.step = step\n+ def __repr__(self):\n+ return '<transformed-data>'\n+\ndef __iter__(self):\ntr...
Python
MIT License
frictionlessdata/frictionless-py
Improved DataWithErrorHandling's repr (#1038)
234,915
21.04.2022 12:29:20
-19,620
9461920c3405f048cfec9508093a1f35e36b1b49
Added pprint to metadata * added pretty print to metadata * added tests for Field, Inquiry, Package, Pipeline, Resource, Report and Schema
[ { "change_type": "MODIFY", "old_path": "frictionless/metadata.py", "new_path": "frictionless/metadata.py", "diff": "@@ -11,6 +11,7 @@ from importlib import import_module\nfrom .exception import FrictionlessException\nfrom .helpers import cached_property\nfrom . import helpers\n+import pprint as pp\n...
Python
MIT License
frictionlessdata/frictionless-py
Added pprint to metadata (#1039) * added pretty print to metadata * added tests for Field, Inquiry, Package, Pipeline, Resource, Report and Schema
234,917
27.04.2022 10:25:04
18,000
254b72ecb57e43fb5df658169f02f7b630d13a24
adds new tutorial * adds new tutorial ...for workshop training at TU Delft * add button and fix typo * fix badge, typo
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/tutorials/notebooks/frictionless-RDM-workflows.ipynb", "diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"markdown\",\n+ \"id\": \"9ecb2099\",\n+ \"metadata\": {},\n+ \"source\": [\n+ \"[![Open In Colab](https://colab.research.google.com/...
Python
MIT License
frictionlessdata/frictionless-py
adds new tutorial (#1054) * adds new tutorial ...for workshop training at TU Delft * add button and fix typo * fix badge, typo
234,915
02.05.2022 01:18:21
25,200
d73b6190b9f09a48d83f011c0e7209f1219aea46
Ignore openpyxl warnings * fixed warnings in test_date * Fixed warnings by replacing pytest.warns(None) with recwarn * fixed warnings in test_datetime * Fixed warning by replacing pytest.warns(None) with recwarn * fixed warnings in test_time Fixed warnings in test_time by replacing pytest.warns(None) with recwarn * fixed warnings in test_excel
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/excel.py", "new_path": "frictionless/plugins/excel.py", "diff": "@@ -5,6 +5,7 @@ import atexit\nimport hashlib\nimport tempfile\nimport datetime\n+import warnings\nfrom itertools import chain\nfrom ..exception import FrictionlessException\...
Python
MIT License
frictionlessdata/frictionless-py
Ignore openpyxl warnings (#1056) * fixed warnings in test_date * Fixed warnings by replacing pytest.warns(None) with recwarn * fixed warnings in test_datetime * Fixed warning by replacing pytest.warns(None) with recwarn * fixed warnings in test_time Fixed warnings in test_time by replacing pytest.warns(None) with recwarn * fixed warnings in test_excel Co-authored-by: roll <roll@users.noreply.github.com>
234,917
02.05.2022 20:09:21
18,000
04ba7db86b20914caa04e063e1551516a2da74fd
adds RDM tutorial link
[ { "change_type": "MODIFY", "old_path": "site/docusaurus.config.js", "new_path": "site/docusaurus.config.js", "diff": "@@ -104,6 +104,11 @@ module.exports = {\nhref:\n\"https://colab.research.google.com/github/frictionlessdata/frictionless-py/blob/main/docs/tutorials/notebooks/frictionless-excel.ipyn...
Python
MIT License
frictionlessdata/frictionless-py
adds RDM tutorial link (#1057)
234,925
10.05.2022 12:22:29
-3,600
9ca5abc02f8a79275488fe29af9ae30a7195c21b
Improve schema detection algorithm with missing values
[ { "change_type": "MODIFY", "old_path": "frictionless/detector.py", "new_path": "frictionless/detector.py", "diff": "@@ -446,21 +446,26 @@ class Detector:\n# Infer fields\nfields = [None] * len(names)\nmax_score = [len(fragment)] * len(names)\n- treshold = len(fragment) * (self.__field_confidence - 1...
Python
MIT License
frictionlessdata/frictionless-py
Improve schema detection algorithm with missing values (#1051)
234,915
16.05.2022 01:00:10
25,200
9d9f281462314f9753fb938ad550f94be7d52dab
Added true/false_values to detection class. * * Added true/false_values to detection class. * Added tests to test true/false_values feature. * Reduce computational complexity Instead of setting values in two dimensional cycle we can set them perliminary
[ { "change_type": "ADD", "old_path": null, "new_path": "data/countries-truefalsevalues.csv", "diff": "+id,value\n+1,yes\n+2,no\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "frictionless/detector.py", "new_path": "frictionless/detector.py", "diff": "@@...
Python
MIT License
frictionlessdata/frictionless-py
Added true/false_values to detection class. (#1074) * * Added true/false_values to detection class. * Added tests to test true/false_values feature. * Reduce computational complexity Instead of setting values in two dimensional cycle we can set them perliminary Co-authored-by: roll <roll@users.noreply.github.com> Co-authored-by: roll <eskarev@gmail.com>
234,915
17.05.2022 00:19:29
25,200
9e194fcc07024707f35fdd3c77d757fd2f045dc4
Added more text explanation to the tutorial
[ { "change_type": "MODIFY", "old_path": "docs/tutorials/notebooks/tutorial-markdown-export-feature.ipynb", "new_path": "docs/tutorials/notebooks/tutorial-markdown-export-feature.ipynb", "diff": "\"source\": [\n\"# Get Data: Land usage by country\\n\",\n\"\\n\",\n- \"We will use the landuse data by co...
Python
MIT License
frictionlessdata/frictionless-py
Added more text explanation to the tutorial (#1071) Co-authored-by: Lilly Winfree <lillywinfree@gmail.com>
234,904
24.05.2022 04:08:27
10,800
5e250029ba89220c9a95418c07fa975706f50c20
Fix import in Pandas tutorial the `Package` class was imported, but the `Resource` class was being used.
[ { "change_type": "MODIFY", "old_path": "docs/tutorials/formats/pandas-tutorial.md", "new_path": "docs/tutorials/formats/pandas-tutorial.md", "diff": "@@ -17,7 +17,7 @@ pip install 'frictionless[pandas]' # for zsh shell\nYou can read a Pandas dataframe:\n```python title=\"Python\"\n-from frictionless...
Python
MIT License
frictionlessdata/frictionless-py
Fix import in Pandas tutorial (#1092) the `Package` class was imported, but the `Resource` class was being used.
234,893
30.05.2022 16:16:31
-7,200
deed41df1da3e1ed21fe5cbb681bee9e25370818
dd frictionless logo to be used in open graph image
[ { "change_type": "MODIFY", "old_path": "site/docusaurus.config.js", "new_path": "site/docusaurus.config.js", "diff": "@@ -50,7 +50,7 @@ module.exports = {\n],\nthemeConfig: {\nsidebarCollapsible: true,\n- image: \"img/docusaurus.png\",\n+ image: \"img/logo-bright2.png\",\nprism: {\ntheme: require(\"...
Python
MIT License
frictionlessdata/frictionless-py
dd frictionless logo to be used in open graph image (#1096)
234,904
30.05.2022 11:18:44
10,800
62346c0985fca4ddee41a1f09b748376fa83e2ea
Add a new compression argument to `to_zip` * Add a new compression argument to to_zip Fix by implemented the solution suggested there * Add compression argument to dosctring
[ { "change_type": "MODIFY", "old_path": "frictionless/package/package.py", "new_path": "frictionless/package/package.py", "diff": "@@ -602,18 +602,21 @@ class Package(Metadata):\n\"\"\"\nreturn Package(descriptor=path, **options)\n- def to_zip(self, path, *, encoder_class=None):\n+ def to_zip(self, p...
Python
MIT License
frictionlessdata/frictionless-py
Add a new compression argument to `to_zip` (#1104) * Add a new compression argument to to_zip Fix #1103 by implemented the solution suggested there * Add compression argument to dosctring
234,904
09.06.2022 02:32:52
10,800
b25c896cfa2c0ffa16cac84b0e10e0c17af4f989
Replace references to deprecated functions fixes
[ { "change_type": "MODIFY", "old_path": "docs/guides/describing-data.md", "new_path": "docs/guides/describing-data.md", "diff": "@@ -32,7 +32,7 @@ Now that we have a general understanding of what \"describing data\" is, we can di\n- **data validation**: metadata helps to reveal problems in your data ...
Python
MIT License
frictionlessdata/frictionless-py
Replace references to deprecated functions (#1129) fixes #1128
234,915
27.06.2022 01:11:04
25,200
7dbdbf16efd7d3572597096600ca7dd1cd5bfeb3
Fixes to_pandas conversion without types Replaced field type check using Frictionless Field property instead of dict keys Added tests
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/pandas/parser.py", "new_path": "frictionless/plugins/pandas/parser.py", "diff": "@@ -176,11 +176,11 @@ class PandasParser(Parser):\n# Bug: #1109\nfor field in source.schema.fields:\nif (\n- field[\"type\"] == \"integer\"\n- and field[\"nam...
Python
MIT License
frictionlessdata/frictionless-py
Fixes to_pandas conversion without types (#1149) Replaced field type check using Frictionless Field property instead of dict keys Added tests
234,915
08.07.2022 12:31:02
-19,620
1aff5be21c6a04a85bcbf45630a6de36a4ab1a11
Fixed parser to create datetim64 for date columns
[ { "change_type": "MODIFY", "old_path": "frictionless/plugins/pandas/parser.py", "new_path": "frictionless/plugins/pandas/parser.py", "diff": "@@ -174,6 +174,7 @@ class PandasParser(Parser):\n# If the column is of type float instead of integer, convert it to the type\n# Int64 from pandas that support...
Python
MIT License
frictionlessdata/frictionless-py
Fixed parser to create datetim64 for date columns (#1165)
234,892
25.08.2022 10:55:15
-7,200
c57e2a54c267504e83d9893a73dbd92b9dc8d9dc
Update 08-22-frictionless-framework-v5.md Correcting a couple of typos
[ { "change_type": "MODIFY", "old_path": "blog/2022/08-22-frictionless-framework-v5.md", "new_path": "blog/2022/08-22-frictionless-framework-v5.md", "diff": "@@ -15,11 +15,11 @@ Since the initial Frictionless Framework release we'd been collecting feedback a\n## Improved Metadata\n-This year we starte...
Python
MIT License
frictionlessdata/frictionless-py
Update 08-22-frictionless-framework-v5.md (#1236) Correcting a couple of typos
234,915
29.08.2022 11:41:24
-19,620
426c9e712fce91b84ecd0586f3eb4b8b5b83f8f1
Added tests to test multiple package errors
[ { "change_type": "ADD", "old_path": null, "new_path": "data/multiple-errors.package.json", "diff": "+{\n+ \"name\": \"test-tabulator\",\n+ \"created\" : \"test\",\n+ \"resources\": [\n+ { \"name\": \"first-resource\",\n+ \"path\": \"table.xls\",\n+ \"schema\": {\n+ \"fields\": [\n+ {\n+ \"name\": \"...
Python
MIT License
frictionlessdata/frictionless-py
Added tests to test multiple package errors (#1241)
234,922
05.09.2022 02:28:58
14,400
b2ea24118965ee6bbcd7a745ce43e37d44bd92a6
Replace old discord links for slack links * Update README.md Removes deprecated discord link for slack. * Update livemark.yaml Removes deprecated discord link for slack
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "[![Release](https://img.shields.io/pypi/v/frictionless.svg)](https://pypi.python.org/pypi/frictionless)\n[![Citation](https://zenodo.org/badge/28409905.svg)](https://zenodo.org/badge/latestdoi/28409905)\n[![Codebas...
Python
MIT License
frictionlessdata/frictionless-py
Replace old discord links for slack links (#1240) * Update README.md Removes deprecated discord link for slack. * Update livemark.yaml Removes deprecated discord link for slack
234,895
20.10.2022 16:39:17
-7,200
b1d1d1207e61989e03bf4086c7fd698261b3c013
Fix field_update with formula argument
[ { "change_type": "MODIFY", "old_path": "frictionless/steps/field/field_update.py", "new_path": "frictionless/steps/field/field_update.py", "diff": "@@ -36,14 +36,16 @@ class field_update(Step):\ndef transform_resource(self, resource):\nfunction = self.function\n+ pass_row = False\ntable = resource.t...
Python
MIT License
frictionlessdata/frictionless-py
Fix field_update with formula argument (#1247) Co-authored-by: Shashi Gharti <shashi.gharti@gmail.com>
234,915
21.10.2022 18:39:00
-19,620
a694f90b081bb7d473fb49a0d11fe45ae08f43d1
Fixes reading parquet from remote resource * Fixes reading parquet from remote resource It converts the remote path to _io.BytesIO object Reference taken from * creates handle only for remote files * Restored resource file
[ { "change_type": "MODIFY", "old_path": "frictionless/formats/parquet/parser.py", "new_path": "frictionless/formats/parquet/parser.py", "diff": "from __future__ import annotations\n+\n+import os\nfrom ...platform import platform\nfrom ...resource import Resource\nfrom .control import ParquetControl\n...
Python
MIT License
frictionlessdata/frictionless-py
Fixes reading parquet from remote resource (#1260) * Fixes reading parquet from remote resource It converts the remote path to _io.BytesIO object Reference taken from https://github.com/pandas-dev/pandas/blob/main/pandas/io/parquet.py#L322 * creates handle only for remote files * Restored resource file
234,915
27.10.2022 12:37:36
-19,620
693ef882e956a9c2d6d837496106fb97073150e3
Fixed bug in table-write step while using foreign key
[ { "change_type": "ADD", "old_path": null, "new_path": "data/package-with-pipeline-multiple-tables-to-write.json", "diff": "+{\n+ \"name\": \"petites_villes_de_demain\",\n+ \"resources\": [\n+ {\n+ \"name\": \"commune\",\n+ \"type\": \"table\",\n+ \"path\": \"sqlite:///database.db\",\n+ \"format\": \...
Python
MIT License
frictionlessdata/frictionless-py
Fixed bug in table-write step while using foreign key (#1265)