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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
2caf88c495940e3b215614e2735f1c2096fc0800
575048e6f328367a9b540e5bd02b03353d46a1d6
/events/forms.py
cdcdb8cd8b0520df7aed104f6ac483354d41a1af
[]
no_license
bradleyhc/MS4-FreelanceMeetups
647d76f77a5212b58abf510b25600c5b2f8b1157
18af83ac11aef9eaf19a606b6fae68ee56f27b32
refs/heads/main
2023-08-10T18:58:09.550782
2021-09-26T20:41:40
2021-09-26T20:41:40
382,945,417
0
1
null
null
null
null
UTF-8
Python
false
false
456
py
from django import forms from .models import Event class CreateEventForm(forms.ModelForm): class Meta: model = Event fields = ('title', 'description', 'header_image', 'industry', 'location', 'start_datetime', 'end_datetime', 'timezone', 'max_reg') class EditEventForm(form...
[ "bradleyh.cooney@gmail.com" ]
bradleyh.cooney@gmail.com
73da9dddc5d7c4683324c8126f20118a873651d7
932e1a5cf380a96525c10b7aa0552313b2913b06
/datalake_github/env/Lib/site-packages/django/utils/jslex.py
85e1c56e4b3cb27e7c0786fae8db33c7eb3b7e37
[]
no_license
Prueba-12/interfaz-django
4678ca0fdfac6676699a2c93217987cc15f51b27
850f89cbdb5b2964484f18a828a8fc701dad9cd9
refs/heads/main
2023-04-09T02:14:11.940459
2021-04-09T17:09:22
2021-04-09T17:09:22
356,362,345
0
0
null
2021-04-09T18:19:14
2021-04-09T18:19:14
null
UTF-8
Python
false
false
7,699
py
"""JsLex: a lexer for Javascript""" # Originally from https://bitbucket.org/ned/jslex import re class Tok: """ A specification for a token class. """ num = 0 def __init__(self, name, regex, next=None): self.id = Tok.num Tok.num += 1 self.name = name self.regex = re...
[ "63523896+Chacon-tu-drema@users.noreply.github.com" ]
63523896+Chacon-tu-drema@users.noreply.github.com
dcd82274ab4e26a87ee8ab63d438f035bab761e1
9c052e3a867f8693d9ecd990cdca00a6eeb8b44d
/django_angular/settings.py
360f1bac0cf46db97a8a8b262cd9ddebd9c49cf3
[]
no_license
Mustafa-AbdAlmogoud/Django-Angular1
13973716862e7b9845b86f8904dbcd1382631e6c
b005d938635ef59957bbf1b4788bf1c553005a60
refs/heads/master
2021-01-21T16:22:26.082038
2017-05-20T12:06:01
2017-05-20T12:06:01
91,886,192
0
0
null
null
null
null
UTF-8
Python
false
false
3,273
py
""" Django settings for django_angular project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ im...
[ "mustafa@192.168.1.17" ]
mustafa@192.168.1.17
1b570f66bbe5f2c4ae1a955fb0b33ef5e576f6cf
35f3b20ee2a3d6fbc8adaa84403b76fd71ef484b
/greedy/1931.py
f512a2d2d7d42ec5f7fdf7d9fc3461488984272e
[]
no_license
donggiHwang/algorithms
704303f740dbfac43c468943ddea502a8077ca5c
069674880d041dfb52b818432f8a402fa122bf9a
refs/heads/master
2021-03-31T15:17:55.285532
2020-03-19T07:01:22
2020-03-19T07:01:22
248,115,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
""" ์ด ๋ฌธ์ œ๋Š” ์ตœ๋Œ€ํ•œ ๋งŽ์€ ํšŒ์˜๋ฅผ ์ง‘์–ด๋„ฃ์–ด์•ผ ํ•˜๋ฏ€๋กœ, ์ผ์ฐ ๋๋‚˜๋Š” ํšŒ์˜๋ถ€ํ„ฐ ์ง‘์–ด๋„ฃ์–ด, ํšŒ์˜๊ฐ€ ๋๋‚œ ํ›„์— ๋‹ค๋ฅธ ํšŒ์˜๊ฐ€ ์ด์–ด์งˆ ์ˆ˜ ์žˆ๋„๋ก ํ•ด์•ผํ•˜๋Š” ๋ฌธ์ œ์ด๋‹ค. ๊ทธ๋Ÿฌ๋ฏ€๋กœ, ์šฐ์„  ์ „์ฒด ํšŒ์˜ ๋ชฉ๋ก์„ ์ข…๋ฃŒ์‹œ๊ฐ„ ์ˆœ์„œ๋กœ ์ •๋ ฌ์„ ํ•˜๊ณ , ๋งˆ์ง€๋ง‰ ํšŒ์˜๊ฐ€ ๋๋‚œ ์‹œ๊ฐ„์„ ๊ธฐ๋กํ•˜์—ฌ ๋‹ค์Œ ํšŒ์˜๋ฅผ ๊ณ„ํšํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•œ๋‹ค. ์—ฌ๊ธฐ์„œ, ์‹œ์ž‘๊ณผ ์ข…๋ฃŒ ์‹œ๊ฐ„์ด ๊ฐ™์€ ํšŒ์˜๊ฐ€ ๋จผ์ € ๋“ค์–ด๊ฐ€๋ฉด, ์ด ํšŒ์˜์™€ ์ข…๋ฃŒ ์‹œ๊ฐ„์ด ๊ฐ™์ง€๋งŒ ๋จผ์ € ์‹œ์ž‘ํ•˜์—ฌ, ํšŒ์˜์‹ค์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋‹ค๋ฅธ ํšŒ์˜๊ฐ€ ๋“ค์–ด๊ฐ€์ง€ ๋ชปํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์ƒ๊ธธ ์ˆ˜ ์žˆ๋‹ค. ๊ทธ๋Ÿฌ๋ฏ€๋กœ, ์ข…๋ฃŒ ์‹œ๊ฐ„์œผ๋กœ ์ •๋ ฌํ•œ ํ›„์—, ์‹œ์ž‘ ์‹œ๊ฐ„์œผ๋กœ ๋‹ค์‹œ ์ •๋ ฌํ•˜์—ฌ ์ด๋Ÿฌํ•œ ๋ฌธ์ œ๋ฅผ ๋ฐฉ์ง€ํ•œ๋‹ค. ""...
[ "asun30@naver.com" ]
asun30@naver.com
2bae6e3b66955458f062196496992f4f9b1a1513
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/dn9 - minobot/M-17068-2501.py
51567abcbd0bb9da09e40e7d35ee022e3cb5716c
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
4,142
py
def premik(ukaz, x, y, smer): smeri = "NESW" premiki = [(0, -1), (1, 0), (0, 1), (-1, 0)] ismer = smeri.index(smer) if ukaz == "R": smer = smeri[(ismer + 1) % 4] elif ukaz == "L": smer = smeri[(ismer - 1) % 4] else: dx, dy = premiki[ismer] x += dx * ukaz...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
fa179b4d24a5b383ab12de01dcaf14779ba0e12c
113b977543c9da6f6fe93e489c5f829cb79dc939
/Day 2/Animals/__init__.py
c77a93a31e5af5889521027545bb05043959f757
[]
no_license
Fenn-uu/Project
3cc6f3247d317b102247bace8b0643da486d2791
dcac43ff7067329164d151d420562d7fe5484c42
refs/heads/main
2023-03-17T22:08:29.406642
2021-03-10T14:32:19
2021-03-10T14:32:19
339,760,558
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 18 17:05:44 2021 @author: ferde233 """ from .mammals import Mammals from .birds import Birds from .fish import Fish
[ "fernand.denoel@angstrom.uu.se" ]
fernand.denoel@angstrom.uu.se
7157050d8baaafca99fac5e26a9089f52b26636c
b2e9e3db0202a6bd06b5d1f4c4fd3369b5260261
/python/tests.py
db2473b8cd480c38936c4f0a6c01bddbac30db5c
[]
no_license
jackmoody11/project-euler-solutions
66e7128cae130499ce518c2008e5df91a6883a68
8b6e00bfac7855f5c892f5b3094415935358cb98
refs/heads/master
2020-04-12T23:52:57.347142
2020-01-10T00:23:16
2020-01-10T00:23:16
162,831,576
0
0
null
null
null
null
UTF-8
Python
false
false
2,600
py
import importlib import time import doctest import sys import argparse filename = "../answers.txt" with open(filename, 'r') as f: lines = [line.strip() for line in f.readlines()] ANSWERS = {int(line.split(". ")[0]): line.split(". ")[1] for line in lines} def test(prob, expected): try: ...
[ "jackmoody@unc.edu" ]
jackmoody@unc.edu
707df06b44ad9647a280c68ed351921348f02b82
3b594646f7da4c495340162468e7bd7ef38c3d57
/MarketPlace/archi base framework/projetisamm/migrations/0005_auto_20171229_1831.py
d55cf5146d08355ecadd28f0c22f08f9610051d1
[]
no_license
wissalEssayed/MarketPlace
da0d6b77c3badd2eae453604fa0a2826ba48c772
acb687af34e691c4f752326a6bb958c60aa36a50
refs/heads/master
2021-05-13T23:32:08.358565
2018-02-15T11:12:45
2018-02-15T11:12:45
116,518,992
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projetisamm', '0004_auto_20171229_1829'), ] operations = [ migrations.AlterField( model_name='article', ...
[ "essayed.wissal@gmail.com" ]
essayed.wissal@gmail.com
4bef7f47c265c9208e3e144eda8f8e81803fc09a
0556f80af60647c0ad229df799a1d9f3c5427cee
/euler2.py
4d26e55849a94c5006bd672b9b2e8225f95b3f76
[]
no_license
matsuyu/euler
3b03bca44066b322bbcbe2c5f65f9276f1ec648b
cd30c4398d8dbf8b46feaa493db51410f5e0ccaa
refs/heads/master
2021-01-01T03:53:38.779129
2016-04-17T10:02:32
2016-04-17T10:02:32
56,207,093
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
a=[] a.append(1) a.append(2) total=2 i=2 while a[i-1]+a[i-2]<=4000000: a.append(a[i-1]+a[i-2]) if a[i]%2==0: total+=a[i] i+=1 print(total)
[ "wang.yuheng@dhs.sg" ]
wang.yuheng@dhs.sg
0479f1ae8f86f4a16d9527684c6519b1f5b23c0c
a576159ac7423ffed0fbae04f178cff367de1676
/Src-Code/recursion-and-search/search.py
b7a8f804f3a7ebb2d20bb2751f49343f0671d959
[ "MIT" ]
permissive
KingGenius5/CS13-Core-Data-Structures
001fc26ffa01e81c33e9c55a5e1862640c2f29e8
b9cc53dbd141fbea93a81e250b03b453166dd346
refs/heads/master
2022-07-02T13:48:04.313466
2020-05-18T21:02:22
2020-05-18T21:02:22
255,017,109
0
0
null
null
null
null
UTF-8
Python
false
false
2,498
py
#!python def linear_search(array, item): """return the first index of item in array or None if item is not found""" # implement linear_search_iterative and linear_search_recursive below, then # change this to call your implementation to verify it passes all tests return linear_search_recursive(array, i...
[ "moht20009@gmail.com" ]
moht20009@gmail.com
6043e1e3c54183672bea79ccf15bfa5d4fce0806
5d5824a76cd54a9a4cf4ff3c0674e12200e0a5ae
/dx_t.py
ee178e2fad0352cf7668cf48325204f208634426
[]
no_license
alexbzg/webcluster
e27e1e6b252bf218ba7557cd95e1a7100f407d68
41c79e7462473d0f978f877a6c86ac57cae51780
refs/heads/master
2021-12-22T02:01:50.044858
2021-12-21T12:45:20
2021-12-21T12:45:20
61,372,442
0
0
null
null
null
null
UTF-8
Python
false
false
41,298
py
#!/usr/bin/python #coding=utf-8 from twisted.internet import reactor, task, defer from twisted.internet.defer import DeferredQueue from twisted.python import log import sys, decimal, re, datetime, os, logging, time, json, urllib2, xmltodict import logging from urlparse import urlparse from common import appRoot, rea...
[ "alexbzg@gmail.com" ]
alexbzg@gmail.com
fe4ef7d0cc2327bf835bdf4cfd934d1eb74033ce
44cd2a4bd1e295c586bdfe96cbcd12fe8a2bc2f6
/venv/Scripts/pip3.7-script.py
ed2bbad1af91305155d1bb7a8354fea4cacb2376
[]
no_license
hemory/NoteBook_Python
aafbe3751790614c5dbdc5ae0382746a81c01c77
1ebfa5ed9e0abe983cde297bcda9e699eb154a23
refs/heads/master
2020-05-07T21:45:59.382828
2019-04-12T02:56:34
2019-04-12T02:56:34
180,917,678
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
#!C:\Users\hphif\PycharmProjects\NoteBook\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __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.ar...
[ "hphife@yahoo.com" ]
hphife@yahoo.com
be3b5c98803eb18ee9f8e6d0e4ede2eb3517eb1c
04db852e42a7bea99c9ef8c40c3c0e629aad8fec
/dataset.py
5c4871c893964bc730416f2ca07014eaeb1d251f
[]
no_license
minizhao/my_net
40fc02f1714156c68c12bd05ccaf49498a0f56c6
14c91b5d6ae139510075c725335b167b382d7968
refs/heads/master
2020-03-08T10:11:46.496217
2018-04-04T13:34:42
2018-04-04T13:34:42
128,066,162
0
0
null
null
null
null
UTF-8
Python
false
false
10,218
py
# -*- coding:utf8 -*- # ============================================================================== # Copyright 2017 Baidu.com, Inc. All Rights Reserved # # 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 th...
[ "zhaozdkk@163.com" ]
zhaozdkk@163.com
a65cb807be5596fe858bb1c7224a6192f68d8d52
552c0a423264ca47c48f24737d62c93b6cc5dd11
/cars/migrations/0020_auto_20160916_0740.py
6db03aa4fedb6cf5da7478b2895e3917c4f19056
[]
no_license
YELLOWINC/car-maze
6dfa72e45dd493731547e964636818effccab14a
31b82ed01bcb2004fbe1d850c33f2f636b305457
refs/heads/master
2021-01-15T12:41:49.984750
2016-09-16T16:00:15
2016-09-16T16:00:15
68,349,329
1
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-09-16 02:10 from __future__ import unicode_literals import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cars', '0019_auto_20160915_2016'), ] ...
[ "sreeshsmallya@gmail.com" ]
sreeshsmallya@gmail.com
8e30ed0229985862465518bd36b61efe9fdb216d
60c1bf342358d890afd008603fd5b2ecfee315a9
/projects/01_fyyur/starter_code/models.py
cd8955078b56a46a4b35ae70ac89a50f09087049
[]
no_license
sanya-kenneth/FSND
f25462bf79e469202e5e057596dfea96659d4551
ce92aef07234c0728386b64d7a5328298398ad67
refs/heads/master
2020-08-26T12:52:21.324130
2020-01-20T16:20:04
2020-01-22T12:28:19
217,015,910
0
0
null
2019-10-23T09:12:15
2019-10-23T09:12:14
null
UTF-8
Python
false
false
4,012
py
# from app import app as app from flask_sqlalchemy import SQLAlchemy from flask import current_app as app from constants import searchable_fields import flask_whooshalchemyplus #----------------------------------------------------------------------------# # Models. #----------------------------------------------------...
[ "sanyakenneth@gmail.com" ]
sanyakenneth@gmail.com
1bc1a21671756282dc4d7f5d204d10578d55e3a1
10a414783eaeee967b065d59bd70cecd1f249c12
/projeto/core/views.py
86d384303ed6bdccbf9336b2d2b99aeef6ecf87e
[]
no_license
aferraz1/controlefinanceiropessoal
9819ca2e88513716c4b4b15cbe7c810f10101eeb
c3dce0404724a058119413ffca6b5f988dd6601d
refs/heads/master
2023-01-07T18:51:40.999586
2020-11-01T19:03:11
2020-11-01T19:03:11
309,144,591
1
0
null
null
null
null
UTF-8
Python
false
false
246
py
from django.shortcuts import render from django.views.generic.base import TemplateView from utils.decorators import LoginRequiredMixin # Create your views here. class HomeView(LoginRequiredMixin, TemplateView): template_name = 'core/home.html'
[ "alexandre.ferraz@gmail.com" ]
alexandre.ferraz@gmail.com
f21c4bb9aef9849f8404638f46e1cb593da81635
1e121bb2649a6b382a4e1ca1f8638d8b75578337
/webadmin/migrations/0001_initial.py
a81a6a5f9a6b2f96e8866bd6f43cee665b4938b2
[]
no_license
343829084/student_django
059594214e6db7dd0b9dba72224630a99a989c1b
dc3ffb21c72f0a1486942673547b2211c560718b
refs/heads/master
2021-07-05T01:01:50.110969
2017-09-28T09:09:13
2017-09-28T09:09:13
105,127,059
1
0
null
null
null
null
UTF-8
Python
false
false
12,282
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
[ "343829084@qq.com" ]
343829084@qq.com
714d966a83c3c2a5e4206edcffebd91a7fd93889
d0cdcbe3471cc980809fd4ed5182385bb23216b5
/backend/task_profile/migrations/0001_initial.py
79a56729aed9aebe14923d104aef369745363a4a
[]
no_license
crowdbotics-apps/strippee-19912
4770d421f16389e3ada580018e52385094cedf00
16d1d6258dca231fb157ecb3fa6709f490a5c1fc
refs/heads/master
2022-12-09T22:53:07.670289
2020-09-01T20:24:27
2020-09-01T20:24:27
292,099,249
0
0
null
null
null
null
UTF-8
Python
false
false
3,239
py
# Generated by Django 2.2.16 on 2020-09-01 20:22 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
36bcc8d7c9d4533c50e1f2556867017579e0d168
975e7a433af85aa9385f20097543aa590e5f4158
/stream_data_process/general/test_redis.py
6c1f8aa6bbce0b2247d5dbf213647ea560c35b2b
[]
no_license
easyshell/stream
fa54f93bc9a688ec38ce03e1118a396fb5b4dc22
7e26d1839e77db54e9d699a3c63484a4964e040a
refs/heads/master
2020-12-26T00:24:41.964789
2016-03-22T07:08:38
2016-03-22T07:08:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
import redis_api as redis conn = redis.redis_connect('192.168.241.56') redis.add_set_value(conn,'key', 'data')
[ "yong.ding@maixunbytes.com" ]
yong.ding@maixunbytes.com
dbf49be2b1153d825986e9ebadaa8f2646c8bb7c
33f900248d7e1fec0d598a40825fdae6bf61fdb3
/favtweet.py
995053e6d983c63458daf03955491e5d3774b1da
[]
no_license
lnakhul/favorite-tweet-bot
528d277c40b707d44087b11781fddef490c3ce55
8c7c71d2471abbaf3f3e34be99c01183e243f530
refs/heads/master
2023-06-08T20:38:11.995726
2021-07-02T02:47:44
2021-07-02T02:47:44
382,205,039
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
#!/usr/bin/env python # twitter/bots/favtweet.py import logging from config import create_api import time logging.basicConfig(level=logging.INFO) logger = logging.getLogger() def favtweet(api): tweets = api.home_timeline(count=1) tweet = tweets[0] logger.info(f"Processing tweet id {tweet.id} of {tweet....
[ "lnakhul" ]
lnakhul
d53072873c3a5166c4017a13617ff165c8605c46
5c89f7c8ad6213b8c194c6e45424db199ef31041
/s5/1.5.1_operaciones_aritmeticas_input copy.py
d4c5cd82e4a065d1b2e3730e75c9ea76506033c8
[]
no_license
camohe90/mision_tic_G6
1ccfe5eef6094a1bc0dc6ca5debf2c7a9e959121
bc04a468a568b5972b29e40643799cd9848219d8
refs/heads/master
2023-05-29T14:26:53.946013
2021-06-09T14:44:59
2021-06-09T14:44:59
366,415,146
1
0
null
null
null
null
UTF-8
Python
false
false
535
py
numero1 = int(input("ingrese numero 1: ")) numero2 = int(input("ingrese numero 2: ")) suma = numero1 + numero2 print(suma) print(type(suma)) resta = numero1 - numero2 print(resta) print(type(resta)) multiplicacion = numero1 * numero2 print(multiplicacion) print(type(multiplicacion)) division = num...
[ "camohe90@gmail.com" ]
camohe90@gmail.com
9bb4190fe91695576468ddc877510aad15703b68
e22b6598a03eb5f4c875ecdffee02a3e5b4ad717
/searchAgents.py
f2bf74fda4a8afcbba55d383958982b5fa11dcd6
[]
no_license
JustinRohweller/AIPROJ1
62fac6121aff65fb72c27d3d0caa4c256a8bbac5
f67c1b86bdd98df49a9811392668dc9322c6c72c
refs/heads/master
2021-03-19T12:28:14.987717
2017-10-04T19:38:04
2017-10-04T19:38:04
105,118,728
0
0
null
null
null
null
UTF-8
Python
false
false
23,739
py
# searchAgents.py # --------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley...
[ "jrohweller13@apu.edu" ]
jrohweller13@apu.edu
9494c14281d52325c997fa672d79c0f65cd32d67
92436a50cc26c8c8a216ba6d4a62e36069614234
/test/losses_multi_output_sum_loss_test.py
1bd83488fc1d642aace065a621b9b116176498fb
[ "MIT" ]
permissive
hahaxun/ClassyVision
9341f4e6849c858094592052f3df111c13d1a91d
b3f714ef94275b3e9753ab3f3c8256cb852b96fc
refs/heads/master
2021-08-17T07:42:34.402613
2021-03-08T08:50:01
2021-03-08T08:50:01
245,940,574
1
0
MIT
2021-03-08T08:50:01
2020-03-09T04:02:59
Python
UTF-8
Python
false
false
1,176
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import unittest import torch from classy_vision.losses import ( ClassyLoss, MultiOutputSumLoss, build_loss...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
9a9326ad301935ba361384f8d11843e1dc23a143
78d12ba8401d2a7d79569d1a62a179c709421dad
/030-Master_Model_Python/Hawaii_Jet_Fuel_Price.py
e8c26143a989638a5b3380df28577ccee57277eb
[]
no_license
hawaii-clean-energy-metrics/hcem
6f04ae93576c7a9872cdc3ef2f9ef179779e3976
e0659daa6f211df7e7c5dfefe53129b37fb12e69
refs/heads/master
2020-03-28T07:02:04.303960
2018-10-26T20:45:49
2018-10-26T20:45:49
147,876,431
1
1
null
null
null
null
UTF-8
Python
false
false
1,072,375
py
# -*- coding: utf-8 -*- from xl2py_excel_runtime import * Hawaii_Jet_Fuel_Price = Worksheet('Hawaii_Jet_Fuel_Price', 10, 10) @register(Hawaii_Jet_Fuel_Price) class A1(): # 'Hawaii_Jet_Fuel_Price'!A1 value = "Data 1: Hawaii Kerosene-Type Jet Fuel Wholesale/Resale Price by Refiners (Dollars per Gallon)" @regi...
[ "hawaiicleanenergymetrics@gmail.com" ]
hawaiicleanenergymetrics@gmail.com
c4f75d8a02b8cea0b2ce1e8aa6a5b596a11d3b4b
a1e92f98a7cc7294467edc8c79bd9f9f1c197350
/Bet Parsing Software/William Hill/main/test(1)
d2f57e3465474ef7b7de868f5dddce5d0c389407
[]
no_license
vkaliteevsky/Bet-Parsing-Software
9bb36fc23324dc74e11f4d7f9f65ac0121dc9401
b02228da503aaf0d1b95cabf8119ab52e5e37158
refs/heads/master
2020-08-01T00:57:59.688118
2019-09-25T09:26:44
2019-09-25T09:26:44
210,806,796
0
0
null
null
null
null
UTF-8
Python
false
false
305
#!/usr/bin/env python # -*- coding: utf-8 -*- from subprocess import Popen import subprocess import datetime import time from datetime import timedelta import os import sys def main(): # exit [datetime.datetime.today(), "hello world", 37] #return ("hello", "lol", True) return "xyz\nyzx" print main()
[ "vkalit@gmail.com" ]
vkalit@gmail.com
28911d2f5b24efd10aaf7e65fd0a3f051c183b41
0a2fec8c1d813af1471e50d3559de040de849f69
/goalapp/migrations/0005_remove_goal_user.py
6a43680db90ba2d46be42a0e774a7f426825be25
[]
no_license
yannis216/goalbacker
95ead57b1b026ab308a1051f51c6670035ad5e16
7b8b359c8abd7681b66b1d461fc8dd0ffa5a7c54
refs/heads/master
2021-01-19T04:50:54.760898
2016-10-23T09:28:10
2016-10-23T09:28:10
62,141,083
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-05 08:33 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('goalapp', '0004_goal_user'), ] operations = [ migrations.RemoveField( mo...
[ "yannisbeuke@googlemail.com" ]
yannisbeuke@googlemail.com
d95d96bdb20e400c2b40e5b43e784884144d5dc1
6b02c3f8bb5ca6c244b5434562ee946abcf8ac18
/products/migrations/0003_product_image.py
988df836adb5cdf7e0403ba3001e84fc39892dd0
[]
no_license
gabbyprecious/invoice_app
7178f2615034efd25541e20a064458f8058590b0
0db663bc3448e0d9ceff251585c63e08266d798c
refs/heads/main
2022-11-11T19:28:16.982876
2020-07-02T20:29:31
2020-07-02T20:29:31
276,737,838
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# Generated by Django 3.0.7 on 2020-06-29 15:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0002_auto_20200629_1253'), ] operations = [ migrations.AddField( model_name='product', name='image', ...
[ "gabbyprecious2000@gmail.com" ]
gabbyprecious2000@gmail.com
99f85f3d4dd544d11fd40b458fcde8ac877d3016
0d303e65417818cdc214d528203b03fe61aafa62
/pyScript-1/12_StudsOneWeek_Mins.py
cc9fbdb796a7faa57fe01edc0346bccc07d877a4
[]
no_license
amanagarwal2189/DAWithPython
bff9c284cac8cba8b0fdea19e6ad3a9cd8e1e722
2603a794ec31aac3b793e8e56a944332e61a3b86
refs/heads/master
2021-01-09T20:12:32.244581
2016-07-12T01:28:06
2016-07-12T01:28:06
61,047,777
0
0
null
null
null
null
UTF-8
Python
false
false
5,554
py
import unicodecsv from datetime import datetime as dt enrollment_filename= 'D:\Github\DAWithPython\pyScript\data\enrollments.csv' dailyEngagement_filename= 'D:\Github\DAWithPython\pyScript\data\daily_engagement.csv' projectsubmissions_filename= 'D:\Github\DAWithPython\pyScript\data\project_submissions.csv' #read file...
[ "aman.agarwal2189@gmail.com" ]
aman.agarwal2189@gmail.com
bd50329edb5bb58b7abc6419c69f8df83710abef
db118b3923ec56cd50f089a33c29dcc433885ceb
/sshreachme.py
3b2c48ad1b4411077799d58c9e1a73123061d6f6
[]
no_license
anandu467/host
cb1fc220a194f73af62b4c7e5d4ac965b7c651a2
32c48a93bfa5ff4399368f795aca88491514e63a
refs/heads/master
2022-12-28T04:14:43.733008
2020-10-12T09:56:43
2020-10-12T09:56:43
254,547,007
0
0
null
null
null
null
UTF-8
Python
false
false
16,541
py
#!/usr/bin/env python # USAGE: download this script together with your private key to your server and start it there. # When this script is active you will be able to start and stop a tunnel from your server to our access point # through the web interface. # # Ensure that this script is automatically started upon rebo...
[ "noreply@github.com" ]
anandu467.noreply@github.com
f4ae348ed15208f3323f592eb6d40115f41a4cc8
0ff288df73171cdd24b9e990639083c088bfa0ae
/profiles/models.py
ad55a39c459a66d73b24fe7c66325d50d678d3c9
[]
no_license
Shinners888/boutique
f881a1a05602bd334b9eec54f81a4172022901eb
3801613d13d7e6a0afbbcffa30e565ba7473b05a
refs/heads/main
2023-07-26T09:56:10.757194
2021-09-02T12:56:10
2021-09-02T12:56:10
388,253,426
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver from django_countries.fields import CountryField class UserProfile(models.Model): """ A user profile model for maintaining default delivery informat...
[ "sinead888888888@gmail.com" ]
sinead888888888@gmail.com
ef4e6cc1b28a2ca6361fa63d714a9dabbaeca22d
f07a42f652f46106dee4749277d41c302e2b7406
/Test Set/Open Source Projects/tensorlayer/0e46845d609c2ce2eeee19cf69ed2a8b14bfdacd-0-fix.py
9c842d7bd821cd42159e6b32ab37a1fd196b4887
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
66,584
py
# -*- coding: utf-8 -*- """ A collections of helper functions to work with dataset. Load benchmark dataset, save and restore model, save and load variables. TensorFlow provides ``.ckpt`` file format to save and restore the models, while we suggest to use standard python file format ``.npz`` to save models for the sake...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
18005219ba06d1cbd75795aaadbd845a5854f8f1
774808262c9bb22210cbbe107103ad8885db0950
/myfacebookpagedata_testing.py
2beb27076052a98b47a895e388e140fac224bf64
[]
no_license
lalitnandandiwakar/Myfacebookpagescraper
132d1f8816802cf7e92348a6bcc8506bf19b876e
66e2ca3b5988ad9e9092e0e2a99617dd185094fa
refs/heads/master
2020-03-20T09:42:03.716224
2018-06-15T11:18:08
2018-06-15T11:18:08
137,345,617
0
0
null
null
null
null
UTF-8
Python
false
false
6,508
py
import json import datetime import csv import time try: from urllib.request import urlopen, Request except ImportError: from urllib2 import urlopen, Request page_id = "Google" # input date formatted as YYYY-MM-DD since_date = "2013-06-10" until_date = "2018-06-12" access_token = "EAACEdEose0cBAJ28jAWmzqTO1eV...
[ "lalitnandandiwakar@gmail.com" ]
lalitnandandiwakar@gmail.com
ee6e5beca34e3b40cecabc9a2e4ebbb219a77135
47b77fc153b7ea9e499d68dfe2c4396dc62ab831
/api/apps/personal_exp/admin.py
85e99599734d7c368f73a4e8f1768a075b7cd837
[]
no_license
tigertom00/django_api
ce2fcfc1bb251b60d3355576816f402fe2f292ac
4aacb8da9ff2e989038b75867f4bae7e65d09258
refs/heads/main
2023-05-09T08:48:57.843560
2021-05-29T21:57:35
2021-05-29T21:57:35
352,743,125
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from django.contrib import admin from . import models # Register your models here. admin.site.register(models.Character) admin.site.register(models.MainStat)
[ "tigertom00@gmail.com" ]
tigertom00@gmail.com
d11fad7f09dccc4af8ff118d02c964b75ff27a94
48bbfd25fe141d4e8918259da9c4fac3c491bb99
/mysite/settings.py
4104b042ca39f4bcfaa4e08208e794d5b19ee979
[]
no_license
yeskam/MyProject
589f6789d62208f47bc220a6930fd2a866900762
786c2a7ccdb171fed32c64331486e8ef137ef9f9
refs/heads/master
2023-04-15T19:48:39.657384
2021-04-23T09:43:29
2021-04-23T09:43:29
360,835,394
0
0
null
null
null
null
UTF-8
Python
false
false
4,067
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from p...
[ "nursolto01@gmail.com" ]
nursolto01@gmail.com
dae94508d4677fc23824e254c65f0772749f95d8
188377b6b92e3d42bb3c17a78af0d6f1bd52f25c
/wordcount_project1/settings.py
41cd3c3f6829d3dfe3b0d324e707aca7c18cc3aa
[]
no_license
uterdijon/wordcount_project1
92e52f63c21f20698452e61cb281b1326b29d31e
7c5bc845aa591347b5bcc07a3fb237a54c041237
refs/heads/master
2022-01-09T05:42:45.475708
2019-07-22T15:34:40
2019-07-22T15:34:40
198,060,975
0
0
null
null
null
null
UTF-8
Python
false
false
3,168
py
""" Django settings for wordcount_project1 project. Generated by 'django-admin startproject' using Django 2.2.3. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ i...
[ "evan.zeleznygreen@gmail.com" ]
evan.zeleznygreen@gmail.com
a61475ce3a2675dde08768c9d8a120ea13f93cc5
0d3c170894e7bb4641c2878686b4992c2b7c78ac
/testmodel/apps.py
b8bfdaf59640f33ec65a86a68dcaea1251b1b065
[]
no_license
gangdao2013/djangoweb
23dbe613a00548d5f5552a0acc892cc9af105b45
cea35ba75aa8d96ff8ad1c4d703684ebc034e655
refs/heads/master
2020-12-31T05:24:35.649159
2017-03-18T16:11:38
2017-03-18T16:11:38
81,509,795
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class ModelConfig(AppConfig): name = 'testmodel'
[ "wlgry_8079@hotmail.com" ]
wlgry_8079@hotmail.com
237b4f8b568443e53db139c8697d12df2df0b9c5
e23a1a0dd1725b1291840c99e93ceb4de7d8285e
/azureBD.py
3a8b58eb9313a1f11a8ca5de08c8ec99affe6e40
[]
no_license
jjeanjacques10/python-pdf-azure
7e9d683459b98026c96ea9da6bdfa468fc120191
5e789b48afbd8e8a5a788bc5d07e91187acb99de
refs/heads/master
2021-05-23T17:12:01.195162
2020-04-06T04:37:52
2020-04-06T04:37:52
253,395,899
0
0
null
null
null
null
UTF-8
Python
false
false
1,817
py
import pyodbc, json from datetime import datetime import numpy as np #Acessando o arquivo de configuraรงรฃo with open('config/config.json') as config_file: data = json.load(config_file) server = data['Azure']['Server'] database = data['Azure']['Database'] query = data['Azure']['Query'] #Fazendo a conexรฃo com o SQL...
[ "jjean.jacques10@gmail.com" ]
jjean.jacques10@gmail.com
7e12f1d823aeb8588b2d2144fb48942f186cd9c4
fc3724567ea16beb1889a3581f7b5bf1292be3d9
/ms2/bt2_ms2.py
2c8ef0bdf15d0b73ee6eb96d483372da5cc5d893
[]
no_license
EOLSRepository/BT_Python_MS
e70bca51a17040441e399b66936aaa5a76063bb5
c5004295296d95e54685504d806011a44d4e5b27
refs/heads/master
2023-07-10T18:01:24.234829
2021-08-01T22:40:36
2021-08-01T22:40:36
391,586,715
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# 2 - 2. ์›”๊ธ‰ ์ž…๋ ฅ์‹œ ์—ฐ๋ด‰ ๊ณ„์‚ฐ def yearly_payment(monthly_payment) : monthly_payment = int(monthly_payment) before_payment = monthly_payment * 12 if before_payment <= 1200 : tax = '6' after_payment = before_payment * 0.94 elif before_payment <= 4600 : tax = '15' after_pay...
[ "noreply@github.com" ]
EOLSRepository.noreply@github.com
4bd9ef0963d1d53eacd8a181de55a770a7d0e521
1542371488704a54594d19cd4f613f0c894b4f67
/scripts/HorryCountyNEXRAD.py
f447d78e2feda97b10834ed394e7f5bf2f897502
[]
no_license
DanRamage/wqportlet
03160e717b6f83956baba36d384adfd932cdb045
5d5de86fa39794bdf8de414840c4c246d7427ee2
refs/heads/master
2021-01-10T17:58:51.158731
2015-03-16T15:10:44
2015-03-16T15:10:44
43,160,213
0
0
null
null
null
null
UTF-8
Python
false
false
22,584
py
#!/usr/bin/python import sys import os import datetime import optparse import logging.config import ConfigParser from processNEXRAD import nexradProcess from xmrgFile import xmrgDB, xmrgCleanup import datetime from datetime import tzinfo from pytz import timezone import csv from lxml import objectify from ftplib impo...
[ "dan@inlet.geol.sc.edu" ]
dan@inlet.geol.sc.edu
0069d7e21cb28a6586b8ac2064eedca6f3c623e9
0dac77c333b6481802a9efb26214a3359ff43027
/Chapter_6/6.3.2_ELMo.py
324551767a634a93ac74d71adfade7b2d144414c
[]
no_license
zcgzcgzcg1/MRC_book_en
a5570552445b4736b32191af84185341e0660668
641751ee4e6a335ecd2be7ce96a98940ca61725e
refs/heads/master
2023-02-03T18:36:48.002888
2020-12-24T20:27:03
2020-12-24T20:27:03
283,613,935
3
1
null
null
null
null
UTF-8
Python
false
false
1,900
py
# install the allennlp package # pip install allennlp / pip3 install allennlp # Python code (version 3.6 required) import torch from torch import nn import torch.nn.functional as F from allennlp.modules.elmo import Elmo, batch_to_ids from allennlp.commands.elmo import ElmoEmbedder from allennlp.nn.util import remove_s...
[ "noreply@github.com" ]
zcgzcgzcg1.noreply@github.com
a119b6c185c1359c4eb88353bec424ff5f3750f4
95d35af213389fe067d81f2590d6ea10fde8b809
/orttraining/orttraining/python/training/ortmodule/_custom_op_symbolic_registry.py
f193129a0a1d791466e46d95342517522daaa806
[ "MIT" ]
permissive
WilliamTambellini/onnxruntime
a5c742a089154f87dbb8a1a36e5f9adb48c394c5
b038f4e56f90a810b47cf8176b84306a4c8bed57
refs/heads/master
2022-02-13T04:32:41.955906
2022-01-19T02:05:04
2022-01-19T02:05:04
166,592,196
0
0
null
2019-01-19T20:51:05
2019-01-19T20:51:04
null
UTF-8
Python
false
false
24,544
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # -------------------------------------------------------------------------- from torch.onnx import register_custom_op_symbolic from torch.onnx.symbo...
[ "noreply@github.com" ]
WilliamTambellini.noreply@github.com
7ba4b6660a56236839281e9a6a45e1423b62ebcc
4de2a833df412e1609b9894c0cb809c4d70f8623
/app/news/migrations/0002_auto_20180313_1540.py
75c1430513d4b94067c753c0594020aecc4e7186
[]
no_license
Isaias301/e-commerce
06ea11238403b7fa70c5c8e387253441d0dd07f4
e00f94406c432751adfa03556ecfe154ec222fd9
refs/heads/master
2021-04-09T10:34:23.399915
2018-03-16T00:33:43
2018-03-16T00:33:43
125,439,146
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2018-03-13 18:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0001_initial'), ] operations = [ migrations.CreateModel( n...
[ "isaiassantana301@gmail.com" ]
isaiassantana301@gmail.com
fbbe234f7f8bcb62c39f1a1adfb1eb0969ba0dda
ce6b0b54b25c995f2a4aac8c5a34e6a02f9fa13a
/code/ETL_LocaltoCloudDataLake.py
47e28b3261b0b1aa0a80439cf1be6e759a49db85
[]
no_license
ChunYen-Chang/Migrate-Local-Data-Storage-and-Process-to-AWS-Cloud
820d0e7c145b61eae46afe535ca587afca377517
6b7b3f0d26b1e592c30d785f313d38060696e742
refs/heads/master
2022-04-07T04:14:41.412882
2020-03-21T18:44:13
2020-03-21T18:44:13
205,439,266
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
# import necessary package import Function_ConnectAWS def main(): """ Description: This function helps users make a connection to AWS service, create a directory in Cloud data lake(AWS S3), and upload data from local directory to the directory in Cloud data lake Paramete...
[ "kk" ]
kk
ca00ee843ec08ce829778ad10eaff06f5d5d3122
8522810b9c67f3d2cc393d76e8064121e07aae26
/challenges/day01/solutions/part2.py
1280724a561047d0cdd8f3848f04b3ae7ca6ccaf
[]
no_license
james-dietz/advent-of-code-2020
cd521a507a965447d2811c4c61234005174ffe13
5e5499668777e968fd6cf924b485866af441b7a6
refs/heads/main
2023-02-03T20:03:11.091418
2020-12-19T00:04:43
2020-12-19T00:04:43
317,531,663
0
0
null
2020-12-04T13:20:56
2020-12-01T12:18:52
Python
UTF-8
Python
false
false
1,789
py
from math import prod from typing import List def three_sum(input: List[int], target: int) -> List[List[int]]: """ Implements the 3SUM algorithm (find a subset of order 3 for which the sum is equal to the target value). Implementation in O(n^2) worst case time, adapted from https://www.wikiwand.com/en/3SU...
[ "james-dietz@users.noreply.github.com" ]
james-dietz@users.noreply.github.com
5b7fa3bb01e60612fa9de4d7b2e2f0637c0f21f8
e8b2e6b8388fd893169fcfb75cbb6ff4f26e8402
/main.py
1df6defe5a84f2b62f6dc1ba6d0a4e2472979734
[]
no_license
tricks-ter/1st-day-practice-
957322f66d3b6662cfee97493c2d76ed2ca29232
254a0638181868bdd14aed7f70b5e15933fba7fc
refs/heads/master
2023-07-13T04:56:11.599800
2021-08-12T05:52:53
2021-08-12T05:52:53
395,210,023
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
print("hello "+ input("what is your name") )
[ "84240938+tricks-ter@users.noreply.github.com" ]
84240938+tricks-ter@users.noreply.github.com
7c7d39ff26b769153bb74f24a416d86ba8a0eaa3
d0f4327ca33aa37e976b024ddfbd6361fdf1a8ee
/LogisticRegression.py
1747d6347b97ed0cc2ae5c1f114f1c197b1a7726
[]
no_license
MitsuruFujiwara/TensorFlowTraining
c5f828356ea93c868f16ea67335dd4f32b1c7040
3a391c849699bd8332c23ddfffb773cf3050c69c
refs/heads/master
2021-01-17T17:48:21.340414
2016-07-24T13:05:53
2016-07-24T13:05:53
60,701,833
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
# -*- coding: utf-8 -*- import numpy as np import pandas as pd import tensorflow as tf from RegressionBase import RegressionBase class LogisticRegression(RegressionBase): def __init__(self, trX, trY, numStep, numParameter, learning_rate): RegressionBase.__init__(self, trX, trY, numStep, numParameter, le...
[ "fujiwara52jp@gmail.com" ]
fujiwara52jp@gmail.com
c9449ca67e4f09c48d3af7be61cab4ebddca7495
fb656f471ac8d8c612dc4ab1f1c141c27ed85af8
/core.py
608ddaa5a23c75e750b2ca09e14728ead215b3d4
[]
no_license
davitmusayelyan/cs136-product-matching
ad50129688d5ce369fc869cec7223ad4b4fe7aeb
a8ac1764bd47079790ff0be8bc5178cc2b0b0b9c
refs/heads/master
2022-11-25T14:51:12.827269
2020-08-03T15:58:33
2020-08-03T15:58:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
''' The core module sets up the data structures and and references for this programming assignment. ''' import platform import csv #defines an iterator over the catalogs class Catalog(): def __init__(self, filename): self.filename = filename def __iter__(self): f = open(self.filename, 'r', enco...
[ "noreply@github.com" ]
davitmusayelyan.noreply@github.com
658c30b02bc1ae07635fd3788b5eb7ac9c5c640b
ab3ae8594181ccd148c9f17cacb44d55d380b612
/salon/urls.py
4a87700354ff2036b4cd0097c12a829fc0eb0c61
[]
no_license
KaluEmeKalu/ella-barbershop-site
8ab4e0dbe3171381a9e3fdaa4aba9577ffb48f52
90f9b189bdba0113035cdcb7bfa3acd320c338f6
refs/heads/master
2020-03-18T21:19:53.753300
2018-05-29T09:42:31
2018-05-29T09:42:31
135,274,594
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
"""salon URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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 v...
[ "1525436188@qq.com" ]
1525436188@qq.com
cce3df99205e7cb554c9005b428c5814a7be9137
7fbd502cd4d5e0206cadf20b32491de19698faad
/helper.py
279d62af4378a53863bf80210792e465edfe3e5a
[]
no_license
HafseeMan/Student-DMS1
89017e6cb0dbd409a7df79f4e8394b7059252937
d1370b20eb1e4c44dd323f6cdf40041f3fba707b
refs/heads/master
2023-01-31T21:55:23.261428
2020-12-18T21:03:20
2020-12-18T21:03:20
322,699,704
0
0
null
null
null
null
UTF-8
Python
false
false
3,019
py
import sqlite3 import re #1. Defining Lists: editable_tables and table_column #2. (ADDING RECORD) Validatation #1 conn = sqlite3.connect('Students.db') cur = conn.cursor() cur = conn.cursor() cur.execute(''' CREATE TABLE IF NOT EXISTS Students ( REG TEXT PRIMARY KEY NOT NULL, ...
[ "hafoosah1@gmail.com" ]
hafoosah1@gmail.com
dc3b3885ca9501fe86d36963da993632c7abb1cf
3a533d1503f9a1c767ecd3a29885add49fff4f18
/saleor/order/migrations/0114_alter_order_language_code.py
2a11cde671ec67e4f55975abffa65b13ea276bfa
[ "BSD-3-Clause" ]
permissive
jonserna/saleor
0c1e4297e10e0a0ce530b5296f6b4488f524c145
b7d1b320e096d99567d3fa7bc4780862809d19ac
refs/heads/master
2023-06-25T17:25:17.459739
2023-06-19T14:05:41
2023-06-19T14:05:41
186,167,599
0
0
BSD-3-Clause
2019-12-29T15:46:40
2019-05-11T18:21:31
TypeScript
UTF-8
Python
false
false
40,331
py
# Generated by Django 3.2.6 on 2021-08-17 11:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("order", "0113_orderevent_app"), ] operations = [ migrations.AlterField( model_name="order", name="language_code", ...
[ "noreply@github.com" ]
jonserna.noreply@github.com
4f429af341e1d6a151535732aff18ab72fe74f77
443fbf0cdd31bb65db09e2b1f3e9770adc69c08d
/Python 1/1 - Introducion/5 - Comentarios/Comentarios.py
63b10fefa4166d61ecf646f0d8d2eb7abb60000e
[]
no_license
marcvifi10/Curso-Python
b9b376c39713e525756eb26f31f914359aef537a
047830ca92e027c7d37e2f6bb042971a773a5d6d
refs/heads/master
2020-07-15T08:30:53.622053
2019-09-18T16:23:35
2019-09-18T16:23:35
205,521,518
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
# Comentario de una sola linea ''' Comentarios de mรกs de una linea ''' valor = 10 print("Valor1: ",valor) valor = "Marc" print("Valor2: ",valor)
[ "36198307+marcvifi10@users.noreply.github.com" ]
36198307+marcvifi10@users.noreply.github.com
4e0fc6e9ac38f9a110a4a9885492ee6a4670316a
f9d1130cb0737264df66bf32a6f7b1c9fb609b96
/rekog-demo.py
576a2acefaf37b52eb16675b2ed935d0998d6c4b
[]
no_license
jorge-dev/aws-rekognition-ppe-demo
6e908736393e29a0a3d24ac1bb6c64b13613e7a6
14c312edecba70d6f41c601cc8731976bc681574
refs/heads/main
2023-01-21T18:35:30.796347
2020-11-29T01:53:47
2020-11-29T01:53:47
316,812,219
0
0
null
null
null
null
UTF-8
Python
false
false
8,032
py
import sys import pickle import datetime from pprint import pprint import cv2 import boto3 import time from multiprocessing import Pool from random import randrange import pytz import traceback # get the Client # session = boto3.Session() session = boto3.Session() rekog_client = session.client("rekognition", region_na...
[ "jo.luisa94@gmail.com" ]
jo.luisa94@gmail.com
471ec39ee0d96f56f93c0ce7dbe11430ddccc377
b08b7cede73b5f637f32c113609f20ec0a47c99a
/src/main.py
26541c17221bf64556d9b7300ce9e6d0bb273ea3
[]
no_license
alacwong/connect4-ai
e168d2a35f386f962cb576c60fc2014c6add5952
3c9def2c9ee1a7c12e76cc609fbcfaa6bc05c5d6
refs/heads/main
2023-04-23T07:06:24.728869
2021-05-09T03:37:03
2021-05-09T03:37:03
351,942,687
2
0
null
null
null
null
UTF-8
Python
false
false
577
py
from ml.wrapper import AlphaPolicyModel, AlphaValueModel from connect4.agent import RandomAgent, MCTSAgent from connect4.game import run import time # https://micwurm.medium.com/using-tensorflow-lite-to-speed-up-predictions-a3954886eb98 if __name__ == '__main__': print('Connect 4 Ai') alpha_value = AlphaValu...
[ "mr6902spades@gmail.com" ]
mr6902spades@gmail.com
1693a2db33c64357463d0eae112a25a4a985fb94
60d1a67f71d87db55feaa9424081ba74e5c4da0c
/tensor2struct/__init__.py
73011f353e015638f8dbc1392192838313ce349b
[ "MIT" ]
permissive
ashutoshbsathe/tensor2struct-public
4313308398164f2f2576aec9d55b48c834c0325b
cfcafa94f10565bc25a72c172a9e58dfa4170fe7
refs/heads/main
2023-08-03T09:04:29.269648
2021-09-18T09:34:13
2021-09-18T09:34:13
407,810,567
0
0
MIT
2021-09-18T09:03:56
2021-09-18T09:03:55
null
UTF-8
Python
false
false
113
py
from . import models from . import modules from . import datasets from . import contexts from . import languages
[ "bailin.wang28@gmail.com" ]
bailin.wang28@gmail.com
28bcb6383ea9d9eaa24f48fe4c6a536b56fdeeca
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/storage/v20210401/encryption_scope.py
6a96d42af449b84f8c8ce339996a18581fd0adb2
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
17,446
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
38ff823e4a966dbbf8adac2a32d5fbb910ce6d8e
f6db7cf44bc32073f97b85e6b378fb298b0548e1
/tutorial/settings.py
8668ff21fd0817535ae4dd59ecc06f79ccc040bc
[]
no_license
SausageMania/Django-Restful-API
992d78410b8a2df347551dba50afaadb350130ef
843b8660d6761c170159a5539ac7dd98e3bf137b
refs/heads/master
2021-03-06T22:05:17.607016
2020-03-10T06:47:23
2020-03-10T06:47:23
246,227,514
0
0
null
null
null
null
UTF-8
Python
false
false
3,254
py
""" Django settings for tutorial project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "joshua5451@naver.com" ]
joshua5451@naver.com
0c9f9902cc49f42cb1a74ba90cd9a0934d4bacdf
38da3a3bb1c7692905478a87220154015948d8c0
/programacion 1/practicafinal.py
2e99bb40566a7763bee595a8eb29933fc1ad82f0
[]
no_license
matiasbouin/Facultad
4e14435a0b58584d4cdf62aff2709bd30d03a1d4
85b34bf4c6c6c23597eb05510fa4bfbce4a9dcf1
refs/heads/master
2021-07-10T19:41:44.726885
2020-10-13T18:16:45
2020-10-13T18:16:45
206,898,381
0
1
null
null
null
null
UTF-8
Python
false
false
6,803
py
''' 3) Cargar un arreglo de 20 elementos reales con las temperaturas de varias ciudades. (Utilizar al menos 3 funciones). a. Mostrar el arreglo. b. Calcular el promedio de la temperatura. c. Mostrar la mayor y menor temperatura. d. Generar otro vector con las temperaturas mayores a 0. Mostrarlo...
[ "angelmatiasbouin@gmail.com" ]
angelmatiasbouin@gmail.com
7d6e3cbde6945b76e9e6f28960652f50675e7d77
cf5504daf4faa9809ab9830ae6b3a528388a78b2
/userwork/urls.py
58b6a852b15d181daf1922d7a6a503d4b41727ef
[]
no_license
jehough/djangousers
39eaaf3da3fa0deeaf941ae56785e3162c4c6b09
cef46dd9fd4ab8b8122f3494200ccb149a71dc3e
refs/heads/master
2022-07-22T00:52:55.882540
2020-05-20T11:19:46
2020-05-20T11:19:46
265,541,452
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
"""userwork URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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-base...
[ "teachlife@outlook.com" ]
teachlife@outlook.com
c9475f1314ed0a95b955b52ac66c282650d02ae8
fa81d297089f0366d3d0b44602e460dba97f41e5
/interpreter/database_local.py
da6d63b33f33ad3ef35621a1093d0a16413709e1
[]
no_license
WesleyNZ/BCPR301Ass3DesignPattern
a636d86367d8643a5c2340fd68355104eee4c534
bbd844dde910ada2716bf4ce6ec148bdc9da289c
refs/heads/master
2020-03-19T01:36:53.608835
2018-08-01T10:15:30
2018-08-01T10:15:30
135,557,863
0
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
from interpreter.database_abstract import DatabaseAbstract from sqlite3 import connect # Wesley class DBLocal(DatabaseAbstract): # Wesley def connect(self, connection=":memory:"): """ create object that connects to the local db :memory: can be used for a stored db on the ram in...
[ "Bustahboi@live.com" ]
Bustahboi@live.com
b57fe2c5426aaa615a4cdba6d0621ae8f790f746
f51b649c7940c5160f66da44bcc27ad2ce2b2eba
/actions/weather.py
435e37afea62213269f87b9947e6fdefd9280a0e
[]
no_license
shahriarshakil0/Weather_Bot_Rasa_2.0
98587deaf19a8f8ba49a4a8df9e62a3dab0e5a20
1ca82ee189360958b9610a1a22b070bf45c1d3e6
refs/heads/master
2023-08-25T12:21:09.879531
2021-10-20T16:53:38
2021-10-20T16:53:38
419,414,742
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
import requests def weather(city): API_key = "your api" base_url = "http://api.openweathermap.org/data/2.5/weather?" Final_url = base_url + "appid=" + API_key + "&q=" + city weather_data = requests.get(Final_url).json() kword={ 'main':weather_data['main'], 'weather':weathe...
[ "shahriarshakil14@gmail.com" ]
shahriarshakil14@gmail.com
25f0b427b87d38b3d80f68c3fafd217d551cddb4
64ac3af07036f240bc333f58f9ff9924d6fea06a
/lib/modeling/component_out.py
08e10ab07414fa28d7200634a99ab427821db818
[ "Apache-2.0" ]
permissive
stevencdang/AutoML-DS-Components
b9e12011fd958f4734f323f4882806e8be4b64f2
b0490262d3db5307c37f82c92e25cd938dd3a242
refs/heads/master
2023-01-10T13:06:27.167187
2019-03-28T18:11:40
2019-03-28T18:11:40
175,680,072
0
0
Apache-2.0
2023-01-04T23:30:19
2019-03-14T18:42:27
Python
UTF-8
Python
false
false
7,618
py
# Author: Steven C. Dang # Classes for handling component outputs of modeling outputs import logging import json import csv from json import JSONDecodeError from .models import * from .scores import * logger = logging.getLogger(__name__) class ModelSetIO(object): @staticmethod def to_file(fpath, models):...
[ "stevencdang@gmail.com" ]
stevencdang@gmail.com
82f35dafef571c750e6641e48f09d9cafdbef9f8
94367d4ae865024540cd85e18cea5e1d3390ab40
/core/migrations/0023_auto_20200221_1658.py
c3d83531410aac51edf70a5e1b181c909712b4ae
[]
no_license
nicsanchez/Microcurriculos_Udea
163bd9a430f0a0625177d8aaa8f5f3e44e0542e7
e7092551e34b7576238592e57cb37eb5baab6164
refs/heads/master
2021-08-08T22:55:34.944815
2020-07-24T19:21:39
2020-07-24T19:21:39
205,270,679
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
# Generated by Django 2.0.2 on 2020-02-21 16:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0022_auto_20200221_1658'), ] operations = [ migrations.AlterField( model_name='versione...
[ "dnicolas.sanchez@udea.edu.co" ]
dnicolas.sanchez@udea.edu.co
ce075ebda61e167eec13cab37fa2b50acac52a66
f45543ff6038091dc0b75b71e16af0ccc318f389
/indexer.py
ab031e585ccac75207a7c23eb7cc76e68115eeb0
[]
no_license
sayak-brm/Sirotta
b88a26b9a86d8df72cbb04f951dacdb84e583b87
20126a09211f7ed19c24dc1e43e600c6a110db0f
refs/heads/master
2020-05-21T05:08:34.001541
2017-05-18T10:00:32
2017-05-18T10:00:32
84,574,899
2
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
import tools import pickle, tempfile, shutil def index_files(files): for file in files: print(file) with open(file, 'rb') as f: file_content = f.read() text = file_content.decode('ascii', 'ignore') kw = index_keywords(tools.process(tools.filter_html(text)).split()) with open...
[ "admin@microcontrolled.nl" ]
admin@microcontrolled.nl
98e88b826afbe736374db206c7d9e71ed254d009
cf03f15cfb183ff421184bc2b27ea12af14c4b07
/backend/bin/rst2pseudoxml.py
946c41c5553c27d0d89fe5376f03955559fc34bb
[]
no_license
espenmeidell/infoscreen
55d141aa1ed8de2766f4de86944d3e5cd41c23d0
09e136c7b99183dc06a6834ca5ce0bce6deb1931
refs/heads/master
2023-01-10T00:03:16.282904
2018-07-01T15:24:14
2018-07-01T15:24:14
139,319,699
0
0
null
2023-01-04T06:46:09
2018-07-01T10:27:19
Python
UTF-8
Python
false
false
643
py
#!/Users/espenmeidell/Progg/infoscreen/backend/bin/python3.6 # $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $ # 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 pseudo-XML. """ try: im...
[ "espen.meidell@gmail.com" ]
espen.meidell@gmail.com
632598cee0acf741daa4435d2f7e00920902586d
35f84f270c8cca1b7b22c29307408700e15e69fc
/appsec_wtf/cli/exec_poc/xss/encode/__init__.py
2f35db8dc4cb327d51199e782881ea35b2a9b071
[]
no_license
btonic/appsec_wtf_presentation
8de5db61f448b25cee90e4209dd7a6b8315da343
90aae87ba99027afe4caef5f73308289bea30462
refs/heads/master
2021-04-27T12:46:07.168570
2018-02-23T16:05:38
2018-02-23T16:05:38
122,425,708
2
0
null
null
null
null
UTF-8
Python
false
false
1,477
py
""" Generate XSS injection payloads. """ def set_cli_opts(parser): """ TODO: DOC """ parser.set_defaults(func=entry) parser.add_argument( "payload", default=""" <script> alert('Pwned'); </script> """, help=""" The payload to encode. T...
[ "btonic@hackucf.org" ]
btonic@hackucf.org
a482f00f47378ebf848fdd941f9528db95448070
df520b1a9e959ad19e64687c239b8f2314ea505c
/pytest/usecase1/test2_main.py
0c6868c7aa28d09cff46d5923820bd9fae40999e
[]
no_license
keishi25/work-codes
71ddaea0caef0e3a85fad5d80f63da0bf21db436
4d2f46ad40854df92a9d4bb7d801b9778efbd378
refs/heads/master
2023-04-20T23:42:26.897786
2021-05-08T07:05:57
2021-05-08T07:05:57
255,842,009
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
""" ใ‚ทใƒณใƒ—ใƒซใชๅฎŸ็”จไพ‹ ๅ†…ๅฎน๏ผšๆคœ่จผ้ …็›ฎใงๅˆ†้กžใ™ใ‚‹ใƒ†ใ‚นใƒˆใ‚ฑใƒผใ‚น ่จ˜่ฟฐๆ–นๆณ• ใƒปpytestใงใƒ†ใ‚นใƒˆใ‚ฑใƒผใ‚นใ‚’ใ‚ณใƒผใƒ‡ใ‚ฃใƒณใ‚ฐใ™ใ‚‹ๅ ดๅˆใฏใ€ใ‚ฏใƒฉใ‚นๅใจใƒกใ‚ฝใƒƒใƒ‰ๅใฎๅ…ˆ้ ญใฏใ€Œtestใ€ใซใ™ใ‚‹ ใƒป@pytest.mark.parametrize("ๅค‰ๆ•ฐๅ",[(ใ‚ฟใƒ—ใƒซ)]) ใ€€ไพ‹ใ€€@pytest.mark.parametrize("test_input,expected", [("3+5", 8), ("2+4", 6), ("6*9", 42)])ใ€€ ไบŒใคใฎๅค‰ๆ•ฐๅใซๅฏพใ—ใฆใ€่ฆ็ด ๏ผ’ใฎใ‚ฟใƒ—ใƒซใŒ๏ผ“ใ‚ฑใƒผใ‚นๅˆ†ๆบ–ๅ‚™ใ•ใ‚Œใฆใ„ใ‚‹ """ import pytest from main import validate class TestValid: ...
[ "keishi.hirakawa.nf@kyocera.jp" ]
keishi.hirakawa.nf@kyocera.jp
8ba2e1d1a7dd1c30e8a51f573682ad69ca86c3a5
3a6a211ea0d32405497fbd6486c490bb147e25f9
/systrace/systrace/decorators.py
8545eaac83a986ba07ccf8d3d8f5e450b9ede645
[ "BSD-3-Clause" ]
permissive
catapult-project/catapult
e2cbdd5eb89f3b1492fc8752494e62ea1df4bae0
53102de187a48ac2cfc241fef54dcbc29c453a8e
refs/heads/main
2021-05-25T07:37:22.832505
2021-05-24T08:01:49
2021-05-25T06:07:38
33,947,548
2,032
742
BSD-3-Clause
2022-08-26T16:01:18
2015-04-14T17:49:05
HTML
UTF-8
Python
false
false
1,238
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. def HostOnlyTest(func): """Decorator for running unit tests only on the host device. This will disable unit tests from running on Android devices. ""...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
e4d5f301dfc57a396a1d11b922348ca0d41686ed
32352855b9eb25d5af8aac4a387bc666764bd69b
/pytests/test_parameterizing.py
a5529196334f858db4a0a93b4d9113f9510c675f
[]
no_license
DyadyaSasha/stepik-selenium-homework
ea164e75754fbebbbaefd35227dfef060b93f992
9a955b7a4951890583f1ed599106ab58c11a076c
refs/heads/master
2020-06-08T09:27:45.084021
2019-06-22T10:26:06
2019-06-22T10:26:06
193,205,165
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
import pytest # ะฟะฐั€ะฐะผะตั‚ั€ะธะทะพะฒะฐะฝะฝั‹ะน ั‚ะตัั‚ - ะทะฐะฟัƒัะบะฐะตั‚ัั ะพะดะธะฝ ะธ ั‚ะพั‚ ะถะต ั‚ะตัั‚ ะฝะตัะบะพะปัŒะบะพ ั€ะฐะท ะดะปั ั€ะฐะทะฝั‹ั… ะฒั…ะพะดะฝั‹ั… ะฟะฐั€ะฐะผะตั‚ั€ะพะฒ @pytest.mark.parametrize("num, output", [(1,11),(2,22),(3,35),(4,44)]) def test_multiplication_11(num, output): assert 11 * num == output
[ "serebryakovalexx@yandex.ru" ]
serebryakovalexx@yandex.ru
a361554f5dad634f34447cdfe1a41122e44a0a07
8f8498bb6f56b19d45a1989c8113a077348c0a02
/๋ฐฑ์ค€/Gold/๋ง์ด ๋˜๊ณ ํ”ˆ ์›์ˆญ์ด.py
46295228740c2fdbc91505c286b5dad4b556c089
[]
no_license
gjtjdtn201/practice
a09b437c892b0b601e156c09cb1f053b52fab11b
ea45582b2773616b2b8f350b927559210009d89f
refs/heads/master
2021-01-01T13:29:46.640740
2020-11-28T00:55:37
2020-11-28T00:55:37
239,299,485
0
1
null
null
null
null
UTF-8
Python
false
false
1,358
py
import sys sys.stdin = open('๋ง์ด ๋˜๊ณ ํ”ˆ ์›์ˆญ์ด.txt', 'r') from collections import deque import sys input = sys.stdin.readline def BFS(): while queue: a, b, jump = queue.popleft() if a == H-1 and b == W-1: print(visit[a][b][jump]-1) return if jump < K: monkey(a,...
[ "gjtjdtn201@naver.com" ]
gjtjdtn201@naver.com
cde6425b065b34539b69cfdaeedad2b56631949b
cbd1c52de6cd45208ecce076c238dfc75cebd70a
/check_restfulapi_cluster.py
7b0a74cda346221e1103d4859b6468d17aefbb0f
[ "Apache-2.0" ]
permissive
enterpriseih/distributed-realtime-capfaiss
2e20cad0c788c0700df948b6a46be52d91ac5b9b
3346f540b6c9d17a6be446fefa8c9b79164929d9
refs/heads/main
2023-08-16T20:30:20.807161
2020-12-11T02:50:41
2020-12-11T02:50:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,598
py
import sys sys.path.append('core.zip') import json import numpy as np from core.utils.utils import NpEncoder import requests import argparse from core.utils.udecorator import elapsed_time import time headers = { # 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51...
[ "liuning11@jd.com" ]
liuning11@jd.com
73b0841f83349ce3ad2dfeb02fe768c9b61fd5f9
d6c1db4729ed497e50e80004d3489d3c98450d44
/Netzwerk-P/Handelsregister/webscrappingfiles/delete.me.py
3069513b420287955330f57d62561fbd4e934afb
[]
no_license
KamranRipon/Python
3c689c0d7131a785f022902fc05905fdb64ac9b9
912b112a035b1cf327ee96b6b3e7015c08269027
refs/heads/master
2022-11-24T16:09:00.114713
2020-08-01T21:24:16
2020-08-01T21:24:16
269,408,627
0
0
null
null
null
null
UTF-8
Python
false
false
1,628
py
from ptpython import * from fake_useragent import UserAgent from selenium import webdriver from bs4 import BeautifulSoup as BS import requests import pandas as pd df = pd.read_excel('Final_Table.xlsx') url_1 = 'https://www.google.com/search?q=' url_2 = 'https://www.firmenwissen.de/index.html' ua = UserAgent() header...
[ "ripon_aiub@yahoo.com" ]
ripon_aiub@yahoo.com
373e69b27b2c84a07c9fb2b32ca417c3763d2c1d
23b28601ad5d77ee073ae715533790859c71e77d
/python basic/lambdabasic.py
2d0a74ddbb5006477842d52b5840d6106226d903
[]
no_license
Ashish-kumar-pradhan/python
06618b4320fd935708f2b0943deaf9bd7cbfbb90
f85483cdf0f95b56c18c9f57bb79920626663217
refs/heads/main
2023-03-30T04:50:42.348605
2021-04-05T06:47:41
2021-04-05T06:47:41
354,744,198
1
0
null
null
null
null
UTF-8
Python
false
false
48
py
f=lambda a,b : a*b result=f(5,6) print(result)
[ "80833940+Ashish-kumar-pradhan@users.noreply.github.com" ]
80833940+Ashish-kumar-pradhan@users.noreply.github.com
00b6a815a2083c6d4dfec3ad3134eacfddf54091
a7c84f44b4d52cbc2ec8e3a1e89c5e5f2a2be07c
/td/urls_api.py
d7c7ab8acf5435be7fbd18039dcec17fdee90eea
[]
no_license
unfoldingWord-dev/translationDatabaseWeb
561351a78d8a4ef1121d766b8fb44dd5c0539079
b6c2521df9a7baed1eb4610581d61c75c52419ef
refs/heads/master
2023-06-09T08:55:58.981746
2023-06-06T12:28:28
2023-06-06T12:28:28
25,008,788
9
8
null
2023-06-06T12:28:29
2014-10-09T21:11:28
Python
UTF-8
Python
false
false
1,161
py
from django.conf.urls import include, url from td.publishing.view_sets import PublishRequestViewSet, ApprovedRequestViewSet, RejectedRequestViewSet, \ OfficialResourcesViewSet from rest_framework import routers # routers for the REST API router = routers.DefaultRouter() router.register(r'publish-requests', Publish...
[ "phillip_hopper@wycliffeassociates.org" ]
phillip_hopper@wycliffeassociates.org
47949d71e67aab2c8326b7adfb8dd5c830cf7c92
4381f8499b38abb995a3495721802179e9a5868f
/cloudbroker/actorlib/authenticator.py
9b9692b826caaf75fe0587a7eca5af0628a45174
[]
no_license
rainmanh/openvcloud
49733d9e87f499bcdd3d9a97393caac22b10c1c1
50a9d1d6d9d105fc7812eaa44f395e0f092e0ef8
refs/heads/master
2021-06-26T22:50:40.620705
2017-08-21T13:20:40
2017-08-21T13:20:40
103,622,852
0
0
null
null
null
null
UTF-8
Python
false
false
10,769
py
from js9 import j from JumpScale9Portal.portal import exceptions from .cloudbroker import models class auth(object): def __init__(self, acl=None, level=None): self.acl = acl or dict() for key in self.acl: if key not in ['account', 'cloudspace', 'machine']: raise ValueE...
[ "deboeck.jo@gmail.com" ]
deboeck.jo@gmail.com
a8dcf389182086406338bed70cd3cdd23c52e80b
9dbb8b5b008a3185b5485d5a8daae6ea8401731b
/Hackerrank/find-the-median.py
d1b3a7c500b37efb3cffbb74593bffce93317d75
[]
no_license
fedgut/daily-challenge
d16b21797951f329eb186ebe07f8dde73ee2752d
0aa8223328844cd50324cfc67ad29f8208acc82f
refs/heads/master
2020-07-05T07:33:59.162828
2019-10-16T17:35:13
2019-10-16T17:35:13
202,572,990
1
0
null
null
null
null
UTF-8
Python
false
false
62
py
arr.sort() n = (len(arr)//2) return (arr[n])
[ "noreply@github.com" ]
fedgut.noreply@github.com
c8781ff8e8a7ac5183a6b52c09512484594f84a9
41457029c4e0145e11db2a7dd96c984138e06941
/concat.py
f3582c942afa467d1d4e75a88353edd3d9967d00
[]
no_license
primitivorm/ejemplos-python
4e5de2041d392eb978bd78884f0ef34e417d4fb3
45bbbbaf4142c48aec42cd7dd83b97877dd8bc26
refs/heads/master
2021-04-22T14:31:08.550203
2016-09-23T20:21:35
2016-09-23T20:21:35
54,854,255
2
0
null
null
null
null
UTF-8
Python
false
false
155
py
hello = "hello" world = "world" print hello + " " + world print "%s %s" % (hello, world) print "{} {}".format(hello, world) print ' '.join([hello, world])
[ "cibercafe_montero@hotmail.com" ]
cibercafe_montero@hotmail.com
bf6b091db42d1edfc4602e0eb2abca8f9be6179e
00da496172c4ab65a3f000b6b298ef60199a5a89
/crud/settings.py
45248d57055d0d8ec0e7338b1c46edaf95adc16d
[]
no_license
halitcelik/django-vue-recipe-storage
b5e5928530139050a22ee0316c2f210f8e636239
d9284504b5b1e1aa38850de8e1a06730d495c834
refs/heads/master
2020-06-14T17:34:31.616270
2019-07-03T14:47:40
2019-07-03T14:47:40
195,073,788
0
0
null
null
null
null
UTF-8
Python
false
false
3,257
py
""" Django settings for crud project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bu...
[ "halit@cruncher.ch" ]
halit@cruncher.ch
b7347bd4377b01c072aefec2206820b4449d7dfa
1124ba5d39ed41cd2de5ebcf85893e008ef7232c
/fibonacci series.py
0aece3e76467db9f1007b2dc7b16493cbe2d97a3
[]
no_license
BalaMurugan6/python_programs
b0590b90a9aaeda96b591397d39a5aa6ac02d161
0357c73751bee5e530e9c148ccab445dfc25d6ba
refs/heads/main
2023-08-22T00:19:09.448980
2021-10-24T16:10:32
2021-10-24T16:10:32
413,819,652
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#fibonacci series it generates given number of the times #n=int(input("enter the numbers")) #first=0 #second=1 #for i in range(n): # third=first+second # first=second # second=third # print(first) #fibonacci series it generates within a range of given number x=int(input("enter the numbers")) first=...
[ "noreply@github.com" ]
BalaMurugan6.noreply@github.com
3925ddc8929dab5fdcfe92af27724f8b26c01938
9806c35c4acfa16e56535970dbe5f84271b67664
/eod_aps/wsdl/cta_strategy_wsdl/cta_strategy_wsdl_assemble.py
71c81c7c89cbf04204b023b497654d74226099a3
[]
no_license
dsjmhjs/python_eod
a8e3513c77a37cfebf2f21a55bfb19449b8a013b
48207dd15e7079ef5fd2cf999367c429087197ea
refs/heads/master
2020-06-25T23:22:30.874309
2019-07-29T10:26:02
2019-07-29T10:26:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,476
py
# -*- coding: utf-8 -*- import socket from SimpleXMLRPCServer import SimpleXMLRPCServer from eod_aps.wsdl.cta_strategy_wsdl.strategy_init_tools import backtest_init from eod_aps.wsdl.cta_strategy_wsdl.load_strategy_parameter_tools import load_strategy_parameter from eod_aps.wsdl.cta_strategy_wsdl.strategy_online_offlin...
[ "123456789" ]
123456789
2b7683e23875a0c9bdb81a398ab65f74169a2fd0
b9d5eabe2a51d507e4d91ad2d6d199dd0885c5b6
/channel.py
3097f602c19d75706507897d904986968dd9a8da
[]
no_license
GSkoba/python_coursera
ca53bd5a6e75ebb256ab2a33331b9245bcea8b68
ad6d3ade07098bc193037b3694174fb512c59bcc
refs/heads/master
2021-04-09T11:46:01.955177
2018-03-17T16:35:06
2018-03-17T16:35:06
125,574,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
company = "my.com" if "my" in company: print("ะฃัะปะพะฒะธะต ะฒั‹ะฟะพะปะฝะตะฝะพ!") company = "example.net" if "my" in company or company.endswith(".net"): print("ะฃัะปะพะฒะธะต ะฒั‹ะฟะพะปะฝะตะฝะพ!") company = "google.com" if "my" in company: print("ะฃัะปะพะฒะธะต ะฒั‹ะฟะพะปะฝะตะฝะพ!") else: print("ะฃัะปะพะฒะธะต ะฝะต ะฒั‹ะฟะพะปะฝะตะฝะพ!") if "my" in c...
[ "noreply@github.com" ]
GSkoba.noreply@github.com
9dd5166f0b3f0fcd6b823d4553016d51171ee598
8286f49299fd266712f944995086ca33879c08e0
/download_music163.py
c8b3a0f142caa6334cc22ac747fa24987b4ac658
[]
no_license
angelloveroger/test
7dd57790cc185d22f34357c424ad9f80d1eb91b1
7d0b4be4f6bd9a79638f95afc3c36cd02459f7a8
refs/heads/master
2023-08-17T01:01:16.002722
2023-08-05T03:39:06
2023-08-05T03:39:06
271,918,828
0
0
null
2020-06-16T02:18:48
2020-06-13T01:18:35
PHP
UTF-8
Python
false
false
1,443
py
''' ไธ‹่ฝฝ็ฝ‘ๆ˜“ไบ‘้Ÿณไนๅˆ—่กจ download_url ๅˆ—่กจ้“พๆŽฅ download_api ไธ‹่ฝฝ้“พๆŽฅ download_path ไธ‹่ฝฝไฟๅญ˜ไฝ็ฝฎ ''' import requests import re from lxml import etree import os import time download_url = 'https://music.163.com/discover/toplist?id=3778678' download_api = 'https://music.163.com/song/media/outer/url?id=' download_path = './mus...
[ "roger.angel@163.com" ]
roger.angel@163.com
f05b516108ce684a926554723ac03c19ebdbd801
e69be342c352fc4ad466cc82faed0f4522738c09
/128.ๆœ€้•ฟ่ฟž็ปญๅบๅˆ—.py
a4c8f70132a61fe0cc24e0fc1a8acb88562089af
[]
no_license
zhangbobo131415/leetcode_zhang
09fa94707437ff2a5d4f162c0f2e5d077396c1d4
a55e7110148dbec63ac2f52000b0a8dc2b88b87e
refs/heads/master
2020-04-29T03:08:11.177769
2019-11-30T06:24:18
2019-11-30T06:24:18
175,798,233
0
0
null
null
null
null
UTF-8
Python
false
false
1,862
py
# # @lc app=leetcode.cn id=128 lang=python3 # # [128] ๆœ€้•ฟ่ฟž็ปญๅบๅˆ— # # https://leetcode-cn.com/problems/longest-consecutive-sequence/description/ # # algorithms # Hard (42.17%) # Total Accepted: 6.3K # Total Submissions: 14.7K # Testcase Example: '[100,4,200,1,3,2]' # # ็ป™ๅฎšไธ€ไธชๆœชๆŽ’ๅบ็š„ๆ•ดๆ•ฐๆ•ฐ็ป„๏ผŒๆ‰พๅ‡บๆœ€้•ฟ่ฟž็ปญๅบๅˆ—็š„้•ฟๅบฆใ€‚ # # ่ฆๆฑ‚็ฎ—ๆณ•็š„ๆ—ถ้—ดๅคๆ‚ๅบฆไธบย O(n)ใ€‚ # #...
[ "821806480@qq.com" ]
821806480@qq.com
10c138681b518f932570853ddf903654883ce532
3bcaf5fd865308a7ce44bd5e1440378cb7e55fdc
/SkeletonDetection/utils/imageProcess.py
dce35162057e1e6cc100582ab1950137e9c69b7e
[]
no_license
EvenQAQ/ToyStoryPipeline
558d2ee25ab29ec4549d49e61d04c0b3cc8e0c79
d1febee98fedd49c73d47e5910d47d041e47d8e8
refs/heads/main
2023-04-04T08:10:02.630854
2021-04-07T07:45:55
2021-04-07T07:45:55
333,092,788
0
0
null
null
null
null
UTF-8
Python
false
false
4,054
py
import numpy as np import sys import tensorflow as tf import os from threading import Thread import pyrealsense2 as rs from utils import detector_utils as detector_utils import cv2 # gpus = tf.config.experimental.list_physical_devices('GPU') # if gpus: # try: # # Currently, memory growth needs to be the same acr...
[ "yinsicheng1999@outlook.com" ]
yinsicheng1999@outlook.com
a32215b6d951a49a3747b814a87c395622716515
16b0a5d96e97b02baf6ee5e795a5c5549d12ab02
/dependency parsing/utils/parser_utils.py
ddc8b4ea3ba2c431750b54389f5b4ad711e82c6d
[]
no_license
hlli/nlp-dl
33990d18f9ed72dbbd75f80eabe9810bd931da71
fb62defe33727690c4e087ebeb7ca0e1ae9d4ba2
refs/heads/master
2021-01-01T19:36:22.116166
2017-08-02T10:38:47
2017-08-02T10:38:47
98,622,515
0
0
null
null
null
null
UTF-8
Python
false
false
15,505
py
""" Utilities for training the dependency parser. """ import time import os import logging from collections import Counter from general_utils import logged_loop, get_minibatches from parser_transitions import PartialParse, minibatch_parse import numpy as np P_PREFIX = '<p>:' L_PREFIX = '<l>:' UNK = '<UNK>' NULL = '<...
[ "li.hanli723@gmail.com" ]
li.hanli723@gmail.com
a0a5a76363e80cfc5a89359595d80aa2fb243154
e0980f704a573894350e285f66f4cf390837238e
/.history/news/models_20201124143954.py
a2869c41e721c2526bbf773e0ca6be950d1e2aec
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
from django.db import models from wagtail.contrib.forms.models import AbstractEmailForm # Create your models here. class NewsPage(AbstractEmailForm): tempalte ='news/news_page.html' leanding_page_template = 'news/news_page_leading.html' subpage_types = [] max_coun = 1 intro = RichTextField(blan...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
05a4146fb28b5f723da1e8ab746ca4eb4e677b6b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03011/s395360833.py
44b3d72ee3c129c4de5a06d9a9944ff6210fa8d1
[]
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
93
py
a, b, c = [int(i) for i in input().split()] d = a + b e = a + c f = b + c print(min(d, e, f))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3e442c08a9aba7deb71de5e8276f2e72bf19a179
1c0212b3be9dff201a5c643500678a4a8c2513c4
/src/main.py
40abc37cbe81b94e8c46307ba7f38002bb1a3fee
[]
no_license
844589750/test_suit
e460513e3aa2be5f69efaee5d09a644340f6cc9e
c89cb7b1ff960455a6097b5bda4207e4ebe05605
refs/heads/master
2020-05-04T09:04:32.860879
2019-04-02T11:13:28
2019-04-02T11:13:28
179,048,196
0
0
null
null
null
null
UTF-8
Python
false
false
2,098
py
#!/usr/bin python # coding=utf8 import requests import json import allure @allure.feature('่ฑ†็“ฃๆŽฅๅฃๅŸŽๅธ‚ๅ‚ๆ•ฐๆ ก้ชŒ') def test_douban_city_cases(service, config): data = config["douban_city_test"] for case in data: with allure.step(case["des"]): try: result = get_request(service, case) ...
[ "zhenwei.chen@qunar.com" ]
zhenwei.chen@qunar.com
287ffcfa056904f0ad86c399480127764911db51
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/kQayLoFNx4QgWahHu_2.py
bb1af1605885be1f995a2ebb66e86374b3d9b1ed
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
""" R, a programming language used for Statistics and Data Analysis, has the function `order`, which returns a list with the indices needed to sort the original vector(โˆ—). For example: my_list = [1, 3, 3, 9, 8] # Ordered would be: [0, 1, 2, 4, 3] In plain words, `order` tells you what elements to look at ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0cb684968e623802b002677fa4359b81efd97489
1b635c72a42fbdb51466c4b40a08044dc3cf650c
/models.py
ee31fd092496f30bc2f54313ed91cd6a078c1b14
[]
no_license
Lyounessi/GUI-OFF-P5
86174efa62119fa5a0f23bcd2961fa00a2ed8cd0
e732824d8f645afa1ade33137750838c09284733
refs/heads/master
2022-12-10T00:18:54.050700
2018-12-07T18:42:13
2018-12-07T18:42:13
150,759,194
0
0
null
2021-06-01T22:42:04
2018-09-28T15:19:43
Python
UTF-8
Python
false
false
4,687
py
"""Imports Parts""" import pymysql.cursors import json import connect from connect import cursor from constant import T_CAT , T_PRODS , T_FAV class MyBase(): """Class of the database's methods""" def __init__(self): self.db = "CREATE DATABASE IF NOT EXISTS Off_data" #Define cursor for pymys...
[ "boukroun.younes@gmail.com" ]
boukroun.younes@gmail.com
9eba14a5f1bbfa8bd06d14f59226e65626b88966
5f518eba155dfff188f98680fa1746325c5ee3b3
/now_4-26/array_4_index.py
1de8a74124a4c1825db4d8fe3dd059c0477997a4
[]
no_license
kent10636/pdp
d12d36ba4c91b24c76b2ca3688b8c7f1bf052231
b2191c9696eb06643b9c9f6e64c4304dc4a69aec
refs/heads/master
2020-03-15T15:49:53.187196
2018-05-01T15:28:54
2018-05-01T15:28:54
131,513,499
0
0
null
2018-04-29T17:07:58
2018-04-29T17:07:58
null
UTF-8
Python
false
false
3,111
py
import pickle as p import linecache as lc import copy file = open('dictionary.pkl', 'rb') dictionary = p.load(file) file.close() dict_Subject = dictionary['Subject'] dict_Resource = dictionary['Resource'] dict_Action = dictionary['Action'] dict_Condition = dictionary['Condition'] def Key_get(n,dict_): for key in...
[ "37134516+zcyzuibang@users.noreply.github.com" ]
37134516+zcyzuibang@users.noreply.github.com
fea56c3ed93ad23d5f94bf01932101dfd8229ae3
29e526fb77bc4c13082a0f9c0f4104684a01893b
/apps/shared/tests/__init__.py
e2701bc458fa041f89d343db30d387d028135fda
[ "BSD-3-Clause", "MIT" ]
permissive
Hugochazz/affiliates
767034519426a657c0e9b3e38fee94cc3e0042ca
e234b0ab925b33d71cb5ded3d51dccbcbb0e59c1
refs/heads/master
2020-12-25T13:51:53.974167
2012-10-30T14:55:50
2012-10-30T14:55:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,655
py
from contextlib import contextmanager, nested from functools import wraps from smtplib import SMTPException from django.conf import settings from django.contrib.sessions.middleware import SessionMiddleware from django.core.mail.backends.base import BaseEmailBackend from django.core.management import call_command from ...
[ "mkelly@mozilla.com" ]
mkelly@mozilla.com
7aea57ebf09688bf92ff294baee88da50d8b3365
f5dba3b8c66df5f81bed52a1143b689955a238dd
/ex42.py
ad8a9571f01df400154bb22fb66a630f343c6cac
[]
no_license
nithinsunny/Learn-Python-The-Hard-Way
9f515b8c45785da7dec8ac6e02d063e6daa3dc07
e90ca14c1c42e7d3d498062b2c45a570b3630008
refs/heads/master
2021-01-17T18:24:52.055011
2015-02-26T08:20:38
2015-02-26T08:20:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
## Animal is a object (yes, sort of confusing) look at the extra credit class Animal (object) : pass class Dog (Animal) : def __init__ (self, name) : ## ?? self.name = name class Cat (Animal) : def __init__ (self, name) : ## ?? self.name = name class Person (object) : def __init__ (self, name) : ## ?...
[ "tapaswenipathak@gmail.com" ]
tapaswenipathak@gmail.com
632ca58d7b0bc344597473fc66f370f4e79ffa9f
5f22ddbd3eeb99709e43e7b9a7958c9987c7efa4
/__competitions/2016/02_15_w19/05.py
837fdc9e769430694fa5c641b0205db0b1b6dd68
[]
no_license
salvador-dali/algorithms_general
04950bd823fc354adc58a4f23b7d2f3d39664798
aeee3356e2488c6fab08741b1ac26e8bd5e4ac0d
refs/heads/master
2020-12-14T06:24:10.466601
2016-07-17T06:00:17
2016-07-17T06:00:17
47,397,457
0
0
null
null
null
null
UTF-8
Python
false
false
47,629
py
def getArraysFastEven(n, k): if k == 1: return tuple([val for pair in zip(range(n / 2, 0, -1), range(n, n/2, -1)) for val in pair]) if k == 2: return tuple([val for pair in zip(range(n / 2 + 1, n + 1), range(1, n / 2 + 1)) for val in pair]) return -1 def getArraysFastOdd(n, k): d={ ...
[ "dmytro@knowlabs.com" ]
dmytro@knowlabs.com
13d560e61377b4eb039f843d36c7045a63b21fd8
bc438e2ef3cbdb7b4c2ded5e6b59ab23eeba4775
/scripts/gwrender.py
67aed9d89f76274c66ebad5313ffedaf7b60476b
[]
no_license
WuShichao/gwpv
8b4d29c2f865b13a6ad09f9715333058fbe3b176
44456ac4af6310a61e33431c415f685afa564638
refs/heads/master
2022-04-24T14:26:22.773212
2020-04-19T02:19:02
2020-04-19T02:19:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,426
py
#!/usr/bin/env python from __future__ import division import logging logger = logging.getLogger(__name__) def render_with_paraview(force_offscreen_rendering, **kwargs): # Make sure the script was launched with ParaView try: logger.debug("Checking if we're running with 'pvpython'...") import...
[ "nils.fischer@aei.mpg.de" ]
nils.fischer@aei.mpg.de
6fed58c2b3204cd8b341adf367ced7cbc16f0a1f
c02c02f6f634bb5df4bb63adbbda4de5ae256434
/cnn_att.py
3ba6d6c469dfb38e210e2f8b3ad74bb31433fb35
[]
no_license
isiyuan/DS_Temporal
13c1e018950a25f88f12d86f04fb64006387bc2a
f3258b212fc614875aeafac5cb0180cb67a4a25f
refs/heads/master
2020-07-11T04:17:32.266889
2019-08-26T03:44:59
2019-08-26T03:44:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,862
py
import torch import torch.autograd as ag import torch.nn as nn import torch.optim as optim import pdb import torch.utils.data as data import torch.nn.functional as F import sklearn.metrics as metrics import argparse import math # from dataset import Dataset, Temporal_Data # from dataset import collate_fn, collate_fn_t...
[ "459800873@qq.com" ]
459800873@qq.com
2718001377aa4eb914736bce6931d4692dc13136
6d9f004d2bacef1bed8a31824ace33a80e61724c
/cogs/characters.py
72ef3e3d14ff0f637f53d08e720b9351aa2b1a0a
[ "MIT" ]
permissive
sam-kapusta/Mentorbot3.0
bd97bd66696c21b880daa8d49a3e8bbe8fc1a22b
1a39a63f8eebd351f18edf8b4823d67aa740f9eb
refs/heads/master
2023-07-12T03:10:52.213019
2020-04-19T09:15:42
2020-04-19T09:15:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,872
py
import sqlite3 from time import sleep import discord from discord.ext import commands from data import rivals from helpers import helpers, hitboxes, mentors db = sqlite3.connect('data/academy.db') db.row_factory = sqlite3.Row cursor = db.cursor() class Characters(commands.Cog): """Display mentors or hitbox inf...
[ "bscardiel@gmail.com" ]
bscardiel@gmail.com
25475b7c75596c92506572c1be0f85253192ceb0
d8e5253bf66b359de363bd0955a119dafddd6598
/challenge/challenge_api/migrations/0007_auto_20190227_0106.py
7a003a058c8069a52eaef623d61369f8c74f7f35
[]
no_license
Pittfall/coding-challenge-bung
ef251b84cf4af577d8b2ba17e83102da2cf7a40f
eb52787abf41efa8d418a161532022246802e7ec
refs/heads/master
2022-12-17T12:25:46.924990
2019-02-28T00:48:39
2019-02-28T00:48:39
173,012,241
0
0
null
2022-12-08T01:39:42
2019-02-28T00:30:05
Python
UTF-8
Python
false
false
2,232
py
# Generated by Django 2.1.7 on 2019-02-27 01:06 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('challenge_api', '0006_auto_20190227_0105'), ] operations = [ migrations.RemoveField( model_name='house', name='address', ...
[ "andrewrusu87@hotmail.com" ]
andrewrusu87@hotmail.com
81b02638aaa615c7c9fa752374c5efee1083c785
371182c5a6b26ded542a2bc1292ae3da2c1c20cc
/DPLL.py
9faa54b2d941ae6489c900bca8b525b7beb30280
[]
no_license
isnpaulconstans/PrYE
3d954ffb7373e36a8cac6eb36c5fcd20ad989f24
8103a063c00ab58cbac39f1849f855d435766f14
refs/heads/master
2021-07-13T02:27:28.717593
2020-06-10T21:48:41
2020-06-10T21:48:41
158,571,897
1
1
null
null
null
null
UTF-8
Python
false
false
4,546
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Gestion des dรฉmonstrations""" from copy import deepcopy from Demonstration import Demonstration from FCN import FCN class DPLL(Demonstration): """ร‰valuation par l'algorithme de Davis-Putnam-Logemann-Loveland.""" def __init__(self, proof): """Construct...
[ "emmanuel.delay@etu.univ-amu.fr" ]
emmanuel.delay@etu.univ-amu.fr
f914814849480f4e8c56518ff84f55b1fa07664f
776d573502d482d3a82611448d170e3f19659d09
/django/project5/mnist_practics.py
03bfd27f8ee5b4caab176fdee5567c0a273de6d7
[]
no_license
mogubess/python_test
f7b411fcf4143b5707d1310a1c55eb5465e3672b
5632ad143dd0443208d873b63f0eacb848dcf00d
refs/heads/master
2021-03-03T07:12:47.481748
2020-08-16T12:06:45
2020-08-16T12:06:45
245,941,752
0
0
null
2020-06-08T11:58:27
2020-03-09T04:12:22
Python
UTF-8
Python
false
false
553
py
from sklearn import datasets, svm from sklearn.model_selection import train_test_split # ใ‚ตใƒณใƒ—ใƒซ็”ปๅƒใƒ‡ใƒผใ‚ฟใฎใƒญใƒผใƒ‰ mnist = datasets.fetch_mldata('MNIST original', data_home='image/') X = mnist.data / 255 y = mnist.target # ่จ“็ทด็”จใƒ‡ใƒผใ‚ฟใจใƒ†ใ‚นใƒˆ็”จใƒ‡ใƒผใ‚ฟใซๅˆ†ใ‘ใ‚‹ X_train, X_test, y_train, y_test = train_test_split( X, y, train_size=1000, test_siz...
[ "takada0797hideaki@gmail.com" ]
takada0797hideaki@gmail.com
036da54b4c47ec69410dc26396878847d1e7b0fd
eb443158b92f5fb9b87d2765f02efdedf6b44a52
/settings.py
68b4b8f700e3691c806f4307b420375a45892f8a
[]
no_license
franfyh/recommender
85e37a2235c45110db3acdafc547b3b1e5afc827
b32cef199079071e314caca0a8d63121f72f068f
refs/heads/master
2021-01-10T11:46:54.099375
2016-03-28T00:46:18
2016-03-28T00:46:18
54,854,980
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
def init(): global sum_of_squares global target_user_id global target_business_id sum_of_squares = dict() target_user_id = "" target_business_id = ""
[ "franfyh@gmail.com" ]
franfyh@gmail.com