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
cd18c91b29b30269577ecada14d674eb31496e86
1e95b2fe6d888604bb2529a3b054ffcadc311fce
/arrange_pichus.py
cacaff22b7551c8a86d5a477f16941a34d8c987c
[]
no_license
bhargavsai77777/Route-Pichu
5a853a1b59fef0b66e590f7119300cf59b806546
5daa7c1c586dea4fd15f41ad717f8743cc62d07c
refs/heads/main
2023-05-26T06:52:11.048883
2021-06-12T03:07:53
2021-06-12T03:07:53
376,190,061
0
0
null
null
null
null
UTF-8
Python
false
false
3,895
py
#!/usr/local/bin/python3 # # arrange_pichus.py : arrange agents on a grid, avoiding conflicts # # Submitted by : [PUT YOUR NAME AND USERNAME HERE] # # Based on skeleton code in CSCI B551, Spring 2021 # import sys # Parse the map from a given filename def parse_map(filename): with open(filename, "r") as f: ...
[ "noreply@github.com" ]
bhargavsai77777.noreply@github.com
8715867deb70edd12ab5ba34f25f98faff89d712
ef0f1ed165ef71f3334c10b3770face188e8d894
/python/week6/survey_form/apps/surveyform/urls.py
b9a7ac204cb294a0e627c57b465392e956dea86c
[]
no_license
alfredgarcia/codingdojo
55e6a9ded3e5eb01409c94d696569cae8a358660
c267d0d330831ba9c3a551d20ffc60392a0fac38
refs/heads/master
2020-09-13T22:33:01.581800
2017-01-04T22:04:14
2017-01-04T22:04:14
67,725,559
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from django.conf.urls import url from . import views # from django.contrib import admin urlpatterns = [ url(r'^$', views.index), url(r'^process$', views.FormProcess), url(r'^showresults$', views.ShowResults), ]
[ "alfredg2007@yahoo.com" ]
alfredg2007@yahoo.com
b165157f87e70a1070f197296b0d780668b1fc40
e15cb8739449fa5fad211d9d28dd58ff74269a77
/感知机/.ipynb_checkpoints/感知机-checkpoint.py
328be683ce92468e94f1a813a31c7ecb553d85b1
[]
no_license
HG1227/ML
4815c299aa56cf72b4dc5811f6672421c638416f
1b92276690c57cf45b3e26125b7459e1bd236d16
refs/heads/master
2020-08-26T12:31:07.037477
2020-05-30T07:05:17
2020-05-30T07:05:17
217,008,927
0
0
null
null
null
null
UTF-8
Python
false
false
3,896
py
#!/usr/bin/python # coding:utf-8 # @software: PyCharm # @file: 感知机.py # @time: 2019/12/4 import numpy as np def makeLinearSeparableData(weights, numLines): ''' numFeatures 是一个正整数,代表特征的数量 :param weights:是一个列表,里面存储的是我们用来产生随机数据的那条直线的法向量。 :param numLines:是一个正整数,表示需要创建多少个数据点。 :return:最后返回数据集合。 '''...
[ "hongghu.@outlook.com" ]
hongghu.@outlook.com
54d80f823fdf4e8beeb5810d52171050d781524e
804fa48b8f403025f7f08f582f036863d1b37659
/pe7.py
acf3aa4408635a8bac0f94919a8ce982b9f13ce7
[]
no_license
pushpithaDilhan/ProjectEulerPython
78b15115a2bce059014c67c561ca17b124d598dd
bc14519f37d1496b683fb2339d0534ff33c22b9d
refs/heads/master
2021-01-10T04:49:24.491855
2017-04-12T06:03:11
2017-04-12T06:03:11
52,206,121
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
import time s=time.time() def isprime(n): for i in range(3,int(n**0.5)+1,2): if n%i==0: return False else:return True a=[2,3,5] i=7 while len(a)!=10001: if isprime(i): a.append(i) i=i+2 print max(a) e=time.time()-s print "elapsed time is %f Seconds"%e
[ "pushpitha.14@cse.mrt.ac.lk" ]
pushpitha.14@cse.mrt.ac.lk
cbc684ff9ae4dd85231ece8eaed2a8851b6264ba
deaf60a5ba012e68f8509c0df0d35a5228419b71
/找商网/zhao_shang_wang_changxin/zhao_shang_wang/spiders/spider_data.py
a34737cdfa962283d95ea12c2c4ffaafadfb4f46
[]
no_license
kokohui/con_spider
7162d8e58725d9334db5f1da34649cd1d1ef29ea
da1181b53e5cbca546d1bb749f9efc2f48e698f8
refs/heads/master
2022-03-03T19:37:33.721533
2019-08-22T10:05:32
2019-08-22T10:05:32
193,631,800
0
0
null
null
null
null
UTF-8
Python
false
false
9,365
py
# -*- coding: utf-8 -*- from ..items import ZhaoShangWangItem import scrapy from scrapy import Request from bs4 import BeautifulSoup import os import random import requests import pymysql import time import re import jieba.analyse conn = pymysql.connect(host='192.168.1.210', user='root', passwd='zhangxing888', db='ktc...
[ "2686162923@qq.com" ]
2686162923@qq.com
dd07566eb79e4e8773393ba441cf85898be88c05
37174351804fca73485d586a15cba70bd7e46cdc
/als-app/als_model.py
d978eee0e11743e5c8305dedafb953203cfdd632
[]
no_license
sbartek/intro-to-pyspark
382d41169c6a59d26e4da7307f41877d009124ef
c8820024ec043b338455644ca8d559e210a7f966
refs/heads/master
2020-05-16T23:44:12.099782
2019-05-15T20:41:46
2019-05-15T20:41:46
183,376,909
0
1
null
null
null
null
UTF-8
Python
false
false
870
py
import pyspark.sql.functions as F from pyspark.ml.recommendation import ALS, ALSModel class ALSRecModel: def __init__(self, userCol, itemCol, rank=5, maxIter=2, spark=None): self.userCol = userCol self.itemCol = itemCol self.rank = rank self.maxIter = maxIter self.als = AL...
[ "bartekskorulski@gmail.com" ]
bartekskorulski@gmail.com
7c4c68f415ca42dd6a3d377d49232c08f9e0c006
d890428ae26410b7fa6bcc73e91cc5f1fde9f34a
/py/tump/test.py
bbfe3299a6f34dc6f98d84464976975770f91b8c
[]
no_license
ansenfeng/note
6623bcd6a8c700ecb2ce2ae9c142eda31944fe15
e8b7cd6b837645b47b56969f9b5ccdc78a5d10f5
refs/heads/master
2020-07-06T06:04:14.584965
2020-02-06T01:46:22
2020-02-06T01:46:22
202,916,092
0
0
null
2019-08-17T18:20:47
2019-08-17T18:05:26
Python
UTF-8
Python
false
false
610
py
from tkinter import * root = Tk() root.title("网易云音乐") root.geometry("800x600") root.geometry("+250+100") label = Label(root,text="请输入要下载的内容:",font=('华文行楷',25)) label.grid(row=0,column=0) entry =Entry(root,font=('微软雅黑',25)) entry.grid(row=0,column=1) text = Listbox(root,font=('微软雅黑',30),width=45,height=10) text.grid(row...
[ "noreply@github.com" ]
ansenfeng.noreply@github.com
b233ce40007c4997abdcc19a19b7f787186f0880
2bc20bc0b4eef8541b66704a9a46e709a438d9fd
/ngramsNVI/create_NVI.py
e295ff48586929b0f8f2a0c84374bb693ab6c7f9
[ "MIT" ]
permissive
warwickpsych/ngramsNVI
ed1a41d1a921faa507e7ce9dc7048ad4df2d6295
4f07fc22eef973625180c6f9b4827b1324947614
refs/heads/master
2020-12-03T18:16:20.953496
2020-01-02T17:25:18
2020-01-02T17:25:18
231,426,273
0
0
MIT
2020-01-02T17:13:18
2020-01-02T17:13:17
null
UTF-8
Python
false
false
8,049
py
import argparse import logging import os import string import pandas as pd from ngramsNVI.constants import PACKAGE_LOCATION from ngramsNVI.utils import rescale, download_nrgams_file logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) def load_valence_data(language): """ Load valence da...
[ "cseresinhe@turing.ac.uk" ]
cseresinhe@turing.ac.uk
25cff27e63ff8317998d9326921d3ac3a56f1d83
96d7fafccb9e35ab862e679fb22b0d790c2a081b
/main/urls.py
6cf0d1300fa5f12e4dca18d76131354887260a82
[]
no_license
folakemie5/notepadapp
695750be890662044c52dabee26e392e92bfb9c3
d2b304536fe45b8267e2b636b2ef0a1ce8868b35
refs/heads/main
2023-07-16T01:25:38.479877
2021-08-19T09:41:48
2021-08-19T09:41:48
397,222,403
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
from django.urls import path from . import views urlpatterns = [ path('', views.notepads, name='notelist'), path('<str:title>/<int:day>/<int:month>/<int:year>/', views.note_detail, name='note_detail') ]
[ "folakemie5@gmail.com" ]
folakemie5@gmail.com
28cb977f5c9241e22b09e7c8b0923e0e7cf2487d
9b3ca4821d0c275df3c298c270cf544c8604648c
/hello-world.py
7b2ccf80923a3bc34b194ea68a5dd164a6661d6b
[]
no_license
Noooneee/test_
520012f41c45f6a2804922955c571e858a712225
f3a0856273f885158d047b0fff7a8a25fb70b199
refs/heads/master
2022-11-09T05:57:36.854139
2020-06-27T02:55:35
2020-06-27T02:55:35
275,285,519
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
for i in range(10): print("Hello World!")
[ "umar.mohammad7@outlook.com" ]
umar.mohammad7@outlook.com
4b900f40ae107f6eed5132e247ac9bf751311707
9e4910f1af6ae6e0f338adb41cfa036a9bf37894
/ctblog/ctblog/settings.py
05cd74256e45965e4305ce9f703bca0abc71649a
[]
no_license
codetubes/python_django
afb65524ec0be05aaa7ecf291bb0beaad71f290e
5e16694fc54ecff019707dea96459d873380692b
refs/heads/master
2022-04-20T12:06:32.915015
2020-04-11T16:57:05
2020-04-11T16:57:05
254,913,770
2
0
null
null
null
null
UTF-8
Python
false
false
3,168
py
""" Django settings for ctblog project. Generated by 'django-admin startproject' using Django 3.0.2. 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 # ...
[ "arman@armans-mbp.home" ]
arman@armans-mbp.home
61ee902f9aec9bdeff25f6e72569396187f62aff
01afa0be1c3acbf562fd87bd8fec8b4101c1e461
/Mining-Massive-Dataset/week5/advanced_quiz3.py
8c96a6d7d682c7d9d8f2ec6fe73c3b09bf879b97
[]
no_license
listiani13/coursera
e4f1116cc619b62336c5bb4d2e714e7051ae775c
5c84cf7171a440261de639b53558e9767b1cd85e
refs/heads/master
2021-01-22T03:54:31.657656
2016-04-04T11:07:25
2016-04-04T11:07:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
from math import sqrt def euclidean(x, y): return sqrt((x[0] - y[0])**2 + (x[1] - y[1])**2) points = [(1, 6), (3, 7), (4, 3), (7, 7), (8, 2), (9, 5)] chosen = [(0, 0), (10, 10)] for _ in range(5): pos, mx = -1, -1 for i, p in enumerate(points): distance = min([euclidean(p, pc) for pc in chosen]) if distance > ...
[ "wangliangpeking@gmail.com" ]
wangliangpeking@gmail.com
f99a9206e3aad2da48d0857fb2f4ee34a77b55d7
df94467e24ce38f566e5d96f179de4ad365e1f1d
/appmain/migrations/0109_auto_20200328_0724.py
34e670648898ffa848f3053bd26e0e5437cc1f25
[]
no_license
dhchamber/PigSkinners
498f931d112692c0cef3767cd2a6ca8b1014bcb1
9accd0dbd4f8ed93720b708117d42aab662569f2
refs/heads/master
2023-04-07T14:32:37.649907
2020-05-09T15:28:50
2020-05-09T15:28:50
231,812,836
1
0
null
2023-03-31T14:52:07
2020-01-04T18:53:52
JavaScript
UTF-8
Python
false
false
2,403
py
# Generated by Django 3.0.1 on 2020-03-28 13:24 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('appmain', '0108_auto_202...
[ "dhchamber@msn.com" ]
dhchamber@msn.com
ea592e1891a71f9b0b5333fa7e4f0802e01c234d
ad908dddab6bd9a87731881c071f8cefc2f25c0a
/app/recipe/views.py
6a362b235a2deb8b975ad554d945d452eeb85ecd
[ "MIT" ]
permissive
krismwas/recipe-app
5eec41bdd4c56ec93e28cf27553e8b9eb2017d8d
19972e6cdafa00db96306e54b9bad715cb459463
refs/heads/master
2020-04-30T16:29:56.505771
2019-04-02T07:47:48
2019-04-02T07:47:48
176,949,915
0
0
null
null
null
null
UTF-8
Python
false
false
5,070
py
from rest_framework.decorators import action from rest_framework.response import Response from rest_framework import viewsets, mixins, status from rest_framework.authentication import TokenAuthentication from rest_framework.permissions import IsAuthenticated from core.models import Tag, Ingredient, Recipe from recip...
[ "chrischrismwangi@gmail.com" ]
chrischrismwangi@gmail.com
2deb284c25b04ed8d2b413c44ceaf72090afcbc4
7af0bf24774db7703a60f8ab6300e293e9939ebd
/microbench/benchtest.py
b259b0b88499686a36a8a17d2e159641313f6c95
[]
no_license
ctalbert/microbench
ce8e9fe2498f4db56af26de216836775b04fc5e3
e71cd1770e6eb626350a2d4fc9273f7dfc582bb5
refs/heads/master
2016-09-05T21:08:08.999820
2013-03-19T08:32:27
2013-03-19T08:32:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
import os import sys import json import time import re import weakref import time from marionette import CommonTestCase from marionette import Marionette class MicroBenchTestCase(CommonTestCase): match_re = re.compile(r"test_(.*)\.html$") def __init__(self, marionette_weakref, methodName='run_test', htmlfil...
[ "ctalbert@mozilla.com" ]
ctalbert@mozilla.com
9e3e88e5e20b8620f29caa40607f2ce722da5e40
98f110f98055cc9d5bc1bb52807dddb98f9c3b32
/experiments/bytecode_update/compile_bytecode/extract_entry_points.py
45ed59fa43c73598055e7d39c12e0a3d62de1da9
[]
no_license
sgadrat/super-tilt-bro-server
4f50336d4729dff08261a04a22d89392062da22d
1fa884e66c1ac819ecf47ba7f9cdec7e677507fe
refs/heads/master
2023-08-18T05:09:35.481574
2023-08-10T21:16:39
2023-08-10T21:16:39
166,117,711
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
#!/usr/bin/env python import listing import sys import json entry_points = [] # opcodes hex in string as they are represented in xa listing JSR = '20' BPL = '10' BMI = '30' BVC = '50' BVS = '70' BCC = '90' BCS = 'b0' BEQ = 'f0' BNE = 'd0' def on_line(_, line): global entry_points if line['address'] >= 0xc000: i...
[ "sgadrat@wontfix.it" ]
sgadrat@wontfix.it
e24c46fd98029aac1b66598cac02ba5537c313d5
d89acc9364060c7628ef53409abdfd192c3b8837
/离散傅里叶变换/good.py
2217808d46a976025ca1ce0b2d9a486ce0a43294
[]
no_license
yl763593864/Fourier-Transform
ac6aba866f0dc1e3fae787ecfac68d68c8d0063c
285f5ad5595262cef5cb39bee8e46cba04495176
refs/heads/master
2020-06-13T23:21:42.453485
2019-09-03T03:28:37
2019-09-03T03:28:37
194,820,850
2
1
null
null
null
null
UTF-8
Python
false
false
26
py
print("xxs") #hello #first
[ "yangsongtang@gmail.com" ]
yangsongtang@gmail.com
f32b08a5dadf9bf4dbc0b238e4cb160e93b689f5
3a01d6f6e9f7db7428ae5dc286d6bc267c4ca13e
/pylith/meshio/OutputMatElastic.py
75bd619e57bb719fa4f7cc5e470df1ff774171da
[ "MIT" ]
permissive
youngsolar/pylith
1ee9f03c2b01560706b44b4ccae99c3fb6b9fdf4
62c07b91fa7581641c7b2a0f658bde288fa003de
refs/heads/master
2020-12-26T04:04:21.884785
2014-10-06T21:42:42
2014-10-06T21:42:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,792
py
#!/usr/bin/env python # # ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
b8349e59ee37806bbb211823d84042788796f8c0
8ca6ddae047850046e4eaf33d1820bd917c2d822
/src/app/util/mail.py
7fb672b41c2b901b60101023f854c2f81add3efa
[]
no_license
AllenSix/homekit
0582017588481c773689355c8b2164835ca5955d
29ad509893aaecf4b518c0e3468db7e2eb43d1e5
refs/heads/master
2020-05-17T22:03:06.176706
2020-01-09T14:36:11
2020-01-09T14:36:11
183,989,418
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 18-6-20 上午10:27 # @Author : Skye # @Site : # @File : mail.py # @Software: PyCharm import smtplib from email.header import Header from email.mime.text import MIMEText from src.app.config import * def send_email(title, content, receivers): message...
[ "csf71106410@163.com" ]
csf71106410@163.com
c7c9c7b8c9cdf0529dfe969bd1b620285d0716ae
e00226c64b0926acfd11a1ef5ec2a49e24ecdfdf
/ETI06F1.py
06170ea829d3e6cdee3563448a848f45dc0d9f88
[]
no_license
zetor6623/SPOJ_PL
a6b0bb4304828790565d8f141d5b6316421b8b78
9eff1e24ef25f7b1995e4dad2b07fd8d80a56abc
refs/heads/master
2020-04-09T09:58:57.103241
2018-12-03T21:04:58
2018-12-03T21:04:58
160,253,318
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
#!/usr/bin/python import math wejscie = [float(x) for x in raw_input().split()] r = wejscie[0] d = wejscie[1] pi = 3.141592654 pole = ((r*r)-((d*d)/4))*pi pole = round(pole,2) print pole
[ "noreply@github.com" ]
zetor6623.noreply@github.com
4234148e60b4e6ef9a4ee683926ae88a7bb1d316
465c407dc2196cf37009639b3e5ad2ee046c1e45
/app/api/mod_item/grey/deploy.py
47eacf4408d2ba54baac41439e5644b7bfa228f1
[ "BSD-3-Clause" ]
permissive
TouchPal/guldan
9ef6f746d8625c821ace22da5b298d6ec7a8643a
74cc0bf687109d16c3eb94010b4cc25bd5c5bcc0
refs/heads/master
2023-03-08T19:55:26.286517
2018-01-08T06:56:07
2018-01-08T06:56:07
115,521,519
44
4
NOASSERTION
2022-01-21T18:56:19
2017-12-27T13:01:25
Python
UTF-8
Python
false
false
1,296
py
# -*- coding: utf-8 -*- from flask import request from app.api.utils.request_util import parse_request from app.api.utils import response from app.api.mod_item import item_blueprint from app.api.mod_item.utils import ensure_item from app.api.mod_item.validate import validate_for_item_modify from app.api.mod_item.modify...
[ "alex.zheng@cootek.cn" ]
alex.zheng@cootek.cn
b793d9f4e13c712ddcf0d002de824cf6639c73c1
8ea4ca8746e9080b9522c6244807d42234260034
/web2pyApp/miFacebook/languages/es.py
cfe6e458d6797510d1fda9db26f6dd973738b5ff
[ "LicenseRef-scancode-public-domain" ]
permissive
bhandaribhumin/daw2
a59d4f1f64785bbbef55d2f4ca77edb02dce4578
480597ef2131853f7c0c4c61b4334257d12aef28
refs/heads/master
2020-12-31T05:39:35.951295
2014-06-18T11:36:45
2014-06-18T11:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,615
py
# coding: utf8 { '!langcode!': 'es', '!langname!': 'Español', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"actualice" es una expresión opcional como "campo1=\'nuevo_valor\'". No se puede actualizar o eliminar resultados de un JOIN', '%s %%{row} de...
[ "albertogonzcat@MacBook-Pro-de-Alberto.local" ]
albertogonzcat@MacBook-Pro-de-Alberto.local
e4e4cb04e8a4bd53f5c3ce46f4504a2164bb6517
be8dd95b894e0c0dae77fcfe174564c5c02d4c4b
/techpitgram/urls.py
2a7cec3e6775e2d1653b862fb5b22b7c25103e83
[]
no_license
iKora128/techpitgram
3433c57d30838f48bf2eec619915edd12112e6af
c9a55eaa036f6dbc75a3216508a1a75f85765c17
refs/heads/master
2020-12-14T22:52:06.441596
2020-01-19T12:39:45
2020-01-19T12:39:45
234,898,170
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
"""techpitgram 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-b...
[ "nagashimadaichi@nagashimadaichinoMacBook-Pro.local" ]
nagashimadaichi@nagashimadaichinoMacBook-Pro.local
9394166569d8caffdd6df13892890bf089cd7837
baaca529b304e18165d575fb727984e95a59db80
/2.X/examples/list_assignment.py
22657c9a0dc57c86845005c8ced261b1f7dec706
[]
no_license
BartVandewoestyne/Python
fae9dfccdf5e7864103a2ec8f4b919abd2862d16
9add88babb2dac05139196297771b33e412d38e5
refs/heads/master
2021-11-17T22:35:37.202392
2021-10-22T19:21:09
2021-10-22T19:21:09
38,354,948
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# Example on list assignment. # # References: # # [1] http://robertheaton.com/2014/02/09/pythons-pass-by-object-reference-as-explained-by-philip-k-dick/ # [2] http://stackoverflow.com/questions/12888506/assignment-operator-about-list-in-python listA = [0] listB = listA listB.append(1) print listA list1 = ["Tom", ...
[ "Bart.Vandewoestyne@telenet.be" ]
Bart.Vandewoestyne@telenet.be
e4d255fd819e5b3b88396a6700608eb801008567
c0dafd8d9306af9e94084b2fedbe75f9d6069af1
/popcorn/rpc/pyro.py
f356b018201aa0ad1ec2ab2d7bab0ba303c4c27a
[]
no_license
demien/popcorn
aa573e4c57bda5b990bd1a6d5d589f8e6e7f690f
d866dd818c641a377abc9c55fb4fb181d52ac4d5
refs/heads/master
2021-06-09T12:30:00.973657
2016-10-26T08:25:36
2016-10-26T08:25:36
60,506,426
0
0
null
null
null
null
UTF-8
Python
false
false
3,930
py
import copy import Pyro4 import socket import threading from celery import bootsteps from popcorn.rpc import DISPATHCER_SERVER_OBJ_ID, GUARD_PORT, HUB_PORT from popcorn.rpc.base import BaseRPCServer, BaseRPCClient, RPCDispatcher from popcorn.utils import get_log_obj, get_pid debug, info, warn, error, critical = get_l...
[ "demien@appannie.com" ]
demien@appannie.com
68202dcd675d0bb11daa99543c2774c9b913f26e
df43c1539d5e46d88213f09c008a6c28d2c0cb49
/barbers/migrations/0010_auto_20201121_1348.py
4016964d6cda0064e22ab1b23b202746256997ed
[]
no_license
doctor-evans/barbershub
345ae0f745f88ed146e4a997e62a730029e9a6a1
3fdfa45d5cfecbe76aeb854409ffcd71eae5df9d
refs/heads/master
2023-01-24T00:34:43.200586
2020-11-22T12:48:37
2020-11-22T12:48:37
315,028,738
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# Generated by Django 3.1.3 on 2020-11-21 12:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('barbers', '0009_productitem_slug'), ] operations = [ migrations.AlterField( model_name='productitem', name='slug', ...
[ "evanschan200@gmail.com" ]
evanschan200@gmail.com
5bd234d032a1cef724c7d19f94ecdca75497c3b5
803bab6f782099d995bcdb99d163486f4fff8c50
/test/test_pointnav_resnet_policy.py
f58a4a45e857196c0ab6b215a39c3fce54de9832
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "CC-BY-NC-SA-3.0" ]
permissive
facebookresearch/habitat-lab
7088506509f64da6d682f5dc69427589f71a58a9
f5b29e62df0788d70ba3618fc738fa4e947428ba
refs/heads/main
2023-08-24T14:00:02.707343
2023-08-23T04:53:48
2023-08-23T04:53:48
169,164,391
792
298
MIT
2023-09-14T15:20:03
2019-02-04T23:12:51
Python
UTF-8
Python
false
false
4,432
py
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, 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 os.path import shlex import subprocess import numpy as np import pytest import torch from gym import spaces...
[ "noreply@github.com" ]
facebookresearch.noreply@github.com
5ceea524dce0435014a540829eaf781ee0c61dde
45356d379cbfd9f127f9f555116c08fcf855d3ee
/imagenet_nn_search.py
43b7e24a9933f2284b5377f95baa027022176183
[ "MIT" ]
permissive
SimuJenni/Correspondences
3d312ed68564eb7abe4138e00c5d71714c8efd24
384c0272e438ad3e7c936f5ae78fe6154b188c54
refs/heads/master
2021-01-20T21:19:43.541738
2017-09-18T16:03:59
2017-09-18T16:03:59
101,764,226
0
0
null
null
null
null
UTF-8
Python
false
false
1,790
py
import os import tensorflow as tf from Preprocessor import Preprocessor from train.AlexNet_NN_search_full import CNetTrainer from datasets.ImageNet import ImageNet from models.AlexNet_layers_lrelu import AlexNet from constants import IMAGENET_VAL_DIR from scipy import misc import cv2 def load_val_image(class_id, va...
[ "simujenni@gmail.com" ]
simujenni@gmail.com
423d7f64ef9d3cef2e16119e39cb5f3152ae17b6
4fea4ac5b40e4dbaac2d32f5a155825bdb70d487
/tensorflow/rnn_long_sequence.py
4a903631941de6b4e7c3e2392452fa6548cfc9fa
[]
no_license
JungAnJoon/mini_1
387c60586d1ebb4f99f1cc600c6b7817a29846c6
002c34bf87c11735cbbfccd8e47d813c8a83345b
refs/heads/master
2020-06-19T06:13:27.391102
2019-07-12T15:38:06
2019-07-12T15:38:06
196,593,568
0
0
null
null
null
null
UTF-8
Python
false
false
2,202
py
# Lab 12 Character Sequence RNN import tensorflow as tf import numpy as np tf.set_random_seed(777) # reproducibility sample = " Hi, My name is Hongbeom Choi" idx2char = list(set(sample)) # index -> char char2idx = {c: i for i, c in enumerate(idx2char)} # char -> idex # hyper parameters dic_size = len(char2idx) # ...
[ "jaj1012@naver.com" ]
jaj1012@naver.com
6b1b084f116c65b5e5fe93e2388539fad7f97c69
8038e8005693a777be5deb462635e5ecc2f4d6a0
/Scrapper.py
7b1a5628e6c9bf6c0449f6e492c9a37e5685cd69
[]
no_license
Waruiru/twitter_data_mining
56197eecf5326ff40244bfbbea52c5b03463c357
ab7acf123cac229042ada8e0214e102f83b91f17
refs/heads/master
2020-04-25T16:35:47.039580
2018-09-12T09:58:36
2018-09-12T09:58:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
from tweepy import Stream import json import tweepy from tweepy import OAuthHandler from tweepy import Stream from tweepy.streaming import StreamListener from flask import Flask, render_template, request, flash, url_for, redirect app = Flask(__name__) # consumer key, consumer secret, access token, access secr...
[ "jjswork2@gmail.com" ]
jjswork2@gmail.com
880859f1a8ae3ed7dbb4337a7cad06f3487bf0a6
f83b7e61f54d885faf2414187a6fbd8ebbbba543
/lectures/cs532-s19/assignments/A6/correlation.py
ad8663da019d7e24bd90a1c80d3715c7f488c09d
[]
no_license
bdeme004/anwala.github.io
0c2fd7ec79c32b0f524874d8ff5ede1b84b80b10
ccbe10a516855cf7d1f635d93e4c4a0c6f4c4326
refs/heads/master
2020-04-20T04:51:45.788646
2019-05-01T03:14:05
2019-05-01T03:14:05
168,640,426
0
0
null
2019-02-01T04:07:43
2019-02-01T04:07:43
null
UTF-8
Python
false
false
1,446
py
import recommendations as recs import BJDfunctions as fn PROXY = 477 #712 PEOPLE = [471, 280, 373, 642, 330, 450, 541, 577, 864, 43, 805, 313, 504, 254, 94, 399, 5, 92, 381, 716, 49, 1, 843, 222] def topAndBottom(dataset): for item in fn.topValues(dataset): fn.printFail(item) print("\n") ...
[ "43201288+bdeme004@users.noreply.github.com" ]
43201288+bdeme004@users.noreply.github.com
9eebd51cd8523865c63b5ea9bc13a91b30809bd9
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_Wxyz_focus_Z_ok/wiColorJ/pyr_Tcrop255_pad20_jit15/Sob_k15_s001_EroM_Mae_s001/pyr_5s/L5/step10_a.py
e6c87465892d874e7e738fd489c714ca918ab17a
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
140,087
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
1eb08df1e69d0570a4b551015f6243b3accb3169
e88106f6223882f5d5e7eee23e33490f33fe50f0
/db_create.py
8ba7d15940ac63c8b2de3128b59007a65095a800
[]
no_license
canonhui/VacHeure
4fc3b2d3f9ca8c69e423d2dfed6bd360975b1109
90f11882a94336e585c01812ef6d0f800b5d1493
refs/heads/master
2020-03-28T20:31:00.846404
2017-07-26T16:12:45
2017-07-26T16:12:45
94,612,924
1
0
null
null
null
null
UTF-8
Python
false
false
522
py
#!/usr/bin/env python3 from migrate.versioning import api from config import SQLALCHEMY_DATABASE_URI from config import SQLALCHEMY_MIGRATE_REPO from app import db import os.path db.create_all() if not os.path.exists(SQLALCHEMY_MIGRATE_REPO): api.create(SQLALCHEMY_MIGRATE_REPO, 'database repository') api.versio...
[ "ptt2hui@gmail.com" ]
ptt2hui@gmail.com
978f0fbbe7b7a78fae29b9164dc0c70b71df4389
1367c7996bb8daff336a1a83d2cbd58413a4837a
/TotalAssets/adminx.py
03dd72cf2caac5a2d61fa0b92499f602eae055df
[]
no_license
HtWr/ITAM
31252b0905f76d1b631f0d470a15cd05d36c3aae
bc93c6a5e5157147f031b434a7eba37303841022
refs/heads/master
2020-09-22T17:10:24.466400
2019-12-03T03:23:06
2019-12-03T03:23:06
225,272,604
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
import xadmin from xadmin import views class BaseSetting(object): """主题配置""" enable_themes = True use_bootswatch = True xadmin.site.register(views.BaseAdminView, BaseSetting) class GlobalSetting(object): site_title = 'Local IT' site_footer = 'CTU-Local IT' menu_style = 'accordion' xadmin...
[ "27656615+HtWr@users.noreply.github.com" ]
27656615+HtWr@users.noreply.github.com
b14a54178a2ef7198f315817ce57ac15eb5c81a3
1b47a013b4f1ef0d5699c7b94528bc0cf8d96f66
/readLog/interview_import/read.py
58a8d583645fd791b58bd12c27aa9b348e4b1662
[]
no_license
skysunwei/pyworks
2a476f06e4e3cd29d7e56610858e2805d1bf0bfc
2fb2496d303eed181c3ad1244ff692d2eeecec6a
refs/heads/master
2022-10-23T01:56:54.764685
2020-03-16T07:32:09
2020-03-16T07:32:09
63,683,067
2
0
null
2022-10-05T22:47:19
2016-07-19T10:04:29
Python
UTF-8
Python
false
false
3,401
py
#-*- coding: UTF-8 -*- import xlrd import os import sys import time reload(sys) sys.setdefaultencoding('utf-8') root_dir = "excel" def is_useless_interview(feedback): if feedback is '': return True if '电话是否接通' in feedback: if '电话是否接通 : 是' in feedback: return False else:...
[ "skysunwei@gmail.com" ]
skysunwei@gmail.com
3e74af071c20b8fe4f410c52f75be3b2e4848392
1fa5805dc15ad2529d1b343d4fd5a4205dcc4701
/modules.py
3cb06a1155d2337dadcfc620dd5217b5cf6ea340
[]
no_license
readbeard/activation_fn
527c91246df7ace5b427f6ab9aba4c78fc001a29
fd42647c7c9bfa041e4db0ce723cd61c64a1ad04
refs/heads/master
2022-09-27T05:03:51.900709
2020-06-09T17:38:57
2020-06-09T17:38:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,017
py
import torch import torch.nn as nn class Antirelu(nn.Module): def __init__(self): super(Antirelu, self).__init__() def forward(self, s): return torch.min(torch.zeros(s.shape), s) class Identity(nn.Module): def __init__(self): super(Identity, self).__init__() def forward(sel...
[ "bartozzi.1535211@studenti.uniroma1.it" ]
bartozzi.1535211@studenti.uniroma1.it
258340149c613722be8d1cfed6c2f43bf4840d6b
69eb034a1d086d1b2ce1f1083df2b2fd74b9f5cc
/train_model_rmre.py
7396f5c35cbd7cd3cf08f2c365cdd892b4978ffc
[]
no_license
webdxq/genarate_blessing
2c0f6afc55f4c507750911802a80fe299a4690d6
a08a09071edf687dcb512713daea1daf00450383
refs/heads/master
2020-03-29T01:38:33.419803
2018-09-19T06:10:26
2018-09-19T06:10:26
145,077,459
0
0
null
null
null
null
UTF-8
Python
false
false
14,938
py
#!/usr/bin/python3 #-*- coding: UTF-8 -*- import collections import numpy as np import tensorflow as tf import os import sys import chardet import re import json import time from datetime import datetime reload(sys) sys.setdefaultencoding('utf8') # os.environ['CUDA_VISIBLE_DEVICES']='1' #--------...
[ "407383787@qq.com" ]
407383787@qq.com
5ca8ba65b037dce3702815601253cbec3d63478d
6c9e11f4580175a76123dd49f0f4b190c4e975c4
/rango/migrations/0002_auto_20180126_0034.py
77537d5f2b2b490d2a1e82e8e59da49d6c0b0830
[]
no_license
SeDominykas/tango_with_django_project
2a92dc536c1989af39bf929c2b05d45dacc1d23f
f0fc42059122bf206458a88eff840019b251cbcb
refs/heads/master
2021-05-11T13:29:37.359733
2018-02-09T17:51:01
2018-02-09T17:51:01
117,229,294
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-01-26 00:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rango', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
[ "2262804s@student.gla.ac.uk" ]
2262804s@student.gla.ac.uk
6a76ec73758651caf2df2d1efebcb72d943a0c10
346e98e5e2b8cceecbb6507a4601bc5a93827749
/rets/parsers/base.py
89950a397af07dde6fb66700f66116c9d933f38e
[ "MIT" ]
permissive
frozenjava/python-rets
1ca8ebd3ae0caf78d54a6cf6868dd91d8da8078e
c5f7342b7a3e96d746178d90b11db0f7e1bfdfaa
refs/heads/master
2020-06-30T04:00:39.173067
2016-11-21T17:56:52
2016-11-21T17:56:52
74,392,000
1
0
null
2016-11-21T18:11:51
2016-11-21T18:11:51
null
UTF-8
Python
false
false
222
py
class Base(object): def __init__(self, session): self.session = session @staticmethod def get_attributes(input_dict): return {k.lstrip('@'): v for k, v in input_dict.items() if k[0] == '@'}
[ "matthew.d.crowson@gmail.com" ]
matthew.d.crowson@gmail.com
e0debeba34e3216434f8060f919e057b302b2c58
2b86c6b3579c72d5c9bacc3948adf9243d939481
/ArgParse.py
33a5e91ef27e26df2240b43fdc1e4bde6924831d
[ "MIT" ]
permissive
DeathPoison/tinker-cnc
e5c7864b2ebf2147b6046d442fd6dc5770609b4d
91fd33332665e130f93b6951a19514fbc9787781
refs/heads/master
2021-01-20T12:42:48.170750
2013-08-27T09:45:26
2013-08-27T09:45:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,587
py
#!/usr/bin/env python import argparse parser = argparse.ArgumentParser() parser.add_argument('-s', action='store', dest='simple_value', help='Store a simple value') parser.add_argument('-c', action='store_const', dest='constant_value', const='value-to-store', ...
[ "DeathPoison.DC@gmail.com" ]
DeathPoison.DC@gmail.com
8562913d19df6e29366246a74cfb3818c2b42ba8
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/pygame/pygameweb/pygameweb/config.py
93d8fc8e758f4623cd6c55d2070b53f047f96a2d
[ "BSD-2-Clause" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:3ead591f9a215ef79ce67657f0809e549584a72ef37757eb3272ca4fbba1ab78 size 2948
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
17905727ac54867d46aec37379e0799268641f3c
84ed426c4193b88f5893984925c31dc770b17dcc
/zuoye2/visualize.py
2348134b7e5ce5c6f14b0189c0d28e4d20ed17bc
[]
no_license
wuhenq/sjwj
27941eba4170f5564d43311c488f10e63bbe3857
35cb5c5ffcedfe0b5af34d7b9604e2c7424d2571
refs/heads/master
2020-05-19T10:47:25.245916
2019-05-05T04:10:09
2019-05-05T04:10:09
184,977,862
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
# -*- coding: utf-8 -*- """ Created on Fri Apr 19 20:15:20 2019 @author: huashuo """ import json import matplotlib.pyplot as plt dic1 = {} sups = [] confs = [] lifts = [] with open('rules.json','r') as f: lines = f.readlines() for l in lines: load_dic = json.loads(l) X = load_dic['X_set'][0][...
[ "2060143747@qq.com" ]
2060143747@qq.com
fefc253d22ba5bb0ef9b94bef1230f18761a0a2b
afa456bb3792e433d84684260cdce1dbc6302cde
/authors/apps/tests/test_validation.py
d124f479a99ca4cf8c7e3e77f3b359a31f4e9213
[ "BSD-3-Clause" ]
permissive
andela/ah-backend-poseidon
23ac16e9fcdce49f78df04126f9f486b8c39ebd4
d2b561e83ed1e9a585853f4a4e2e37805e86c35c
refs/heads/develop
2022-12-09T07:38:04.843476
2019-07-19T13:44:13
2019-07-19T13:44:13
158,799,017
1
4
BSD-3-Clause
2022-12-08T01:19:16
2018-11-23T07:55:00
Python
UTF-8
Python
false
false
3,979
py
from .base import BaseTestCase from rest_framework import status from authors.apps.authentication.models import User from . import (new_user, data2, invalid_email, invalid_password, short_password, dup_username, user_login) class AccountTests(BaseTestCase): """handles user registration tests""" ...
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
d2b4dce53f7011223d3213a2f66577bfd377aac5
293f853eebfef51ce44bc1ca1cbe83cc6d757f50
/6.地理空间数据的处理/6.4.根据空间位置提取相应参数/6.4.2.根据空间位置提取遥感参数/根据样地点提取特征.py
0a4f4a3a002217e9729651eba3b1a3febddcf40a
[]
no_license
flyingliang/-Python-
9ce9c5898ad940e3014d7a4d5cf74a3c4ba6e5f2
fd3326e586b137ecebc2694b394e6c8e06444c48
refs/heads/main
2023-03-17T14:30:56.411044
2021-03-04T02:51:28
2021-03-04T02:51:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,437
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 3 14:31:36 2021 @author: Admin """ #根据样地点提取纹理特征 from osgeo import gdal import numpy as np import pandas as pd import os import osr from pandas import set_option class change_coordinate(): def __init__(self, dataset): self.dataset = dataset ...
[ "noreply@github.com" ]
flyingliang.noreply@github.com
e3ca333be4767b6ab7c5c0ea2b1a31759a831a05
666d8bafaaf48aeece624a8865d49c9f30e65bc1
/apps/aboutMe/__init__.py
6d76589163141b1586083b1eefd250adfcfbd755
[]
no_license
xuqichuang/django-blog
9bd5fa91d06e252f830526b61a6e65a1ec1d8591
675106eaedd3fa1bca716966a983b5bff5625b37
refs/heads/master
2020-03-21T11:07:20.620217
2018-06-28T15:21:50
2018-06-28T15:21:50
138,490,561
1
1
null
null
null
null
UTF-8
Python
false
false
49
py
default_app_config = 'aboutMe.apps.AboutMeConfig'
[ "xqc1319681561@163.com" ]
xqc1319681561@163.com
5c2bac8afe40da95fd9e31452f0d7db092d11988
e11dd1fe3c2f5b079a77d81e35d06a0c010f0e0d
/character.py
b03eede15ab858e2251c4d6d036ddef40b7a25a4
[]
no_license
hissboombear/C.B.using_Python
79c23d25cfbfb3600351787c670013beaaf1037d
4c075a0ea240edbab9e7be267544b9ad3fce26fa
refs/heads/master
2021-05-12T10:24:11.310886
2018-11-10T17:35:00
2018-11-10T17:35:00
117,351,616
1
0
null
null
null
null
UTF-8
Python
false
false
284
py
print("Create your character") name = input("What is your character called?") age = input("How old is your character?") strengths = input("What are your character's strengths?") weaknesses = input("What are your character's weaknesses?") print(name, "says, 'Thats for creating me!'")
[ "hissboombear@gmail.com" ]
hissboombear@gmail.com
ebbdaca854cfae851b618959e42d156c15d04934
aa29ebd6f1fa3d955ea6ee6b8c8b007e1fd9d946
/E-Bigay-Website/ebigay/migrations/0007_auto_20210623_0326.py
26d2daee074a34733354f1e1213bd44b10a31f9e
[]
no_license
TristanBachini/E-Bigay
e92a0f383a20dc7b0116cc6d1cc27c3d55d9c4c6
19a426637356d08b81518cea1cb662638df52156
refs/heads/master
2023-06-05T08:12:30.527759
2021-06-26T02:14:02
2021-06-26T02:14:02
375,227,150
1
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
# Generated by Django 3.1.7 on 2021-06-22 19:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ebigay', '0006_ayudadropoff_user'), ] operations = [ migrations.AlterField( model_name='region', name='region', ...
[ "angelo.villaluz0120@gmail.com" ]
angelo.villaluz0120@gmail.com
62b12bf8bb74f8a2775b4c0482a8770435327642
441f5001e8f2136b8ae048a7eae27d4dd148ddd8
/src/sortepy/util.py
f6b5dfbc48e7a169b6b4447e1fa687da5e0cd79f
[]
no_license
guilhermaker/sorte.py
97ac3aaea128c718d89ba4cd3c0fccab7eacefab
eeb3a1e850ebd07c70df3fa3499cc6290b2b7b0c
refs/heads/master
2020-04-13T16:54:06.590898
2017-12-07T03:06:43
2017-12-07T03:19:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,677
py
# encoding=utf8 import http.cookiejar import errno import os import re import sqlite3 import urllib.request import time def get_config_path(app='sortepy'): """Obtém o caminho de configuração de acordo com o SO Por enquanto é suportado os sistemas POSIX e Windows (NT) """ # Linux, UNIX, BSD, ... ...
[ "wagnerluis1982@gmail.com" ]
wagnerluis1982@gmail.com
24956731c50779fcd3a718ec412d02aee3ab9f6e
59697ff78b5e5496c8ef1f71243223b3859aacd0
/attractions_recc.py
51a11fee19962e054e2458e78ff4217d4642c1a7
[]
no_license
Arpppit/Collabrative-Filtering
8c248c179762af8813e59fa449762d75f7815ae5
c9f96eda613d2dd6d85e32eab96f17b31e652b7d
refs/heads/main
2023-08-29T14:04:00.247099
2021-11-05T17:16:37
2021-11-05T17:16:37
425,028,277
0
0
null
null
null
null
UTF-8
Python
false
false
8,689
py
import pandas as pd import numpy as np # import ipywidgets as w # from ipywidgets import HBox, VBox # from ipywidgets import Layout, widgets # from IPython.display import display, IFrame, HTML from utils import Util from rbm import RBM import math, re, datetime as dt, glob from urllib.parse import quote from urllib.req...
[ "arppitmadankar@gmail.com" ]
arppitmadankar@gmail.com
072f0c80d4043ff14c2008f0175536b215afaba2
e5e8092fbb4c9a5db269a190de6ed3463e81d550
/env/bin/django-admin
b43568894f124da0b0dcf0d018964da9127d39c3
[]
no_license
j0konda/computer_wizard
73a4210e75adfeed7c1680af073093a9015348d4
e4c4a8352922db2aeca215707ab9eddb2784a437
refs/heads/main
2023-08-11T01:37:02.650715
2021-09-28T06:05:43
2021-09-28T06:05:43
410,764,984
0
0
null
null
null
null
UTF-8
Python
false
false
295
#!/home/kaf_pas/Job/computer_wizard/env/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "chivanov1986@mail.ru" ]
chivanov1986@mail.ru
d31cbc5e81c667f85f43dbf60c55f2703673fc8c
5e66a11717a4760646c0e02bf9ffff2f82f66d18
/chemistry/qchem_make_opt_input_from_opt.py
ca09c35ad793d6cf3c29ac90a3ae9a121f288104
[]
no_license
berquist/personal_scripts
4517678fa57e524e9765dc71f05594e34bdd9c72
d6c40ba6e5a607d26ffabf809cfdfdf3ce29bfb3
refs/heads/master
2023-07-21T08:44:36.401893
2023-07-07T19:55:55
2023-07-07T19:55:55
37,238,106
7
4
null
null
null
null
UTF-8
Python
false
false
7,017
py
#!/usr/bin/env python """qchem_make_opt_input_from_opt.py: Make an input file for a Q-Chem geometry optimization based on the last possible geometry from a Q-Chem geometry optimization; this effectively 'restarts' the geometry with a new filename. The script assumes the output file being read from is called '*opt(\d*...
[ "eric.berquist@gmail.com" ]
eric.berquist@gmail.com
74d144e10c81c97b82aeabaa53b4b2de19b18c40
2044416164c1f094975aa6505d05cfc1bd77bca1
/5.py
4cf812d0e21e28739ad9bb5ac730286833168ac5
[]
no_license
Kalyan009/set2
3df0749c6aa3cb0d75eed1793ccfae70ca48daa5
ee02c8e8af3d448f16f337166c27cc14cf63bd2d
refs/heads/master
2020-06-14T10:18:46.956087
2019-07-04T06:13:13
2019-07-04T06:13:13
194,979,538
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
a=int(input()) for i in range(1,6): print(i*a)
[ "noreply@github.com" ]
Kalyan009.noreply@github.com
41ff407e001eb84f261949512c23c006b228372e
d92338d46e1184bc526ec15fa918c71a46e37f27
/GreettingAppProject/greettingApp/views.py
0350960d380f0579528323354b81bbf391f12890
[ "MIT" ]
permissive
birajit95/Greeating_App_Using_Django
7952134afac8ea4730fe22035c60266a405797c0
affe165a86232fc04874795bb99e299a2a5aebe5
refs/heads/master
2023-02-03T03:39:50.528362
2020-12-22T14:31:39
2020-12-22T14:31:39
321,716,009
0
0
null
null
null
null
UTF-8
Python
false
false
1,982
py
from django.shortcuts import render, HttpResponse from .models import GreetingRecords from .logger.logger import logger import json def home(request): recordData = GreetingRecords.objects.all() logger.info("All records are displayed") return render(request, "greetingApp/home.html", {"data": recordData}) ...
[ "birajit95@gmail.com" ]
birajit95@gmail.com
f49ce359b7ffb83fdcac73b84fab03ed2e15aa3d
f8e7f0241de0d17295b04ffe71d1359ef0aaa3ff
/digits_in_list.py
f639c73e6e5fc066961a30d55a68a5a822dac38e
[]
no_license
kosskiev/University-of-Michigan
6332c20666d9fd4511f2588a9359355291c04cb5
fb37f107c7e254881edb1f31365a82946ca360fa
refs/heads/main
2023-02-19T02:33:44.630869
2021-01-19T20:00:34
2021-01-19T20:00:34
317,478,872
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
#The string module provides sequences of various types of Python characters. It has an attribute called digits that produces the string ‘0123456789’. #Import the module and assign this string to the variable nums. Below, we have provided a list of characters called chars. #Using nums and chars, produce a list called ...
[ "noreply@github.com" ]
kosskiev.noreply@github.com
c8ba7356a356d78dc1fe56f8432722b76b1b8769
19e7b93a1bc631f74b7fcf06feeb2574f0a5256a
/Guard Game/guard_game.py
e9bd7ce874484201bc53c98f3d9b8686d774a0ee
[]
no_license
elack33/Google-FooBar
0013f2c4ece39d7a903833f57586618acdbd672e
f762a9062c37e056436fd7882540346f764a0e95
refs/heads/master
2021-01-10T20:32:43.848573
2015-08-10T06:00:09
2015-08-10T06:00:09
40,465,625
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
""" For example, when a guard picks up the medical file for Rabbit #1235, she would first add those digits together to get 11, then add those together to get 2, her final sum." Write a function answer(x), which when given a number x, returns the final digit resulting from performing the above described repeated sum pr...
[ "elack33@gmail.com" ]
elack33@gmail.com
8e2be3cccebc89d74b94fdd3aa2c5155949ca1db
3697477f1a65ec3cfcf397cbe16fb4ac1296dc1d
/mymqttcloud/learn_mqtt/mqtt_pub.py
052f39f8348e0919e22153bf2aefb337b0e3f935
[]
no_license
Boris17210/development
967f8ea5e40928c8acc192aea59bc5fd3f48718b
d9be580dddc010a4b491effc78c2b72c4d36d995
refs/heads/master
2021-12-15T12:30:52.851725
2017-08-14T23:45:53
2017-08-14T23:45:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
import time import paho.mqtt.client as mqtt mqtt_user = "username" mqtt_passwd = "password" mqtt_host = "127.0.0.1" mqtt_port = 1883 mqttc = mqtt.Client() # Connect try: mqttc.username_pw_set(mqtt_user, mqtt_passwd) mqttc.connect(mqtt_host, mqtt_port, 60) mqttc.loop_start() except Exception: print "C...
[ "glyn.hudson@openenergymonitor.org" ]
glyn.hudson@openenergymonitor.org
18281579b1d71b97a1f3f2b924b6b950572c7b81
4ea643c2074ccd8826043e246df2e4a766936878
/server/configurer.py
f343e2bcb7c1ee633bdc7845c96478b65e813175
[]
no_license
intrepiditee/IFTTT-Privacy
16bcc206ef3878b714567d643fbc45aecb1c4ee7
0c3db5df682368592957143142da09b9ad87e1ac
refs/heads/master
2020-08-21T23:46:03.069728
2019-12-11T07:31:27
2019-12-11T07:31:27
216,274,209
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
import json import threading class Configurer: def __init__(self, path, key="sensors"): with open(path, "rt") as f: configs = json.load(f) self.configs = configs[key] self.index = 0 self.lock = threading.Lock() def get(self): self.lock.acquire...
[ "jay.shijunjie@gmail.com" ]
jay.shijunjie@gmail.com
73a435e8064d91919dec34b8cd6bebc8580cccd6
47b4d76e9c87e6c45bab38e348ae12a60a60f94c
/Mutation_Modules/ASP_ABU.py
daf6d4fc6047cc403fb95ef273d03a28cd399101
[]
no_license
PietroAronica/Parasol.py
9bc17fd8e177e432bbc5ce4e7ee2d721341b2707
238abcdc2caee7bbfea6cfcdda1ca705766db204
refs/heads/master
2021-01-10T23:57:40.225140
2020-10-14T02:21:15
2020-10-14T02:21:15
70,791,648
0
0
null
null
null
null
UTF-8
Python
false
false
18,941
py
# ASP to ABU Mutation import Frcmod_creator import PDBHandler import Leapy from parmed.tools.actions import * from parmed.amber.readparm import * def parmed_command(vxi='VXI', lipid='No'): bc = {} with open('Param_files/AminoAcid/ASP.param', 'r') as b: data = b.readlines()[1:] for lin...
[ "pietro.ga.aronica@gmail.com" ]
pietro.ga.aronica@gmail.com
baf6d43bb76cf966f9aafce6ee12d8dd8e818f72
a74cabbe1b11fc8ef575ea86f2543cd95db78ec9
/python_program/q783_Minimum_Distance_Between_BST_Nodes.py
4e4fe499e62126c9b084fde6bd89e951b18accbf
[]
no_license
tszandy/leetcode
87e3ccf291b2879637d2d8238935a455b401a78a
f1f4361541dcffbb291285663c8820d7ffb37d2f
refs/heads/master
2023-04-06T15:34:04.847875
2023-03-26T12:22:42
2023-03-26T12:22:42
204,069,234
0
0
null
null
null
null
UTF-8
Python
false
false
1,628
py
from typing import List from collections import Counter,defaultdict from math import * from functools import reduce,lru_cache,total_ordering import numpy as np from heapq import * from bisect import bisect_left,bisect_right from itertools import count import queue # Definition for a binary tree node. # class TreeNode:...
[ "444980834@qq.com" ]
444980834@qq.com
9931346849ddccb0eb1f98dabaf8c0da6ac9234d
3ad5446f155d160e1f55cd59a364c415c2174b62
/primes.py
83cf5d0de71e067a9aefc8ac8f59c8bca80afdb7
[]
no_license
nmanley73/pyprimes
bb87891913d881558b833c2632855927963f858d
04f263b683bc73134c2eca226b03f15cf79ca50a
refs/heads/master
2021-01-05T08:56:19.507653
2020-02-16T21:53:27
2020-02-16T21:53:27
240,965,064
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
# Noel Manley # Computing the primes P = [] # Loop through all the numbers to check for prime no's for i in range(2, 100): # assume number is prime isprime = True # Loop through all values from 2 up to i for j in range(2, i): # see if j divides i if i % j == 0: # If it does,...
[ "noelmanley@hotmail.com" ]
noelmanley@hotmail.com
2c4815d72b5155adfdf7058fe4a14ff7f245285f
6497bc5638453877744c900f7accef0203f36e89
/leedcode1_twosum.py
e4bfcfdfe9201a15782286e8a9d575f229c34ec0
[]
no_license
budaLi/leetcode-python-
82e9affb3317f63a82d89d7e82650de3c804a5ac
4221172b46d286ab6bf4c74f4d015ee9ef3bda8d
refs/heads/master
2022-01-30T00:55:26.209864
2022-01-05T01:01:47
2022-01-05T01:01:47
148,323,318
46
23
null
null
null
null
UTF-8
Python
false
false
868
py
#-*-coding:utf8-*- #author : Lenovo #date: 2018/7/23 class Solution(object): def twoSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """ d = {}# d is a dictionary to map the value of nums and the index in nums size = 0 ...
[ "31475416+152056208@users.noreply.github.com" ]
31475416+152056208@users.noreply.github.com
a736d5a5660159fb0615d48680b0d70ffdac597c
a2080cbcf9694ad03690769cfc64d85a57f1d9d5
/src/graphql/language/printer.py
842f251878846b17bd2c7f9e94bba434648fd747
[ "MIT" ]
permissive
wuyuanyi135/graphql-core
84196a47aec0f9508db3f8aadb8951b9fc9b9fe0
169ae7bced0f515603e97f1def925f3d062e5009
refs/heads/main
2023-04-13T11:38:10.815573
2021-05-02T05:17:29
2021-05-02T05:21:58
363,327,364
1
0
MIT
2021-05-01T05:05:29
2021-05-01T05:05:28
null
UTF-8
Python
false
false
13,157
py
from functools import wraps from json import dumps from typing import Any, Callable, Collection, Optional from ..language.ast import Node, OperationType from .visitor import visit, Visitor from .block_string import print_block_string __all__ = ["print_ast"] Strings = Collection[str] class PrintedNode: """A un...
[ "cito@online.de" ]
cito@online.de
5c7e35eb9122c4cf1073839e65428b6b4db9e74f
26c0de13a5bc7f1d2bb2cc1f854e492b95419232
/webapp/guest_book/migrations/0001_initial.py
077856f4959d2b19653db3b10adac167bd62c4ed
[]
no_license
rodnoi7/python-group_3-exam_6-kaiypbek_sydykov
02bb2606b617cf2f1dbe230501e3fef87b4955a7
a4ac5b1bfe7e472bca59b2c603990c27351d2aaa
refs/heads/master
2023-05-01T01:35:42.125008
2019-09-21T13:04:38
2019-09-21T13:04:38
209,978,170
0
0
null
2023-04-21T20:37:32
2019-09-21T12:04:45
JavaScript
UTF-8
Python
false
false
1,097
py
# Generated by Django 2.1 on 2019-09-21 06:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.AutoField(au...
[ "sydykov.99@gmail.com" ]
sydykov.99@gmail.com
d76e46afa9347a3212afc1f391dab391766e7696
a36501f44a09ca03dd1167e1d7965f782e159097
/app/extensions/mongobeat/models.py
27451e0eefe1a01350156a088481e408b9a33cd9
[ "Apache-2.0" ]
permissive
ssfdust/full-stack-flask-smorest
9429a2cdcaa3ff3538875cc74cff802765678d4b
4f866b2264e224389c99bbbdb4521f4b0799b2a3
refs/heads/master
2023-08-05T08:48:03.474042
2023-05-07T01:08:20
2023-05-07T01:08:20
205,528,296
39
10
Apache-2.0
2023-08-31T00:18:42
2019-08-31T10:12:25
Python
UTF-8
Python
false
false
7,149
py
# Copyright 2019 RedLotus <ssfdust@gmail.com> # Author: RedLotus <ssfdust@gmail.com> # # 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 # # Unles...
[ "ssfdust@gmail.com" ]
ssfdust@gmail.com
8abc73b0065a47c4b5390fd5729373b3d6ece852
6900ab36a3e1ffd30a7d9f2f425bb6fea2b8fa16
/pythum/qublock.py
8a4ae4b98145592aa258dfb0b66d7ff8a1797574
[ "MIT" ]
permissive
fernando7jr/pythum
c7f0034d9adef4394828118395f3200c4cdd3c05
068e3259378bffb3ce448ed3f6af62176dc530d6
refs/heads/master
2021-10-02T19:36:30.568344
2018-11-30T10:59:36
2018-11-30T10:59:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
from typing import Union, List from pythum.qubit import Qubit class Qublock: """An list-like block of n qubits""" def __init__(self, value: Union[int, 'Qublock', List[Qubit]]): _type = type(value) if _type is int: # Just instanciate the block with n qubits n = value ...
[ "fernando.settijunior@gmail.com" ]
fernando.settijunior@gmail.com
9dbdfe36edaee2635775c291422d6c4fd26bfdeb
c1686616dddcbf9818029e76dcf5e93ccf3a6088
/bee_colony/utils.py
36f0e9b5e932b448d2cd5819e4e5aa3ed691c20a
[ "MIT" ]
permissive
srom/abc
6cae2b8e436d966109705f00c72d3c91aac69338
41aa0fe9a381e7387d66cb0f8be7b8e454bb6a97
refs/heads/master
2020-08-23T09:46:06.260211
2019-10-30T16:06:08
2019-10-30T16:06:08
216,589,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
import numpy as np def get_random_other_index(current_index, num_indices): indices = list(range(num_indices)) random_index = current_index while random_index == current_index: random_index = np.random.randint(0, num_indices) return random_index def assign_probabilities(probabilities, ordered...
[ "romain.strock@gmail.com" ]
romain.strock@gmail.com
0ec2cebaf70d3553ef0ba7ab657a313fe4d7b7c4
bb38c64b43ecb51aa30031d05c8cde5a7cecae58
/aug_v5.py
3e8a46be2a507488d77a6c19b77356e491f0b7b6
[]
no_license
ZiwenYeee/Santander-Customer-Transaction-Prediction
c2bd2b8085e73e3dad46234fddb27b52289e0ec5
439e647fb05e97e360f29cd39ee75b715556074b
refs/heads/master
2020-08-06T22:20:08.529636
2019-10-06T14:01:43
2019-10-06T14:01:43
213,178,688
0
0
null
null
null
null
UTF-8
Python
false
false
6,477
py
import numpy as np import pandas as pd import gc import time import lightgbm as lgb from sklearn.metrics import roc_auc_score, roc_curve from sklearn.model_selection import KFold, StratifiedKFold import matplotlib.pyplot as plt import seaborn as sns import warnings warnings.simplefilter(action='ignore', categ...
[ "noreply@github.com" ]
ZiwenYeee.noreply@github.com
3a10c93c8ba77ad266183f0f7bc735de82fef001
ddaf6962ecda9977733d377fb06e89944d769aea
/controllers/ships.py
d7aa6d953e592a589fdab908c0519066e7596cd4
[]
no_license
LaurenFWinter/Project-04
0d34561d7f22ad0a1e048645c70baebd22b190f2
3fe3eda20f542ac1d9230d59de8f68c3b10a44f6
refs/heads/master
2023-01-13T00:24:25.430905
2019-06-17T11:51:34
2019-06-17T11:51:34
188,671,513
0
0
null
2022-12-22T11:19:30
2019-05-26T10:56:46
Python
UTF-8
Python
false
false
1,766
py
from flask import Blueprint, request, jsonify, abort from pony.orm import db_session from app import db from marshmallow import ValidationError from models.Ship import Ship, ShipSchema from lib.secure_route import secure_route # creating a router to this controller router = Blueprint(__name__, 'ships') # getting all ...
[ "lauren.fwinter@gmail.com" ]
lauren.fwinter@gmail.com
b02d86a45d6c0be51b3c76f117ce1eadc89847e4
d4ea02450749cb8db5d8d557a4c2616308b06a45
/students/JonathanMauk/lesson02/series.py
2d74ea35237f9b07550c8ff0849f3dde42434744
[]
no_license
UWPCE-PythonCert-ClassRepos/Self_Paced-Online
75421a5bdd6233379443fc310da866ebfcd049fe
e298b1151dab639659d8dfa56f47bcb43dd3438f
refs/heads/master
2021-06-16T15:41:07.312247
2019-07-17T16:02:47
2019-07-17T16:02:47
115,212,391
13
160
null
2019-11-13T16:07:35
2017-12-23T17:52:41
Python
UTF-8
Python
false
false
1,203
py
def fibonacci(n): """Function that returns the nth term in the Fibonacci sequence, per F(n) = (n-1) + (n-2).""" if n < 0: print("Error: the first term in the Fibonacci sequence is 0. Please try again.") else: return sum_series(n) def lucas(n): """Function that returns the nth term in t...
[ "jorauk@uw.edu" ]
jorauk@uw.edu
e3ddebc4c031416506a32d27e37d33bae40a39e5
6afd26ee9efe6277724844fe9a49652c7a54ab53
/ProbabilityDistribution.py
864ded5762218cab302d14fc408bebe42f6ff8b1
[ "MIT" ]
permissive
jingr1/SelfDrivingCar
4d027249c1fb0ea8edcf5dd6ee6d7df440730edb
2e8fe793ff605387a3a20936af337e1447a8559a
refs/heads/master
2021-08-19T13:48:40.760731
2017-11-26T13:30:54
2017-11-26T13:30:54
106,690,219
0
0
null
null
null
null
UTF-8
Python
false
false
10,485
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2017-10-15 15:15:37 # @Author : jingray (lionel_jing@163.com) # @Link : http://www.jianshu.com/u/01fb0364467d # @Version : $Id$ import os import matplotlib.pyplot as plt import matplotlib.ticker as plticker import numpy as np def plot_uniform(x_minimum, x...
[ "lionel_jing@163.com" ]
lionel_jing@163.com
f3287e42a48321132242a2d84b76e9deee52f5db
7834e7a48399b156401ea62c0c6d2de80ad421f5
/pysparkling/fileio/codec/codec.py
c057cfaa4b9cab5df56f5d5f9ac4badb66914438
[ "MIT" ]
permissive
vojnovski/pysparkling
b9758942aba0d068f6c51797c8fb491cf59c3401
21b36464371f121dc7963dac09d300e7235f587e
refs/heads/master
2020-04-08T18:33:55.707209
2016-07-27T15:12:59
2016-07-27T15:12:59
62,555,929
0
0
null
2016-07-04T11:06:18
2016-07-04T11:06:18
null
UTF-8
Python
false
false
222
py
import logging log = logging.getLogger(__name__) class Codec(object): def __init__(self): pass def compress(self, stream): return stream def decompress(self, stream): return stream
[ "me@svenkreiss.com" ]
me@svenkreiss.com
6944997ed36b9516e6282fd746cfd8cb8533635c
9ad3803c73867cc66956c53aa0e0f023c2e9b7a9
/src/setup.py
1ccad261b1321dc0f81274ea679a66bfc3cf97f2
[]
no_license
pcloth/api-shop
2f9d963971ab0eae8db7e48cfaac984ba104d079
6cae15e057172b33ec7d9b3317d033e7ceae71e1
refs/heads/master
2023-07-22T09:00:39.018633
2023-07-07T07:36:27
2023-07-07T07:36:27
165,461,139
43
4
null
2023-03-06T04:46:13
2019-01-13T03:21:05
Python
UTF-8
Python
false
false
1,589
py
#!/usr/bin/env python # coding=utf-8 from setuptools import setup, find_packages import re, ast, pathlib _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('api_shop/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8') ).group...
[ "pcloth@gmail.com" ]
pcloth@gmail.com
eae6b7945326af4a005546cc52f1a8376b7fd3f9
c66a71b46e4b4cf86115dcb845aecb6e3471bd73
/conway/conway.py
db106a36641d0f568078af8953f2e0caab1a5319
[ "MIT" ]
permissive
tjshaffer21/Conway
8fe597f041679e1a9db69be648c84bcd4be99ce6
59663aed00ce5a2e516dec1f1b31fa3c3b7e92c4
refs/heads/master
2021-01-22T05:33:53.295148
2018-09-25T22:11:16
2018-09-25T22:11:16
81,675,798
0
0
null
null
null
null
UTF-8
Python
false
false
7,067
py
# -*- coding: utf-8 -*- """conway.py: Implementation of Conway's Game of Life. Attributes: living_cell (pygame.Color): The initial color of a cell when it becomes alive. dead_cell (pygame.Color): The color of a non-living cell. """ import sys, random import pygame living_cell = pygame.Color(150, 0, 0, 0) dea...
[ "tjshaffer21@gmail.com" ]
tjshaffer21@gmail.com
32a4734ac9c9ad913746b714ccef73833c5fc842
05c405652de52ada1b39b313f49d697ec9e23789
/DataMining/Task5/Ex2. StringGenerate.py
2511e76acdb32c2df7d9eb480c867f6d7d418d8b
[]
no_license
LukichevaPolina/2nd-cource
32f149cd94fdea239fe5193e16f7c4718430c771
1b7d82870c5079d93a3faf6d58d8287964c3c5c3
refs/heads/main
2023-07-16T06:58:39.331027
2021-08-25T18:23:25
2021-08-25T18:23:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
import random def StringGenerate(string, size, repetition): if not repetition and (size > len(string)): return 'Error: unable to compose a string!' result = '' if repetition: for i in range(size): result = result + string[random.randint(0, len(string) - 1)] else: ...
[ "63358667+LukichevaPolina@users.noreply.github.com" ]
63358667+LukichevaPolina@users.noreply.github.com
523d16ef57141f9cb5cf5a6b82ff1956faeb6860
600cfc373bb90cbcaec295de2583ed6e9b722b74
/CHARACTER_/character_web_fin/mbti/ai_mbti_analysis.py
2e8c0e483f5bed987732ecf4876c9204d18c4d59
[]
no_license
kwangilkimkenny/Story_Analysis
e92e5c38a7fb34948d801d3170e8709f4670e74b
ea7f2ed33de735918f4f3f568f7b551fbcd95a33
refs/heads/master
2022-09-02T19:25:36.283950
2022-08-24T00:10:03
2022-08-24T00:10:03
239,153,819
0
0
null
null
null
null
UTF-8
Python
false
false
11,867
py
#2020-10-11 #xgboost #Django적용을 위한 함수화처리 완료_하지만 테스트중중중.... import pandas as pd import numpy as np import re import pickle # plotting import seaborn as sns import matplotlib.pyplot as plt # Tune learning_rate from numpy import loadtxt from xgboost import XGBClassifier from sklearn.model_selection impo...
[ "noreply@github.com" ]
kwangilkimkenny.noreply@github.com
354cd069b9195ce2cabedf5b537fbef6f1713e6b
8c7b03f24517e86f6159e4d74c8528bfbcbf31af
/test/python_api/lldbutil/frame/TestFrameUtils.py
04d398bc5fa1b95d457aa1aaae5bd15ded01ab94
[ "NCSA" ]
permissive
markpeek/lldb
f849567fbd7791be10aacd41be44ee15f1a4fdc4
58c8d5af715a3da6cbb7e0efc6905e9d07410038
refs/heads/master
2021-01-15T17:01:57.014568
2011-12-24T01:08:58
2011-12-24T01:08:58
3,042,888
1
2
null
null
null
null
UTF-8
Python
false
false
2,103
py
""" Test utility functions for the frame object. """ import os import unittest2 import lldb from lldbtest import * class FrameUtilsTestCase(TestBase): mydir = os.path.join("python_api", "lldbutil", "frame") def setUp(self): # Call super's setUp(). TestBase.setUp(self) # Find the line...
[ "mark@peek.org" ]
mark@peek.org
4d1a204cf4c627c98d424749964ad2314e75c6ba
d0df2a7b54862dbd76b37536fef2d44cd6e6d1aa
/RpiHMI/function.py
49bf5c1cb3af0484ad3b59c00950f497e1b16143
[]
no_license
eigger/RpiHMI
bf40cbe462b73af8a99a0c7d8c4ba50966360d15
93c3f4a0f7dc73ac73b08881966983f08920514a
refs/heads/main
2023-04-04T00:54:15.222254
2021-04-12T17:17:37
2021-04-12T17:17:37
354,900,082
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
import threading import time def asyncf(func, *args): thread = threading.Thread(target=func, args=(args)) thread.daemon = True thread.start() def timerf(interval, func, *args): thread = threading.Timer(interval, func, args) thread.daemon = True thread.start() if __name__ == '__main__': pri...
[ "eigger87@gmail.com" ]
eigger87@gmail.com
18093775e36a02a55ed210d93ea5fe0eb5127ffc
3201b061fef61be0263f5401771d2ae86955af4a
/scrapyuniversal/scrapyuniversal/items.py
8369ddf907b111ac3b9bacecf5fca2b3cfd60014
[]
no_license
echohsq/crawl_gouwu
2d56bd8b6eeb4036d0566a50b204f3c7ba16d8d5
491280b90bef2756a409b6173944fb4a4c685325
refs/heads/master
2023-08-03T05:47:39.599795
2021-09-22T10:29:19
2021-09-22T10:29:19
409,160,777
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy from scrapy.item import Field, Item class NewsItem(Item): collection = table = 'tech_china' title = Field() url = Field() text = Field() datetime = Field()...
[ "haoshengqiang@cnpc.com.cn" ]
haoshengqiang@cnpc.com.cn
44ca2e8649630c0f338c6636d11ae3d772d89710
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03418/s842655187.py
e812523bc9e5891268bd0c4350311e175da8ddc3
[]
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
161
py
N,K=map(int,input().split()) a=0 for i in range(K+1,N+1): t=N//i n=N-t*i a+=t*(i-K) if K: a+=max(0,n-K+1) else: a+=n print(a)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
df508d4346a333c8b0c275896dd8c534e956fe0d
9bad4b4c20a6b26d96ac9e0c7a7587749121aa5f
/src/main/python/mlonspark/scaler.py
05fa9472f8bbf0334756b46a6e4d05728a00e87b
[]
no_license
barenode/bp
2161fa2e02cbd0a48de6555a14a2816e8dc0b6ed
e2d279ff8dc21db2d23d0740ce0de0fb2e811c07
refs/heads/master
2022-12-26T08:11:32.215682
2020-05-30T03:51:34
2020-05-30T03:51:34
168,565,024
0
0
null
2020-10-13T11:52:28
2019-01-31T17:21:00
Jupyter Notebook
UTF-8
Python
false
false
2,047
py
import sys from pyspark import since, keyword_only from pyspark.ml.param.shared import * from pyspark.ml.wrapper import JavaEstimator, JavaModel, JavaTransformer, _jvm, JavaParams class ScalerModel(JavaModel): _classpath_model = 'mlonspark.ScalerModel' @staticmethod def _from_java(java_stage): "...
[ "frantisek.hylmar@gmail.com" ]
frantisek.hylmar@gmail.com
37127d5b8a6a6b24818d530c5047e948f726aa04
d2d7977d76d274ec43ee74d5f830e2d921d82425
/generate_waveforms_script_EOB.py
bf3119bfa20aa0221a64766dedd5a2d148dc7fd7
[]
no_license
iphysresearch/GW_parameter_estimation
d337c0857e69c6e0f14ec48603165411b10b2014
1e990740a84ab8fd02c68b2d5fe02cfe93a0424e
refs/heads/main
2023-08-30T08:13:14.493859
2021-10-27T12:39:52
2021-10-27T12:39:52
389,299,013
3
0
null
2021-07-25T08:30:24
2021-07-25T08:30:23
null
UTF-8
Python
false
false
927
py
import lfigw.waveform_generator as wfg wfd = wfg.WaveformDataset(spins_aligned=False, domain='RB', extrinsic_at_train=True) wfd.Nrb = 600 wfd.approximant = 'SEOBNRv4P' wfd.load_event('data/events/GW150914_10Hz/') wfd.importance_sampling = 'uniform_distance' wfd.prior['distance'] = [100.0,...
[ "hewang@mail.bnu.edu.cn" ]
hewang@mail.bnu.edu.cn
b293f33dad83407bdb8ddb7a4f4a6e9e35487745
43dc562227787ef5662327444362bfb17bec2eb0
/opt/app.py
cb86cb2f7055e5843be78bb91992e2b243ccee01
[]
no_license
masafumi-tk/myhome-dash
1ff4572a1de571eefad3fac9bbc34a2b33c027c5
79cc4d0ca672c9a87de08d1bf7ab4e495c8b66a3
refs/heads/master
2023-08-13T09:41:29.605223
2021-09-14T13:02:15
2021-09-14T13:02:15
406,361,411
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
# -*- coding: utf-8 -*- # Run this app with `python app.py` and # visit http://127.0.0.1:8050/ in your web browser. import dash import dash_core_components as dcc import dash_html_components as html import plotly.express as px import pandas as pd external_stylesheets = ['https://codepen.io/chriddyp/pen/bW...
[ "masafumi.cascata@gmail.com" ]
masafumi.cascata@gmail.com
ca5c45856918da31bc8db94f507be26f36d20cb6
dda51ce6178e0c74ac4de1f814796ae12c5a3b2a
/OE_Game.py
a28fe7f6feb621d4be5807b2c7670e80d5a52762
[]
no_license
LiteBrick204/Odd_or_Even_Game_in_Python
8cb5837a14d676b0a7577e742811427cb67b4a97
8d851f0dfcd49c8bd7b6e38dd10f48fbba0e864c
refs/heads/master
2022-12-25T18:46:48.732418
2020-10-01T12:20:39
2020-10-01T12:20:39
295,441,155
8
1
null
2020-10-01T12:20:41
2020-09-14T14:26:35
Python
UTF-8
Python
false
false
2,690
py
#!/usr/bin/env python import random def toss(u): t = random.randint(0,1) g = "bat" if bool(t) else "bowl" if u==t: return [int(input("You Won the Toss! Press 1 to bat and 2 to bowl:")),u==g] else: print("Computer won the toss and choose to",g) return [t+1,u==g] def check(C,w): ...
[ "user@xyz.in" ]
user@xyz.in
1c3d4834bbc46156f17c4081635c11a08d327dd1
710e96b1435bc43cc260512df75af5dd3b2afd13
/code/1044.py
6b217c61734025d6ab42ff1303588769ee0ced7d
[ "MIT" ]
permissive
minssoj/Learning_Algorithm_Up
94ca8166c9a5d87917cf033ad8415871684241c4
45ec4e2eb4c07c9ec907a74dbd31370e1645c50b
refs/heads/main
2023-01-08T20:52:32.983756
2020-11-05T17:49:45
2020-11-05T17:49:45
301,926,859
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
# [기초-산술연산] 정수 1개 입력받아 1 더해 출력하기(설명) # minso.jeong@daum.net ''' 문제링크 : https://www.codeup.kr/problem.php?id=1044 ''' n = int(input()) print(n + 1)
[ "minso.jeong@daum.net" ]
minso.jeong@daum.net
792117aef1b769f6243511b155a062c0569bca31
d916ab8c00fb99c1da73e7eb6363944e2debbace
/venv/bin/pip
396419667de67070583c2165df4ab927c128805a
[]
no_license
apap26/a_helicopter_TRPO
fcc85a8f5ef188de9e71934a75a5d8951fe4ac56
974e675cc73379b36adccd290f38d568a5acdc94
refs/heads/master
2023-01-12T14:30:19.430020
2020-11-11T21:00:33
2020-11-11T21:00:33
296,840,478
2
2
null
2020-11-06T17:14:09
2020-09-19T10:13:02
JavaScript
UTF-8
Python
false
false
401
#!/home/apap26/PycharmProjects/magazin/venv/bin/python # 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...
[ "apap26@yandex.ru" ]
apap26@yandex.ru
8fa5e8e7b1fb0820c60a8b499bcdaf74e557bd2c
ee9910f736a28a229242247c15c8c3b53d0b4c04
/TimeTracky/tests/unit/test_handlers.py
746813f73b219dcea75181f6c9b44f44a83b0834
[]
no_license
toadesina1/TA-Soft-engin
85d3590fb8ed71fe6d9d2872af8f21fd9fcd30ae
94c76a99e09d233ce11829c37c6a43809d605229
refs/heads/main
2023-04-15T17:39:04.506827
2021-04-23T19:42:37
2021-04-23T19:42:37
332,826,398
0
0
null
null
null
null
UTF-8
Python
false
false
3,257
py
from __future__ import annotations from collections import defaultdict from datetime import date, datetime, timedelta, timezone from typing import Dict, List import pytest from timetrackylib import bootstrap from timetrackylib.domain import commands from timetrackylib.services import handlers, unit_of_work from...
[ "noreply@github.com" ]
toadesina1.noreply@github.com
0afbaee6a3d11e935314a77c986fca4852eeb54e
d326cd8d4ca98e89b32e6a6bf6ecb26310cebdc1
/rosalind/bioinformatics/stronghold/tran/main.py
131ebf08d6ecc2fe6278e7b4127c11468845a825
[]
no_license
dswisher/rosalind
d6af5195cdbe03adb5a19ed60fcbf8c05beac784
4519740350e47202f7a45ce70e434f7ee15c6afc
refs/heads/master
2021-08-09T02:58:17.131164
2017-11-12T01:26:26
2017-11-12T01:26:26
100,122,283
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
import sys from rosalind.common import util from rosalind.bioinformatics.common import fasta def compute_ratio(seq1, seq2): transitions = set(['AG', 'GA', 'CT', 'TC']) transversions = set(['AC', 'CA', 'GT', 'TG', 'AT', 'TA', 'CG', 'GC']) numTransitions = 0 numTransversions = 0 for i in xrange(len...
[ "big.swish@gmail.com" ]
big.swish@gmail.com
f14510c92f51411a5b1fbf7e23edff82daf6ca18
b18ef775594417725557839e2242916b1ca4cfd6
/python/Classes/Classes: Dealing with Complex Number.py
dd425c93223e1638470a88b5e16efd229f5c1ab5
[]
no_license
sharique-ansari/Hackerrank-solutions
567a83ab6bd90bf2fbc0bcbbedd3eec75be5daf8
33c85d1671e64ae7d8ed79c03eb85122ee670dc5
refs/heads/master
2020-03-22T14:15:09.711607
2018-07-20T00:42:40
2018-07-20T00:42:40
140,164,309
1
0
null
null
null
null
UTF-8
Python
false
false
1,489
py
import math class Complex(object): def __init__(self, real, imaginary): self.real = real self.imaginary = imaginary def __add__(self, no): return Complex(self.real + no.real, self.imaginary + no.imaginary) def __sub__(self, no): return Complex(self.real - no.real, self.im...
[ "sharique098@gmail.com" ]
sharique098@gmail.com
2150af8db3f4f64b86685075d6ed96e3845861c3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_chauffeur.py
97f43e805d5aba06eb05a5fd2bd9c150fd38b7be
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
#calss header class _CHAUFFEUR(): def __init__(self,): self.name = "CHAUFFEUR" self.definitions = [u'someone whose job is to drive a car for a rich or important person: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], o...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e5580409284141245e84051d896e22d0fb6f3a7d
9e18a644070eb59c4b632b08acf57ef2a6cc4b39
/lib/read.py
dee895d95673e15a1959870758cf83d790dd2f7f
[]
no_license
cwon789/cwon789-Seeing_through_fog_porjection_npz
a82339808ad96597c5c658ce26c42439a358c447
f00533f749ea122174f714b3d9376fabdcb7c21a
refs/heads/main
2023-05-25T04:52:19.775202
2021-05-21T15:02:54
2021-05-21T15:02:54
369,570,578
1
0
null
null
null
null
UTF-8
Python
false
false
7,589
py
import numpy as np import os import json from pyquaternion import Quaternion def read_label(file, label_dir, camera_to_velodyne=None): """Read label file and return object list""" file_name = file.split('.png')[0] object_list = get_kitti_object_list(os.path.join(label_dir, file_name + '.txt'), camera_to_v...
[ "cwon789@naver.com" ]
cwon789@naver.com
e6389abc5d2da97c1d3db8c67355bd1223f92ff2
644ed18c5959b7633605db80e49a805adcac4eae
/Yolo.py
c170f99c083064525ec257e1eb1bdc8c28e4ac6c
[]
no_license
Shaileshraajk/Smart-Waste-Segregation-System-using-Python-and-ML
7586e598d9e151353c7598694a600887daaaf986
2896f640137030ad16a781ccbaab7997a69fde81
refs/heads/main
2023-07-16T07:25:05.911955
2021-08-10T07:17:38
2021-08-10T07:17:38
394,559,372
0
0
null
null
null
null
UTF-8
Python
false
false
5,029
py
#Packages import cv2 as cv import numpy as np import urllib.request import threading from pyfirmata import SERVO import pyfirmata import time import paho.mqtt.publish as publish obj=0 #No. of Objects flag=0 j=0 k=0 bio=0 # No. of Biodegradable Objects nbio=0 # No. of Non-Biodegradable Objects # Rob...
[ "noreply@github.com" ]
Shaileshraajk.noreply@github.com
7b1dfacee784f7b05375188302ab051e0b005603
ad28a59209239be285d1127a87bc08893fb62cb9
/python/aad/test_concept_drift_classifier.py
76ebbe63d04d5f1a6934a18ec97cdc667445b71c
[ "MIT" ]
permissive
Karl-Wu/ad_examples
9e6f894c2414640b23ccdeb39db9e9b8352ef077
6fb0a2a72db51d82645e377945327eb9e1ecf8b8
refs/heads/master
2020-03-26T19:33:45.128414
2018-08-17T21:42:15
2018-08-17T21:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,961
py
from aad.data_stream import * from common.gen_samples import read_anomaly_dataset from aad.anomaly_dataset_support import * from aad.classifier_trees import RandomForestAadWrapper """ Check data drift with a Random Forest classifier. NOTE: The classifier is trained only once in this example with the first windo...
[ "smd.shubhomoydas@gmail.com" ]
smd.shubhomoydas@gmail.com
b604a4ebbf17a27ae884d5f13df2ff0d7a3fe205
30baf29e5cf882af3e5af64c7f1a9eab6c259b55
/ActorCritic-CartPole/SAC/networks.py
72d3e7c27c72f94180c4afd5b247ec048c094395
[ "MIT" ]
permissive
Frostday/PytorchProjects
5cb4cad908504af4ce1a05f718ef1c245c754bf3
ddfc19d6c34ce7b519e41f69e9b83ead2789a020
refs/heads/master
2023-05-10T16:29:52.846854
2021-05-28T13:56:44
2021-05-28T13:56:44
296,635,372
0
0
null
null
null
null
UTF-8
Python
false
false
5,371
py
import os import torch as T import torch.nn.functional as F import torch.nn as nn import torch.optim as optim from torch.distributions.normal import Normal import numpy as np class CriticNetwork(nn.Module): # evaluates the value of a state and action pair def __init__(self, beta, input_dims, n_actions, fc1_di...
[ "dhruvgarg01@gmail.com" ]
dhruvgarg01@gmail.com
7604931d489d0270763c4e39b5a4ad29ac7908aa
14688c03b10bba09af01ef6fd7720714ab805ac2
/core/migrations/0005_talk.py
22215c0f051addb4284395590447ac21c79de111
[]
no_license
CodeAkio/eventex
440765b72c6a7848f2f140bd09d2c7e0bae91a86
3120a70268a375cd6f612c979d797f0f3dafaa16
refs/heads/master
2023-04-26T23:24:13.466668
2019-12-26T23:07:14
2019-12-26T23:07:14
218,868,491
0
0
null
2023-04-21T20:39:24
2019-10-31T21:59:26
Python
UTF-8
Python
false
false
683
py
# Generated by Django 2.2.6 on 2019-12-21 17:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0004_auto_20191219_2049'), ] operations = [ migrations.CreateModel( name='Talk', fields=[ ('...
[ "codeakio@Mac-mini-de-Victor.local" ]
codeakio@Mac-mini-de-Victor.local
8cdf3553533329f2a092d4fab6b2c1d67fed1f09
b7229cf95d4d348a3ef367ea99ecd7c8548c9000
/BonsaiCollection/Bonsai.py
d202f710599b253bc48d03f9ad0ee96ae9f0c0ec
[]
no_license
ngoubaux/bonsaicollection
ee883a7afde9a7d13f68c23f704a8b7c346638a3
8707ea3d7d818992a012e10a1faed774e97ec2d0
refs/heads/master
2021-01-10T19:46:47.751766
2008-02-18T11:43:14
2008-02-18T11:43:14
32,511,466
0
0
null
null
null
null
UTF-8
Python
false
false
7,622
py
# -*- coding: utf-8 -*- # # File: Bonsai.py # # Copyright (c) 2008 by [] # Generator: ArchGenXML Version 1.5.2 # http://plone.org/products/archgenxml # # GNU General Public License (GPL) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public Li...
[ "goubsi@4b32b131-8944-0410-a794-395d361ccd7d" ]
goubsi@4b32b131-8944-0410-a794-395d361ccd7d
fbd36cd5309b3248e8bf30b421adc6ce2092a674
6b46ffdb30a98b3e3f8da1e8f385522b5b48f02a
/backend/comment/models.py
28fd8ca85a6046abe176cfb0e4da1efb5f701a61
[]
no_license
eve-klopfenstein/luna
27829f3a3c98368249f58c2b667fa339683bc3fd
1b93c639618bfcc1c5c7feaa85627497b3072a2e
refs/heads/main
2023-05-01T10:59:40.109986
2021-04-02T14:14:24
2021-04-02T14:14:24
367,734,454
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
from django.contrib.auth import get_user_model from django.db import models from review.models import Review User = get_user_model() class Comment(models.Model): author = models.ForeignKey(to=User, related_name='comments', on_delete=models.CASCADE, blank=True) review = models.ForeignKey(to=Review, related_n...
[ "radovic_dusko@yahoo.com" ]
radovic_dusko@yahoo.com
ff22a34e9a956fa4c76ccb221f9d964d39375203
6cd3de9d6aa0c52602010aa857966d5dc4d57442
/mlprodict/onnxrt/ops_cpu/op_lp_normalization.py
b8f5b8b7274ac89c8fb4bd972bdfda60a72b2e4c
[ "MIT" ]
permissive
xadupre/mlprodict
2307ca96eafeeafff08d5322184399bb5dc1c37e
f82c8a26a60104948c67849b1c4af95ca812c153
refs/heads/master
2022-12-10T18:50:36.953032
2020-09-03T08:53:58
2020-09-03T08:53:58
292,824,744
1
0
NOASSERTION
2020-09-04T10:56:45
2020-09-04T10:56:44
null
UTF-8
Python
false
false
837
py
# -*- encoding: utf-8 -*- # pylint: disable=E0203,E1101,C0111 """ @file @brief Runtime operator. """ import numpy from ._op import OpRunUnaryNum class LpNormalization(OpRunUnaryNum): atts = {'axis': -1, 'p': 2} def __init__(self, onnx_node, desc=None, **options): OpRunUnaryNum.__init__(self, onnx_no...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
5b38841d59350b4d58e32b73c5ae85f640564118
b1eb11a4586ca7478720071f0b4435d97d181f62
/squad/src/fused_layer_norm.py
b9a96781f90daeef3ab98aa55bf44d5c21272fe3
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
houshuaishuai/course
1930db8585a7c12ff656b27a2c7c2543587e032f
bd25dbeb20008ab8451186cf7d7a15444a139335
refs/heads/master
2023-05-07T01:37:38.456039
2021-04-01T07:32:59
2021-04-01T07:32:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,003
py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
[ "zhengnengjin@huawei.com" ]
zhengnengjin@huawei.com
bd3ca4f5a6607ccb16f36dcb692e8cc31ab821fa
48e32d67b984fc7505a9b1556b0273cede2848e4
/ske_customization/customizations_for_ske/internal_import/stockgroup_items.py
3b94e0b7a97680c7eaa06ff8052437286d1477b7
[ "MIT" ]
permissive
akshay83/ske_customization
86c776d37000ed97ddee63bb5ee84901d610414a
910e8ca88ffc83554ebb23f7480901dba9f08221
refs/heads/master
2021-01-02T23:09:00.888981
2020-05-08T07:41:52
2020-05-08T07:41:52
98,892,032
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
import frappe class InternalImportStockGroupItems: def __init__(self, value): self.process_node = value self.process() def process(self): #print "DEBUG: PROCESSING: STOCK GROUP:"+self.process_node.stock_group if not frappe.db.exists({"doctype":"Item Group","item_group_name": self.process_node.stock_...
[ "mehta.akshay@gmail.com" ]
mehta.akshay@gmail.com
31b45216c88ef58099dcd987e59f7ab88ce816d2
f86e28cb032ae88315a4d03b57eb2cf806d294a6
/grap_main/apps.py
bc4b5b1dd6245b167aeb24d1d13a942c29a08e1c
[]
no_license
JjVera96/playbar
24398fdecbc12935da49ca0c9abffa4f83eff297
ddefdc3df7e24e185c423657a42c38eeb72c0ff1
refs/heads/master
2022-12-16T05:21:53.183454
2020-03-04T19:31:58
2020-03-04T19:31:58
244,983,743
0
0
null
2022-04-06T17:39:05
2020-03-04T19:16:17
JavaScript
UTF-8
Python
false
false
159
py
# apps.py from django.apps.config import AppConfig class GrapMainConfig(AppConfig): name = 'grap_main' def ready(self): from . import signals
[ "jjvera96@gmail.com" ]
jjvera96@gmail.com