blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
3031f60d47293d298f6f3794ad9e04eec3fab55e
142f576417971267515b65581c106c91823d089e
/models/tsp_agent.py
e32f9a03c62062a25be1148cafda8fcb469fabe1
[]
no_license
neo-pan/TSP-experiment
b2d490597969db6381b51aafeb0b4e6db13538ab
8ea336a411fda248b2b08e08184ffc63a522b6ed
refs/heads/main
2023-06-24T17:16:56.555347
2021-07-17T10:23:05
2021-07-17T10:23:05
318,204,935
0
0
null
null
null
null
UTF-8
Python
false
false
6,300
py
from environments.tsp import TSPState import torch import torch.nn as nn import torch.nn.functional as F from typing import Any, NamedTuple, Tuple from torch_geometric.data import Data, Batch from .encoder import cal_size_list, MLP, GNNEncoder from .decoder import AttentionDecoder class AttentionInfoFixed(NamedTuple...
[ "xh_pan@outlook.com" ]
xh_pan@outlook.com
ec8437e1981057ad8a88d6aac492756de87b61b6
dd3e2450105a29f41a471f7b95e4c0bf8869d836
/x_of_a_kind_of_a_deck_in_cards.py
61d9545da98bbffdd6e33f5579892d8c0b60a329
[]
no_license
lgf8704/learn_git
0b6fc35763dd416fdf174b179442b9313c4005aa
d55b68af33327da30a729c4e3bb184483dfe0bdd
refs/heads/master
2022-04-25T14:24:03.345598
2020-04-28T08:24:59
2020-04-28T08:24:59
250,287,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
class Solution: def hasGroupsSizeX(self, deck: List[int]) -> bool: # # deck中只有1个元素,返回False # if len(deck) == 1: # return False # # 定义纸牌频数的字典,也可以用 # dic = {} # for i in deck: # if i in dic: # dic[i] += 1 # else: # ...
[ "648008748@qq.com" ]
648008748@qq.com
acb8cfdf6755a61c0fe2898ce127dd07a79c5d0f
49da4d298a14cc0db320d9716b955106d361553b
/engine/gl/window.py
7d6d9046820560ec1d6449c7668ca5536bb4f908
[ "Zlib" ]
permissive
alexcher-im/sgemu
d53b458dfe643520cfbf77e5412870953b1c3770
228d2bb6bfd13de7f7a0f9a634e765c17ecab960
refs/heads/master
2023-08-05T02:17:55.439317
2023-07-27T14:36:33
2023-07-27T14:49:31
306,878,754
11
0
null
null
null
null
UTF-8
Python
false
false
5,811
py
from glfw.GLFW import * # import glfw from OpenGL.GL import * from .framebuffer import FrameBuffer import numpy as np from timeit import default_timer import time class WindowFrameBuffer(FrameBuffer): def __init__(self, window, width, height): super(WindowFrameBuffer, self).__new__(WindowFrameBuffer) ...
[ "43251717+alexcher-im@users.noreply.github.com" ]
43251717+alexcher-im@users.noreply.github.com
fd64311b77ca6f99738abb183a2ed5456138c7f6
ea315f59c71092acbbc7cc616b4f162159a93cbf
/comm/urls.py
55cb5aaf0d0bb564ebc83854827e2b9ef51d7462
[]
no_license
comm833/comm833.github.io
f29f67803d7875732761b6db2f06d81dfde61207
ad8a610e738137a255ef89a65e168389e017f580
refs/heads/master
2023-07-14T04:29:04.689638
2021-09-02T20:24:36
2021-09-02T20:24:36
402,210,079
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
"""comm URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "adekomiadeleke@gmail.com" ]
adekomiadeleke@gmail.com
5147f4ab1d3b2ba6954742a551d29532254dc5ba
0edfa42770e780a72cf48676742224eba710384d
/apac/records/mappings/v6/__init__.py
752d718cdcef87ff2a70908a9d8b16c0f65c5667
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kennedy-cook/apac-invenio
214d8619f5153339efcf8f42e29b132e402ec305
5179ca82be35f739ee886e1fd6426ae83fa3c278
refs/heads/master
2020-07-09T17:23:38.165963
2019-07-31T17:16:34
2019-07-31T17:16:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
# -*- coding: utf-8 -*- # # Copyright (C) 2019 IBM. # # APAC is free software; you can redistribute it and/or modify it under the # terms of the MIT License; see LICENSE file for more details. """Mappings for Elasticsearch 5.x.""" from __future__ import absolute_import, print_function
[ "adam.holliday@ibm.com" ]
adam.holliday@ibm.com
62d6c486fb55ac6e7bb730bfcee37ed980f8fd83
5280c91e59754c12b3c94838c1bf47b926318abe
/upload/src/main/mc/utils/Utils.py
1996214a63d84532158324781b1e02a570fc0811
[]
no_license
nguyennhatminh-mgr/MC-Assignment3
ecfecfc8052501207583776a99a396eedc67b7f1
377099f96de79823d16dbbeca0929e62fa45a2c8
refs/heads/master
2022-12-22T00:32:28.012051
2020-09-23T14:58:04
2020-09-23T14:58:04
298,004,785
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
class Utils: def lookup(self,name,lst,func): for x in lst: if name == func(x): return x return None
[ "nguyennhatminh12a1@gmail.com" ]
nguyennhatminh12a1@gmail.com
a5360d5373b2aad2939d91d59a32d5f0daa935fe
46a1cf8dde43ca7401f5b836263627a6009f10f0
/pylibrets/__init__.py
b271550f342629c9b1053823fe1615fd280aceb2
[ "MIT" ]
permissive
wkdglitch/pylibrets
abb059fa78cb7e9270a0de32ff42a307e964d29a
ee7ae95a9a7c8809c4bc6d269c52518d672cbf82
refs/heads/master
2021-01-19T02:25:18.796056
2016-06-19T03:37:50
2016-06-19T03:37:50
50,259,058
5
1
null
null
null
null
UTF-8
Python
false
false
11,629
py
__title__ = 'pylibRETS' __version__ = '0.1.0' Version = __version__ # for backware compatibility import requests from xml.etree import ElementTree #from urllib import urlparse, urljoin from urlparse import urlparse, urljoin import socket import hashlib import time import urllib from .models import ( ...
[ "fernandoherrera.adm@gmail.com" ]
fernandoherrera.adm@gmail.com
eafd52d1be93441c568fdd4602cc7c11d0b12704
6b8e14157141e411540f6fbfc2e314be18a1ab08
/app.py
a7bb036e6330eb4fc0af6b2816c997f9c130a97e
[]
no_license
mailup/rest-samples-python
7ca66095779f579e004d6090fa5f55b3d3da4218
7bb792637626856529ee2172a46ab2bb8a122a95
refs/heads/master
2020-04-18T07:48:44.640725
2019-01-25T16:51:33
2019-01-25T16:51:33
167,373,062
1
1
null
2019-01-25T15:15:23
2019-01-24T13:35:07
null
UTF-8
Python
false
false
3,745
py
import os from flask import Flask, render_template, request, make_response from mail_up_client import MailUpClient, MailUpException from examples import example_names app = Flask(__name__) app.config.from_object(os.environ.get('APP_SETTINGS', 'config.Config')) mail_up = MailUpClient(config=app.config) example_results ...
[ "vladimir.khramkov@azati.com" ]
vladimir.khramkov@azati.com
9836a0216936a52972c37b5425d466bc4f03d472
c9436a4f14ec6b3c86cf0f69d82afacda9d6c7f3
/geni/request.py
83bb12970653fb48115341cd13f958efeb961e67
[]
no_license
KDahlgren/ceph-deploy-popper
a04e8785e8d7c086c2940e91e3e2a85c4c059f5d
bdff9766c170132433e53a0799dd38f0e3b4a4d2
refs/heads/master
2020-06-29T02:02:09.796534
2019-08-06T05:51:49
2019-08-06T05:51:49
200,405,247
0
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
import os from geni.aggregate import cloudlab from geni.rspec import pg from geni import util from random import randint def baremetal_node(name, img, hardware_type): node = pg.RawPC(name) node.disk_image = img node.hardware_type = hardware_type return node experiment_name = 'popper-test' + str( ran...
[ "kmdahlgr@ucsc.edu" ]
kmdahlgr@ucsc.edu
a889ec28ea503f4ebfa36d0e080c67063defabd2
2737099c5b3da8df1736364902889ba5fec08beb
/level_four/learning_templates/basic_app/views.py
4184a153ced9d7973a8fb3953910783d1ad7bf0c
[]
no_license
sidharth01g/LearnDjango
f0116286344b75916d4c6f6c0815f77791a2283e
7260cbae267e91bece694aabe21458f62264173e
refs/heads/master
2020-03-23T18:31:22.214366
2018-08-18T12:36:54
2018-08-18T12:36:54
141,914,412
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from django.shortcuts import render from django.http import HttpResponse, HttpRequest # Create your views here. def index(request: HttpRequest) -> HttpResponse: context = { 'text': 'hello world!', 'number': 1234, } return render(request=request, template_name='basic_app/index.html', contex...
[ "sidharth01g@gmail.com" ]
sidharth01g@gmail.com
f35a5128a2f4e22df0707fae7e9f4bde1f798c9a
1de2977d733a05ed08c16792ab5e9735e81b2fcd
/probono_main/urls.py
ad5e4fb866f8c99f0521e163c9619abd8fb9295b
[]
no_license
dchouzer/ProBono
a04505c4d00a4a3f3209f7b045f268cb171404bc
e0acdc9ea488141f5e2f18ac5b41cd0135ac0184
refs/heads/master
2016-09-11T09:21:41.403041
2015-03-06T04:43:03
2015-03-06T04:43:03
31,639,293
0
0
null
2015-03-04T05:42:21
2015-03-04T05:14:17
null
UTF-8
Python
false
false
281
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'probono_main.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), )
[ "david.p.chou@duke.edu" ]
david.p.chou@duke.edu
aad2c3ec378cad1fce5bd7264d58838ff5d417ad
a57f55fb1ebc044342698a903acb114397d8e673
/REMproxy/website/rem_proxy/urls.py
7cc541e5673ccd23c6c71da8aba7136f4ebebc1c
[]
no_license
ekremcet/REMProxyServer
4be22372061d96241b2afc32461f04e0806bc268
5c44f47002dddad3400e937712dd8e84ff6924f0
refs/heads/master
2020-05-04T17:59:20.992219
2019-05-18T11:55:23
2019-05-18T11:55:23
179,334,879
1
0
null
null
null
null
UTF-8
Python
false
false
207
py
from django.contrib import admin from django.urls import path, include from django.views.generic import TemplateView from django.conf.urls import url urlpatterns = [ path('', include('pages.urls')), ]
[ "ekrem.cetinkaya@ozu.edu.tr" ]
ekrem.cetinkaya@ozu.edu.tr
06df66d95f83dce16f1a62cdb9bfc29ba275e9f5
208760460898e0280fe33bd240293cbe7e147028
/manimlib/mobject/svg/brace.py
24605570db36432ce408eb9952c288d5c3313d4e
[]
no_license
Surya291/Video_animations_using_python
cba67edf6648911a8cd7a0ec86afd29133c09cc7
ffead6aada5b17e664a97b5e8773683794a2e1a7
refs/heads/master
2022-12-20T03:23:43.163327
2020-06-30T18:27:40
2020-06-30T18:27:40
276,082,631
1
1
null
2022-11-28T01:26:05
2020-06-30T11:42:16
Python
UTF-8
Python
false
false
4,787
py
import numpy as np from manimlib.animation.composition import AnimationGroup from manimlib.constants import * from manimlib.animation.fading import FadeIn from manimlib.animation.growing import GrowFromCenter from manimlib.mobject.svg.tex_mobject import TexMobject from manimlib.mobject.svg.tex_mobject import TextMobje...
[ "surya020901@gmail.com" ]
surya020901@gmail.com
68a9a3db891fe5ddad7993a219e500c9af72b10f
169568bfed14d62011a76a92a1bff32e197ae266
/rango/migrations/0003_auto_20160208_2113.py
2d31bf0a8195531235806d7aa62b62417222d80b
[]
no_license
sapit/tango_with_django
57c6eb4a8c7027409c7728b13a1db682b5b57378
9308684abc39b63e2faa75bb7d77927ac5a55dc2
refs/heads/master
2021-01-10T04:00:15.297981
2016-03-11T16:05:17
2016-03-11T16:05:17
50,595,023
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('rango', '0002_auto_20160208_2015'), ] operations = [ migrations.AddField( model_name='category', nam...
[ "zdravkozzz13@gmail.com" ]
zdravkozzz13@gmail.com
a437ef54c29f588168f8b297bc757e58949b15ab
3f2c0e7806a89f4a58b273e9dc1dd66f4e9ea7ef
/evaluation/models.py
030c878eaa0671fb64fcf1e660cdb4176727ea84
[]
no_license
blaircalderwood/masterWebApp
45b7d73a7e1082de04240a49e11b9009f47af594
2dee7fd8eeb24831e3f7d6d2e08b621ec091ac7e
refs/heads/master
2021-01-12T19:51:15.307701
2016-09-10T22:53:09
2016-09-10T22:53:09
66,781,159
0
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
from __future__ import unicode_literals from django.db import models class Rating(models.Model): system_choice = models.CharField(max_length=20, unique=False) selected_1 = models.IntegerField(max_length=1, default=0) selected_2 = models.IntegerField(max_length=1, default=0) selected_3 = models.Inte...
[ "blaircalderwood@live.co.uk" ]
blaircalderwood@live.co.uk
fd4ad87877eb340cfaf846cb264685b72c187840
412bab421bf334f7a4195751a36cd1b267a49794
/clustering/kmeans.py
e6fd0dc13c32fe874506df6312b6a34e131e8fa7
[]
no_license
wei-group/basic-algorithms
e6f58763c2b92b140e367763f9e97a18d72b51c3
e428d4526af2dfb65db5745f0bb5eedb562e5029
refs/heads/master
2020-07-02T14:37:02.814673
2019-08-10T01:12:03
2019-08-10T01:12:03
201,559,397
1
0
null
null
null
null
UTF-8
Python
false
false
5,465
py
# 2019-08-07 # author: Ryb # 尝试自己实现kmeans聚类算法 # kmeans算法 # 1. 初始化k个族中心 # 2. 计算每个样本与k个族中心距离,标记样本为距离最短的族 # 3. 重新确定K族中心(族中平均位置) # 4. 循环2-3,直到前后两次所有族中心距离变化<eps """ # 输入: X: 2d数组, 形如(n_samples, m_features),n_samples表示样本数,m_features表示特征维数 K: int, 超参数,指定族格式 metric:str, 距离类型,默认为欧...
[ "noreply@github.com" ]
wei-group.noreply@github.com
32b5d6deefadeeec4ae718e1911b9a8d8c500d12
0fcf8bae20849bdc4514a94c672ac79ecfff670b
/venv_home/bin/rst2latex.py
87b9cb0f63aa97a0098bca4be097099581bb1097
[]
no_license
CurryXuGoGo/myblog
5322e15bd480bfab521b19558e9c6b46c65f6742
26fbcc436a3d20598ea1922756dd69664fb3453f
refs/heads/master
2021-01-19T17:26:25.130493
2017-02-22T06:01:04
2017-02-22T06:01:04
82,458,228
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
#!/home/curry/myproject/curry_home/venv_home/bin/python2 # $Id: rst2latex.py 5905 2009-04-16 12:04:49Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing LaTeX. """ try: import locale ...
[ "canyuxu@163.com" ]
canyuxu@163.com
817855407a326bbddc2d810692e4fdf3e51286f1
30f89cd54ed3ad864b0a090a7ee5fb006fd22015
/posts/router.py
b93fe38b4f86e690adb68df0d1d9ef4da18e13d0
[]
no_license
5hy4m/SimpleBolg-api
888f51d7c4c3db0758413c00005e393303b582fc
5597e91d43bf0c72f809443773a0b9f99385c872
refs/heads/master
2022-04-17T10:45:32.906898
2020-04-11T13:01:33
2020-04-11T13:01:33
254,868,359
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
from .views import * from django.urls import path from rest_framework import routers from rest_framework.urlpatterns import format_suffix_patterns router = routers.DefaultRouter() router.register('register',CreateUserViewset) router.register('posts',PostsViewset) router.register('likes',LikeViewset) router.register('...
[ "vcsshyam1998@gmail.com" ]
vcsshyam1998@gmail.com
6a0b21840339c3f21e8500025fb762066f982809
82baa0aa95c3d616299ec64aaa99b2efe973b9fe
/lists/views.py
c732cf295652c2b27fde7f26d400e3c2f5dd1f8f
[]
no_license
adamatus/goat-goat-goat
09bbea320f926e30f46278d7cae348015606ef68
6934323df9b91be9010dfa02dfa90f88275d4986
refs/heads/master
2021-01-21T12:43:32.037662
2015-06-30T20:40:29
2015-06-30T20:40:29
38,329,756
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
from django.http import HttpResponse from django.shortcuts import render, redirect from lists.models import Item, List def home_page(request): return render(request, 'home.html') def view_list(request, list_id): list_ = List.objects.get(id=list_id) items = Item.objects.filter(list=list_) return rende...
[ "Adam.Riggall@nike.com" ]
Adam.Riggall@nike.com
c01d94ae1e7fc315ee743584b9c872e675ccc16f
00e58944bb5e1f14e427887abffe9f8a7f63da0b
/Неделя 5/больше_предыдущего.py
5d3ddde4ed119790635708b4ae63c9973c94202d
[]
no_license
homosociologicus/coursera_py_basics
323367e0097a06491030080992c06d6565230568
795965b83b509697d7e74cb701aba92f3fb13de6
refs/heads/master
2022-11-21T19:53:06.665399
2020-07-26T20:55:01
2020-07-26T20:55:01
262,435,643
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
nums = list(map(int, input().split())) for i, num in enumerate(nums): if i > 0 and num > nums[i - 1]: print(num, end=' ')
[ "56775261+homosociologicus@users.noreply.github.com" ]
56775261+homosociologicus@users.noreply.github.com
cb6b6633f9e9bcb3190db064952f56f28a09c73e
fc5932adb6ebf234542ba66772f9bb1594cdc587
/first_project/first_app/migrations/0017_auto_20210423_2007.py
806f9471b6251dd2e6be858ed032394dec380c17
[]
no_license
sagunrupakheti/Online-Examination-System-for-User-Reliability-and-Secure-Authentication
bda7dd907229cf583b0b689b57c1b09f07fce1c4
dbe758d6ba23a79999f5e640546eb154bdf0686e
refs/heads/master
2023-06-19T10:31:42.941190
2021-07-12T15:28:23
2021-07-12T15:28:23
385,242,910
0
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
# Generated by Django 3.1.6 on 2021-04-23 14:22 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('first_app', '0016_auto_20210423_2006'), ] operations = [ migrations.AlterField( ...
[ "sagunrupakheti@gmail.com" ]
sagunrupakheti@gmail.com
e4170ac5c4fafae22d46de35b0b75f1e199cfcb7
e613aad81f98a23e5245e3bd15c6401a86038bec
/cupon/migrations/0003_auto__add_field_promocion_descripcion.py
43983366654e696bdecbd623b2671bed219bbf09
[]
no_license
zykorwx/cupones
9fc7a84d25bfc9fd187983e01623bee1ac9204c9
d4145feb77506c6a318a07037a15aa1512bd55ce
refs/heads/master
2020-05-09T15:57:28.419318
2013-05-20T13:55:25
2013-05-20T13:55:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,582
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Promocion.descripcion' db.add_column(u'cupon_promocion', 'descripcion', ...
[ "enrique.wx@gmail.com" ]
enrique.wx@gmail.com
533ac91d6a3a858bfbdb52ce3fa9904106f64220
c07ec6da7992a50ed819b4fe4d8a37d275828e98
/divisibleSumPairs.py
534c1b40bc5d6d264a65c12e80da2dac20851c7b
[]
no_license
basilvetas/HackerRank
03f20c3a55d52d996d90dd3b43ef21e9e2d57461
a24787631354d2ba076f841e6df43f0268f0d34a
refs/heads/master
2020-12-02T23:01:06.674777
2017-08-21T15:16:46
2017-08-21T15:16:46
96,218,039
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#!/bin/python3 import sys def divisibleSumPairs(n, k, ar): # Complete this function count = 0 for i in range(n-1): for j in range(i+1, n): if((ar[i] + ar[j]) % k == 0): count += 1 return count n, k = input().strip().split(' ') n, k = [int(n), int(k)] ar = list(map...
[ "basilvetas@gmail.com" ]
basilvetas@gmail.com
38115f76d54bbe26259ce8a200bc6f270fa0d7fd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03773/s566332295.py
1593f7c298c88100c0c942d38fec3f2b77e644d8
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
def main(): num = list(map(int,input().split())) print((num[0]+num[1])%24) main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e93f57f991b6c6ff7bd97221fd2e2ced2050d5c8
d0a042a6518d66d092796212fea6507c879c00c2
/PIAIC121874_Assignment2.py
96fc7a6048d823ff9cb7b824e21bce47a9a5f5e5
[]
no_license
fizazafar/PIAIC-AIC-Batch-13
5c0a813ce87c7a8405e514932cefa7234d6c631d
3de1862f5a00808f4145ea5e7b4f63ed8dfa4a1c
refs/heads/main
2023-02-11T21:43:25.561517
2021-01-03T17:07:11
2021-01-03T17:07:11
326,457,135
0
0
null
null
null
null
UTF-8
Python
false
false
9,615
py
#Fiza Zafar PIAIC121874 # %load Assignment2.py # Read Instructions carefully before attempting this assignment # 1) don't rename any function name # 2) don't rename any variable name # 3) don't remove any #comment # 4) don't remove """ under triple quate values """ # 5) you have to write code where you found "write y...
[ "noreply@github.com" ]
fizazafar.noreply@github.com
7901ff4f344409cdb21e823edb41a0cfe4a66295
5acc70e767c16531f99becf878c645c24d24b09c
/src/location/location.py
2244c345e4a56e95ab81e4ae23a325a3f3599f12
[]
no_license
mwess/MailClassify
acd45abf2cb35f63494bdc1ade1ff389b898a91c
c98afdd45dd9368d8e7806bef228de14fcc88cc3
refs/heads/master
2020-04-25T09:33:36.991589
2019-03-05T16:31:33
2019-03-05T16:31:33
172,679,232
0
0
null
null
null
null
UTF-8
Python
false
false
5,671
py
""" This module is concered with the extraction of location information from strings. """ import re from nltk import word_tokenize import src.utils.preprocessing as pp from src.utils.processpipeline import ProcessPipeline from src.utils.mails import transform_mail # List of locations for which we accept projects. li...
[ "maximilian.wess@detim.de" ]
maximilian.wess@detim.de
96dcb8ab00d66cbd158cc145f3e2edcf4646797a
99e05a85f22f7cf192aab03e103a94df7652ec94
/FlaskExercise/models.py
45ba9993ac808b490ded4690f733e58798404e47
[ "Apache-2.0" ]
permissive
saidulislam/azure-storage-webapp-zoo
cb72ae0107ca592df52b962520620ac41a618c43
db274b3927ca652ce3df5352c416998180f2301a
refs/heads/main
2023-06-04T19:40:38.739137
2021-06-29T04:19:03
2021-06-29T04:19:03
381,226,139
0
0
null
null
null
null
UTF-8
Python
false
false
1,540
py
from FlaskExercise import app, db from flask import flash from werkzeug.utils import secure_filename from azure.storage.blob import BlobServiceClient import uuid blob_container = app.config['BLOB_CONTAINER'] storage_url = "https://{}.blob.core.windows.net/".format(app.config['BLOB_ACCOUNT']) blob_service = BlobService...
[ "noreply@github.com" ]
saidulislam.noreply@github.com
574996d91f07ac782294a67386dd4d525ab5f8df
d13303fb718bf02f61a6141ed0cb48294f76175c
/dev/lambda/lambda_function_sr.py
436156fcca1837c83fae8ab5730345fcc03ccaaa
[ "Apache-2.0" ]
permissive
sdrohrer/lexflex
8e8ae462d520a2a6911debebcc3dbd235ba47e92
87bf528a2a6798e595ac30fe709b2d01d6674296
refs/heads/master
2021-09-01T12:04:02.748984
2017-12-26T22:05:23
2017-12-26T22:05:23
114,684,698
0
1
Apache-2.0
2017-12-23T19:25:31
2017-12-18T20:29:00
Python
UTF-8
Python
false
false
1,192
py
######################################## #this is the sample python 3.6 lambda function blueprint code #I called mine steveohello #to execute this in the Lambda Management Console you must save the code and then configure the basic test event and then TEST #This tutorial https://www.youtube.com/watch?v=hzlxWBs1Qt4 cove...
[ "noreply@github.com" ]
sdrohrer.noreply@github.com
1f963650bcb5eb70de1917b67c2e511010975132
e8bb51626c32d173cf248e5c47d09eb50d943a31
/Programmes/PYTHON/TP1/Ui_screenUI.py
c2d9d2c835c83221ab9199d3cd263f27f9007fb2
[]
no_license
juantorres9/Presentation
dde458ceaa428c372633afba9e84e00b3f0bdc9d
a86badfd2dc12785058ddfe0660d48e7ce42bcc4
refs/heads/master
2021-01-12T03:17:52.341247
2017-01-29T23:58:52
2017-01-29T23:58:52
78,183,846
0
0
null
null
null
null
UTF-8
Python
false
false
1,720
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'C:\Users\juantorres\TOTAL\PYTHON\TP1\screenUI.ui' # # Created by: PyQt5 UI code generator 5.5 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self...
[ "TORRES ZETINO juan carlos" ]
TORRES ZETINO juan carlos
c51f286624640820706df54c61f1e49246320510
aa6cfedb0578c21742545ce4f59477fbddf8da4f
/QAMAS/_build/jupyter_execute/Abstract.py
9bd003f3b68839d1cdcf3e2e6f690745e2a11efb
[ "MIT" ]
permissive
beards-lab/QAMAS_book
de109efb5c85e4a8454dcdcc1aabed1ce7836a60
8a6b78fbf3564ce313380619900f2de5fcbe9035
refs/heads/master
2023-04-08T10:34:13.554378
2021-06-09T21:04:46
2021-06-09T21:04:46
336,389,470
1
1
MIT
2021-06-08T22:15:17
2021-02-05T21:07:48
Jupyter Notebook
UTF-8
Python
false
false
2,334
py
#!/usr/bin/env python # coding: utf-8 # # Title Page # # ## Authors # # E. Benjamin Randall$^{1}$, Marcus Hock$^{2}$, Rachel Lopez$^{1}$, Bahador Marzban$^{1}$, Collin Marshall$^{1}$, Daniel A. Beard$^{1*}$ # # $^{1}$ *Department of Molecular and Integrative Physiology, University of Michigan, Ann Arbor, MI* # # $...
[ "ebenjaminrandall@gmail.com" ]
ebenjaminrandall@gmail.com
28c2a1397296c0b3d064628bce32890e02e60df9
c23eacbdc07236ebeb21bccd75a5ed0b0fb5ad35
/binance/websockets.py
a418fa2189e3554f338d7443ba60554120675258
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
kheaactua/python-binance
8086dc0facbf5380efcce9f640eaa57c6e0eb3eb
47b8fd2b571f8f85895b080de6f422aa386e7c99
refs/heads/master
2021-09-03T08:22:35.592543
2018-01-07T13:58:12
2018-01-07T13:58:12
116,569,527
1
0
null
2018-01-07T13:54:35
2018-01-07T13:54:34
null
UTF-8
Python
false
false
16,339
py
#!/usr/bin/env python # coding=utf-8 import json import threading from autobahn.twisted.websocket import WebSocketClientFactory, \ WebSocketClientProtocol, \ connectWS from twisted.internet import reactor, ssl from twisted.internet.protocol import ReconnectingClientFactory from twisted.internet.error import R...
[ "hello@sammchardy.net" ]
hello@sammchardy.net
485eca5437cee4a4a6208ae5326f9da735df8c1c
0358e068503e476a47b1cc6180f2032b9103e754
/yushubook/app/spider/yushu_book.py
b0b0c1655ce5c3640305f36b1aa364f4efc3ba04
[]
no_license
SuperHaHa1437/PycharmProjects
9610951a7c4dda4e708e52c68631625c0755cd96
b6e25308147a82d78949d0a0673a4262456df18a
refs/heads/master
2022-12-09T19:58:12.837997
2021-04-24T09:08:01
2021-04-24T09:08:01
131,120,703
0
0
null
2022-12-08T05:01:58
2018-04-26T07:58:15
HTML
UTF-8
Python
false
false
2,031
py
""" Created by 张 on 2019/8/5 """ from app.libs.httper import HTTP from flask import current_app __author__ = '张' # 鱼书业务查询 class YuShuBook: isbn_url = 'http://t.yushu.im/v2/book/isbn/{}' keyword_url = 'http://t.yushu.im/v2/book/search?q={}&count={}&start={}' def __init__(self): self.total = 0 ...
[ "565393394@qq.com" ]
565393394@qq.com
161a3d838a17fc88e760f1620eb54b1f12874611
24eeb28433680606f9d1e099b19ec595552cf06b
/repo/script.module.resolveurl/lib/resolveurl/plugins/streamvid.py
d62d62d229807de23912c2a33ab583000464b083
[]
no_license
irmu/arda
d8ecdedc17bb01650b538dc9e00f438b6d0eed5a
9b7cab3656c2497c812ab101a56ed661dd8cf4a7
refs/heads/main
2023-09-01T08:48:02.823681
2023-08-29T18:11:28
2023-08-29T18:11:28
151,835,016
7
3
null
null
null
null
UTF-8
Python
false
false
1,658
py
""" Plugin for ResolveURL Copyright (C) 2020 gujal This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
[ "zacharias.sama@gmail.com" ]
zacharias.sama@gmail.com
d5833f89424f1f61deab1343fc7aebff8a4bfae4
cffa7525b587d2018c8af277cd48be89882f5bab
/polynomial_regression.py
07aa39a4c19140b13359452bd4cd7f3983316f96
[]
no_license
bapinmalakar/datascience-ml
6a40942ce5da1e07d10cb29f290a7fcdcbd275ad
2aa5c6400fa03cd85ae25035773ffa2551b5b798
refs/heads/master
2020-07-28T07:05:36.057187
2020-04-13T18:23:38
2020-04-13T18:23:38
209,346,282
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
# Polynomial regression is form of linear regression which will modeled the relationship betwwen X and Y by nth Degree polynomial # Its good fit for non-linear # All suppose you want for a features your target should always increase, as X is increase then we can use polynomial #h(Q)= Q0 + Q1*X + Q2(X^2) + Q3(X^3), thi...
[ "biplab@terriblytinytales.com" ]
biplab@terriblytinytales.com
48e505a2307bf3054c1a4fb0f489f1d9dfcdd3c5
b55d3f576aedd7674836f63a72afd7516565fbb4
/python_assignment_4.py
892116f96c55bd3b78c329b5150d88fbb757ae71
[]
no_license
munishscientist/python-codes
6d46edda12b6fe4854b309a6e38fe1f509f05c2c
d7d1a3135796a4f856134ca8f77fbbdf2507ac0f
refs/heads/master
2020-09-22T12:48:24.864770
2019-12-01T17:45:24
2019-12-01T17:45:24
225,202,233
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
strings=input() num=input() num=int(num) def exploder (strings, num): for x in range(num) : print(strings) exploder(strings,num) print(exploder)
[ "noreply@github.com" ]
munishscientist.noreply@github.com
9a44ddb8936bbec7bd686b72c343e890fc4aa6a3
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/pygame/examples/testsprite.py
b03f5e714175c2787e3f2b5f3332dbe0a3261bef
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
6,991
py
#!/usr/bin/env python """ pg.examples.testsprite Like the testsprite.c that comes with libsdl, this pygame version shows lots of sprites moving around. It is an abomination of ugly code, and mostly used for testing. See pg.examples.aliens for some prettyier code. """ import sys import os from random import randint...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
3c20d4ae5ec110e98103c612238712a0a0cfad65
dd531974de52d1714bb216b56dcc07338a506fa5
/src/physics/single_chain/ideal/thermodynamics/test.py
f35735590c010568b8d0384f9b58a9e8146189e5
[ "BSD-3-Clause" ]
permissive
sandialabs/Polymers
a457718a48c26ff7041a4f1905450dad7042a0a9
708b76001d60101f7b2c3e33a949b177289c9fde
refs/heads/main
2023-09-01T21:59:45.762327
2023-08-28T14:20:25
2023-08-28T14:20:25
531,658,209
11
1
BSD-3-Clause
2023-09-14T01:49:06
2022-09-01T19:26:15
Rust
UTF-8
Python
false
false
3,540
py
"""Module to test the local module. """ import unittest import numpy as np from polymers import physics from ..test import Parameters parameters = Parameters() Ideal = physics.single_chain.ideal.thermodynamics.Ideal class Base(unittest.TestCase): """Class for basic tests. """ def test_init(self): ...
[ "mrbuche@sandia.gov" ]
mrbuche@sandia.gov
ef2942f022e5e2aa12b903d2053215c58246870a
495110d9b2adba4a4df2857e4d2274d79a42f7e2
/iterator/test_iterable.py
5c020631c6668737135688f36466c34b6206b0cb
[]
no_license
davyjang1/python-practice
9d43549e1f423d7274321f64bc91d44dc118b6ad
cb4fa55216091f5182dcfdf520a53e3c379c248b
refs/heads/master
2021-09-08T06:56:54.293918
2018-03-08T04:27:18
2018-03-08T04:27:18
107,388,666
2
1
null
2017-10-18T09:57:55
2017-10-18T09:46:25
Python
UTF-8
Python
false
false
714
py
""" A class has its own iterator which only return even number """ class iterable_class: def __init__(self): self.list1 = [] def __iter__(self): return my_range_iterator(self.list1) class my_range_iterator: def __init__(self, list1): self.list1 = list1 self.iterator = iter(self.list1) def...
[ "dahui.jiang@veritas.com" ]
dahui.jiang@veritas.com
d99a072e37285ac265232ebd81305a7171dae8c0
59fdfc7ad025de6142b29f17d024b06bf490b668
/astropySingleImage.py
6f6a8c95f5c91ceca0f1e2e37f835196c49fcf40
[]
no_license
BenGfoyle/seyfertGalaxyThesis
59a10bdc72713745a37bd48de94715d23cf32258
46767241aef6e9516212a9b0b9c07147337ca072
refs/heads/master
2020-08-27T23:07:35.733746
2020-03-12T12:09:38
2020-03-12T12:09:38
217,512,243
0
1
null
null
null
null
UTF-8
Python
false
false
2,656
py
# -*- coding: utf-8 -*- """ Created on Wed Oct 23 15:05:05 2019 @author: bguilfoyle """ import numpy as np import astropy.io.fits as pyfits import glob import matplotlib import matplotlib.animation as animation import matplotlib.pyplot as plt import matplotlib.colors as mcolors from tkinter import * #=...
[ "noreply@github.com" ]
BenGfoyle.noreply@github.com
ff0fea894a0c2b96f75aaf54a45a3c578c4e301d
f7c5b6427e46c08b824e2768a2bc734fac89cbc1
/app/user.py
4e2ca04a43053d053ce7c7a3ab8f6847a2f3e931
[]
no_license
bjpinniger/virtualwaitingroom
c3f8d326ce72f5efb2af13dc1d3f8e074b67f801
f29c5376a1a24143156a83502bda0fc726571319
refs/heads/master
2022-12-11T22:42:58.435120
2020-02-09T03:57:53
2020-02-09T03:57:53
233,771,198
0
1
null
2021-11-29T18:00:22
2020-01-14T06:21:49
Python
UTF-8
Python
false
false
819
py
import ldap from config import Config LDAP_HOST = Config.LDAP_HOST def get_ldap_connection(): conn = ldap.initialize('ldap://%s:389' % LDAP_HOST) return conn class User: def __init__(self, username): self.username = username def is_authenticated(self): return True def is_acti...
[ "bpinniger@gmail.com" ]
bpinniger@gmail.com
53847d9cb45ca885ddacbb3facca9d20d007b0c3
d3e5dd3818cbd4813aff24e390d88583e312c116
/sampleTable.py
b8052bc5a20d701e6dde4dc99515da1652899caf
[]
no_license
silviodonato/PisaHmm
199f586496387666485e4effc7b8080890553de9
10b83de9034b6a5ca558f1fb3303e402e06f7925
refs/heads/master
2021-06-22T18:51:48.007861
2021-01-14T10:37:39
2021-01-14T10:37:39
210,295,606
0
0
null
2021-03-29T13:34:35
2019-09-23T07:50:18
Python
UTF-8
Python
false
false
2,079
py
import samples2016 import samples2017 import samples2018 import models2016H import models2016Z import models2017H import models2017Z import models2018H import models2018Z import pprint def removeYear( string ): string = string.replace("2016","") string = string.replace("2017","") string = string.replace(...
[ "silvio.donato@cern.ch" ]
silvio.donato@cern.ch
3e512b475846aa3965df33e6ee3808761d841cee
164840bb98d45b40258a95788a8af5c50441e0a1
/clientes/migrations/0001_initial.py
5fc51ac3b34012d3256e4eca57604cdf5bc8912e
[]
no_license
pablofm/cuiquer
cf72d97dac09e0877985f0ea38b30fb7e2b9760b
becac80611ad99c1178ab70e97dd3f21d70ec474
refs/heads/master
2021-01-24T18:46:43.381380
2016-11-09T15:04:55
2016-11-09T15:04:55
84,471,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-10-04 11:17 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('profes...
[ "pafloma@gmail.com" ]
pafloma@gmail.com
15b17ffdad629bb12da488da14d9a94f977d55a4
2506f37e2611137216631beea0953a58119ce412
/steps.py
182c6b239fe4af7335c20af788c8463046ff0eae
[]
no_license
filipibardusco/EduK-Homecourse_Test
244262ed0598c32bdc31e7edc52aac3e2fb8de60
3a8122b7cf7302e07e290984a03996d626def7b5
refs/heads/master
2021-01-02T22:34:34.750813
2017-08-21T13:53:52
2017-08-21T13:53:52
99,344,571
0
0
null
2017-08-04T14:08:18
2017-08-04T13:17:40
Python
UTF-8
Python
false
false
5,424
py
from random import randint import time from selenium.common.exceptions import TimeoutException, NoSuchElementException @given(u'a user enters eduK') def impl(context): context.browser.visit('/') @when(u'we log in') def impl(context): username_field = context.browser.find_by_id('session_email') password...
[ "noreply@github.com" ]
filipibardusco.noreply@github.com
42fd82bd04b3935f33d124cb4a900608fbe5d506
7357edd3aaab7c6ffe0f2e301ad8f4fdee21eca3
/news/models.py
f6d0c303b401d84b77b14934371b8568f9978a84
[]
no_license
Janteby1/hacker_news_clone
5e7586fd89daa21e909f50fcc23de1f747dd1b13
9aed74211770db04607ca37b88ed03dc7fd492f2
refs/heads/master
2021-01-10T16:33:51.596506
2016-03-11T03:40:09
2016-03-11T03:40:09
53,432,784
0
0
null
null
null
null
UTF-8
Python
false
false
2,861
py
from django.db import models from django.contrib.auth.models import User from django.utils.text import slugify from django.utils import timezone #make sure to set the timezone # Create your models here. class UserProfile(models.Model): # this line links UserProfile to a user model instance user = models.OneToOneFie...
[ "Janteby1@gmail.com" ]
Janteby1@gmail.com
1e4b280808652a230bc92afa88050e3d9c6ff12e
20230caa501da645e0c2665c991c41139f2d5fbe
/Fluke 8508/Fluke_8508_AutoCal_Procedure.py
b935832819dcee83e11d78882eaa0507157314c9
[]
no_license
CBKirberger/AutoCal
172ad1dd735b6b91dd52bd5c0b2150126f64b9f1
e8a0372d723a47f5ec652fbd9f563443747c0d78
refs/heads/master
2022-12-11T11:23:13.019635
2020-09-14T14:25:40
2020-09-14T14:25:40
295,437,914
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 9 10:07:00 2020 This procedure is for the calibration of Fluke 8508 DMMs Required Equipment - Fluke 5730A - Fluke 5725A - Measurement International 10 GOhm Resistor - Measurement International 1 GOhm Resistor """ from F8508 import F8508 from F5730A import F5730A import...
[ "clayton.kirberger@callabco.com" ]
clayton.kirberger@callabco.com
1de92801c89bd649958d0acd38d16022bd2e57fa
f2337b0a0f29b87a255a607c2e5f7e890e74dbee
/Fib2.py
1ab626efe03123d808f98be05bc352dbc72e696f
[]
no_license
harryc12a/PassFort
ec9e245a3f6762198c659927312d0ea5277966c3
e141cc4a1a6de5a555da14616bfa51f67ceb247a
refs/heads/master
2020-09-06T21:02:44.686808
2019-11-08T21:31:27
2019-11-08T21:31:27
220,550,644
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
# Code to find the first Fibonacci Number with 1001 digits F1 = 1 F2 = 1 # First two Fibonacci Numbers F3 = 2 # F3 Represents the next Fibonacci Number after F1 and F2 while F3 < 10**1000: # The first Fibonacci Number with more than 1000 digits must have 1001 digits. First smallest number with 1001 # is...
[ "noreply@github.com" ]
harryc12a.noreply@github.com
b3dee51a6deb3dc61d76f2bcd67a643ecb144380
67d8173a716da10a7350213d98938aae9f2115ce
/LeetCode/LC_PY_ANSWERS/maximum-subarray.py
0d629390e867ecf87df64b8a86941f76a49c225a
[ "MIT" ]
permissive
jxie0755/Learning_Python
94490d41bdf93acf8396f843328e38b6da310b0f
143422321cbc3715ca08f6c3af8f960a55887ced
refs/heads/master
2021-11-02T22:47:35.790239
2021-09-26T04:26:23
2021-09-26T04:26:23
101,445,132
0
2
null
2019-02-19T15:48:44
2017-08-25T22:00:16
Python
UTF-8
Python
false
false
399
py
# Time: O(n) # Space: O(1) class Solution(object): def maxSubArray(self, nums): """ :type nums: List[int] :rtype: int """ if max(nums) < 0: return max(nums) global_max, local_max = 0, 0 for x in nums: local_max = max(0, local_max + x)...
[ "30805062+jxie0755@users.noreply.github.com" ]
30805062+jxie0755@users.noreply.github.com
8aa2ab53f65dc4ef0b695374f57888bcda195e12
c6c9d1259c9791d9f8e4ae21733f1a133c56a1b7
/deiv.py
6439031a26c2524215432d05751b0e8be997a9fa
[]
no_license
Rajadeivani/deiv
9c101945774a863a0ad855892fd3a764db9cdca2
a04c7c94d1389a0df16d6dc7106fc98f69d5a8ff
refs/heads/master
2020-07-04T01:44:19.903343
2019-08-13T09:43:06
2019-08-13T09:43:06
202,112,622
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
start = 1 end = 10 for val in range(start, end + 1): if val > 1: for num in range(2, val): if (val % num) == 0: break else: print(val)
[ "noreply@github.com" ]
Rajadeivani.noreply@github.com
d4e4d3c783a559a4b0fbd29eb6a6af9d0e16777c
6600891222661d0e869f34759b13aab32ad17be1
/code/16-09-c13-vol2.py
7b0dda007d2a77068c3c63779638f51df47e6038
[]
no_license
witekwitkowska/LSTM
c2e6f26b862568c5330104812cfe217c9589fa79
16174d86b968df541720e9e223c11cefebf85773
refs/heads/master
2020-08-01T23:22:00.355073
2019-09-26T19:08:09
2019-09-26T19:08:09
206,821,476
0
0
null
null
null
null
UTF-8
Python
false
false
5,140
py
import tensorflow as tf import datetime, os from keras.preprocessing import sequence from keras import optimizers from keras.models import Sequential from keras.layers import Dense, Embedding, Dropout from keras.layers import LSTM from keras.callbacks import EarlyStopping, TensorBoard, ModelCheckpoint import numpy as n...
[ "witek.witkowska@gmail.com" ]
witek.witkowska@gmail.com
89d1bfc634202ee60f5cbc882161a20668ba5478
e4fe9a2d3bd9e2a35cdfb058052b3b6e1911aea2
/classification_based.py
62df8ed4736f1744394f828b754092d6f1950dfd
[]
no_license
lvwuyunlifan/zero-shot-classification
6b0bd534afc9dbfbfa87caaa77971b99f2fc86d3
310c282ebd25b915e612177c5c525be8c7c4737a
refs/heads/master
2020-03-28T11:42:47.799467
2018-09-11T10:46:13
2018-09-11T10:46:13
148,240,673
0
0
null
2018-09-11T01:11:42
2018-09-11T01:11:41
null
UTF-8
Python
false
false
3,733
py
import tensorflow as tf import random def weight_variable(shape): initial = tf.truncated_normal(shape, stddev=0.01) return tf.Variable(initial) def bias_variable(shape): initial = tf.constant(0.01, shape=shape) return tf.Variable(initial) def conv2d(x, W): return tf.nn.conv2d(x, W, strides=[1...
[ "18829209540@163.com" ]
18829209540@163.com
c86a0834de57457f5f08b2298537849ecdd95456
4109ebd03cc7905f32afdb8ca55f95e049b4dc0f
/modules/swagger-codegen/src/main/resources/flaskConnexion/app.mustache
14af64be6f9ac0b3286fb68a3ca233f06d280ad3
[ "Apache-2.0" ]
permissive
hellofresh/swagger-codegen
83616c88f4010e5045d4e424ad4873d8eef63479
5c636650ed2357af83ae8b3467d78d33e441007c
refs/heads/master
2023-06-28T14:38:15.878350
2016-01-04T10:40:01
2016-01-04T10:40:01
29,979,606
0
2
NOASSERTION
2023-06-16T10:52:30
2015-01-28T17:37:37
Java
UTF-8
Python
false
false
244
mustache
#!/usr/bin/env python3 import connexion if __name__ == '__main__': app = connexion.App(__name__, {{serverPort}}, specification_dir='./swagger/') app.add_api('swagger.yaml', arguments={'title': '{{appDescription}}'}) app.run()
[ "fehguy@gmail.com" ]
fehguy@gmail.com
f65f5e898b5f6e18770d14905da24721aa97dd86
22595b26ff8a7a6d5da16478206b33008f4a4ee1
/box_embeddings/modules/__init__.py
0ee5a4f02c82bd552293809c9c44201f3cea63f2
[]
no_license
amitgajbhiye/box-embeddings
cc7b12d69d18ae458346ea0eca399ba03f02515c
874f1ee1302b93a8fb94e45a66707f5a6ea16628
refs/heads/main
2023-08-23T19:03:57.771408
2021-08-05T14:48:03
2021-08-05T14:48:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
import logging from .. import torch_is_available, tensorflow_is_available logger = logging.getLogger(__name__) if torch_is_available(): from .embedding import BoxEmbedding if tensorflow_is_available(): from .tf_embedding import TFBoxEmbedding if not torch_is_available() and not tensorflow_is_available(): ...
[ "noreply@github.com" ]
amitgajbhiye.noreply@github.com
3d2f7d795d4ea98bd2799ac398530b67442f232d
652507478240d7397feaee3864d0b9050a5da936
/FPP/save_data.py
f0f74db28563ba4d61e3e5731f4dd6268d8930d9
[]
no_license
ffp123/FPP
ba91ac64ba560f2e897926c588a3ad0d3dbb7e27
1dd999c17b5b2926982777f58714e89146115706
refs/heads/master
2022-08-20T22:51:47.345754
2020-06-08T10:17:08
2020-06-08T10:17:08
252,998,291
0
0
null
2022-07-29T22:40:35
2020-04-04T13:02:10
Python
UTF-8
Python
false
false
4,671
py
# -*- coding: utf-8 -*- """ @Time : 2020/5/9 13:02 @Author : tmooming @File : save_data.py @Description : 将数据存储 """ import datetime import pandas as pd import psycopg2 import redis import pandas try: redis_db = redis.Redis(host='127.0.0.1', port=12787, db=1) # 连接本地redis,db数据库默认连接到0号库,写的是索引值...
[ "finance_ffp@163.com" ]
finance_ffp@163.com
711b58c83bfeff7ae943e7c0d498eecb18087314
028b28bda2eb04b1043f54b8251b11933f5616a8
/parse_file.py
85bf6af929c28f84832d03dec30715fb38eb648a
[]
no_license
zrongh90/system_monitor
e47225a4661354920b72cec62e1915e8d97cb559
416d6914dfb60da9325b535f648899978a2bbe3e
refs/heads/master
2021-08-23T06:49:43.128068
2017-12-04T00:48:58
2017-12-04T00:48:58
105,982,318
3
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
import xlrd from modules import System, WebSphere, DB2, db def parse_file(in_file_path): file = xlrd.open_workbook(in_file_path) sheet = file.sheet_by_index(0) system_list = [] for cur_row in range(1, sheet.nrows): fs = [sheet.cell_value(cur_row, x) for x in [0, 1, 2, 5, 6, 7, 8, 9]] o...
[ "397864223@qq.com" ]
397864223@qq.com
0636762bbad9464f94b94406db6f5d6e66ed737a
0ecc787420fa4453f9150c010fbdfdd02709aa5f
/logs_analysis.py
5b45ed2f4d231d4f2be63a5db55070ffb7977797
[]
no_license
udayanshevade/FSND-Logs-Analysis
e8b86b057e3569317eddfb39ae4759bedb34c9d8
9ce2e9c3adcdd94fdb32d9e364b4da96ab97a61b
refs/heads/master
2021-01-20T12:45:37.468443
2017-08-29T07:08:09
2017-08-29T07:08:09
101,719,664
0
0
null
null
null
null
UTF-8
Python
false
false
3,183
py
#!/usr/bin/python3 import psycopg2 DB_NAME = "news" def connect_to_database(dbname): """Connects to database, returns connection""" try: db = psycopg2.connect(database=dbname) c = db.cursor() return db, c except: print("Unable to connect to database...") sys.exit...
[ "udayan.shevade@gmail.com" ]
udayan.shevade@gmail.com
bbc18d749c70f92caf44d513ddf6e2153608d0fa
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/14545402.py
c50679fcce12693bd16822034a843c5c2647f62b
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/14545402.py generated: Wed, 25 Jan 2017 15:25:31 # # Event Type: 14545402 # # ASCII decay Descriptor: [B_c+ -> (JPsi -> mu+ mu-) (tau+ -> pi+ pi+ pi- pi0 anti-nu_tau) nu_tau]cc # from Configurables import Generation Generation().EventType = 14545402 Ge...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
0aa9c77c68e15f0666262f6cd256e1faf9890c3c
8ab93bfc2e095d0ba83138e5898973eca992c200
/CULane/lower_checkpoint.py
d1b9a60f6a7e2d7d4473b28cc7ff25539108dc80
[]
no_license
Muen342/HAWP_road_predictions
d6edd5088a44b8ad5678157128fdf05dea35c6d8
c7ba07bb1445be772ead6ba9d3e878cf1d28e382
refs/heads/main
2023-04-17T07:48:46.120008
2021-04-27T17:59:57
2021-04-27T17:59:57
357,369,428
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
f = open("outputs/hawp/last_checkpoint", "r") num = f.read()[-6:-4] print(num) num = int(num) - 1 if(num < 10 and num > 0): final = "outputs/hawp/model_0000" + str(num) + ".pth" else: final = "outputs/hawp/model_000" + str(num) + ".pth" print(final) f = open("outputs/hawp/last_checkpoint", "w") f.write(final) f...
[ "muen2001@hotmail.com" ]
muen2001@hotmail.com
8f209c4f0a51bf7e93939459c66c36c05ae18754
0af30c2e3ddcc80a19ea9cfaad9d7e1fedf8b876
/210304-210305/백) 2252 줄세우기/배진수.py
2c14a3319c10d3c3eaae3e6497ecb1e101636b44
[]
no_license
winterash2/algorithm_study_2021_1
d1cd6077f71f68e7fc3eb6dfae7b2cc220885e4c
c1fee62c7e5e560c3bf7ae5e6166866d0147f23f
refs/heads/master
2023-04-02T20:11:04.169856
2021-04-05T11:18:22
2021-04-05T11:18:22
327,563,535
1
2
null
2021-01-24T14:17:40
2021-01-07T09:28:08
Python
UTF-8
Python
false
false
550
py
from collections import deque import sys input = sys.stdin.readline n, m = map(int, input().split()) indegree = [0] * (n+1) graph = [[] for _ in range(n+1)] for i in range(m): a, b = map(int, input().split()) graph[a].append(b) indegree[b] += 1 q = deque() for i in range(1, n+1): if indegree[i] == 0:...
[ "jinsoo941010@naver.com" ]
jinsoo941010@naver.com
10ca0fb1879fdcb9c6eb661bd58dc9d9b94b4e5a
c4634683e864e2e67f53762b9ff322985603764d
/web/accounts/models.py
26a5591c4f35e6a31065e18564b3e5cd6a2e72db
[]
no_license
FoodDeepLearningInfosec/foodproject
2ee119a348db4f1c884e384dd4ecb898c10674e7
1e1e33953c32825db1d89a741b36bd3197029cd4
refs/heads/master
2023-04-11T02:37:23.435434
2021-04-13T00:24:46
2021-04-13T00:24:46
353,586,514
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
from django.db import models from django.contrib.auth.models import AbstractUser from foods.models import Ingredient # Create your models here. class User(AbstractUser): hateingredient = models.ManyToManyField(Ingredient, related_name='hatepeople', blank=True)
[ "woodg1207@gmail.com" ]
woodg1207@gmail.com
828c1cb256c150538b800671fce4719f3a98423e
896353d76f5c068b3770d6ebda35d3e63a1a08c4
/tests/integration/models/item_test.py
525230971f7f79eaea7747e024f53d128aeca241
[]
no_license
nchatzGitHub/stores-rest-api-test
6f3e7732ed4187b784979394864cf4b4ba0f3022
0654cee4613aaa4161bb8c90d37ce692d8e82f55
refs/heads/master
2022-07-11T09:47:25.424419
2020-05-15T12:38:41
2020-05-15T12:38:41
264,169,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,221
py
from models.item import ItemModel from tests.base_test import BaseTest from models.store import StoreModel class ItemTest(BaseTest): def test_crud(self): with self.app_context(): StoreModel( 'test').save_to_db() # We create an new Store(takes id=1) just because we create item ...
[ "nchatzistamatis@gmail.com" ]
nchatzistamatis@gmail.com
4795049c27f562e954254d66603b2ca95f05a3a7
988eb07ab1567b8b0a65d5a56e5ef83902f6a2f7
/test_kfold.py
6aed7acebb0197bb357b681a75816f40741fa7dc
[]
no_license
tmacccccc/Machine-learning-Hw
b30df8cb153603a8394f50a70d3430f2f8335607
5e9e1c687f88e63041d4a1ad586315ac78bdb458
refs/heads/main
2023-02-04T00:22:34.644844
2020-12-22T04:15:04
2020-12-22T04:15:04
321,515,985
0
0
null
null
null
null
UTF-8
Python
false
false
7,750
py
import numpy as np from multiprocessing import Pool, Manager import pickle from time import time np.seterr(divide='ignore', invalid='ignore') class GMM_MLE(object): def __init__(self, m0s, c0s, weights): self.init_cache = (m0s, c0s, weights) @classmethod def get_gaussian(cls, data, mu, c)...
[ "noreply@github.com" ]
tmacccccc.noreply@github.com
9866bcb709da8eb7a32c8435b3d540b7ed95699a
32f0b173c93f1743d106eedeee79f2cb8d162676
/mdtcollections/_version.py
6be271f611b1afccdab2a3c635dd873f598ab8a5
[ "Apache-2.0" ]
permissive
avirshup/mdtcollections
dee5d4ed2effb26b1dbe741d9c1a23df97af2797
ae3ca1187a5738fd95e49d772be30b53b1eb09a3
refs/heads/master
2020-03-11T10:48:46.829746
2018-04-18T20:58:26
2018-04-18T20:58:26
129,952,257
0
0
null
null
null
null
UTF-8
Python
false
false
18,455
py
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains t...
[ "avirshup@gmail.com" ]
avirshup@gmail.com
4706ed8b0f58ee78fc814b8f34e677dd65f4bb64
7667f883166ef0a3a97b51bcb51ffdc515ef5902
/Packs/HealthCheck/Scripts/HealthCheckMemory/HealthCheckMemory.py
f407dfe71af5c22c4d03fe3ea3713ec3c816eb88
[ "MIT" ]
permissive
arcus-team/content
82c876271e083ee404629e0b87802ce193c84196
e9f87dcbd4820f9ab57810396c43895e1f6d39b6
refs/heads/master
2023-08-25T11:05:11.968284
2021-10-18T08:27:25
2021-10-18T08:27:25
388,493,464
0
1
MIT
2021-10-17T15:18:53
2021-07-22T14:34:55
Python
UTF-8
Python
false
false
4,478
py
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 RESOLUTION = ["Performance Tuning of Cortex XSOAR Server: https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-0/" "cortex-xsoar-admin/cortex-xsoar-overview/performance-tuning-of-cortex-xsoar-server"] def ana...
[ "noreply@github.com" ]
arcus-team.noreply@github.com
266c4c6b5b38f3d1a3306cb234daa1ca747bc70e
2681ea1866a1aafe342daa7a80fa5a4805df05fc
/Collect & Process/collect_news.py
826c6a81c747efea2077f9052ea9e469f0072a81
[]
no_license
manuelcoppotelli/SentiCheNews
19ef21ace1220285d40016dcc3827e1f7c57dc0a
39a95ebae2d5e3c3755d1f018c2131f069dfc766
refs/heads/master
2021-01-20T11:09:16.932991
2017-06-13T16:42:27
2017-06-13T16:42:27
85,826,045
0
0
null
2017-06-12T13:53:28
2017-03-22T12:39:45
Python
UTF-8
Python
false
false
1,312
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os import time import shutil from datetime import datetime from config import * from Collector.Saver import Saver from Collector.FeedParser import FeedParser SOURCES = { 'ILGI' : 'http://www.ilgiornale.it/feed.xml', 'ANSA' : 'http://www.ansa.i...
[ "manuelcop@gmail.com" ]
manuelcop@gmail.com
6098a38610281939fcec4ed54b2028d7b10e1839
fe05e7bae169021cc48d300de98ccdc6d24cd4a2
/self-study/regression in 20lines.py
080f078f7c2505cdb52c13a54fc571d6eda28733
[]
no_license
Dlyyy/self-study
0136d41f3d307a37dd8f53a938ef04db2d195383
8ba4f7b38b870d89648aa3a28068180e681ea856
refs/heads/master
2020-03-28T15:48:11.944484
2019-01-25T08:16:41
2019-01-25T08:16:41
148,627,543
0
0
null
null
null
null
UTF-8
Python
false
false
1,645
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 8 17:15:56 2018 @author: DLY """ import tensorflow as tf ## X and Y data #x_train = [1, 2, 3] #y_train = [1, 2, 3] # #W = tf.Variable(tf.random_normal([1]), name='weight') #b = tf.Variable(tf.random_normal([1]), name='bias') # ## Our hypothesis XW+b #hypothesis = x_tra...
[ "704220442@qq.com" ]
704220442@qq.com
536709eea987055807176cf2f8d1f0d341101005
eaf002db3f01c9bbe4ba9163781176919930c727
/queue2.py
8fe4f2923dfff333562a747cab66767e2af8d5cb
[]
no_license
54shady/pyall
7aef9ee8547636e659be55db90eebaf4630d0c0e
e69099edd83d48beee4e56c085c3cf868df7b724
refs/heads/master
2021-07-01T04:46:28.339237
2019-03-22T22:38:02
2019-03-22T22:38:02
135,913,043
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
#!/usr/bin/env python # coding=utf-8 from multiprocessing import Process, Queue import time import random # 使用队列来实现进程间通信 # 不断向队列中写消息 def write(q): while True: if not q.full(): for value in str(random.random()): print '==> %s' % value q.put(value) ...
[ "M_O_Bz@163.com" ]
M_O_Bz@163.com
2999311b3cf2e4411c8a088fee9ada56079021d9
efcc00bc9ea988cd3c0e0a423369ca79ab528199
/madlibs_flask/app/models.py
47e818499c3b9d273a5fbf1a32e5151988a3eb6f
[]
no_license
femgineer/python
8f94ad23b1771289ebe5fc8c385af5dc3409131e
d1804305c9edb1a198820f41017ee05e5d3b4d5e
refs/heads/master
2021-08-19T00:21:11.569732
2017-11-24T09:54:35
2017-11-24T09:54:35
111,652,225
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
from app import db class User(db.Model): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(64)) password = db.Column(db.String(64)) nickname = db.Column(db.String(64), index=True, unique=True) email = db.Column(db.String(120), index=True, unique=True) stories = db.rela...
[ "poornima@bizeebee.com" ]
poornima@bizeebee.com
cd001607c0d12f47836682d3c40438c0cf067f0d
a7be04f67909c829b90244b4d79a2e5c3c16de22
/FrozenLake/4x4-v3/FrozenLake-v3 q-learning.py
4b7d171c3197e18e3a14d83bc7ea4151273efb62
[]
no_license
icsl-machinelearning/Reinforcement-Learning
2a2c3d967dc92feec9a7b7b5b6e73cae69403a8f
7c6856bfeca54d368aad67d742961542880c7e01
refs/heads/master
2020-04-28T16:52:24.151628
2019-04-18T04:58:44
2019-04-18T04:58:44
175,426,559
1
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
import gym import numpy as np import matplotlib.pyplot as plt from gym.envs.registration import register # Register FrozenLake with is_slippery False register( id= 'FrozenLake-v3', entry_point= 'gym.envs.toy_text:FrozenLakeEnv', kwargs={'map_name': '4x4','is_slippery': False} ) env = gym.make('F...
[ "gosupia@naver.com" ]
gosupia@naver.com
02c27832b197c96762cf331b9fb9c9fc0dfa52da
9127d4f2d109013e35801e7290d1944714b378d3
/sahara/plugins/vanilla/v2_7_1/edp_engine.py
6d2f6566e2c3ba72f4b2a16fca60c38da497e131
[ "Apache-2.0" ]
permissive
butterfy76/sahara
20c841e8d8180993678283baa49c5dbc3dfbd7c3
376517328fd596fb016fb9f13d704221dd6ff707
refs/heads/master
2021-01-18T04:48:49.616129
2016-04-07T14:41:48
2016-04-07T14:41:48
56,059,790
1
0
null
2016-04-12T12:09:08
2016-04-12T12:09:08
null
UTF-8
Python
false
false
1,663
py
# Copyright (c) 2015 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "alex.barreto@disney.com" ]
alex.barreto@disney.com
3c37d288af3cb4a01411c4ce327d07b575d90fe5
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/eraint_scripts/api_requests/all_apiRequests/sst/era_interim_sst_1986_.py
f2bf19431e1f7238b329ff0c816694cfd0224bff
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# -*- coding: utf-8 -*- """ Created on Thu Mar 19 12:20:00 2020 ERA-Interim api request template @author: Michael Tadesse """ import os os.chdir('D:\\data\\era_interim\\era_interim_netcdf') #!/usr/bin/env python from ecmwfapi import ECMWFDataServer server = ECMWFDataServer() server.retrieve({ "class": "ei", "...
[ "WahlInstall@CECSGS1RCP2.net.ucf.edu" ]
WahlInstall@CECSGS1RCP2.net.ucf.edu
1a16f94746339dcfadb1ab5b1b59fcd32df59a4a
0374a272bc3406811abc922a802231728b7993f2
/analytics/migrations/0002_auto_20150723_0255.py
ed7ddb0060b4865b12b1bede75537a0335b784e6
[]
no_license
marcogx/psps
586f45448d43a2fad60e7caee6f484381e19bc4a
b688d6a99b0eb6f5ee25d847d2b335f4ffe8e08f
refs/heads/master
2021-01-15T12:28:13.837951
2015-07-25T14:58:14
2015-07-25T14:58:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('analytics', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "gx239@nyu.edu" ]
gx239@nyu.edu
c41450509f3d4073ab6b2423ee62859b4f065260
c8851a7b9fc2e69c1f3bb2eacc8375d516c7b17b
/xitorch/_tests/test_interp.py
5d9e30c27409bbb05836eeb6b8437f52ba7d5c86
[ "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
udemirezen/xitorch
c5e1188d83cd1834d5b218662dd6d5624fb13873
cc440c8cb6ecef1dac58d7c2ec217fe94cbcf165
refs/heads/master
2023-08-16T14:08:35.705338
2021-10-20T17:35:44
2021-10-20T17:35:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,257
py
import warnings import torch from torch.autograd import gradcheck, gradgradcheck from xitorch.interpolate.interp1 import Interp1D from xitorch._tests.utils import device_dtype_float_test @device_dtype_float_test(only64=True, additional_kwargs={ "bc_type": ["clamped", "natural", "not-a-knot", "periodic", Non...
[ "firman.kasim@gmail.com" ]
firman.kasim@gmail.com
077386b64aacbf83fd91c7547837c9d93a04cfd2
812124722699dd70ad0a1ecf7b458785d91c9dc9
/1two_sum.py
4a4eb1949c38380abd4f8fbd4396a2c8b15cb2ed
[]
no_license
rensiqi7/leetcodepython
cfed8d06e10842074428a866908c36fc68962311
de1aa52a60a0f3ff645ba43a938ee20d9c3bdc4d
refs/heads/master
2020-03-18T16:12:41.014486
2018-12-12T07:10:20
2018-12-12T07:10:20
134,953,068
0
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
class Solution: def twoSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """ hash_map = {} for index, value in enumerate(nums): hash_map[value] = index for index1, value in enumerate(nums): i...
[ "rensiqi384906149@yahoo.co.jp" ]
rensiqi384906149@yahoo.co.jp
283432dc3d24805d579de21867db80ce87ddeaec
a1c76477a4792bcb00fbd31d3a38f51a95146f6c
/exemploFlowbox.py
fd141f04543eedb9245415dc2fd9c901a2e585cc
[]
no_license
MarioBlancosoto/repasoPython
bbde0b2a0d0f6b9aaff3927cd71047601a7c5e3f
243c16b3623df4af7567099427565486169f8033
refs/heads/master
2021-09-07T10:27:05.876831
2018-02-21T17:27:06
2018-02-21T17:27:06
106,548,256
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
import gi from moduloGrid import GridModificado gi.require_version("Gtk","3.0") from gi.repository import Gtk,Gio class ventanaPrincipal(Gtk.Window): def __init__(self): Gtk.Window.__init__(self, title="Exemplo Gtk.Flowbox") self.set_default_size(500,350) self.set_border_width(5) ...
[ "986882601" ]
986882601
f5d0ec3698a7ce7c0cc50833f105f5253acc81ca
2ac7aa5aeb2849c8f6a79c9b13ff74d87c78beaa
/testfolder/accounts/models.py
5e01c4bd4a3c0d2f7c738b802c4fdb2ddbb1d9cf
[]
no_license
steadily-worked/Django
292ec4880a260ae817299a1f3911b9dccbd4c6e6
e8d451a0d17ba38965700a3cfabb49df9858f6a0
refs/heads/master
2022-11-19T04:32:18.037364
2020-07-21T08:44:44
2020-07-21T08:44:44
276,822,767
1
0
null
null
null
null
UTF-8
Python
false
false
256
py
from django.db import models from django.contrib.auth.models import User class Signup(models.Model): user = models.OneToOneField(User, on_delete = models.CASCADE) major = models.CharField(max_length=200) phone = models.CharField(max_length=30)
[ "qpwpep5429@gmail.com" ]
qpwpep5429@gmail.com
77a28391a5b77537334f95a4b0f383c41b98bd5d
bd958f3dedd58e55f0025b93e63b1683a6d7acce
/Week_7/w7-weekend/postscrape/postscrape/spiders/post_spider.py
585d096392cbb76f7ce454be16523dcbc21cf50a
[]
no_license
Vanderscycle/lighthouse-data-notes
2d6faf468910e0ee4d8fd2eb0b9520c6998737fd
000907c61a38b207d36cbb2c70959fb531f81af9
refs/heads/master
2023-03-01T16:47:14.835183
2021-02-10T17:25:51
2021-02-10T17:25:51
295,590,618
1
0
null
null
null
null
UTF-8
Python
false
false
1,448
py
import scrapy # part one of the scrappy adventure # class PostsSpider(scrapy.Spider): # name = 'posts' # start_urls = [ # 'https://blog.scrapinghub.com/page/1', # 'https://blog.scrapinghub.com/page/2' # ] # def parse(self,response): # page = response.url.split('/')[-1] # ...
[ "hvandersleyen@gmail.com" ]
hvandersleyen@gmail.com
2f0979b4ad168181fd6e7b3df1f5c5751b73cfa1
d3c0f19552f6a56e20a3782ddfdfd8bfba7203a4
/venv/lib/python3.5/site-packages/cvxpy/reductions/solvers/solver.py
0ba9f44ce323cf182cdbbdd8ae5230bf048598cc
[]
no_license
johnjaniczek/SFCLS
8697924778ef235b96449a53990c5370b00606e2
35c3dfc12488106faed0075e790d47ce3a4aaa43
refs/heads/master
2020-05-18T10:43:39.106296
2019-07-31T18:29:44
2019-07-31T18:29:44
184,351,669
13
1
null
null
null
null
UTF-8
Python
false
false
2,422
py
""" Copyright 2017 Robin Verschueren Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
[ "jjjanicz@asu.edu" ]
jjjanicz@asu.edu
e261ead41f0892c0829916d5fe64243e6d5e89c4
3b275735d81b847e59aab5733371d4694962b702
/python/cusignal/demod/demod.py
860ac5ac8d67d5a265c9900cb6eba015cb5da9e0
[ "LicenseRef-scancode-other-permissive" ]
permissive
rapidsai/cusignal
65c6f0c3781de58acee51196491e11069026cbb3
f21f593e0892ea02f2e591a2595e9b65faf4753c
refs/heads/branch-23.10
2023-09-03T01:39:12.591418
2023-08-28T13:31:31
2023-08-28T13:31:31
203,811,620
719
132
NOASSERTION
2023-08-28T13:31:33
2019-08-22T14:27:27
Python
UTF-8
Python
false
false
1,661
py
# Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the right...
[ "noreply@github.com" ]
rapidsai.noreply@github.com
0a6122350523487279b6ce789c570507f65e70de
5fe8d63f78f8dec8c65097cd1d2fe585a22236ed
/lcall_bug/__init__.py
9cd7cd57c8d4ebbd0792ed8e237b299a980d6e7a
[]
no_license
dpb1/snapcraft-lcall-bug
e8de01bf4628a1354147999e7b3b240b83b8fdcb
653d67e2294a9e1dc0481f8defc7d516ed4fa72c
refs/heads/master
2020-03-16T20:30:52.508578
2018-05-10T23:13:17
2018-05-10T23:13:17
132,961,396
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
def main(): print("""💩""") if __name__ == '__main__': main()
[ "davidpbritton@gmail.com" ]
davidpbritton@gmail.com
4620b4562951e1aa59973d2f9d3b050ecb0b3830
88bb8a4efd97ee20ce25c9eeefccb520cd375022
/newsmeme/forms/__init__.py
e13ea5b9476dacea1794d2fc3d737f1311abff90
[ "BSD-3-Clause" ]
permissive
yangjiandong/newsmeme
f3851f0ec52e94fc6cb96b0c7f9585dfbe3f4800
2f2eb1c7d8e112c6af675795bc165d50c158ab34
refs/heads/master
2020-05-27T08:43:12.023107
2012-11-07T08:56:07
2012-11-07T08:56:07
5,538,259
1
1
null
null
null
null
UTF-8
Python
false
false
501
py
# -*- coding: utf-8 -*- """ forms.py ~~~~~~~~ Description of the module goes here... :copyright: (c) 2010 by Dan Jacob. :license: BSD, see LICENSE for more details. """ from .account import LoginForm, SignupForm, EditAccountForm, \ RecoverPasswordForm, ChangePasswordForm, DeleteAccountFor...
[ "young.jiandong@gmail.com" ]
young.jiandong@gmail.com
c08ba764550ea6f6d34cc9ec92dd1229eb113269
93ab050518092de3a433b03744d09b0b49b541a6
/Intermediario/tratamento de erros/assertions.py
79b1b90a0894388d0e62a1df9a33ed5e2c5d83b8
[ "MIT" ]
permissive
ggsant/pyladies
1e5df8772fe772f8f7d0d254070383b9b9f09ec6
37e11e0c9dc2fa2263ed5b42df5a395169408766
refs/heads/master
2023-01-02T11:49:44.836957
2020-11-01T18:36:43
2020-11-01T18:36:43
306,947,105
3
1
null
null
null
null
UTF-8
Python
false
false
244
py
#** Assertion é um tipo de checagem que pode ser feita para garantir que o seu codigo nao esta fazendo algo obviamente errado ages = [26,57,92,54,22,15,17,80,47,73] ages.sort() ages[15,17,22,26,47,54,57,73,80,92] assert ages[0] <= ages[-1]
[ "61892998+ggsant@users.noreply.github.com" ]
61892998+ggsant@users.noreply.github.com
341f5c0a42620d59ee3bc428931b0681b3e7633a
cbf3551bab38a341d4b9693ffafdd382214b338e
/basics/code/文件/excel-rw.py
42024b07b269e7a1f1bea3f3a199211852aa402c
[]
no_license
Duome/python_gold
bcd558ee1ba69a3c15755d0362669150e5eaab07
9f783184ffa3162bcff63e3c3c0e1cd1e2490620
refs/heads/master
2020-12-30T11:15:53.944171
2018-10-27T12:56:42
2018-10-27T12:56:59
91,547,253
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
# -*- coding: utf-8 -*- __author__ = 'Duome' """ 读取excel内容,存入内存中,内存结构为字典 """ from openpyxl import * from openpyxl.compat import range # 获取数据 cont = {} work_book = load_workbook(filename='anjuke.xlsx') sheetname = work_book.get_sheet_names() for i in sheetname: cont[i] = [] sheet = work_boo...
[ "duomesiki@163.com" ]
duomesiki@163.com
f3b2b24732f99d02ca4bbb20dc47ce18ce23fcc4
68046bcbf9c8fd562f3445457f2da486f3227b76
/project/serializers.py
eae5ab37536283dcaa75d86ad37974a60b246c85
[]
no_license
sherifsakr/evaluation
5ad733d3de4747edb66e2dfeb511529a386d75ad
fcdb05729553cacb98cc7e99f5da5da5f71d9c37
refs/heads/master
2020-03-12T13:40:04.784476
2018-04-30T05:48:44
2018-04-30T05:48:44
130,546,030
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
# from rest_framework import serializers # from .models import Employee, Evaluation # # # # class EmployeeSerializer(serializers.ModelSerializer): # # class Meta: # model = Employee # #fields = '__all__' # all model fields will be included # fields = ('empname',) # # # cl...
[ "sherif@B2-F1-002" ]
sherif@B2-F1-002
e0921f2763a0971b0f38b7568b4c85a1eac01336
76e28cee20fb6bd50247ef2bbb14e8ac57c304cc
/appdata/admin.py
74dd84f4cecec74bde6e068e0c02764ee878dcab
[]
no_license
gurpreet1205/Blood-Bank-Management
87a700400e025b03434d224dc7ed5174eae0f65b
176903433437e747562029913b3bee7145dbe90c
refs/heads/master
2021-04-26T22:21:19.795275
2018-03-13T19:27:24
2018-03-13T19:27:24
124,078,150
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
from django.contrib import admin from appdata.models import City from appdata.models import State from appdata.models import BloodGroupType from appdata.models import Facts from appdata.models import NotDonate from appdata.models import Medication from appdata.models import FamousQuotes from appdata.models import Detai...
[ "noreply@github.com" ]
gurpreet1205.noreply@github.com
a77fb5676beb1cd37ccad48108112c82ef4967bd
437dde1cdcdb4e2dfa66181ec02f3b7bce9376ac
/examples/examples_v1.x.x/machine_learning/mlxtend_example.py
543f4ea75df1752cc0a6203f368ad4f678d4a534
[ "MIT" ]
permissive
chrinide/Hyperactive
dd994703c233cbfb67a21e0b4c8e939528da11f2
3a068d7808b1b4ed714560403d227f48e588f0a7
refs/heads/master
2022-11-09T03:21:06.257160
2020-06-24T07:37:53
2020-06-24T07:37:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
from sklearn.datasets import load_breast_cancer from sklearn.model_selection import cross_val_score from mlxtend.classifier import EnsembleVoteClassifier from sklearn.ensemble import GradientBoostingClassifier from sklearn.neural_network import MLPClassifier from sklearn.svm import SVC from hyperactive import Hyperacti...
[ "simonblanke@hotmail.de" ]
simonblanke@hotmail.de
e78ef16bc86fa77716669089fd2f815920ba0c89
077314de25c8152ae08bc37b1c73b3b934bab19c
/server.py
1acea687a2c8092df813f1e16ee432eba7d42e6f
[]
no_license
Djapec/Flask-mini
3928a17b7e7078f7e4536be9c88bcb624f434876
e6212fcd9b2ed99d008bad79b6e43ddea9d959c1
refs/heads/master
2022-10-08T15:38:51.991755
2019-10-31T23:10:22
2019-10-31T23:10:22
214,277,415
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
import os from flask_app import createApp from flask_app import db os.environ['FLASK_ENV_TYPE'] = 'Development' if os.environ['FLASK_ENV_TYPE'] == 'Development': from config.development import Development as Config elif os.environ['FLASK_ENV_TYPE'] == 'Production': from config.production import Production as ...
[ "pedjadjape97@hotmail.rs" ]
pedjadjape97@hotmail.rs
829a0a8f6cf279dc5abab8e70e5355cac96e8e56
2f47343c8c587e90d759e2c6bb236f91c1303c62
/lab4_lab6_kolke/lab4_lab6_kolke/urls.py
c92662d174c1122a6993f2f91ae60e9b099d81e5
[]
no_license
KolRobOsk/aplikacje-internetowe-21720-185ic
d2db5da740d38230e4b78941e20fecea1b547e5e
696aeed88b550e990456ac03c3e3eabc5a0f6263
refs/heads/main
2023-03-24T17:38:40.991574
2021-03-30T07:15:58
2021-03-30T07:15:58
315,331,603
0
0
null
null
null
null
UTF-8
Python
false
false
2,033
py
"""lab4_lab6_kolke URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "robertoskarkolke@gmail.com" ]
robertoskarkolke@gmail.com
1d35638f02a1be255171831a9c64bc46d2a13242
42528f5dcd3e2d4adbbb0e370a8298ff62e6c679
/Structual/Composite/Group.py
6b6e1f1001602cc4ef14580b0c6361d9fed60879
[]
no_license
mohamedelashhab/design-pattern
5b36d54ed7a141220c86ddff92dea6622f8c3b7e
da5b7d06b4f93a427a7499d98a9e970b61ce6b97
refs/heads/master
2022-11-27T16:10:24.825512
2020-08-08T15:13:23
2020-08-08T15:13:23
276,177,882
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from .Component import Component class Group(Component): def __init__(self): self.__objects = [] def render(self): for object in self.__objects: object.render() def add(self, shape): self.__objects.append(shape)
[ "elashhab_fcih@yahoo.com" ]
elashhab_fcih@yahoo.com
11d3d447590953692cde67858c3ac4fb46a7d376
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/common/serializable_types/customizations/__init__.py
98de618134f24f9cb63a0ae1a8dc3cb30950fb03
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
1,423
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/serializable_types/customizations/__init__.py from serialization import parseCompDescr from serialization.serializable_component import SerializableComponentChildType from .attachment import AttachmentComponent from .camouflage impo...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
654061c6473c217f0b8970013775efe874756de0
41d1f7b5bfd451b55d6a01756a426692f32141ca
/Problem008.py
634d4dd9849c1ae9739fd3e4987c5fce025888b7
[]
no_license
thefowlj/project-euler-python
b60452177230a0b476d3098e18e31d5f845f4629
fd7de87f5233aecb78dfc89239beb646d48d86b2
refs/heads/master
2022-03-25T13:48:46.789946
2020-01-06T12:03:02
2020-01-06T12:03:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,841
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Project Euler Problem 8 # The four adjacent digits in the 1000-digit number that have the greatest product # are 9 × 9 × 8 × 9 = 5832. # # 73167176531330624919225119674426574742355349194934 # 96983520312774506326239578318016984801869478851843 # 85861560789112949495459501737...
[ "noreply@github.com" ]
thefowlj.noreply@github.com
fefed23fb80f9dc72cc874f3823d84599f25c499
529363570ad12b671dcefae22bd705bfcced02b0
/docs/conf.py
328788faa41fca726cace6d9095e415e942caf04
[ "MIT" ]
permissive
adboy316/porfolio_website
90c3ba29745397026ca3207b00e8f38becbfb151
100e5338ab314397deadea9cb5c15b46eb721d89
refs/heads/master
2020-07-05T15:47:50.758979
2019-08-16T08:37:30
2019-08-16T08:37:30
202,690,032
0
0
null
null
null
null
UTF-8
Python
false
false
7,954
py
# Portfolio Website documentation build configuration file, created by # sphinx-quickstart. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values...
[ "adboy316@yahoo.com" ]
adboy316@yahoo.com
2b1cc39833028fe78b892f338542a7c098ba5de1
9f6ea5c3b8418cf5c3ba46f669e6d481df2c56ff
/core/models.py
379ec048b300466c7b08f41d108f4510d7230d01
[]
no_license
nazmulhasanDEV/Multi-vendorDjangoApp
afb5d24268f78b805f56e37c4acb2859a993ec2d
94016ef0b9c97ef5c275b49673f096c89a173a6b
refs/heads/main
2023-03-20T08:58:38.594308
2021-03-05T19:33:03
2021-03-05T19:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,513
py
from users.models import CustomUser as User from django.db.models import (Model, TextField, DateTimeField, ForeignKey, CASCADE, FileField) from django.core.files.storage import FileSystemStorage from asgiref.sync import async_to_sync from channels.layers import get_channel_layer class Me...
[ "kajoengasa@gmail.com" ]
kajoengasa@gmail.com
0a7cfb626b7484cc5ed58e4ad6faabb5d9d062f4
388631f8d20dc496d4ada5278db4785e5dd58471
/Binary Search Iterative.py
9c68113cc7364ec4285507e28fc2ec0b4d4f0cbd
[]
no_license
aviralb/pythondatastructure
621be5c3e22f7136df501c9aca32582387752d74
09281f94c6869e3a23b45c9012faa79a80e4b0c8
refs/heads/master
2020-06-25T10:36:40.354279
2019-07-28T13:20:57
2019-07-28T13:20:57
199,285,037
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
def binarysearch(A,key): low=0 high=len(A)-1 while low<=high: mid=(low+high)//2 if key==A[mid]: return True elif key<A[mid]: high=mid-1 else: low=mid+1 return False A=[1,2,3,4,5,6,7,8,9] found=binarysearch(A,5) print("...
[ "noreply@github.com" ]
aviralb.noreply@github.com
43c9c2f7df58504589611e48640b75181d0ef3fe
496a4b331fd857834f30d1623d369ee985253f1d
/end/demo3/venv/Scripts/pip-script.py
0a5f50144be45a0bd181eb569fe5bac1273fc3ca
[]
no_license
jwf-2333/biubiubiu
44cb12dae8b12a207ef37ca455e867412f5acdea
4f8e5fff36b11cfec8f1a0549644177b44295a67
refs/heads/master
2021-01-02T02:18:16.782003
2020-03-01T12:40:42
2020-03-01T12:40:42
239,450,788
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
#!D:\py1911\gitdemo\end\demo3\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys....
[ "875016526@qq.com" ]
875016526@qq.com
3d02dd71a31241de31b514374aae7587e4864bec
cc18d49f4788ef6a16a33f249fa63606233fe367
/ch08/tryexcept/value_error.py
633f730237ae9fedbeb1e622672270010bebe499
[]
no_license
github-solar/pyworks-eduwill
75d4b66aec59604bda7ffd1170544b5025256342
81be4047e5cb5361bdb02fa2761e5b24660fadc4
refs/heads/master
2023-06-16T14:10:12.777764
2021-07-07T01:27:24
2021-07-07T01:27:24
378,804,008
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
#에러처리:컴퓨터 뻑될 때 빠져나오도록 #try: ~ except ValueError as e: ~ print(e) <- 이렇게 선언해도 되지만 아래처럼 설명문을 출력하도록 while True: try: x = int(input("숫자를 입력하세요 : ")) print(x) break except ValueError as e: #print(e) print('숫자형식이 아닙니다. 숫자를 입력하세요. ')
[ "solarsun@nate.com" ]
solarsun@nate.com
71d53581b6ded3f766c703c7f469ed9d46170c93
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-eg/huaweicloudsdkeg/v1/model/show_detail_of_event_source_response.py
ff28271917177aec0db1e6e2d2477c54a1caec43
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
15,438
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowDetailOfEventSourceResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
9b34beb6dedbd0f69cfefcef6a7af3b0b7339573
7416056e689dfc94391c4b108652cea02d59a31a
/reservation/urls.py
47ec5528736d0b82dcaad6cf9c2c9f282c7817b9
[]
no_license
zshanabek/house-booking-app
0ea29fb8113671eb164ead8d335a986b850898a1
cca5225f40b8a055a2db78810258325f2ba7ded1
refs/heads/master
2022-11-28T00:20:12.789534
2020-08-14T09:16:40
2020-08-14T09:16:40
225,791,244
1
0
null
null
null
null
UTF-8
Python
false
false
499
py
from django.urls import path, include from rest_framework_nested import routers from house.views import HouseViewSet from reservation.views import ReservationHostViewSet, ReservationGuestViewSet from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'requests', ReservationHostViewSe...
[ "zshanabek@gmail.com" ]
zshanabek@gmail.com
f408e1aa3019ed42b377e4c386f10d04f3d241b7
d2f16ccb2ebbc91112225d90c4c466a5526e1502
/airflow_ml_dags/test/test_predict.py
caad3e694b773058577d5e753f5a844d1f8c0f3c
[]
no_license
made-ml-in-prod-2021/panda1987ds
551cb0e18e7a22578e843b0db13a18da19fb13c7
458a6df03d8c0233657ee872b68c339fb5f4a9c4
refs/heads/main
2023-06-04T09:22:35.444804
2021-06-23T20:07:25
2021-06-23T20:07:25
353,713,028
0
0
null
2021-06-23T20:07:26
2021-04-01T13:40:47
HTML
UTF-8
Python
false
false
165
py
def test_dag_loaded(dag_bag): dag = dag_bag.dags.get('predict') assert dag_bag.import_errors == {} assert dag is not None assert len(dag.tasks) == 2
[ "pankratova.dasha@gmail.com" ]
pankratova.dasha@gmail.com
65c0ea0324a0fad1e0015533893d4a1424de408c
61a879713b4697d2a2ac1d7c709fa674cae9c4f8
/Integrations/AwakeSecurity/AwakeSecurity.py
ae76b15fbd1bb9111cb753027e343e89464aeb66
[ "MIT" ]
permissive
cloudshark/content
589731a815caf0f25983b22e0c5eef758321a1aa
005e5e913d145bec217752300d1c029c2581856d
refs/heads/master
2020-09-04T18:26:27.001042
2019-11-05T19:39:59
2019-11-05T19:39:59
219,848,878
2
0
MIT
2019-11-05T20:56:29
2019-11-05T20:56:28
null
UTF-8
Python
false
false
14,740
py
import demistomock as demisto from CommonServerPython import * ''' IMPORTS ''' import base64 import re import requests # disable insecure warnings requests.packages.urllib3.disable_warnings() ''' GLOBALS ''' handle_proxy() params = demisto.params() server = params["server"] prefix = server + "/awakeapi/v1" verify = n...
[ "noreply@github.com" ]
cloudshark.noreply@github.com
31b8b63187088346a00a66b38ced5e627ee5a0d9
e26e41625d7695ba655f833fee2a3ea3a85ffce3
/SPModule/mysite/dashboard/admin.py
847aa530c9f411e061bcd1eae8e384e65bf22862
[]
no_license
RyanAquino/m0rbi-aliquam
ff699aa07527d83099ea7bff7c5bda9ba30ab91f
6fde427ccc4e4d8f4c9ef43dcf351b0e78cdbae9
refs/heads/master
2021-01-20T00:50:39.824979
2017-05-22T07:23:07
2017-05-22T07:23:07
89,195,936
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
from django.contrib import admin from .models import Sp admin.site.register(Sp)
[ "dnvsayco@gmail.com" ]
dnvsayco@gmail.com