blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
4e7ea016425cbb9b17e33015138870c711fbd758
633aca1308dd579a622fd8559de7d96e425f0dc4
/src/analysis/state_smoother/plt_smoother_rmse_spread_v_shift.py
7592bc23dcbc137941786202ca65f8063923c3e6
[ "Apache-2.0" ]
permissive
cgrudz/DataAssimilationBenchmarks.jl
416316e455e5f593ee84a2b558818d66eaa72380
f0ae3f780c506f5523f9f3ea580457b102a8960a
refs/heads/master
2023-04-08T08:50:49.561094
2022-11-10T19:46:51
2022-11-10T19:46:51
268,903,920
13
2
Apache-2.0
2022-11-04T16:57:36
2020-06-02T20:41:13
Julia
UTF-8
Python
false
false
5,191
py
import numpy as np import seaborn as sns import matplotlib.pyplot as plt import pickle from matplotlib.colors import Normalize from matplotlib import rc from matplotlib.colors import LogNorm import glob import ipdb import math import h5py as h5 obs_un = 1.0 #method_list = ["mles-n-transform_classic", "mles-n-transform...
[ "cgrudz@mailbox.org" ]
cgrudz@mailbox.org
e2b74033e4d73ccf70a1101396f0177fba4886dc
af7a617bc0512f855126853e05fa8560cdfaa9ce
/DB_SQLite/Python_moduls/sqlite3/sqlite_update_multiple_rows_with_executemany.py
712533055aac6fcd4c08dae4b6568e7e27d89da6
[]
no_license
Fuerfenf/Basic_things_of_the_SQL
7c67f22c75d4bbafd950aa522710788bcf34abb7
d342da6c2ecd6f447d3a3de1ae4d24566b0be72a
refs/heads/master
2023-01-12T18:09:28.131255
2020-11-18T09:08:32
2020-11-18T09:08:32
313,902,447
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
import sqlite3 def updateMultipleRecords(recordList): try: db_connect = sqlite3.connect('C:\sqlite\database\Egor_test.db') cursor = db_connect.cursor() print("Connected to SQLite") sqlite_update_query = """Update SqliteDb_developers set salary = ? where id = ?""" cursor.ex...
[ "egor602@mail.ru" ]
egor602@mail.ru
eda818281b66bccdb61e0f018cf79daaf0ba0d6b
c89ffeecf4a28d9b10aba41efc10143d11172972
/digitar_nome.py
0f048b9fea936841f1c7e59760dd581561db2bd2
[]
no_license
namnamgit/pythonProjects
3bbabea987fc5baa40dd00e16d86732d8e3c80b4
8f8cad0b44139585a4733f554f68ad0126f6d198
refs/heads/master
2020-06-04T08:19:15.167879
2013-10-30T04:55:15
2013-10-30T04:55:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
nome = input("Digite seu nome: ") print("Você digitou %s" %nome) print("Olá, %s!" %nome) input()
[ "panda.musame@gmail.com" ]
panda.musame@gmail.com
4e11329cf9698d352a9e37b32b7bf63a1fb494c1
053c4b1afe571e0985addd27b167ab20cd209989
/BlogSayfam/wsgi.py
2429a5e838ef0fa8c50b2999b66e9775b716cdac
[]
no_license
furkanunutmaz/BlogWebSite
e64ce2c46e521ff4713c30ec28d56f15f6ed72cd
54186bd8184abdfbbf612b8713ffba3d7ab7fa49
refs/heads/master
2022-12-04T08:21:22.644558
2020-09-01T06:02:18
2020-09-01T06:02:18
261,754,529
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for BlogSayfam project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "35935681+furkanunutmaz@users.noreply.github.com" ]
35935681+furkanunutmaz@users.noreply.github.com
1270e18c86fefef7504af98a1f66c65d422ca3a5
bdbeca3fdc7ea3ef2f1b66aab9ea50e15cfbc553
/django_sample/urls.py
5153d54fffd528e7e5124cdc3fe449615124944d
[]
no_license
socialcomputing/django_sample
d99b35b4d02ef98e319efec6ef7feee3b29211d7
ded880a08afdbdd4b899112a7c6d74f07d7c176f
refs/heads/master
2021-01-13T01:58:08.970181
2013-10-24T12:05:54
2013-10-24T12:05:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'english_learner.views.home', name='home'), # url(r'^english_learner/', include('en...
[ "roman.prokofyev@gmail.com" ]
roman.prokofyev@gmail.com
ab6185ba90c94448913c8279f6c0785763528b8d
22946b79620a06405f5c1add7844ca7eb118b5ce
/templates/frontend/start-frontend.erb
d6bd3711d5735145a3e11a40aa7e7da2154afb3c
[ "BSD-2-Clause-Views" ]
permissive
SUNET/puppet-sunet
91ae0c023f4e00dc863d5fe28ee0f660791506db
39296bb5780218e28f816ee6f39ce99746d452a0
refs/heads/main
2023-08-28T03:11:10.798430
2023-08-21T13:31:40
2023-08-21T13:36:04
35,332,499
1
6
NOASSERTION
2023-09-04T09:39:22
2015-05-09T14:56:01
Puppet
UTF-8
Python
false
false
10,659
erb
#!/usr/bin/env python3 # # Copyright 2019 SUNET. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are # permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this list of # ...
[ "fredrik@thulin.net" ]
fredrik@thulin.net
ad4c9c0333e080237540c8fd773da78df8d384ef
11d91bb8b13dbf8734ea3b79cfac53e62cb1a924
/3_clean_merge.py
200ec29d491d9c68f6e7c21b7a61ec48aaa33487
[]
no_license
yuenhsu/Vietnam_Power_Plants
2f34fc9da892ab27b7a256caca9478b4aef3ea93
b5c0c88aa962e102a21d28b1ab13cc5eec6ac7a0
refs/heads/master
2022-12-25T11:18:41.252236
2020-10-04T17:23:16
2020-10-04T17:23:16
293,588,600
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
# Import PDP & Merge with WRI/Market pdp = pd.read_csv('https://github.com/yuenhsu/Vietnam_Power_Plants/blob/master/data/eng_pdp.csv').drop(columns='base_name') wri_market = pd.read_csv('https://github.com/yuenhsu/Vietnam_Power_Plants/blob/master/data/eng_wri.csv') all = pdp.merge( wri_market.drop(columns='_merge'...
[ "55968287+yuenhsu@users.noreply.github.com" ]
55968287+yuenhsu@users.noreply.github.com
3a21cb6bea3daf9fdb83c7cc3b6c5ea806fcbf2c
01d92ca39cd4836aaef67e2efcf88a44671c7213
/code_pack_22/1_threading/locking_with_context.py
d2ee717504e82208c6cb39cf3f7507afc038a607
[]
no_license
manuelpereira292/py3_bootcamp
247f411b80f09c46aeeba90a96e6a5d3fd329f2c
1988553394cb993db82c39993ed397e497bd5ae8
refs/heads/master
2022-08-20T02:25:51.265204
2020-05-15T22:26:27
2020-05-15T22:26:27
263,367,513
1
0
null
null
null
null
UTF-8
Python
false
false
370
py
import threading total = 0 lock = threading.Lock() def update_total(amount): """ Updates the total by the given amount """ global total with lock: total += amount print (total) if __name__ == '__main__': for i in range(10): my_thread = threading.Thread( target=...
[ "manuelpereira292@gmail.com" ]
manuelpereira292@gmail.com
d63df94ee14aef0bb4f0f8251acbd2875e7fc534
1973f7a63c5626c808a02dc1d0446c40f2941f1a
/PythonWorkSpace/venv/Test_1/QqBot.py
3afed52595602ed1aee7eeba42ebbce5e01339d1
[]
no_license
duanqiyue/Dy-s-PythonTestWorkSpace
fb9c8b81ed9594eda875facdb982fd8ed8208a82
48aed39f3605ff40516ee2682f6e896e155bcb80
refs/heads/master
2020-03-27T12:15:06.619482
2019-09-05T03:16:12
2019-09-05T03:16:12
146,535,232
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
# encoding: utf-8 from qqbot import QQBotSlot as qqbotslot, RunBot import time #查看单词 from SelectWords import select_word #发送消息 from QqSendMessage import sendMessageBy770 #@QQ小冰 from QqSendMessage import callXiaoBing @qqbotslot def onQQMessage(bot, contact, member, content): str = "" try: str = content.split("【")[...
[ "wis20180423" ]
wis20180423
66322e287c6b4586776e85303fbc8f20198de35f
cf6c67790393b4d1ad75f5f30fef00455bc9a541
/icgc_dataobjects/run.py
c71e438d674f2c7beed3bc51313bfcf68ef4a785
[ "MIT" ]
permissive
ohsu-comp-bio/icgc_dataobjects
fe3b231838875c9dadb9eacb17004fc59790689c
3cbb676d2e1a9a21e03f3cfb8a3853752aa97916
refs/heads/master
2022-10-09T01:04:14.259700
2017-05-05T20:28:50
2017-05-05T20:28:50
90,410,194
0
0
MIT
2022-09-23T20:52:26
2017-05-05T19:33:26
Python
UTF-8
Python
false
false
2,301
py
#!/usr/bin/env python """ Proxy front end to the dcc server """ import os from flask import request, jsonify, Response, abort, Flask from flask_cors import CORS # our utilities import dcc_proxy def _configure_app(): """ set app wide config """ # start the app app = Flask(__name__) # allow cross site...
[ "brian@bwalsh.com" ]
brian@bwalsh.com
e8fc1d761894c544fc9f36d9aa38ca5900bef47d
3fda3ff2e9334433554b6cf923506f428d9e9366
/hipeac/migrations/0014_auto_20190121_1724.py
ebf27a1920573587d68f431147ce919777e91b00
[ "MIT" ]
permissive
CreativeOthman/hipeac
12adb61099886a6719dfccfa5ce26fdec8951bf9
2ce98da17cac2c6a87ec88df1b7676db4c200607
refs/heads/master
2022-07-20T10:06:58.771811
2020-05-07T11:39:13
2020-05-07T11:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Generated by Django 2.1.5 on 2019-01-21 16:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("hipeac", "0013_auto_20190121_1650"), ] operations = [ migrations.AlterField( model_name="video", name="youtube_id", field=models...
[ "eneko.illarramendi@ugent.be" ]
eneko.illarramendi@ugent.be
304e3957bdc086d84bb32f2b58268c58ea73ca28
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Cheese Boys/cheeseboys/sprites/speech.py
5e1567b82b17412d9134367a27d554ca30c1da16
[]
no_license
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:c6cecd706830ed02d31a0263b2cde423305efa564853d608ed6bd0df573421f1 size 5969
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
10d89ccf48030a21af7ede810a916baf31c0f345
811b3ad8cf06ad6c196a3c3d0437027dc12bb65a
/test/first_project/first_project/urls.py
e864ef749fd846b1cfc0d6d14be8c2d555450a99
[ "MIT" ]
permissive
imsks/Web-Dev-with-Django
b9de3ceb904452e8a63eb3d15943dea9aa4a9cce
dec87795d18c24a5492758202c29a463bbba105a
refs/heads/master
2020-05-26T01:43:46.164923
2019-08-11T04:14:57
2019-08-11T04:14:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
from django.contrib import admin from django.conf.urls import url, include from . import views urlpatterns = [ url(r'^$', views.index, name="index"), url(r'^users/', include('first_app.urls')), url('admin/', admin.site.urls), ]
[ "sachinkshuklaoo7@gmail.com" ]
sachinkshuklaoo7@gmail.com
5f7a9b2612c79430d4c1e5242715bc642e2d3fac
f64e31cb76909a6f7fb592ad623e0a94deec25ae
/leetcode/p1143_longest_common_subsequence.py
85183f69cab74bceb6e18858c63272d6a774702d
[]
no_license
weak-head/leetcode
365d635cb985e1d154985188f6728c18cab1f877
9a20e1835652f5e6c33ef5c238f622e81f84ca26
refs/heads/main
2023-05-11T14:19:58.205709
2023-05-05T20:57:13
2023-05-05T20:57:13
172,853,059
0
1
null
2022-12-09T05:22:32
2019-02-27T05:58:54
Python
UTF-8
Python
false
false
1,521
py
from functools import lru_cache def lcs_bu_optimized(a, b): """ Dynamic Programming, bottom-up Optimized for space Time: O(a * b) Space: O(min(a, b)) a - length of 'a' b - length of 'b' """ if a < b: a, b = b, a pre = [0] * (len(b) + 1) cur = [0] * (len(b...
[ "zinchenko@live.com" ]
zinchenko@live.com
62761c4213e8d3fd11ac2734a38d39fed0be7f54
44b6bc41fe8e424196f98dbc5b2f050c1f9645f8
/platforms/windows/dos/34480.py
15fb0b06f9a6f2300b2fa265f1402a0d1a77a6aa
[]
no_license
angeloobeta/exploit-database
21283dd8549f47836a35af6f3ea7b63b8dba11ea
43f3d9e94c01a7f51e30561a96214af231dd9d36
refs/heads/master
2021-08-08T21:07:38.794539
2017-11-11T05:01:28
2017-11-11T05:01:28
110,380,452
0
1
null
2017-11-11T21:09:05
2017-11-11T21:09:04
null
UTF-8
Python
false
false
1,201
py
source: http://www.securityfocus.com/bid/42473/info Xilisoft Video Converter is prone to a buffer-overflow vulnerability because it fails to perform adequate boundary checks on user-supplied data. Attackers may leverage this issue to execute arbitrary code in the context of the application. Failed attacks will ca...
[ "info@exploit-db.com" ]
info@exploit-db.com
7e0c8d8062192d16e4bffd7fe377b23e38eb03c8
9469e6459a56566ee84731b023eb18bcc14417e6
/powerapp_pocket/signals.py
7a41a308f503b8d894e44053cff82286ef5e5733
[]
no_license
Doist/powerapp-pocket
b5adca6b768f98ed61299e5436018535309de60c
920beb7892527f8302c8ea53a2e1edf161ccae91
refs/heads/master
2021-01-25T12:07:27.533750
2015-06-04T23:47:33
2015-06-04T23:47:33
35,607,506
4
1
null
null
null
null
UTF-8
Python
false
false
655
py
# -*- coding: utf-8 -*- from logging import getLogger from django.dispatch.dispatcher import receiver from .apps import AppConfig from .tasks import process_item from powerapp.core.todoist_utils import get_personal_project logger = getLogger(__name__) PROJECT_NAME = 'Pocket task list' @receiver(AppConfig.signals.t...
[ "roman.imankulov@gmail.com" ]
roman.imankulov@gmail.com
b842064996a69b9a291d526c8eabf0144004c179
72f6107e4602a898b370edc216c83b4dad52608d
/function_modules/michalewicz_2d.py
b9afe1b0d81cf1b667dd38955de810db18094744
[]
no_license
kkh8676/opt_functions
2fd0a550e48b6d4598bff78393d65ed9fca75d34
11f48dd56a43cd15c3975fcd80861c2d290fa2bf
refs/heads/master
2023-02-02T02:28:52.956700
2020-12-21T15:12:17
2020-12-21T15:12:17
257,262,953
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
import numpy as np import math def michalewicz_2d(x1,x2): result = 0 Xs = [x1,x2] for dim in range(len(Xs)): # dim is 0 to len-1 x = Xs[dim] d = dim+1 first_term = np.sin(x) second_term = np.sin(d*(x**2)/np.pi) ** (2*10) prod = first_term * second_term result = result + prod ...
[ "noreply@github.com" ]
kkh8676.noreply@github.com
8d3adffcb75347d706496e4544b6acf56113c62c
32cad1640d04b8bb232435bcde1b33b81d5d2666
/Project/fallingObjects.py
90fd0e5557479f465ec0c3df39903d03605319ad
[]
no_license
minimtee/Probabilistic-Models-of-Cognition
69323a81f325976ab918909fa483df753fac262d
2dfc56ed752479bb3d280772e978eeba760d6e24
refs/heads/master
2018-12-19T23:26:14.502250
2018-12-13T04:02:08
2018-12-13T04:02:08
149,039,438
0
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
from .framework import (Framework, main) from Box2D import (b2EdgeShape, b2FixtureDef, b2PolygonShape, b2Random, b2_dynamicBody, b2CircleShape,) class fallingObjects (Framework): name = "fallingObjects" description = 'A test for very fast moving objects (bullets)' def __init__(self): super(fallin...
[ "noreply@github.com" ]
minimtee.noreply@github.com
3118ae7b4ef784c19bdfbe51c4ced770efde174b
8b5d7a0d401f6d7996bcd0fbab8f9d88711dadca
/setup.py
2c1e97912e1210c502163d938c3499c64bdee0b6
[]
no_license
jackkamm/osx-mkl-omp-cython-bug
e197be531b434ed2ecf77a4b959ee11642ad6c4c
f0f436fd7835bff8af6718c994d2e5ac611d6fda
refs/heads/master
2021-04-03T07:45:17.977802
2018-03-08T12:35:03
2018-03-08T12:35:03
124,385,452
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
#!/usr/bin/env python3 from setuptools import setup, Extension #import os from Cython.Build import cythonize import numpy extensions = [ Extension("ext", sources=["ext.pyx"], extra_compile_args=['-fopenmp'], extra_link_args=['-fopenmp'], include_dirs=[numpy.get_include()])] extensions...
[ "jack@Jacks-MacBook-Pro.local" ]
jack@Jacks-MacBook-Pro.local
ab355a206aeadff1b8beca05b4bd401def5b4de2
fa9658f595beed78fe17a0402309fc4c7bd8afcd
/scripts/tests/test_es_template.py
f4034c37c4b9740f167c202f661146ed5fe2acaf
[ "Apache-2.0" ]
permissive
zlammers/ecs
662a9a9d07624ad26e489bab8270cacdaac65472
0e60cb7b1cc21a61a3d2fed877bc88bb06a98fe5
refs/heads/master
2022-11-24T06:27:25.520428
2022-11-02T17:22:40
2022-11-02T17:22:40
191,854,669
0
0
Apache-2.0
2019-06-14T01:14:24
2019-06-14T01:14:23
null
UTF-8
Python
false
false
7,090
py
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use this f...
[ "noreply@github.com" ]
zlammers.noreply@github.com
9bf24903265c1bc14d6e5a9f7216a605a464b36c
b2f84608cc28c492430e972028fa0e178865c78c
/source_py2/combi/_python_toolbox/third_party/unittest2/__init__.py
49e2cceae502115ad7682c8ecd14fb5abac2f8b0
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cool-RR/combi
54efa752403a4acb6933475102702e43de93c81d
9c5c143a792ffd8fb38b6470f926268c8bacbc31
refs/heads/master
2021-09-23T10:02:52.984204
2021-09-18T08:45:57
2021-09-18T08:45:57
25,787,956
24
1
null
null
null
null
UTF-8
Python
false
false
3,548
py
""" unittest2 unittest2 is a backport of the new features added to the unittest testing framework in Python 2.7 and beyond. It is tested to run on Python 2.4 - 2.7. To use unittest2 instead of unittest simply replace ``import unittest`` with ``import python_toolbox.third_party.unittest2``. Copyright (c) 1999-2003 S...
[ "ram@rachum.com" ]
ram@rachum.com
7814f7d29f90b521adca18824a5cd2dffb926525
ddf8ff6e97bd925938349ccc09eb3e167bc30c66
/raster2csv_11-6.py
5a98bddc387ad5891bb4fc7b2253193a11d74f2e
[]
no_license
route2sabya/poultry_siteSuitability
6e94371a5d5231b401021c27a5e902fd37dbde2f
bc22d07d41396fff1319198cce0d5aa5a46f4f69
refs/heads/master
2020-04-05T17:38:19.273473
2018-11-12T07:51:05
2018-11-12T07:51:05
157,069,498
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
#Import gdal from osgeo import gdal from tkinter import * from tkinter.filedialog import askopenfilename from tkinter import filedialog src_filename = filedialog.askopenfilename() #Open existing dataset src_ds = gdal.Open( src_filename ) #Open output format driver, see gdal_translate --formats for list format = "CSV...
[ "route2sabya@gmail.com" ]
route2sabya@gmail.com
d7d520545a76e645d5a2fefc516e92f7b480c1ce
ad9e06f71c27c5b9411410b1b68d95a4fa63fc33
/yulia_nikonova/lazyfca.py
a16b96cf0b586e61cd07ff0c5ed154226815026d
[]
no_license
zhiyenbay/lazyfca15
774ff192b1a6433605536ab230aaa38b1fb4f760
50e5effeab24aa8b7f26e02eba8d491a525d4d09
refs/heads/master
2021-01-13T06:28:42.981746
2015-12-23T23:34:25
2015-12-23T23:34:25
48,500,638
0
0
null
2015-12-23T16:38:54
2015-12-23T16:38:53
null
UTF-8
Python
false
false
2,419
py
# coding: utf-8 # In[144]: import pandas as pd import numpy as np # In[145]: import copy def dummy_encode_categorical_columns(data): result_data = copy.deepcopy(data) for column in data.columns.values: result_data = pd.concat([result_data, pd.get_dummies(result_data[column], prefix = column, pref...
[ "nikonova.julya@gmail.com" ]
nikonova.julya@gmail.com
b064f1e3de40121d067b76ce1f86adb8ee3c312d
70410a0fd7fa9004b1d789ca165b21a6bba80b85
/polls/models.py
09cec8b62f0c474d5fc67415413ab19d3abdaebd
[]
no_license
Sukhrobjon/django-starter-tutorial
a310907a132d86ae9a7d0ba757642955b0f49569
9b6a6f7a8d98b1b85fe24d64d3ca3b7cf12a3932
refs/heads/master
2023-04-29T12:05:05.800364
2019-07-14T04:17:10
2019-07-14T04:17:10
189,487,751
0
0
null
2023-04-21T20:37:03
2019-05-30T21:57:15
Python
UTF-8
Python
false
false
1,055
py
import datetime from django.db import models from django.utils import timezone class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): """Return string representation of question text.""" return se...
[ "sgolibbo@mail.ccsf.edu" ]
sgolibbo@mail.ccsf.edu
c1d98ac5b74e244d504b655e8dc8754ce0952e07
76f2a4ea3896a74b155ff970b3ddd538f268ebd4
/03_function/func_04.py
8396ab8de7831fcca64ba2b5deb71e7225301c05
[]
no_license
jnjnslab/python-sample
fb91c34aa274ae6371c9548637e9fe2994da63ff
ce71ceff2854e59c020c646831360a04f6eba0c0
refs/heads/main
2023-02-03T01:36:59.926884
2020-12-23T10:18:13
2020-12-23T10:18:13
309,023,319
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
#ローカル変数のスコープ def spam(): eggs = 99 bacon() print(eggs) def bacon(): ham = 101 eggs = 0 spam()
[ "jnjnslab@gmail.com" ]
jnjnslab@gmail.com
c0678c6993c807e664ea8ec4b97700245f70a249
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/tmq.py
27bf48cf32fb5e4b44eceb5c0914b07b54d6bd96
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
021f1314d0644e555809568baade395ac69141b5
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210129090305.py
ef65231461d111f8f831f2b4447d7863c8308ec4
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
5,586
py
# 东方财富网 首发申报 from datetime import datetime,timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time base_url = 'https://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?' headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like G...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
645dcd5964dd6d6dbcc4419aa558fa330d554f92
8f2410722d415ae5522d434aa0b791aaaf6f01b5
/delayedsparse/__init__.py
3e882290c5d98e28fcdcf096c95bddf6de6a78fd
[]
no_license
logichen/delayedsparse
3b33ba9207ebf3ff9844b6d8e9dcaf98a2493aa3
8ab9fc64174cd9ee0413ebf48bf74d31f1b694f6
refs/heads/master
2020-11-26T07:26:42.226287
2018-11-12T16:59:10
2018-11-12T16:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from .delayedsparse import safe_sparse_dot, delayedspmatrix,delayedspmatrix_t,isdelayedspmatrix from .extmath2 import randomized_svd from .ca import CA from .pca import PCA from .cca import CCA from .__version__ import __version__
[ "niitsuma@mub.biglobe.ne.jp" ]
niitsuma@mub.biglobe.ne.jp
b611f93e5bc12f60c52864354fd9bc2e6658c7e2
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5751500831719424_1/Python/knabbers/game.py
381bdefdea24efb577b9752009b3a139eb774628
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,449
py
def solve(file): f = open(file,'r') lines = f.readlines() nCases = int(lines[0]) outf = open("output.txt",'w') i = 1 # line number n = 1 # case number while nCases > 0: #print("case: " + str(n)) line = lines[i].replace('\n', "").split(" ") N = int(line[0...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
3de64313516dd895157084a3cbf32f9873faef8c
2ee26a18b5323128c20bfb8bfe127f4591d48df2
/telethon_asyncpg/_patch.py
daba2a9d81758570bc82dd960421afda6ff1dcd5
[ "MIT" ]
permissive
ukinti/telethon_asyncpg
97eb8719f4427eeda9caa2ae192ffe243fa1c0b5
12fdfba905b493ac2c677a5f65c72c2051f02eb9
refs/heads/master
2022-08-28T06:31:32.645765
2020-05-26T10:03:26
2020-05-26T10:03:26
265,714,520
8
0
null
null
null
null
UTF-8
Python
false
false
1,845
py
""" --- mod stands for module not modulo :) """ import inspect import importlib from typing import TypeVar, Tuple, cast AMod = TypeVar("AMod") BMod = TypeVar("BMod") IS_PATCHED = False def do_import( a_mod: str, klass: str, b_mod_replace: Tuple[str, str] ) -> Tuple[AMod, BMod]: a_lib_impl = importl...
[ "mpa@snejugal.ru" ]
mpa@snejugal.ru
49fcde49e33b06de32a621cb299ecd5bffa8e3b9
da82dda955093f4a8143d77075970cecd462c46e
/기본수학1/1712.py
3fc5e164505732961638ff9db4b12df866a6b5a7
[]
no_license
damagejun19/baekjoon
36d2ab5917e08874e23690533d221de6c5747dae
644c05807665cc60573b0a41858e395e964c365b
refs/heads/main
2023-05-25T06:10:35.977178
2021-06-10T14:45:20
2021-06-10T14:45:20
372,837,519
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
fixed_cost, variable_cost, selling_cost = map(int, input().split()) if variable_cost < selling_cost: count = - fixed_cost / (variable_cost - selling_cost) print(int(count) + 1) else: print(-1)
[ "noreply@github.com" ]
damagejun19.noreply@github.com
6855ed27eaa948eb54e709ab40bd5df6ee431364
142462485e960a57411ecb7d4165faa329b4b359
/Palabras Reservadas 1.py
7d5328dd203d0ef5e552e1e4df22709891b06c65
[]
no_license
Geovani-Batalla/Python
463198ac3a5cbefbbba52abb3b221b960764a9e7
180fb73e23188fa5bd77be19d47f77ee3d57fc9d
refs/heads/master
2022-10-20T15:17:53.645457
2020-06-30T22:45:09
2020-06-30T22:45:09
276,156,948
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
#28 PALABRAS RESERVADAS #and, del, for, is, raise, assert, if, else, elif, from, lambda, return, break, global, not #try, class, except, or, while, continue, exec, import, yield, def, finally, in, print #SE PUEDEN UTILIZAR EN VARIABLES SI SE CAMBIA UNA LETRA POR MAYUSCULA #COMENTARIOS """SE USAN LAS 3 COMILLA...
[ "noreply@github.com" ]
Geovani-Batalla.noreply@github.com
79af4fcd25ac2b06beb82affc99d7bf3befdaa40
a639ced7370a5bf91d4fe3794ab64725c86f2d6c
/register/urls.py
a5f257db435139bde6842c412eb72a7a68052073
[]
no_license
param108/aspect-django
d7f0b7cf299f4df1810a1151f49a9076aaa169d0
772b04743fcb6088e322e60c10c17c3b90cb53c2
refs/heads/master
2021-01-10T05:20:08.110101
2016-04-19T19:03:44
2016-04-19T19:03:44
55,175,579
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
"""doitgym/register URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') ...
[ "paramp@cisco.com" ]
paramp@cisco.com
6dde344d937bbde2680824f18e8a250bc34d3438
7a550d2268bc4bc7e2fec608ffb1db4b2e5e94a0
/0601-0700/0606-Construct String from Binary Tree/0606-Construct String from Binary Tree.py
671610319831f8a2afe833ffb4c97b48a252abe7
[ "MIT" ]
permissive
jiadaizhao/LeetCode
be31bd0db50cc6835d9c9eff8e0175747098afc6
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
refs/heads/master
2021-11-05T04:38:47.252590
2021-10-31T09:54:53
2021-10-31T09:54:53
99,655,604
52
28
MIT
2020-10-02T12:47:47
2017-08-08T05:57:26
C++
UTF-8
Python
false
false
467
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def tree2str(self, t: TreeNode) -> str: if t is None: return '' left = '({})'.format(self.tree2str(t.left)) if t.left o...
[ "jiadaizhao@gmail.com" ]
jiadaizhao@gmail.com
23ac65e4c42dcf72e8a8fc9eba6fe8b732cc82a5
0f7399e476d35defec21220e8461acd36d65c6a4
/summarization/models.py
83c3e930699f069b1b490d9b56d8899b0eece8a1
[ "MIT" ]
permissive
neda60/Adversarial-video-summarization-pytorch
ef51e5dd26fe43767b07f36eb630a9d38c4a0fbc
65c93a98c7968770f753a0e7ad203ea03029728b
refs/heads/master
2022-11-29T17:15:51.245725
2022-11-16T05:50:53
2022-11-16T05:50:53
244,706,277
0
0
MIT
2020-03-03T18:03:34
2020-03-03T18:03:33
null
UTF-8
Python
false
false
5,773
py
import torch import torch.nn as nn from configs.config import get_config # output normalized importance scores class sLSTM(nn.Module): def __init__(self, input_size, hidden_size, num_layers=2, bidirectional=True): super().__init__() self.input_size = input_size self.hidden_size = hidden_size self.n...
[ "emna.amor8@gmail.com" ]
emna.amor8@gmail.com
3bdbcd894aca2764c5f613e61735a26b4dcd9682
60b1f668808de2b82c2fcb62b07b45bb165219f2
/egoi-api/models/contact_tags_bulk.py
777973f2f1f9803fe088a3eca9cc254351553231
[]
no_license
andersonmiguel/Egoi
6d37bf7a3a7555e764f7a6e792b3ef1c68fe8e20
b5f59f9b33ea94e170f4e7e26c6a37a78d2874c2
refs/heads/master
2022-06-21T07:18:44.920786
2020-05-04T17:29:02
2020-05-04T17:29:02
261,250,618
0
0
null
null
null
null
UTF-8
Python
false
false
5,818
py
# coding: utf-8 """ APIv3 (Beta) # Introduction Just a quick peek!!! This is our new version of API. Remember, it is not stable yet!!! But we invite you play with it and give us your feedback ;) # Getting Started E-goi can be integrated with many environments and programming languages via our REST API. We'v...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
f199c98269eb59d4151b6dfd31cfb29ce4872f1c
a4b313d81cefab792b9a3462c34465c9e344e0d5
/myapp/views.py
55767b0e39931ad688451ebc73c62fb8d48dbda9
[]
no_license
erjuhi09/myproject
600471718d232c4993b071fedb3ee3c72c7837c6
eef99b7413b278ab48315ec7161322721c0d7152
refs/heads/master
2022-05-29T17:45:35.304881
2020-05-04T18:29:50
2020-05-04T18:29:50
261,265,365
0
0
null
null
null
null
UTF-8
Python
false
false
9,307
py
from django.shortcuts import render,redirect from .models import User,Phone,Review,Cart from django.core.mail import send_mail import random from django.conf import settings from django.views.generic.base import TemplateView from django.conf import settings from django.http import * import stripe from django.utils impo...
[ "erjuhi.kumari09@gmail.com" ]
erjuhi.kumari09@gmail.com
17f185d539e9e9a84b5e23a43d3d3a0689fa4294
1f56df755dac80e623fc417acdfe2dd7b591a429
/controllers/ingreso_hospitalario.py
dad7214aa5a2254404b80b73adde686b32122efd
[ "LicenseRef-scancode-public-domain" ]
permissive
jorgelhd94/datacovid_web2py
365b2628b8f0e3d9ef427d66a824952cbfab6e07
337aabd9fc604e2e1c488fc99ad5b874f18e8fcf
refs/heads/master
2023-07-17T23:10:25.128443
2021-08-29T17:02:45
2021-08-29T17:02:45
396,048,136
1
0
null
null
null
null
UTF-8
Python
false
false
4,625
py
requirements = auth.has_membership( "Administrador") or auth.has_membership("Ingresos Hospitalarios") only_ingresos = auth.has_membership("Ingresos Hospitalarios") @auth.requires(requirements) def administrar(): datos = db(db.ingreso_hospitalario.id > 0).select() return locals() @auth.requires(requireme...
[ "jorgelhd94@gmail.com" ]
jorgelhd94@gmail.com
1a4bf122accfb4f028278d24ca294e2a75fc9a19
b078e68756676b240ccbf5bfd234f5bc3ade736b
/movie website/media.py
aec3fe485dce9f91928f6d716bc93527f73217b1
[]
no_license
benreylopez/movie-website
3872b1e16eb5bcc7b63ef435479ddc91daaecd42
5dc51df620cdfcbf63b0544688a1cc09e1c675c4
refs/heads/master
2020-03-19T12:54:38.525269
2018-06-08T01:17:47
2018-06-08T01:17:47
136,549,024
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
import webbrowser class Movie(): def __init__(self, movie_title, movie_storyline, poster_image, trailer_youtube): self.title = movie_title self.storline = movie_storyline self.poster_image_url = poster_image self.trailer_youtube_url = trailer_youtube def show_trailer(): webbrowser.op...
[ "noreply@github.com" ]
benreylopez.noreply@github.com
5b585547b3cf9cdeb345b76bc99dfc53a08ae357
db943c2eb9cd2a0c9e0b6c41ac199571f47f8dde
/comparison operator.py
9d7c4d51a19f073fddbaddbaea477275e84c5e2d
[]
no_license
Bayodecode/python_coder
af329f17709087343bc83f9d5fe13756e32b8fab
97e349803ec38cf5572c8ba021717bad9cd874d5
refs/heads/master
2023-08-08T20:34:51.676959
2022-07-03T02:33:38
2022-07-03T02:33:38
242,335,519
0
0
null
2023-07-20T14:54:09
2020-02-22T12:11:21
Python
UTF-8
Python
false
false
209
py
name = "Salvagejjgjgjjjjjfjfjjfj" if len(name) < 3: print("name must be at least 3 characters") elif len(name) > 10: print("Name should be maximum of 10 characters") else: print("Name looks good")
[ "bayodeibironke@gmail.com" ]
bayodeibironke@gmail.com
738cd5877511e17e11129d03814aae27ec4a3f2e
2d596b46da92a2dc0779247b111c0f86ff8184c2
/Clases/IMC.py
54f8f331b50dc0986382fcbe82311de103207eb4
[]
no_license
Nechi05/Programacion2021
4cbc9842fa47e9b2c4995b83776af0f99b0fe0d6
cd9d71b76c1ef1eaae29a32cff930922079d3812
refs/heads/main
2023-05-14T00:14:15.478097
2021-05-27T13:11:24
2021-05-27T13:11:24
335,283,251
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
#......Constantes......# PREGUNTA_PESO = "Cuanto pesas en kg? : " PREGUNTA_ESTATURA = "Cuanto mides en mts? : " MENSAJE_BIENVENIDA = "Hola cómo estás? Voy a calcular tu IMC" MENSAJE_DESPEDIDA = "Tu IMC es de..." MENSAJE_RESULTADO = "El resultado de la prueba de obesidad es..." #......Entrada al código......# print(MENS...
[ "iriarte.abraham@uces.edu.co" ]
iriarte.abraham@uces.edu.co
47907d3f15ec79702c1837ad4b8607b8c5148ecc
c0860af34887f88ff824167d9e751a9041b9dd64
/3/3.2.7.2.py
6aa8321f83ffd4a64c8a7183d51e94ecb4b89431
[]
no_license
Arthur-Akhmadullin/modules_and_files
464ca93756cdd9898ef9cf0f1c7fb15dcb3599aa
56991de5b66a44ed7e4460821f4f640907be1ab4
refs/heads/master
2020-04-10T10:23:28.287964
2019-02-25T18:26:46
2019-02-25T18:26:46
160,964,036
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
import random sum = 0 x = random.randint(1,10) y = random.randint(1,2) f1 = str(x) + ".txt" f2 = str(y) + ".txt" print("Открываем файлы: ", f1, ", ", f2) with open(f1, 'rt') as file_1: try: for s in file_1: sum += int(s) except Exception: print("Ошибка содержимого в файле 1") file...
[ "akhmadullinartur@yandex.ru" ]
akhmadullinartur@yandex.ru
703e9f7b689117fc619815d869344a90f7c007e8
977db9b2628400acb2c72585cabc35a832d76041
/tp2/tp.py
a5958be940d63dbfdf86b1b1364cf31a3737cda6
[]
no_license
cafehaine/m1_apprentissage
bd4b43712f5bbed6364943a2550121c7d3887c73
4eea7de9d88da745347f3a22412942e42c79aee1
refs/heads/master
2023-03-27T18:11:40.159422
2021-03-26T14:59:01
2021-03-26T14:59:01
338,993,715
0
0
null
null
null
null
UTF-8
Python
false
false
2,641
py
import matplotlib.pyplot as plt import seaborn as sns import pandas from sklearn.metrics import confusion_matrix, mean_absolute_error, mean_squared_error, r2_score from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier, KNeighborsRegressor from sklearn.preprocessing impo...
[ "kilian.guillaume@gmail.com" ]
kilian.guillaume@gmail.com
bdf18b241ea65dc841d7ca7cb18e9bc44f9914b1
7c645634e46fb70b6bc134d0d12534529d831daf
/tests/pyarubacentral/get_switches.py
2432117ecaa10f79e444bedd7634f8c65014e57f
[ "Apache-2.0" ]
permissive
rinehardramos/pyarubacentral
e0f06d0513528efbb595116ca137614c4be8b831
c95b30463ca173231b277ba4f4cc4369368cbcaa
refs/heads/master
2021-08-28T08:30:55.568439
2017-12-11T18:35:00
2017-12-11T18:35:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
#!/usr/bin/env python3 import requests, json from pyarubacentral import auth def get_switches(sessiondata): url = "https://app1-apigw.central.arubanetworks.com/monitoring/v1/switches" payload = {'access_token': sessiondata['access_token']} headers = {"Accept": "application/json"} response = requests...
[ "michael@michaelrosejr.com" ]
michael@michaelrosejr.com
fdbb660f545830ff2eeba03c8119ffb287d3280f
d93ffd55c429d1969da3a2d469f97a474acaca7d
/274_h_index.py
9a6d71d796d572e9d8f07f77780601e051ab0655
[]
no_license
kingofyeti/leetcode-py
ed03a1f20f15c7711874b70d88740d99c8942823
a7923bf36825b89279e2aa7a0f6cf868992b62b0
refs/heads/master
2021-01-10T08:26:53.189298
2016-09-28T01:44:56
2016-09-28T01:44:56
54,414,953
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
import sys class Solution(object): def hIndex(self,citations): if not citations: return 0 return [min(i+1,c) for i,c in enumerate(sorted(citations,reverse=True))] citations = map(int,raw_input().split()) solution = Solution() print solution.hIndex(citations)
[ "kingofyeti@gmail.com" ]
kingofyeti@gmail.com
100a646c0ba1ab7e929db839fb384c076294f916
554834afb4f6bf8b514405bff48f14b89b0c27ab
/view_arch.py
70ab7f405d2175462ae6db7e242e5fd57eb63af2
[]
no_license
Liu-sp/BinauralLocalizationCNN
7fec3528d94f5eb719feb0b0a1874a7abd89197f
864a58b9fa7e73ea74c832d6dad575aef424b8ac
refs/heads/master
2022-11-30T23:41:37.493332
2020-08-10T17:27:00
2020-08-10T17:27:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
#!/cm/shared/openmind/anaconda/2.5.0/bin/python import numpy as np import sys print(np.load(sys.stdin.read().rstrip()))
[ "francl@mit.edu" ]
francl@mit.edu
0235ff898c02b1ea6cffade6cdbd16bf275f62db
054ddbc1fa0e1b1d0a999bbe877591e942aa0f12
/python/02-python高级-2/07-调试程序.py
fe40b41d92b7c298c62ebdd30a2a6a9627d046fd
[]
no_license
VinceBy/newone
66c8cf77159344c7d2ec196233d58a412e1c3073
ffc6a0d9ccbdb3f66c4995834f01e3bc2df0415d
refs/heads/master
2022-02-22T23:00:21.720497
2019-07-09T08:47:25
2019-07-09T08:47:25
195,958,240
0
0
null
2022-02-12T09:19:32
2019-07-09T07:42:20
Python
UTF-8
Python
false
false
337
py
#coding=utf-8 import pdb def add3Nums(a1,a2,a3): result = a1+a2+a3 return result def get3NumsAvarage(s1,s2): s3 = s1 + s2 + s1 result = 0 result = add3Nums(s1,s2,s3)/3 return result if __name__ == '__main__': a = 11 # pdb.set_trace() b = 12 final = get3NumsAvarage(a,b...
[ "1260787968@qq.com" ]
1260787968@qq.com
9d648a90f5b5488ac68f7b2ebec5518780efa0fd
04c06575a49a3f4e30e4f3f2bf2365585664d2e8
/Python_leetcode/24_swap_nodes_in_pairs.py
6d2c095fc982f7793a0cc9d932a27ca9930222c8
[]
no_license
xiangcao/Leetcode
18da3d5b271ff586fdf44c53f1a677423ca3dfed
d953abe2c9680f636563e76287d2f907e90ced63
refs/heads/master
2022-06-22T04:45:15.446329
2022-06-17T13:03:01
2022-06-17T13:03:01
26,052,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def swapPairs(self, head): dummyhead = ListNode(0) dummyhead.next = head curhead = dummyhead while curhead....
[ "xiangcaol@xiang-m01.vmware.com" ]
xiangcaol@xiang-m01.vmware.com
137101cb034ff672b819f6c29ab68c10a0682bf3
ad92cd039b916e18185ee8f792681e1e21340d11
/io_scene_wmo/render/wmo/drawing_object.py
500bdbc6805ac7e110dca68f867dd62939a025c9
[]
no_license
DeKaDeNcE/blender-wow-studio
f5c29aa38c07d9581a93b9b150294e32df545df0
cb2ac5fa1d80ff092f949b615cc14128a02dcad8
refs/heads/master
2023-07-08T10:25:00.793797
2020-11-22T17:22:28
2020-11-22T17:22:28
392,403,179
5
0
null
null
null
null
UTF-8
Python
false
false
3,149
py
import traceback import bpy import numpy as np from mathutils import Matrix from typing import List from .drawing_batch import M2DrawingBatch from ..utils import render_debug from ...wbs_kernel.wbs_kernel import CM2DrawingMesh, CM2DrawingBatch from ..bgl_ext import glCheckError class M2DrawingObject: batches: ...
[ "skarnproject@gmail.com" ]
skarnproject@gmail.com
046b923b254e89712705f27a7aa00ae78895d728
259c5f865ee9afdaa2971262b58a3e7f99cea46a
/main.py
1bdeb53acc3ff82c8d52a6809b67d7a867f458c8
[]
no_license
MrDrul/Wifi-Pass
bfde423115fd39412d9dc27093bde8eacf0adf6d
94f907e164860007026016a92caf50f9aeaa5591
refs/heads/main
2023-03-26T00:58:09.654609
2021-03-20T14:05:59
2021-03-20T14:05:59
349,741,644
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
###################################### #Copyright of David Bombal, 2021 # #https://www.davidbombal.com # #https://www.youtube.com/davidbombal # ###################################### # Import subprocess so we can use system commands import subprocess # Import the re module so that we can make use...
[ "noreply@github.com" ]
MrDrul.noreply@github.com
5630a92bf90eb2a47b3b41d364c2ff647e07f7dc
1e1132cbf244ad78a64383390e90fac9ca9fd6b3
/contract/migrations/0005_supplier_email.py
2ccbda9a244cb73b421981c196c2e68aae2fa3bc
[]
no_license
walidzakaria/Infinity
7a3f5d8a720eb3a1fa376b3be209df180d998681
03534bbcaf47864a6312f9d9d8d956be667542af
refs/heads/master
2020-04-28T17:37:16.438588
2019-03-29T17:42:18
2019-03-29T17:42:18
175,452,384
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 2.1.7 on 2019-03-15 17:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('contract', '0004_hotelchain'), ] operations = [ migrations.AddField( model_name='supplier', name='email', ...
[ "walidpiano@yahoo.com" ]
walidpiano@yahoo.com
e433b3a5512397c0a9746137b020d1da9376ab1f
7b1fb5d1d44f3300d55d0359c22e22adc73c7817
/GraficResources/automaton.py
69be4ccdfa7f93901982d481a03016cffde9804c
[]
no_license
MarcoContreras23/GenerarAutomata
2563c01641e1f9c8e7c1f8d0c828926ec3e419aa
204565bc24f39e25f854678d1a913dc008c8d975
refs/heads/master
2022-11-17T01:31:14.643097
2020-07-12T16:26:31
2020-07-12T16:26:31
277,318,240
0
0
null
null
null
null
UTF-8
Python
false
false
5,429
py
from GraficResources.Transition import Transition from Resources.er import * from Resources.alphabet import * """ Autores: Camilo Gomez, Marco Contreras version: 2.0 """ # Clase que contiene toda la administración del automata class Automaton: def _init_(self): self.root = None self.states = [] ...
[ "marcocontreras2309@gmail.com" ]
marcocontreras2309@gmail.com
7158e87783927fb9354ce9b8d81f6f0ec4788c5e
2fcc860bcc2c76f91e899de880e4c6d8a4b1abfb
/spider/users/tests/test_forms.py
caca2bfdb6e0549bfa0f222376dd815227564165
[ "MIT" ]
permissive
dcopm999/spider
54de2e10def4db662ce15f4e4fd3682927f2999b
889d2ee6d3d5f54ccb1f22a645244bc7395bb202
refs/heads/master
2022-12-24T23:15:32.343792
2020-10-02T14:33:45
2020-10-02T14:33:45
300,559,008
0
0
MIT
2020-10-02T14:33:46
2020-10-02T09:03:09
Python
UTF-8
Python
false
false
1,111
py
import pytest from spider.users.forms import UserCreationForm from spider.users.tests.factories import UserFactory pytestmark = pytest.mark.django_db class TestUserCreationForm: def test_clean_username(self): # A user with proto_user params does not exist yet. proto_user = UserFactory.build() ...
[ "dcopm999@gmail.com" ]
dcopm999@gmail.com
1070d157ded22d5676508f0a1b9421d66cc241c0
c7f428442b5dc40549a9d018d4c87d16307f4d71
/data_helper.py
bbed6db5e28e2139cd74ce8a4c457fe4a1ecb06d
[]
no_license
TJUIRLAB/CIKM2018_QMWFLM
d4bae699696550ce41c9c4954e041486206ff675
013c7a276630b1e1f4f5c886bb6712e42ad33c37
refs/heads/master
2020-12-17T07:11:34.831534
2020-01-21T07:32:17
2020-01-21T07:32:17
235,286,509
3
0
null
null
null
null
UTF-8
Python
false
false
8,256
py
# -*- coding:utf-8-*- from __future__ import print_function import numpy as np import random,os,math import pandas as pd from gensim.models.keyedvectors import KeyedVectors import sklearn import multiprocessing import time import pickle as pickle from collections import defaultdict import matplotlib.pyplot as plt impor...
[ "zhansu@tencent.com" ]
zhansu@tencent.com
3e1f295e6825076419cc4b9a199f74184b8640d6
b6cdef81a572e02c0cbd795a8fb6bbc74f99d627
/market/urls.py
638b0bfb0222ca32b774f2061af49d1e112a6482
[ "MIT" ]
permissive
sodatta/Stocks-Screener
4afbdd68c1e80dafece50e3e0b967af35dd83c07
0b8da91da40b715beaf3a79163b1bdf6ea3be3b9
refs/heads/master
2023-07-27T13:14:47.798403
2021-05-03T20:04:51
2021-05-03T20:04:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
from django.urls import path from market.views import * app_name = "market" urlpatterns = [ path('list', list_stocks, name='list_stocks'), path('create', create_stock, name='create_stock'), path('update/<int:pk>', update_stock, name='update_stock'), path('delete/<int:pk>', delete_stock, name='delete_...
[ "mohammedshokr2014@gmail.com" ]
mohammedshokr2014@gmail.com
5bef5bc9f81a44cb7270b61b022c732b0ac221fb
d3613f7c295a94ae9f5e2964dbff3cf8353010b0
/blog/models.py
fac8f14b1d6099f5e664762f812eccd8907b9ac4
[]
no_license
NickBell123/ptwithclaudia
b63be48b27c1966938b151f8f9d2a52a2b8e9e3b
9885b8b6fc299848a56d8f47e0be765ea80c7c49
refs/heads/main
2023-02-09T08:38:04.267009
2021-01-03T16:18:10
2021-01-03T16:18:10
312,090,597
0
0
null
null
null
null
UTF-8
Python
false
false
1,659
py
from django.db import models from django.contrib.auth.models import User from datetime import datetime, date from ckeditor.fields import RichTextField class Category(models.Model): class Meta: verbose_name_plural = 'Blog Categories' name = models.CharField(max_length=250) friendly_name = models.C...
[ "nick.bell2008@gmail.com" ]
nick.bell2008@gmail.com
840dd67c5f3f7a922750b75ffd15762431a3e7fb
0c02177afd7195cbda5c342be90a08a2b64b2e44
/mobaas-algorithm/mobaas/algorithms/multi_user_prediction.py
370fd1662c298079b0335b02c633b9eb98fac66a
[]
no_license
Cloudxtreme/mobaas
002908e0b47701ec288e68b4af085d90104d893e
43d881867d1366def195ecbb6ee632d0fa78da88
refs/heads/master
2020-03-31T11:59:25.249878
2015-11-05T17:40:41
2015-11-05T17:40:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,258
py
''' -this code calculates the transition probability for all user that have trace files, given a current time(12:44), current day(Monday) and transition time(20). - the results save in 'IC output' folder and display in screen. -this calculation repeated for every transition time, starting from current time -for every r...
[ "zhongliang@zhongliang-desktop" ]
zhongliang@zhongliang-desktop
a5171cfc095ccedf7f67e762bc08d41c8f96d653
b3859136ebde85ea52b5d8f3238668dd0fb6ad12
/login/models.py
f4806e74f0911bb1e3c149aee614d7b467780998
[]
no_license
hmoshabbar/UserLoginRegistrationPage
174447d9b61294ec6a51b6e69b5f1f8729847c9f
846ec4ec571ea9352bf5eb54691773303caab560
refs/heads/master
2021-01-11T13:36:07.160705
2017-06-21T12:57:18
2017-06-21T12:57:18
95,003,959
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
#from __future__ import unicode_literals #from django.db import models # Create your models here. #class UsersList(models.Model): #first_name = models.CharField(max_length=50, primary_key=True) #last_name=models.CharField(max_length=230) #email=models.EmailField(max_length=200) #address=models.CharF...
[ "talktomoshabbar@gmail.com" ]
talktomoshabbar@gmail.com
1dfa288faab5484bb37471149f7533c066d2365c
b37e40e4dc4ad3fc9c317b68284fb86955a64bf5
/a1/venv/lib/python3.6/site-packages/probability/distributions/functions/discrete_function_1d.py
604d6e50deadbe409568e07b3f193e7efeeefe6d
[]
no_license
bateikoEd/Text-mining
89c57dec1b6ffcae82a49fc6a23acab89d7ca60e
ccd3f50b694b90269450e5304c504fac5a117f59
refs/heads/master
2021-01-14T18:02:35.642837
2021-01-13T14:04:56
2021-01-13T14:04:56
242,695,063
0
1
null
2020-05-20T09:46:22
2020-02-24T09:28:46
Python
UTF-8
Python
false
false
2,324
py
from matplotlib.axes import Axes from pandas import Series from scipy.stats import rv_discrete from typing import Iterable, overload from probability.distributions.mixins.plottable_mixin import PlottableMixin from probability.plots import new_axes class DiscreteFunction1d(object): def __init__(self, distributio...
[ "bateiko0713@gmail.com" ]
bateiko0713@gmail.com
750ce4228f69dff6b7ebdcfb272d6613b2c61d95
e1f0e369afde8500d2a988029e6a64ca9db7944c
/keke/keke/spiders/kekespider.py
d92cd38d67780f1603bb7e5088f1c916429e0f42
[]
no_license
MRKKUM/EnglishListening
aab6ce97823cca0225fbc733c2891502575d0938
82985d4903a5a96f560d312d289abcf350770bba
refs/heads/master
2020-12-27T04:05:40.850954
2020-02-02T11:25:28
2020-02-02T11:25:28
237,759,304
0
0
null
null
null
null
UTF-8
Python
false
false
1,694
py
# -*- coding: utf-8 -*- import scrapy from keke.items import KekeItem class KekespiderSpider(scrapy.Spider): name = 'kekespider' allowed_domains = ['www.kekenet.com'] start_urls = ['http://www.kekenet.com/Article/chuji/List_292.shtml'] # 开始访问 def start_request(self): yield scrapy.Request(s...
[ "619353515@qq.com" ]
619353515@qq.com
8f5ece5a28642b6805dc673705cf67798c278d2e
d6ac485201564a278917c870164cbfe9dc4c0dfb
/sg-carparks/carpark-dash.py
cfa9347fd2f3873c570b5a58cfbd95c9ea1eb918
[ "Apache-2.0", "MIT" ]
permissive
limjiaxiang/dashes-with-dash
588ff47b198b2d99ed49dd19daf34e6b72d406a7
7c9730acb9088555b57aa1db38422cd4f8a80b6f
refs/heads/master
2022-12-11T20:11:39.176455
2019-10-23T15:14:54
2019-10-23T15:14:54
187,992,465
0
0
Apache-2.0
2022-12-08T05:09:26
2019-05-22T08:06:53
Python
UTF-8
Python
false
false
4,689
py
import json import requests from datetime import datetime from collections import deque import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Output, Input import plotly.graph_objs as go def curr_carpark_data(): api_url = 'https://api.data.gov.sg/v1/tra...
[ "blakelimjiaxiang@gmail.com" ]
blakelimjiaxiang@gmail.com
4014ac4fca105024c570c764694cbf626242bf0c
1848410c06e2cacb9520666828dd6fb99145b1ee
/ComssService/examples/lower_service/receiver.py
2e821be5bf50078b604c74cdbbb0eb52e57ea4f3
[]
no_license
pawellewandowski/TIRT
a9ff8a67e1b9ed41af2669cd13bce175b17f50a5
db9b38f1597d5dec75c799207b7f55075c078ab2
refs/heads/master
2020-04-13T01:41:18.820505
2014-06-08T16:55:55
2014-06-08T16:55:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from ComssService.dev.control import DevServiceController import sys desc_file_name = 'servers_emulator.xml' controller = DevServiceController(desc_file_name) try: while True: sys.stdout.write(controller.read_data('2', 1024)) sys.stdout.flush() except:...
[ "pawel.lewandowski352@gmail.com" ]
pawel.lewandowski352@gmail.com
dfaa0becf5ab38dc77878869ee509763c4f3b435
8895f126cf2a4d1778bd9c555345f5004308311e
/X_length.py
727a5e797d68ec1ea62f25b8a477fa601f3f72e2
[]
no_license
Liam1809/Python_Practice_Small_Projects
4d332bc9f6ed070fbfca4c9fa16a02b98450a5c3
dabd09b5df4ef7f64c3f7522b59fae147071b756
refs/heads/master
2022-08-03T09:59:34.911324
2020-06-04T06:28:20
2020-06-04T06:28:20
258,716,977
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
# Write your x_length_words function here: def x_length_words(sentence, x): words = sentence.split() for word in words: if len(word) == x: return True return False # Uncomment these function calls to test your tip function: print(x_length_words("i like apples", 2)) # should print False print(x_length_wo...
[ "50177344+Liam1809@users.noreply.github.com" ]
50177344+Liam1809@users.noreply.github.com
616adc4e2b3ae5aff6e25dc4f44382fd821a211c
10aa8b83a6c3b8a54f47c6b5602fba851a2bdd32
/src/modules/mixers/maven_qmix.py
2f66a430a6b85aecf81254c0512e2e8319418534
[ "Apache-2.0" ]
permissive
HuggingNobody/pymarl2
fa0732b34d737da64176a218d0d5da905ff9306e
b4383e9b7eef57b9a24c40135e6b2d2b490afc6d
refs/heads/master
2023-07-09T03:12:58.774447
2021-08-20T08:26:24
2021-08-20T08:26:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,585
py
import torch as th import torch.nn as nn import torch.nn.functional as F import numpy as np class MAVENMixer(nn.Module): def __init__(self, args): super(MAVENMixer, self).__init__() self.args = args self.n_agents = args.n_agents self.state_dim = int(np.prod(args.state_shape)) + ar...
[ "janhu9527@gmail.com" ]
janhu9527@gmail.com
97e9d2a3c5ed00e3fdc27b872b05998ed77c4de5
b7b78d0f8bb0cf9608f17934fc1267b33c7d493c
/SquareCell.py
e1dd836ee92cd746718e7074c1cb515fd49ab271
[]
no_license
imseanwei/PrintCode
53d2b989941f79476ce2770656e7687ea6b48c6f
2dff51980ad80dbd06e44ee3275084e53f21353c
refs/heads/master
2021-01-10T19:50:45.947874
2015-08-14T20:16:19
2015-08-14T20:16:19
22,273,527
0
0
null
null
null
null
UTF-8
Python
false
false
9,060
py
#battery-printer #rely on home position set with 1st code loaded (separator) #needs to re-zero "Z" between codes/syringes, but assume same x, y #packaging bottom #cathode #separator #packaging top #anode #sealing from mecode import G #nordson Tips sizes (color, inner diameter, outer diamter, in mm) #Olive 1.54 1....
[ "SeanWei@Seans-MacBook-Pro.local" ]
SeanWei@Seans-MacBook-Pro.local
28d07593900fbe9c33f4f5c559e0ca97f30e0ba5
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/DatadigitalFincloudFinsaasDigitalrmbSendSyncResponse.py
230307b7cea48730702e6bdd98d81bd253790e93
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
497
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class DatadigitalFincloudFinsaasDigitalrmbSendSyncResponse(AlipayResponse): def __init__(self): super(DatadigitalFincloudFinsaasDigitalrmbSendSyncResponse, self).__init__() d...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
0258469dcb911582032ee750ee5c71f4168a9ba0
2b7e7565915297cc406d6931a0a690ca85568ef7
/py/matplotlib/savepic.py
dd0174ada2bc12a2262e10d275f6447b5089c99f
[]
no_license
pklim101/codelib
08c504d35c2c09a493b2ef8086711908279c969d
abf0f135bd10981e4a62c6fd5fcce1b6e2b1e866
refs/heads/master
2022-05-02T05:07:24.296441
2022-03-13T03:38:51
2022-03-13T03:38:51
93,059,918
2
0
null
null
null
null
UTF-8
Python
false
false
329
py
#!coding:utf-8 import matplotlib.pyplot as plt import numpy as np x = np.arange(1,5) #print type(x) #<type 'numpy.ndarray'> plt.plot(x, x*1.5, label='Normal') plt.plot(x, x*3.0, label='Fast') plt.plot(x, x/3.0, label='Slow') plt.legend(loc='upper right') #图例显示的位置 #plt.show() plt.savefig('plot123.png')
[ "pklim101@163.com" ]
pklim101@163.com
8eb71b032e33aa03276f6cc15f6cf200ebdace33
1c7234af5a0c745c8f370f682ee124bb7a01b81e
/Desktop/Projects/Random Number/toss.py
60fc13d6c7877c15ee4f94875419eb08dc99c14a
[]
no_license
26aseem/Random-Number
b637a2047f9d3dcaadbd98c59a6fe3bb29ee99ca
ce675a6e96e0abb7949bfd2a0df9973970f0bd71
refs/heads/master
2020-09-06T20:59:16.238430
2019-11-08T21:13:11
2019-11-08T21:13:11
220,548,983
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
import random as rd import numpy as np from time import sleep def toss_coin(coin_num,coin): num = rd.choice(coin_num) coin[0] = num return(coin) board = [0] coin = np.array(board) coin = coin.reshape(1) coin_num = [1,2] toss = str(input('Press Y for tossing a coin or press N to exit\n')) while tos...
[ "khullar26aseem@outlook.com" ]
khullar26aseem@outlook.com
f3ccf27cfb27169b20dc78aba448e82e482efb89
a7371301cea503bacc82619fde651aac85f2738b
/mccabe_group/scripts/test/modify_water_xml.py
171abb566e3b394533209315a25f7a6a686931f5
[]
no_license
PTC-CMC/McCabeGroup
b9931a022d0af52aeb2891b548c6294ebc0ab7b7
19e0578e91fc82cc24e974b9cc2e3b6a6722d36b
refs/heads/master
2021-06-11T05:05:53.034326
2020-03-24T01:40:05
2020-03-24T01:40:05
128,414,852
1
3
null
2020-03-06T17:46:44
2018-04-06T15:47:17
Python
UTF-8
Python
false
false
3,192
py
import pdb from lxml import etree import numpy as np #KJ_TO_KCAL = 0.239 #NM_TO_A = 10 # Units from the chodera group were in agreement with foyer/openmm units # leave everything in terms of kj and nm, but I'm too lazy to modify the # functions below, so i'm leaving the conversions here KJ_TO_KCAL = 1 NM_TO_A = 1 ...
[ "ahy3nz@virginia.edu" ]
ahy3nz@virginia.edu
138d11dbfb17d5aba5fe7da9142ed37cd2d8d02e
a5543aefd481b899d06cac1932d468831a1d6fa6
/richmenu_uploadimg.py
a5ad99bff845e9c145969d4877e71d65bd72bcf4
[]
no_license
Coopathon2019/10_PYROS
072bf3bde39d5e293294e248546bf073ae2e3704
93b1eed1ceeab97e50868806f9943397e6fbe921
refs/heads/master
2020-09-11T13:01:35.629273
2019-11-17T03:50:38
2019-11-17T03:50:38
222,072,649
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
from linebot import ( LineBotApi, WebhookHandler ) import json with open("./rich_menu.png", 'rb') as f: with open('./config','r') as con: j = json.loads(con.readline()) line_bot_api = LineBotApi(j['linebotapi']) line_bot_api.set_rich_menu_image(j['richMenuId'], "image/jpeg", f)
[ "qqps4487@gmail.com" ]
qqps4487@gmail.com
4a63e05020e53e31b359cf93e35ecd644a037bba
17f86278ca4c313f3b3b83aa10efe316684893a7
/ex2/costFunReg.py
e32241947b01557b02d47b34c468ecaf26f30843
[]
no_license
xiaoxue11/machine_learning
490f14dc46c1a2b85f2fbdf19ed79dc3a703ad0c
ed61539bdd0dcb1c5c6e0fb9d9997427cf464410
refs/heads/master
2020-04-12T06:10:22.730041
2019-01-16T17:22:42
2019-01-16T17:22:42
162,344,736
2
0
null
2018-12-18T21:08:05
2018-12-18T21:00:58
Python
UTF-8
Python
false
false
560
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 28 22:39:35 2018 @author: 29132 """ from costFunction import sigmoid import numpy as np def costFunctionReg(theta, X, y, lambd): m=np.size(y) grad=np.zeros(np.size(theta)) g1=sigmoid(np.dot(X,theta)) grad1=1/m*np.dot(X.T,g1-y) J1=-1/m*su...
[ "noreply@github.com" ]
xiaoxue11.noreply@github.com
784873bd3ed65e78e194fc6a267078865a10b5c2
671d658f7346a55b252446d837d6ce9f6e44f1eb
/lab12/search_test_starter/performance_tester.py
b8d793b88c61b5d1ea8d8fdafdc57fdce2b4824e
[]
no_license
jingjingliao/PythonCourse_5001
686135202dbbef714cc2d683352f810ec39f6381
346b4637a162eba17f2ab8e4d95b23b615300c4b
refs/heads/master
2022-11-19T15:56:14.851306
2020-07-25T20:20:24
2020-07-25T20:20:24
282,518,274
0
0
null
null
null
null
UTF-8
Python
false
false
3,402
py
import math import random from list_searcher import ListSearcher def main(): test_linear_search(1000, 1000, ordered=True) test_binary_search(10000, 1000) test_median(1000, 300) def test_linear_search(N, num_trials, ordered): """ Run a linear search experiment with the given configurations: N...
[ "55671806+jingjingliao@users.noreply.github.com" ]
55671806+jingjingliao@users.noreply.github.com
bb430a92daa1a186500a99c66eaa6bf6641aa1d6
318b0becedea76f9d6f8d894ff2c34135bf18c7a
/src/inference/prepare_data.py
bfa0739625be1dc479637f529e3114f2a22fc9f3
[]
no_license
Truebazinga/openvino-dl-benchmark
17308974c16d1941e21c66b5e1659498c5ea0ad4
c07555e520dcc9ad98c860914490cfff223966f0
refs/heads/master
2020-05-07T13:31:20.419821
2019-04-08T05:15:03
2019-04-08T05:15:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,879
py
import os import sys import numpy as np import logging as log import cv2 from openvino.inference_engine import IENetwork, IEPlugin def prepare_model(log, model, weights, cpu_extension, device_list, plugin_dir, thread_num): model_xml = model model_bin = weights if len(device_list) == 1: ...
[ "khvatov.alexander@gmail.com" ]
khvatov.alexander@gmail.com
0331408a58ee306f644e0538cab0d811508f4a0f
7c7a393978b2077acddc2f58e5209de0d7c44af7
/django_CMG/manage.py
d8eb3d0860127f3f4f32423a996b698d26e690b2
[]
no_license
metasikander/djangoCMG
5753bfea8a8a8700aa521b2632997f86aa50d438
770308e1e2c4eea0ec6137f82157ff7fb0a13844
refs/heads/master
2020-12-24T19:05:07.754221
2012-12-08T22:07:17
2012-12-08T22:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_CMG.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "sikander@lhote.me" ]
sikander@lhote.me
789e2f3d7a66de51e9df2e9c0927cdb7205a1ca0
3d1c8054e6ecbd1e339c2270bd7fd0745a44fcb0
/ringbuffer.py
e7827eedb13196c8cb75aa29882b6ba30291d01f
[ "MIT" ]
permissive
guyingbo/ringbuffer
e21d6924f36fad6022ba27adcf254b84d18fc18c
73ac4a13e9a96291df5d0cb0b3454be382e3dbd2
refs/heads/master
2022-12-01T09:59:36.327516
2020-08-19T09:09:05
2020-08-19T09:09:05
287,550,418
0
0
null
null
null
null
UTF-8
Python
false
false
5,353
py
class OverflowException(Exception): pass def _chr_len(x: int): return len(repr(chr(x))) - 2 # RingBuffer structure # @: data, -: blank # [------------------------------------------] initial state # ^head&tail # ^data # [@@@@@@@@----------------------------------] after first push # ^tail ^head # [-----...
[ "tensiongyb@gmail.com" ]
tensiongyb@gmail.com
4e2f22ec7b1ffc016b73658aec4d4dc1cce87a89
5236ffe6a7b188b74b88a7b499967c4232c6153d
/src/app.py
96e9be338ed4ef1896179264ef5ce5c9f01c2744
[ "Apache-2.0" ]
permissive
sul-dlss-labs/etd-abstract-similarity
fa9f69d52756ecf013a774add33f6dc470a4a397
ddff8c66d29fd333171dd03aff03d6a918c9ed5a
refs/heads/main
2023-03-11T16:03:45.041496
2021-01-28T17:43:24
2021-03-01T23:31:57
306,506,697
0
0
null
null
null
null
UTF-8
Python
false
false
3,902
py
__license__ = "Apache 2" import base64 import pathlib import pickle import nltk import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib.widgets import Button import streamlit as st import detail import helpers st.set_page_config(page_title='ETD Abstract Similarity') def _get_state(ha...
[ "jermnelson@gmail.com" ]
jermnelson@gmail.com
cd7ad04d904f05716840bcf693827de5cfecdd4d
d83ef55d6a1c8366aa459e227ddca3a7e845328f
/game_hotel/pipelines.py
fde4ba23b68cdc4537e62fa0cf5d864464a6705e
[]
no_license
jss0824/meituan
ebaebf6a0dd8a8227a166794699a18153ad6e039
8b77a89cee9ab2a90d521811ebdb4ab62c9b9aaa
refs/heads/master
2020-09-30T22:57:16.143759
2020-01-14T01:43:27
2020-01-14T01:43:27
227,393,863
2
0
null
null
null
null
UTF-8
Python
false
false
5,566
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html import pymysql class GameHotelPipeline(object): def process_item(self, item, spider): conn = pymysql.connect(host=...
[ "yinjie@dkingsoft.com" ]
yinjie@dkingsoft.com
9b43b68d0f9d70a018b748664e91f8aeaefc9e64
c25272cb651f141a757b49cb9d7080a696aa3d5b
/bikeshare_2.py
d90904c8953f3d1272feeb95e7907e39e6fc2abe
[]
no_license
Anas20001/bikeshare-2
f7698a345dd1d205689a66a425a0fc5b3cf56ff3
e7aed02e11594e27b1f4e89c21af7d050b4edcc9
refs/heads/main
2023-02-03T04:52:36.229454
2020-12-22T10:49:47
2020-12-22T10:49:47
323,597,744
0
0
null
null
null
null
UTF-8
Python
false
false
7,065
py
import time import pandas as pd import numpy as np CITY_DATA = { 'chicago': 'chicago.csv', 'new york': 'new_york_city.csv', 'washington': 'washington.csv' } months = ["all", "january", "february", "march","april","may","june","july"] days = ("all","monday","tuesday","Wednesday","thuresday",...
[ "noreply@github.com" ]
Anas20001.noreply@github.com
9d7f96cd31d2cf14c0fa8f8e87e6a0638374ff0f
6035d9968b0aaeddd43c0123bbcc89ab26f9a52e
/2-Neural network/nn_mnist.py
67050fb49e0f3df09e3c600f9f5921dd9a16a424
[]
no_license
ChristopherHD/FSI-Practices
1ab707743e952bf320360d7844ce50a551de8e11
72a09f63969dfd999671e49b9e32871d4189cddb
refs/heads/master
2020-12-30T13:38:36.976182
2017-05-14T09:57:04
2017-05-14T09:57:04
91,230,284
0
0
null
null
null
null
UTF-8
Python
false
false
3,003
py
import gzip import cPickle import tensorflow as tf import numpy as np # Translate a list of labels into an array of 0's and one 1. # i.e.: 4 -> [0,0,0,0,1,0,0,0,0,0] def one_hot(x, n): """ :param x: label (int) :param n: number of bits :return: one hot code """ if type(x) == list: x =...
[ "christopher_1996vba@hotmail.com" ]
christopher_1996vba@hotmail.com
6a1ff9b893559a51aeba845b762bb1a02a1d091c
05c34103872129a84ae5916d3e82eaa066173843
/hash/hash.py
e4a4700556984e5fada323eb9d68ba298465f4aa
[]
no_license
adrianliuj/coursera_algorithm
671a1b35b3464e540dd3592cbeb0a9419fc6ed60
ab9a8d3c3c1e6d49c793e89d23c8435d663ef5fa
refs/heads/master
2020-03-17T01:27:05.223646
2018-05-12T14:28:29
2018-05-12T14:28:29
133,153,460
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 28 19:17:24 2018 @author: heyad """ def hashFun(num): return num%1000000 def search(num,ht): index = hashFun(num) return num in ht[index] filename = 'array.txt' ht = [[]]*1000000 nums = [] count = 0 f = open(filename) while True: line = f.readline() ...
[ "heyadrianliu@hotmail.com" ]
heyadrianliu@hotmail.com
6867aa7938918dd4e0e2164d346d5c47d93808cd
cfc7ca191feb873a17487bdb57711e6432d67dbb
/mingProject/wsgi.py
2f6d2573eb692ba1da7ed32c5ca3d3338d381406
[]
no_license
min-yu-kim/ming-django-2nd-week
20601ac1c731a26a8f3a76e26041dd5cf4cfc8c1
7014301456f1ae830ca88e1595d9225124d10acd
refs/heads/master
2023-05-06T00:15:02.018470
2021-05-23T12:09:29
2021-05-23T12:09:29
370,040,677
0
1
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for mingProject project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "alstj0827@naver.com" ]
alstj0827@naver.com
63a2943acd0d5a6906f4e42f7433e20520ea06cd
8be05833162b809115ea07117a3a33ef966a3d87
/P1-main.py
ca35bf147dbc01c82b35acfc13cac33acbaf9a12
[ "MIT" ]
permissive
Axel13fr/SNCD_P1_Lane_Finding
86c35553367b516eb1d8bd2bf7127e169c367798
4486a41fe47c8ba512ac772f693b2abc21273f63
refs/heads/master
2021-04-30T18:22:58.578993
2017-02-22T08:11:59
2017-02-22T08:11:59
80,354,785
0
0
null
null
null
null
UTF-8
Python
false
false
10,980
py
#importing some useful packages import matplotlib.pyplot as plt import matplotlib.image as mpimg import numpy as np import cv2 import math def grayscale(img): """Applies the Grayscale transform This will return an image with only one color channel but NOTE: to see the returned image as grayscale (ass...
[ "axel.durbec@gmail.com" ]
axel.durbec@gmail.com
fa4b855a4afd05b57a0aaedea6b2c4e53258024b
7c31ad2a69e9d8bf51c9e043145bdb02a2dff9fd
/currency_converter_CLI.py
dac09d3f62600c7efd104f5920fdc450a2b214cd
[]
no_license
cibaa/Currency-convertor-kiwi-homework
6f6794c9ea0a2d72c6eb82eb08b3838b719893cc
1610ac1cc49e3573b9cba9ee19896a527efb5b96
refs/heads/master
2021-09-09T21:37:56.313569
2018-03-19T20:57:46
2018-03-19T20:57:46
125,918,890
0
1
null
null
null
null
UTF-8
Python
false
false
1,142
py
#!/usr/bin/env python3 import forex_python.converter import argparse import json parser = argparse.ArgumentParser(description='Currency converter') parser.add_argument('-o', '--output_currency', type=str, help='requested/output currency - 3 letters name', default=None) requiredNamed = parser.add_argument_group('requi...
[ "ciba@Ciba-TravelMate" ]
ciba@Ciba-TravelMate
16d0dd3c0b65e32e8579d047dc313fedc6f5ee5e
0e7c75be7397e5b379c809190b8d6577667d4011
/search/build_index.py
1021432961ad7f5701290194093538a9e137c2db
[]
no_license
amartya2969/search_engine
835f1a7367ccab4c2d9355a931c9ffd4980fb0b4
2b87bb65e52982f52168265d3879bae988842409
refs/heads/master
2020-12-10T14:55:38.540519
2020-01-13T15:29:27
2020-01-13T15:29:27
233,625,122
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
import pandas as pd import os import pickle from collections import Counter from small_utils import tf_idf, tokenize_text, remove_punctuation,stemming import math if os.path.exists('docf.p'): with open('docf.p', 'rb') as handle: docf = pickle.load(handle) else: docf = {} if os.path.exists('pos...
[ "amartya2969@gmail.com" ]
amartya2969@gmail.com
96f529986626acf453fee6c0c15d8a67cd61db13
5c892bd3a0244b0698f4432eb314aac14b4bb6be
/Ch. 7 - Signal Synthesis/squareSynthesis.py
88297a8214e41de6ed1170fd2aefabd39275d76a
[]
no_license
jlqian98/HackAudioPythonCode
bcf2406e8fd4e6ecd34eaf3464dae0c364ccfdd0
6ab887f5f4cec211b8da5dca1b1036b8bb25a753
refs/heads/main
2023-08-28T01:40:22.602263
2021-11-13T18:52:50
2021-11-13T18:52:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
# SQUARESYNTHESIS # This script demonstrates the a square wave # # See also SINESYNTHESIS, SAWTOOTHSYNTHESIS, TRIANGLESYNTHESIS import matplotlib.pyplot as plt import numpy as np from IPython.display import Audio from plottf import plottf # Example - Square wave signal # 2 Hz square wave for visualization f = 2 phi =...
[ "erin.yamabe@pop.belmont.edu" ]
erin.yamabe@pop.belmont.edu
65a6861c0691be6a03106b216d123f6149fde722
a908793fc984b9858638e776b814795db73bc2d2
/window.py
56ed26d0b242c3ebff4d2992c74f4f8b6aab7fd1
[]
no_license
DavidCampbellIII/ProgramLineCounter
a07a9e97f34d7053dc0913d3d8a41d9c205183cb
b7250b53601d0b064aa1351530fed34661344aa2
refs/heads/master
2023-05-10T12:08:48.675907
2021-06-11T04:04:22
2021-06-11T04:04:22
280,341,489
0
0
null
null
null
null
UTF-8
Python
false
false
5,136
py
import tkinter as tk from tkinter.filedialog import askdirectory import os brackets = set("{}[]()") STATUS_REFRESH_RATE = 1000 class Window: def __init__(self, root, languages): def set_up_main(): txt_status_box.pack_forget() btn_redo.pack_forget() lbl_instructions.pac...
[ "lapidistcubed@gmail.com" ]
lapidistcubed@gmail.com
57e9029f123f9aec0c4ddf68e011d5db83ad126a
31641feb2b7a5a983360a4f84a55ba82ec1d9d73
/booleans.py
1aa98a1daf0e811b242ef8eece1342af0804df93
[ "MIT" ]
permissive
chapman-cpsc-230/hw3-EddieWadors
cc782c2fac22d94e893aa5a85e28705f51ab912f
a3a3d4f59593b5939d9c29c9c132e1b32ccd59f9
refs/heads/master
2016-08-11T17:45:33.520916
2016-03-11T07:16:38
2016-03-11T07:16:38
53,444,371
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
# -*- coding: utf-8 -*- """ File: booleans.py Copyright (c) 2016 Eddie Wadors License: MIT - Defining code into boolean answers. """ c = 41 #c is equal to 41. c == 40 #c equals 40, which is false considering python understands c to be 41. c != 40 and c < 41 #c is not equal to 40 and c is less than 41. c != 41 or c <...
[ "wador101@mail.chapman.edu" ]
wador101@mail.chapman.edu
c50f4d0827019512e5a5c1ff85c3e4ed26cc6f05
f9684c301ce50a6bbb5a75280cd4c70277119f27
/yelpdetails/yelpdetails/middlewares.py
b5a408ed741194ce385e883725c5905470a0166d
[]
no_license
vaibhav89000/yelpdetails
76149f2feed5cbad98b3e67d3a786223289fc1f4
b7ce6f739a7f76fbe665e27eb097475775c0c489
refs/heads/master
2022-11-25T05:09:56.803075
2020-07-06T12:45:54
2020-07-06T12:45:54
269,969,213
1
0
null
null
null
null
UTF-8
Python
false
false
3,591
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class YelpdetailsSpiderMiddleware: # Not all methods need to be defined. If a method is not defined, # scrapy act...
[ "vaibhav89000@gmail.com" ]
vaibhav89000@gmail.com
2540de34cdd9b8c944d955de9c5fa30879c222dc
7ecf797224aadfc69841ea4f3bb3f741c3a9c0ff
/dashboard_mods/ViewStatsAddon.py
01ed14f16009c88bbc93f4f9996e6abe5ddb6854
[]
no_license
ninadmhatre/zual
4ca10f34860f6099eb687eb10368abaa229df14b
2c159a551c08b5afb957959d3fdf8c8ce21ae452
refs/heads/master
2021-01-21T13:40:31.091734
2020-07-08T23:25:14
2020-07-08T23:25:14
54,843,683
57
5
null
2020-07-08T23:26:00
2016-03-27T19:04:00
Python
UTF-8
Python
false
false
3,576
py
__author__ = 'ninad mhatre' from addonpy.IAddonInfo import IAddonInfo from libs.AddonReturnType import AddonReturnType from jinja2 import Template from application import page_view_stats class ViewStatsAddon(IAddonInfo, AddonReturnType): result = None status = True # Data received properly def template...
[ "ninad.mhatre@hotmail.com" ]
ninad.mhatre@hotmail.com
fd285a87a946147fff7ed4074bd936ce82b3c71b
2caf4fc121b6df2fc468c5d3c0e02d5e611b3c70
/src/pages/views.py
d0b4cd6e6d4b494168fab4db8b6ed3e6d617bba6
[]
no_license
plerzundi/caffeteira
ba6faa376b830dc68bfe8abc0e25ccbbe346ce4a
59ed2c6f22a1e120a6a72c6cd1f58595edab0762
refs/heads/master
2020-03-21T01:30:11.012665
2018-06-21T22:14:58
2018-06-21T22:14:58
137,946,086
1
0
null
null
null
null
UTF-8
Python
false
false
233
py
from django.shortcuts import render, get_object_or_404 from .models import Page def page(request, page_id, page_slug): page = get_object_or_404(Page, id=page_id) return render(request, 'pages/sample.html', {"pages": page})
[ "patriciolerzundi@gmail.com" ]
patriciolerzundi@gmail.com
677aa3639fe10a720b5b170c8406f7544d2a8ab4
64832dd1e64cfc6de83c5abf099461eda50f648c
/major/migrations/0006_auto_20190212_1502.py
9a52e37c1930c929474d4d021feb9c920e6e2d76
[]
no_license
showzvan/mysite
d7e79e16eb8c2d3598d00d1a96fa0b1940765913
32826c83915a2f95440c04ed20a7800d2c343ac1
refs/heads/master
2020-04-27T17:05:19.143296
2019-03-08T09:09:45
2019-03-08T09:09:45
174,504,656
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
# Generated by Django 2.1.5 on 2019-02-12 15:02 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('major', '0005_auto_20190212_1457'), ] operations = [ migrations.AlterModelOptions( name='majors', options={'ordering': ['maj...
[ "1183005957@qq.com" ]
1183005957@qq.com
df10c7affbd76dbac828bbf7e7e2e2c2252c50a9
54982f9506789cacd236a8890cd67c48d0e8df0e
/git_laser_scanner/devel/_setup_util.py
a6b174641e4b24fbaad0f283baadafe28bebdc2a
[]
no_license
bassie8881/ROS_stuff
53e0d750c35f653bf9f93cf28ee7d7b604a69af6
627b114c6dd469a4e81085a894676e60aeb23691
refs/heads/master
2021-01-17T17:03:25.219628
2016-07-14T03:12:04
2016-07-14T03:12:04
63,243,187
0
0
null
null
null
null
UTF-8
Python
false
false
12,356
py
#!/usr/bin/python # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code mu...
[ "bas_bosscher@hotmail.com" ]
bas_bosscher@hotmail.com
2621befb9b7a9315b62b4fd2da10230c3ec21a37
48ac148c171463cce20de59660efc6f43590d41e
/patients/migrations/0018_auto_20180628_1711.py
769ecd0c0a6ec99105542eac6e43b1c54dea5bd7
[]
no_license
victorloh67/transform
3eeeb8ada6b88de88ae363187b70fdb91427000d
b438954739d2676621084e6fc5f81ce2c1ee7b3f
refs/heads/master
2022-12-13T06:20:02.079643
2018-07-03T18:31:19
2018-07-03T18:31:19
139,621,720
0
0
null
2022-12-08T02:15:02
2018-07-03T18:13:51
Python
UTF-8
Python
false
false
502
py
# Generated by Django 2.0.2 on 2018-06-28 21:11 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('patients', '0017_auto_20180628_1629'), ] operations = [ migrations.AlterField( model_name='profile'...
[ "victorloh@yahoo.com" ]
victorloh@yahoo.com
3d9532f5a3b3bbc62b89f781bbac4a6bf43b70d0
4b0e7c654249cc098ed2230f16e5a19a9329ca4b
/Day3/whileExample.py
3d9dde6bc49db6e3f2a7ceffb0e1a7139ec1ea48
[]
no_license
aravindanath/rio_de_janeiro
5a1d41e4ff4201f2b6be2f81437376c01ae30238
43a6c0f704ff5d55256705da13057d1532510f16
refs/heads/master
2020-07-24T13:40:55.655457
2019-12-02T02:47:16
2019-12-02T02:47:16
207,945,814
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
empty=[] tup= (1,2,3,55.3,3) x = 0 while x<=10: print(x) empty.append(x) x=x+3 # break else: print("Out of loop!..") print(empty) empty.sort(reverse=True) print(empty) empty.pop() print(empty)
[ "aravindanath86@gmail.com" ]
aravindanath86@gmail.com
e1cc3368b2a5d16cb9019a30defca25fe6594cca
afdf18702737b46cc2cd22a830c2d053e1684c31
/python/Self-driving-controlled/logger.py
9212580f03fe2470576eb037c3ae888443f66d79
[]
no_license
arcub/driverless-cars-2017
1ac5f62f7df0ae62f4124bf5868e4ba3227702bc
9a2ca1816d42f0427954a4d5473aebbad247540f
refs/heads/master
2021-09-10T12:19:40.750700
2018-03-26T07:05:09
2018-03-26T07:05:09
110,547,255
0
0
null
2018-03-26T07:04:20
2017-11-13T12:45:50
Python
UTF-8
Python
false
false
1,020
py
import logging class Log: def __init__(self): self.logger = logging.getLogger(__name__) self.logger.setLevel(logging.DEBUG) self.fh = logging.FileHandler('log\\Red_Rover.log') self.fh.setLevel(logging.DEBUG) self.ch = logging.Streamhandler() ch.setLevel(logging.ER...
[ "brandonraines98@yahoo.co.uk" ]
brandonraines98@yahoo.co.uk
9a1786cad4159b913aec33ee1d09bb8d29c00cea
db2d290957e36ad6e993d2f4421830689982cd69
/COMP9021/Lab_5/sierpinski_triangle.py
a25e6835ea10073e182015f5f257ffca784cbf63
[]
no_license
NblYb/UNSW
abd504445289266141e084f13a0c30405ff88b2a
5311b985d19b4437b598fac8133af7166c1a8134
refs/heads/master
2021-09-05T11:31:31.862517
2018-01-26T23:22:20
2018-01-26T23:22:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,367
py
import sys s = input("Input the desired size: ") try: size = int(s) except ValueError: print("Invalid value, giving up...") sys.exit() if size <= 0: print("Invalid value, giving up...") sys.exit() triangle = [None] * (size + 3) for i in range(size + 3): triangle[i] = [0] * (size + 1) triangle[1...
[ "serena.f.yu@gmail.com" ]
serena.f.yu@gmail.com
85ed587604b914ef8a8d2922a8737395eb48e553
946ff3fa181aa5ebb3e4f8d4bb7c15b6f6fe63a9
/tests/algorithms/conftest.py
5686332d238c67925b0c84ee05c1ed34a4376821
[ "BSD-3-Clause" ]
permissive
VIDA-NYU/openclean-metanome
9908e725d482fab12903e9e87307c5ddf06590c8
37948eb25142ed4ba884fc07bfe0cad5666769e8
refs/heads/master
2023-06-04T15:42:02.600499
2021-06-16T08:38:54
2021-06-16T08:38:54
294,754,491
1
0
BSD-3-Clause
2021-06-16T08:38:54
2020-09-11T17:02:45
Python
UTF-8
Python
false
false
641
py
# This file is part of the Data Cleaning Library (openclean). # # Copyright (C) 2018-2021 New York University. # # openclean is released under the Revised BSD License. See file LICENSE for # full license details. """Fixtures for Metanome algorithm unit tests.""" import pandas as pd import pytest from openclean.data....
[ "heiko.muller@gmail.com" ]
heiko.muller@gmail.com
721c9d906ada7108a96e4930e8c8a9d5a1811d9a
015a781946795f0455bac3b0fa2ce6e0df6afec4
/euler1.py
dbf8949fce918b75fb1d6d454e31166a03f805f2
[]
no_license
jesscapall99/chem160module8
2e31adf22294d00eb49dad15db57cba65302ed91
701b4b81aefd196ebd03e97b31aff1d0a7bf0bb9
refs/heads/main
2022-12-25T14:09:02.254479
2020-10-05T03:59:02
2020-10-05T03:59:02
301,286,713
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
import numpy as np N=1000 m3=np.arange(0,N,3) m5=np.arange(0,N,5) m35=np.concatenate([m3,m5]) m35u=np.unique(m35) print("Sum of 3 and 5 multiples below %d is %d"%(N,m35u.sum()))
[ "noreply@github.com" ]
jesscapall99.noreply@github.com
05f77bf55f362c947875830112ac1b7baf13a757
118f14634ea34b6301f076cc0137272e2a683322
/store/migrations/0002_store.py
5faf770281abebb25befe598b0d8fbf90754fb2f
[ "MIT" ]
permissive
vollov/ecomstore
10fce347c100fcbaa86687a5738dcf57dba05fc9
ba9d7e6d74b29de2e3e9411a481248afdc172a40
refs/heads/master
2021-01-09T21:54:21.976982
2015-10-28T20:31:07
2015-10-28T20:31:07
45,086,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import uuid class Migration(migrations.Migration): dependencies = [ ('store', '0001_initial'), ] operations = [ migrations.CreateModel( name='Store', fields=[...
[ "dike.zhang@gmail.com" ]
dike.zhang@gmail.com
043e2c0866d46c3ddd37eb76fe44483a7ca5e30b
aa4024b6a846d2f6032a9b79a89d2e29b67d0e49
/UMLRT2Kiltera_MM/StateMachineElement.py
9e700e1b1b320c32953b3d9ae77e4000af6b9adb
[ "MIT" ]
permissive
levilucio/SyVOLT
41311743d23fdb0b569300df464709c4954b8300
0f88827a653f2e9d3bb7b839a5253e74d48379dc
refs/heads/master
2023-08-11T22:14:01.998341
2023-07-21T13:33:36
2023-07-21T13:33:36
36,246,850
3
2
MIT
2023-07-21T13:33:39
2015-05-25T18:15:26
Python
UTF-8
Python
false
false
3,875
py
""" __StateMachineElement.py_____________________________________________________ Automatically generated AToM3 syntactic object (DO NOT MODIFY DIRECTLY) Author: gehan Modified: Sat Aug 30 18:23:40 2014 _____________________________________________________________________________ """ from ASGNode import * from ATOM3T...
[ "levi" ]
levi