Dataset Viewer
Auto-converted to Parquet Duplicate
code
stringlengths
501
4.91M
package
stringlengths
2
88
path
stringlengths
11
291
filename
stringlengths
4
197
parsed_code
stringlengths
0
4.91M
quality_prob
float64
0
0.99
learning_prob
float64
0.02
1
import sys from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload import urllib.parse from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from...
azure-mgmt-appplatform
/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_preview/operations/_buildpack_binding_operations.py
_buildpack_binding_operations.py
import sys from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload import urllib.parse from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from...
0.539469
0.064183
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overloa(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_build_service_operations.py
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overloa(...TRUNCATED)
0.544317
0.071559
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, o(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_configuration_services_operations.py
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, o(...TRUNCATED)
0.584271
0.072047
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, o(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_api_portals_operations.py
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, o(...TRUNCATED)
0.569015
0.077973
"import sys\nfrom typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload\n\(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_monitoring_settings_operations.py
"import sys\nfrom typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload\n\(...TRUNCATED)
0.601125
0.074467
"import sys\nfrom typing import Any, Callable, Dict, Optional, TypeVar\n\nfrom azure.core.exceptions(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_runtime_versions_operations.py
"import sys\nfrom typing import Any, Callable, Dict, Optional, TypeVar\n\nfrom azure.core.exceptions(...TRUNCATED)
0.61832
0.07117
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, o(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_custom_domains_operations.py
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, o(...TRUNCATED)
0.542863
0.070592
"import sys\nfrom typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload\n\(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_config_servers_operations.py
"import sys\nfrom typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload\n\(...TRUNCATED)
0.579519
0.076477
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, o(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_gateways_operations.py
"import sys\nfrom typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, o(...TRUNCATED)
0.568775
0.086131
"import sys\nfrom typing import Any, Callable, Dict, Iterable, Optional, TypeVar\nimport urllib.pars(...TRUNCATED)
azure-mgmt-appplatform
"/azure-mgmt-appplatform-8.0.0.zip/azure-mgmt-appplatform-8.0.0/azure/mgmt/appplatform/v2022_05_01_p(...TRUNCATED)
_operations.py
"import sys\nfrom typing import Any, Callable, Dict, Iterable, Optional, TypeVar\nimport urllib.pars(...TRUNCATED)
0.612773
0.076373
End of preview. Expand in Data Studio

Dataset Card for "pypi_labeled"

All of the latest package versions from pypi. The original data came from here. I pulled the latest versions of each package, then extracted only md, rst, ipynb, and py files.

I then applied some cleaning:

  • rendering notebooks
  • removing leading comments/licenses

Then filtered out some low-quality code, and labeled the rest according to learning value and quality. Subset by those columns to get higher quality code.

Downloads last month
33