hexsha stringlengths 40 40 | size int64 10 1.01M | ext stringclasses 8
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 237 | max_stars_repo_name stringlengths 5 113 | max_stars_repo_head_hexsha stringlengths 40 41 | max_stars_repo_licenses sequence | max_stars_count int64 1 95.2k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 237 | max_issues_repo_name stringlengths 5 113 | max_issues_repo_head_hexsha stringlengths 40 41 | max_issues_repo_licenses sequence | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 237 | max_forks_repo_name stringlengths 5 113 | max_forks_repo_head_hexsha stringlengths 40 41 | max_forks_repo_licenses sequence | max_forks_count int64 1 33.1k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 10 1.01M | avg_line_length float64 2.26 46k | max_line_length int64 3 990k | alphanum_fraction float64 0.1 1 | label int64 0 2 | cost float64 0 5.77 | embedding sequence |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d99a1e98eccb58cbc0c0cef6e9e6702f33461b0e | 5,886 | py | Python | public_data/serializers.py | MTES-MCT/sparte | 3b8ae6d21da81ca761d64ae9dfe2c8f54487211c | [
"MIT"
] | null | null | null | public_data/serializers.py | MTES-MCT/sparte | 3b8ae6d21da81ca761d64ae9dfe2c8f54487211c | [
"MIT"
] | 3 | 2022-02-10T11:47:58.000Z | 2022-02-23T18:50:24.000Z | public_data/serializers.py | MTES-MCT/sparte | 3b8ae6d21da81ca761d64ae9dfe2c8f54487211c | [
"MIT"
] | null | null | null | from rest_framework_gis import serializers
from rest_framework import serializers as s
from .models import (
Artificialisee2015to2018,
Artificielle2018,
CommunesSybarval,
CouvertureSol,
EnveloppeUrbaine2018,
Ocsge,
Renaturee2018to2015,
Sybarval,
Voirie2018,
ZonesBaties2018,
... | 25.37069 | 80 | 0.613829 | 1 | 2.1546 | [
-0.023032253608107567,
0.006429505534470081,
-0.0065226564183831215,
0.047430142760276794,
-0.002568622585386038,
0.029553258791565895,
-0.021700186654925346,
-0.007212890312075615,
-0.01698347181081772,
0.036334093660116196,
0.029200436547398567,
-0.0010587513679638505,
0.009213053621351719... |
d99a20277c32bb1e28312f42ab6d732f38323169 | 241 | py | Python | quick_search/admin.py | naman1901/django-quick-search | 7b93554ed9fa4721e52372f9fd1a395d94cc04a7 | [
"MIT"
] | null | null | null | quick_search/admin.py | naman1901/django-quick-search | 7b93554ed9fa4721e52372f9fd1a395d94cc04a7 | [
"MIT"
] | 2 | 2020-02-11T23:28:22.000Z | 2020-06-05T19:27:40.000Z | quick_search/admin.py | HereWithoutPermission/django-quick-search | 7b93554ed9fa4721e52372f9fd1a395d94cc04a7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import SearchResult
# Register your models here.
class SearchResultAdmin(admin.ModelAdmin):
fields = ["query", "heading", "url", "text"]
admin.site.register(SearchResult, SearchResultAdmin) | 30.125 | 52 | 0.771784 | 1 | 0.6921 | [
0.0025107087567448616,
0.02395726554095745,
0.01138845831155777,
0.0019029398681595922,
0.004242513794451952,
-0.0038108981680125,
-0.010250198654830456,
0.0033133511897176504,
-0.008153465576469898,
0.002060966333374381,
0.006194288842380047,
0.0056234137155115604,
0.010188437066972256,
-... |
d99b5ab0ec594ac30b1d197b23a5cda7c48151d5 | 18,065 | py | Python | rasa/train.py | Amirali-Shirkh/rasa-for-botfront | 36aa24ad31241c5d1a180bbe34e1c8c50da40ff7 | [
"Apache-2.0"
] | null | null | null | rasa/train.py | Amirali-Shirkh/rasa-for-botfront | 36aa24ad31241c5d1a180bbe34e1c8c50da40ff7 | [
"Apache-2.0"
] | null | null | null | rasa/train.py | Amirali-Shirkh/rasa-for-botfront | 36aa24ad31241c5d1a180bbe34e1c8c50da40ff7 | [
"Apache-2.0"
] | null | null | null | import asyncio
import os
import tempfile
from contextlib import ExitStack
from typing import Text, Optional, List, Union, Dict
from rasa.importers.importer import TrainingDataImporter
from rasa import model
from rasa.model import FingerprintComparisonResult
from rasa.core.domain import Domain
from rasa.utils.common im... | 34.673704 | 128 | 0.654027 | 1 | 1.9476 | [
-0.028531698510050774,
0.015354073606431484,
-0.0034953681752085686,
-0.053973238915205,
-0.03265426680445671,
-0.014266532845795155,
0.0019289333140477538,
-0.02750026248395443,
0.0009564444771967828,
-0.011207676492631435,
-0.018872573971748352,
-0.003423982532694936,
0.009573208168148994,... |
d99e8a9a95f28da6c2d4d1ee42e95a270ab08977 | 421 | py | Python | coding_intereview/1475. Final Prices With a Special Discount in a Shop.py | Jahidul007/Python-Bootcamp | 3c870587465ff66c2c1871c8d3c4eea72463abda | [
"MIT"
] | 2 | 2020-12-07T16:07:07.000Z | 2020-12-07T16:08:53.000Z | coding_intereview/1475. Final Prices With a Special Discount in a Shop.py | purusharthmalik/Python-Bootcamp | 2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1 | [
"MIT"
] | null | null | null | coding_intereview/1475. Final Prices With a Special Discount in a Shop.py | purusharthmalik/Python-Bootcamp | 2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1 | [
"MIT"
] | 1 | 2020-10-03T16:38:02.000Z | 2020-10-03T16:38:02.000Z | class Solution:
def finalPrices(self, prices: List[int]) -> List[int]:
res = []
for i in range(len(prices)):
for j in range(i+1,len(prices)):
if prices[j]<=prices[i]:
res.append(prices[i]-prices[j])
break
if j==len(p... | 35.083333 | 58 | 0.460808 | 1 | 0.7581 | [
0.004136830568313599,
0.024741284549236298,
0.005890393629670143,
0.0010446994565427303,
0.0069979047402739525,
-0.004574206657707691,
-0.014335148967802525,
0.005877647083252668,
-0.00842252466827631,
0.0033554919064044952,
-0.002617230173200369,
0.005115893203765154,
0.0107621094211936,
... |
d99ed7256245422c7c5dd3c60b0661e4f78183ea | 35,585 | py | Python | rplugin/python3/denite/ui/default.py | timgates42/denite.nvim | 12a9b5456f5a4600afeb0ba284ce1098bd35e501 | [
"MIT"
] | null | null | null | rplugin/python3/denite/ui/default.py | timgates42/denite.nvim | 12a9b5456f5a4600afeb0ba284ce1098bd35e501 | [
"MIT"
] | null | null | null | rplugin/python3/denite/ui/default.py | timgates42/denite.nvim | 12a9b5456f5a4600afeb0ba284ce1098bd35e501 | [
"MIT"
] | null | null | null | # ============================================================================
# FILE: default.py
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com>
# License: MIT license
# ============================================================================
import re
import typing
from denite.util import echo, error, c... | 37.816153 | 79 | 0.54863 | 1 | 1.9941 | [
-0.018333425745368004,
0.02908499538898468,
0.010924612171947956,
-0.004513473715633154,
-0.008477273397147655,
0.009763168171048164,
-0.0280748400837183,
-0.022467469796538353,
-0.03421676903963089,
0.042118459939956665,
-0.004003908019512892,
0.026279257610440254,
0.01818988472223282,
-0... |
d99f875863138f11af1d76f0c753c198ad6d96bd | 1,329 | py | Python | PyDSTool/core/context_managers.py | yuanz271/PyDSTool | 886c143cdd192aea204285f3a1cb4968c763c646 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | PyDSTool/core/context_managers.py | yuanz271/PyDSTool | 886c143cdd192aea204285f3a1cb4968c763c646 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | PyDSTool/core/context_managers.py | yuanz271/PyDSTool | 886c143cdd192aea204285f3a1cb4968c763c646 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | # -*- coding: utf-8 -*-
"""Context managers implemented for (mostly) internal use"""
import contextlib
import functools
from io import UnsupportedOperation
import os
import sys
__all__ = ["RedirectStdout", "RedirectStderr"]
@contextlib.contextmanager
def _stdchannel_redirected(stdchannel, dest_filename, mode="w")... | 28.891304 | 109 | 0.68924 | 1 | 1.0656 | [
0.002766088815405965,
0.02626906707882881,
0.0092936335131526,
0.001260734279640019,
0.005067666061222553,
-0.0006234981119632721,
-0.012263655662536621,
0.0020680618472397327,
-0.007391772698611021,
0.00004425959923537448,
0.0006775525980629027,
0.006125213578343391,
0.006633738521486521,
... |
d99ff34b5f61cee604590c456f40398d7da18182 | 3,215 | py | Python | pos_kiosk/hooks.py | Muzzy73/pos_kiosk | 1ed42cfaeb15f009293b76d05dd85bd322b42f03 | [
"MIT"
] | 1 | 2022-03-05T11:42:36.000Z | 2022-03-05T11:42:36.000Z | pos_kiosk/hooks.py | Muzzy73/pos_kiosk | 1ed42cfaeb15f009293b76d05dd85bd322b42f03 | [
"MIT"
] | null | null | null | pos_kiosk/hooks.py | Muzzy73/pos_kiosk | 1ed42cfaeb15f009293b76d05dd85bd322b42f03 | [
"MIT"
] | 1 | 2022-03-05T11:42:37.000Z | 2022-03-05T11:42:37.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from . import __version__ as app_version
app_name = "pos_kiosk"
app_title = "Pos Kiosk"
app_publisher = "9t9it"
app_description = "Kiosk App"
app_icon = "octicon octicon-file-directory"
app_color = "grey"
app_email = "info@9t9it.com"
app_license = "MIT"
... | 22.964286 | 101 | 0.631415 | 1 | 1.9221 | [
-0.03399652987718582,
0.05334565043449402,
-0.010739530436694622,
-0.04139868915081024,
0.00542831514030695,
0.038012780249118805,
-0.026146767660975456,
-0.0020863921381533146,
-0.028625687584280968,
0.022263024002313614,
0.015511955134570599,
0.02092256397008896,
0.03750109300017357,
-0.... |
d9a00b2c6f1a0e88ad5b4a7def2a45bd074f417f | 3,880 | py | Python | pypagai/models/model_lstm.py | gcouti/pypagAI | d08fac95361dcc036d890a88cb86ce090322a612 | [
"Apache-2.0"
] | 1 | 2018-07-24T18:53:26.000Z | 2018-07-24T18:53:26.000Z | pypagai/models/model_lstm.py | gcouti/pypagAI | d08fac95361dcc036d890a88cb86ce090322a612 | [
"Apache-2.0"
] | 7 | 2020-01-28T21:45:14.000Z | 2022-03-11T23:20:53.000Z | pypagai/models/model_lstm.py | gcouti/pypagAI | d08fac95361dcc036d890a88cb86ce090322a612 | [
"Apache-2.0"
] | null | null | null | "from keras import Model, Input\nfrom keras.layers import Dense, concatenate, LSTM, Reshape, Permute(...TRUNCATED) | 33.162393 | 114 | 0.650773 | 1 | 2.0676 | [-0.06796137243509293,0.046021826565265656,0.015118476003408432,-0.006145813502371311,-0.00505826761(...TRUNCATED) |
d9a09cb6f497e8ccdf9de40f4b8ebd6b96a1c43a | 113 | py | Python | lib/variables/latent_variables/__init__.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | 15 | 2020-10-20T22:09:36.000Z | 2021-12-24T13:40:36.000Z | lib/variables/latent_variables/__init__.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | null | null | null | lib/variables/latent_variables/__init__.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | 1 | 2020-10-23T19:48:06.000Z | 2020-10-23T19:48:06.000Z | "from .fully_connected import FullyConnectedLatentVariable\nfrom .convolutional import Convolutional(...TRUNCATED) | 37.666667 | 57 | 0.911504 | 1 | 0.6561 | [0.0019677402451634407,0.02590874955058098,0.005700739100575447,0.0012360074324533343,0.004866733681(...TRUNCATED) |
d9a0c8935f1da040f76922b94d20a857d8b8cd7d | 3,338 | py | Python | easyai/model/backbone/cls/pnasnet.py | lpj0822/image_point_cloud_det | 7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f | [
"MIT"
] | 1 | 2020-09-05T09:18:56.000Z | 2020-09-05T09:18:56.000Z | easyai/model/backbone/cls/pnasnet.py | lpj0822/image_point_cloud_det | 7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f | [
"MIT"
] | 8 | 2020-04-20T02:18:55.000Z | 2022-03-12T00:24:50.000Z | easyai/model/backbone/cls/pnasnet.py | lpj0822/image_point_cloud_det | 7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f | [
"MIT"
] | null | null | null | "#!/usr/bin/env python\n# -*- coding:utf-8 -*-\n# Author:\n''' PNASNet in PyTorch.\nPaper: Progressi(...TRUNCATED) | 35.892473 | 95 | 0.612942 | 1 | 1.6491 | [0.0018799806712195277,0.023405689746141434,0.009430041536688805,0.0011929558822885156,0.00374648859(...TRUNCATED) |
End of preview. Expand in Data Studio
- Downloads last month
- 2