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
41e9b4afbab2d779f665fd3575b54ad8011ea7a8
60715c9ea4c66d861708531def532814eab781fd
/python-programming-workshop/interesting_programs/find_top_n_items_occuring_in_a_list.py
a80d1580bc755548d78d93a5e1a576fcfbf06feb
[]
no_license
bala4rtraining/python_programming
6ce64d035ef04486f5dc9572cb0975dd322fcb3e
99a5e6cf38448f5a01b310d5f7fa95493139b631
refs/heads/master
2023-09-03T00:10:26.272124
2021-11-01T08:20:52
2021-11-01T08:20:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# example.py # # Determine the most common words in a list words = [ 'look', 'into', 'my', 'eyes', 'look', 'into', 'my', 'eyes', 'the', 'eyes', 'the', 'eyes', 'the', 'eyes', 'not', 'around', 'the', 'eyes', "don't", 'look', 'around', 'the', 'eyes', 'look', 'into', 'my', 'eyes', "you're", 'under' ] from col...
[ "karthikkannan@gmail.com" ]
karthikkannan@gmail.com
2a745553b9c631a13ce660834e8b05dfce2df968
c839961aeab22795200d9edef9ba043fe42eeb9c
/data/script763.py
1b0213959badc4deafd6a607917ba8d0b1a00f22
[]
no_license
StevenLOL/kaggleScape
ad2bb1e2ed31794f1ae3c4310713ead1482ffd52
18bede8420ab8d2e4e7c1eaf6f63280e20cccb97
refs/heads/master
2020-03-17T05:12:13.459603
2018-05-02T19:35:55
2018-05-02T19:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,785
py
# coding: utf-8 # # Aim # This is a small yet useful kernel for providing an introduction to **Artificial Neural Networks** for people who want to begin their journey into the field of **deep learning**. For this, I have used Keras which is a high-level Neural Networks API built on top of low level neural networks AP...
[ "adithyagirish@berkeley.edu" ]
adithyagirish@berkeley.edu
033d868494a1885d332dd755e35485ada7a883c0
39f800b66f5c3c6d98fb41e5551cfb8c1959f4f3
/pyspark/test/bigdl/keras/test_load_model.py
0be15f22b02c895bcdbadf7b47c35b2496357bd4
[ "Apache-2.0" ]
permissive
GaryHalo/BigDL
ec523d13305880e9dde39d46cd9601eab5f277f5
987053d05fa55a685a25ac2e0ad17470433688fb
refs/heads/master
2022-10-30T20:11:51.622634
2021-04-21T02:14:37
2021-04-21T02:14:37
143,459,472
1
0
Apache-2.0
2022-10-05T00:10:17
2018-08-03T18:14:56
Scala
UTF-8
Python
false
false
4,683
py
# # Copyright 2016 The BigDL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ "noreply@github.com" ]
GaryHalo.noreply@github.com
492b3eeb310bb197c2e37049e101fdfd915fa423
090e58e3bc859fdaf57035f5823c2427211945df
/src/Linear_Distributed_Delay_System/Linear_Distributed_Delay_Stability_Analysis_Example.py
d0a026c7b711b0625b05f4f4ed9315fe4c56c97c
[]
no_license
WDash1/MMSC-Distributed_Delay
4a2708b90fe65412b7a9bc4f0a1020f6ad2ef641
71502409c1eba40385ff4f7f27e758d32ea44b0b
refs/heads/master
2022-12-12T05:39:44.300135
2020-08-23T09:02:41
2020-08-23T09:02:41
267,675,451
1
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
git diff --name-only --diff-filter=U import numpy as NP from pylab import figure, plot, xlabel, ylabel, legend, title, savefig import matplotlib.pyplot as plt from DistributedDelaySimulator import DistributedDelaySimulator; # The number of points we wish to use the Trapezium rule to discretise the # integral. n=20; ...
[ "William@ITSs-iMac.local" ]
William@ITSs-iMac.local
f48e3965f482d60c5e43a0c45060ceee144d79f2
1adbd4b6b9b56f3ca45d8f7d244280415183a2b3
/src/particle_filter.py
3dbcbe41e43764025d63250ec746173b3c792865
[]
no_license
shortstheory/RGBD-Tracking
d50258f3553d98302489c1a512c468648248493c
475a987b69ea7db6dacd88e97f0d121217533f37
refs/heads/master
2022-06-18T03:42:23.165484
2020-05-01T19:45:54
2020-05-01T19:45:54
255,496,271
3
2
null
null
null
null
UTF-8
Python
false
false
2,424
py
import numpy as np class PF: def __init__(self, init_pose, num_p = 10, cov = 0.1, model = "velocity"): ''' initialize the particle filter with num_p_ particles and velocity or acc model Inputs: 1. init_pose: initial pose obtained from first frame 2. num_p: number of particles 3. cov: covaria...
[ "arnav.dhamija@gmail.com" ]
arnav.dhamija@gmail.com
624dc6a10958ace519ad830e661c28a837ba12ed
ae63c9d81a11c4ab10d7a6bc723d1f3d94761abc
/upload/migrations/0004_auto__del_field_photo_file__add_field_photo_src__add_field_photo_pub_d.py
f6fe80cfdebe12ff97996dc048e5aa8b77d49a9a
[]
no_license
rif/blackbar
2fdc3cc57853cd0d49d1db65763090b0455b4e81
eae31830ab25c554a6160e19092188a24bb8c614
refs/heads/master
2022-11-29T12:44:18.815860
2017-07-07T07:07:22
2017-07-07T07:07:22
204,672,053
0
0
null
2022-11-22T00:20:09
2019-08-27T09:48:23
JavaScript
UTF-8
Python
false
false
5,549
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Photo.file' db.delete_column('upload_photo', 'file') # Adding field 'Photo.src' ...
[ "radu@fericean.ro" ]
radu@fericean.ro
de1498ab923433223a4a2d4502ba859c27e07d78
a81a1efe1a93d5af0ef3f6403862a1544befd6cf
/Array/54_SpiralMatrix.py
4186aa8310f613fd10f02a0a2bdcd644ad169971
[]
no_license
fishleongxhh/LeetCode
89da4ae3ca1715b1909c350437c0ba79eb2a8349
d0352fecc61396fc460e1350572189b175a13f61
refs/heads/master
2020-04-05T17:14:27.976946
2018-12-16T14:10:54
2018-12-16T14:10:54
157,050,997
1
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
# -*- coding: utf-8 -*- # Author: Xu Hanhui # 此程序用来求解LeetCode54: Spiral Matrix问题 def spiralOrder(matrix): if not matrix: return [] res = [] i, j = 0, 0 min_left, max_right, max_down, min_up = 0, len(matrix[0])-1, len(matrix)-1, 0 direction = 'right' while True: if direction == '...
[ "xhh1120132805@163.com" ]
xhh1120132805@163.com
35ab3a19e850bbe01e7c10a7b8760ea6d19c925e
e378277e270487668ec34e3aeb1e843d193f87ee
/scrap_site/urls.py
b12ee179860ea1ef94863d968d38cd3eef30159a
[]
no_license
simofirdoussi/Django-webscraping
f9516940d47d8a7e8a9f35dc6184ad1411e71fc4
f7f75cde707f2b44827fe5c6d9c230f9779404ec
refs/heads/master
2022-10-22T20:24:26.294367
2020-06-09T10:36:17
2020-06-09T10:36:17
252,498,354
3
0
null
null
null
null
UTF-8
Python
false
false
798
py
"""scrap_site 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-ba...
[ "simow@MacBook-Pro-de-Simow.local" ]
simow@MacBook-Pro-de-Simow.local
bba29c0aeb561e9cc5092213128b7a624854b703
ddac7feb045569ba059ec7a96874e94d86ed1feb
/python/course/douban/spider.py
b6b0dc6de66c736267ebd04dfc182b3bffe2945a
[ "Apache-2.0" ]
permissive
TimVan1596/ACM-ICPC
8d38e1843b40afe9294fd668e3e18ebc69e89bbf
b8d4e681b4b999cc025ac6d1d0357f0ccbaf092f
refs/heads/master
2023-08-14T07:58:20.340426
2022-08-20T16:33:59
2022-08-20T16:33:59
182,549,941
1
0
Apache-2.0
2023-07-22T03:45:01
2019-04-21T15:22:22
JavaScript
UTF-8
Python
false
false
1,578
py
# -*- coding:utf-8 -*- # @Time:2020/8/4 11:55 # @Author:TimVan # @File:spider.py # @Software:PyCharm import urllib.request, urllib.error # urllib:制定URL,获取网页数据 from bs4 import BeautifulSoup # bs4:网页解析,获取数据 import re # re:正则表达式,进行文字匹配 import xlwt # xlwt:进行excel操作 import sqlite3 # sqlite3:进行SQLite数据库操作 def main()...
[ "877020296@qq.com" ]
877020296@qq.com
c8e339c1b6310663e6035ac79c1f923100bb627e
d63ae7d6076d52477778e456388e5231147ef96a
/app/applications/repository.py
c2474352265c6fe2f56c762d7aa8be401d4bbf59
[]
no_license
oscarTematio/projet-back
6687f8b6a70a93e23372715a3a484ad943c3cb67
b3dd5d7b767aaa93b3ff62d4dca1502641e747e4
refs/heads/master
2020-06-07T06:21:08.490554
2019-06-21T15:47:41
2019-06-21T15:47:41
192,947,681
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
from .models import ApplicationModel from flask_sqlalchemy import SQLAlchemy from injector import inject class ApplicationRepository: """Persistence of applications""" @inject def __init__(self, db: SQLAlchemy): self._db = db def get_all(self): return self._db.sessio...
[ "oscar-miguel.tematio@PCP105.intech.lan" ]
oscar-miguel.tematio@PCP105.intech.lan
41523cb4cc1d648782d753058c682c1af1aa9015
1d1ff3dbce4035cc437d5b6a57800156b007e4e8
/.ycm_extra_conf.py
7e282807438b8dd6b39bf017f731aa9325bbd0f2
[]
no_license
osolong/vim-scripts
45fc5b211a3bb477e8bfc52546a490dd91b40778
a2a24a94842bfbfedfa6a9a79ff93c4f7233feb1
refs/heads/master
2021-01-18T17:25:44.245878
2014-07-16T20:59:37
2014-07-16T20:59:37
2,991,096
0
0
null
null
null
null
UTF-8
Python
false
false
6,415
py
# This file is NOT licensed under the GPLv3, which is the license for the rest # of YouCompleteMe. # # Here's the license text for this file: # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either...
[ "rafael.rodriguez@meigroup.com" ]
rafael.rodriguez@meigroup.com
dfcac23bda71dc7eb0f21a66c59fefefdf7f6041
c8d49e7ba66ccaaa31ea11dd097dbdd4c2f532ad
/jogo/urls.py
c7d2a321dc8af21f92d4769ee550c764a8e0ad68
[]
no_license
lucascastejon/lucas-jogodavelha
abd475dfba952f5167ee75bca5051cbaa37df120
9eb426c76b1d93fc2d92bafc02991a78b0d17c63
refs/heads/master
2021-01-22T22:57:43.645558
2015-05-31T04:01:08
2015-05-31T04:01:08
18,375,393
1
0
null
null
null
null
UTF-8
Python
false
false
235
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'', include('jogo.core.urls', namespace='core')), url(r'^admin/', include(admin.site.urls)), )
[ "lucascastejon@gmail.com" ]
lucascastejon@gmail.com
3f56c3f4cc60ed35eb0df059daae27c2af8b1e0f
52470638e2dd65049f9e7a31716b400acc21302a
/movie-system/testing.py
cefaf9fecc8bec19551a8e74829e9029d5e1e9d4
[]
no_license
asechnaya/-python-postgresql-
c9e1d5ba502077533a1aedbe35be58725e39df7c
8a6be2e3efd017f441ed3e7237943bbfa32532ef
refs/heads/master
2020-04-15T18:21:25.641526
2019-03-08T11:04:15
2019-03-08T11:04:15
164,910,686
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
import user from User import json with open('my_file.txt', 'w') as f: f.write('Hello, World!') with open('my_file.txt', 'r') as f: print(f.readline()) with open('my_file.txt', 'r') as f: json_data = json.load(f) user = User.from_json(json_data) ''' import sys my_vars = [] for i in range(3): my_...
[ "anutya@mail.ru" ]
anutya@mail.ru
96cecd7dd8ddb4ed96f5708602ad98e74a9c41d1
ef4eab407f24e04278db71db0da9306b7890dd91
/src/Algorithms/LeetCode/Arrays/34-findFistandLastPositionofElement.py
663d686a09c4a05060431d4341950e033ad9f6a9
[]
no_license
someonehan/Algorithms
aabda722d7124d9953e5151a45b786ac946a7d7a
4b3f584591952c769d5bfe2146c7043ef6e045b9
refs/heads/master
2021-06-09T14:27:47.588858
2021-04-06T15:23:21
2021-04-06T15:23:21
141,306,297
2
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
""" given an array of integers nums sorted in ascending order, first the starting and the ending position of a given target value. if target is not found in the array return [-1, -1] Example: input nums [1, 7, 7, 8, 8, 10] target = 8 return [3, 4] Example: input nums [5, 7, 7, 8, 8, 10] target = 6 return [-1, -1] """...
[ "hxzh@localhost.localdomain" ]
hxzh@localhost.localdomain
2e1fa2579cafb12827fa7579a57c7dfe4d844b71
8e18f7fe444040105b34703030029355641ddf2a
/standalone/udfs.py
c506e57ff17eca883c96f4b2738975123768d676
[]
no_license
smplisri/AdventOfCode2020
f24a2486a66b04857a6f6573626c23daf270de25
12b06508c840f3e44be54e4f5c785fb1d75d35ff
refs/heads/main
2023-01-31T02:47:44.519208
2020-12-16T04:50:14
2020-12-16T04:50:14
321,431,778
0
0
null
2020-12-14T18:57:36
2020-12-14T18:04:17
null
UTF-8
Python
false
false
969
py
import os def inputFileHandler(script_file_name, input_file_name): dir_path = os.path.dirname(os.path.realpath(script_file_name)) file_name = dir_path + "/" + input_file_name ifh = open(file_name, "r") return ifh def lineSepGroupFormatter(lines_list, delimiter, join_char): formatted_list = map(la...
[ "s.srinivasakalyan@gmail.com" ]
s.srinivasakalyan@gmail.com
32d7fc142d327a807d2b8c1585963888cc16f038
7b8fbf5b79b56428d3015e2b9130e82d4424f682
/menu/forms.py
5ea260b163c23113232c0760c5f2c98a793291fc
[]
no_license
chohanjoo/WebOrderSystem
6fb1e31f289ec4f88bfa93b144643317d562376d
1b90620b4b8d3a53b6c36a3636a75e8fb7e8442e
refs/heads/master
2022-12-11T08:53:59.316516
2019-06-17T08:04:15
2019-06-17T08:04:15
188,407,879
0
0
null
2022-12-03T11:44:18
2019-05-24T11:08:54
CSS
UTF-8
Python
false
false
572
py
from django import forms from .models import Menu, Category class MenuForm(forms.ModelForm): class Meta: model = Menu fields = ('name', 'price','image','category') # class MenuBoardForm(forms.ModelForm): # class Meta: # model = Menu # fields = ('name', 'price','image','cate...
[ "johanjoo@naver.com" ]
johanjoo@naver.com
837d7f156b75755d43c1273240b8db9dcbecab16
6649777d8f0b0e3e54c43669e46cd93baf0b4956
/underworld/units/cerberus.py
820b9226d4014fba09db1bd979abf2a468c842e7
[]
no_license
Lnk2past/underworld
5266e20468ff1ec67ad8a8134a7890f54e170403
04b5f43234a53ed8072a0ecc62d701d873193daf
refs/heads/master
2021-01-06T05:57:12.335451
2020-03-04T03:04:47
2020-03-04T03:04:47
241,229,241
0
0
null
null
null
null
UTF-8
Python
false
false
4,336
py
from underworld.event_manager.event_manager import global_event_manager from underworld.event_manager.triggers import * from underworld.units.base_unit import base_unit from underworld.units.other import bomber_rocket_rocket from underworld.modules import * from underworld.traits import * class sentinel(base_unit, sa...
[ "Lnk2past@gmail.com" ]
Lnk2past@gmail.com
d380d216484991a1eecc5857a84f6ae5d10474af
005340836278129a8f3d947c953792527fd34bee
/calculator1/mycalc10.py
40e913c2116f3ac6874b1cc6db990906ae627a3c
[]
no_license
Myoung-heeSeo/SoftwareProject2-KMU-2017
b8508652b787e41bb80f828d8c0cc22e956c5807
1c5f202306208f869c0d2e1f46a0468bb0341264
refs/heads/master
2020-09-05T00:13:40.945923
2019-11-06T06:58:28
2019-11-06T06:58:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,855
py
from PyQt5.QtCore import Qt from PyQt5.QtWidgets import QApplication, QWidget from PyQt5.QtWidgets import QLineEdit, QToolButton from PyQt5.QtWidgets import QSizePolicy from PyQt5.QtWidgets import QLayout, QGridLayout from keypad2 import numPadList, operatorList, constantList, functionList import calcFunctions class...
[ "noreply@github.com" ]
Myoung-heeSeo.noreply@github.com
3244b9e5e936800c4b69ed2a2614cb5fdf388dfb
77d13fa4a3beea42d460eb745dd854061578e095
/ship/fmp/datunits/initialconditionsunit.py
38f2cba61d8da27474a88c20e474c73c570b168a
[ "MIT" ]
permissive
duncan-r/SHIP
b2a899b393a6e5a10c0cbc580c12cf0dc7e60455
e8e7249a511d52b29d34be0951d6a05f346b836c
refs/heads/develop
2022-11-09T09:34:38.872270
2022-10-26T08:09:36
2022-10-26T08:09:36
55,844,064
6
6
null
2017-06-28T10:22:26
2016-04-09T12:51:32
Python
UTF-8
Python
false
false
11,400
py
""" Summary: Contains the InitialConditionsUnit class. This is a holder for all of the data in the initial conditions section of the dat file. Author: Duncan Runnacles Created: 01 Apr 2016 Copyright: Duncan Runnacles 2016 TODO: Not fully implemented at the momen...
[ "duncan.runnacles@ermeviewenvironmental.co.uk" ]
duncan.runnacles@ermeviewenvironmental.co.uk
091cc45d13b1fc09b094fe4c2213b177e322453f
01f4d411909aacc878b654f033a4bffe9136bb5f
/orangecontrib/wonder/widgets/wonder/ow_decrease_points.py
0ab19f65ce4f404d7e4d9e18ece9e33163afac52
[]
no_license
WONDER-project/OASYS1-WONDER
75cdf07c19b91f525835b9ea1280da63507cb142
cf6e3620f95c0b14c5c33d13161f615f2ac23b14
refs/heads/master
2020-12-19T04:17:43.660676
2020-03-04T23:59:48
2020-03-04T23:59:48
235,618,279
0
0
null
null
null
null
UTF-8
Python
false
false
7,135
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ######################################################################### # Copyright (c) 2020, UChicago Argonne, LLC. All rights reserved. # # # # Copyright 2020. UChicago Argonne, LLC. This ...
[ "lrebuffi@anl.gov" ]
lrebuffi@anl.gov
32c2c61016bb44f1e91f4977fa16d3d59d8750e3
c0df2f79f372c9599dddf83846b25e23600e4e55
/examples/ga/3d.py
1b6d741324bafb3716f2f4962bbd28940d4f3302
[]
no_license
mikbuch/pymri
548612acf42a41898a2370d48bdd9d02486b2b98
9be4d40dcb085ad3c92b2979d83f5918f1ad1624
refs/heads/master
2021-01-15T15:31:30.187858
2016-09-28T11:23:25
2016-09-28T11:23:25
41,487,163
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
import numpy as np from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import math def randrange(n, vmin, vmax): return (vmax - vmin)*np.random.rand(n) + vmin def fitness(x, y, category): if category == 1: z = x - y z = z + (1-z)/2 # z = x / math.sqrt(math.pow(x,...
[ "mikolaj.buchwald@gmail.com" ]
mikolaj.buchwald@gmail.com
c5f4ff0c5f04c5d1f06299bd126ff0522753cdec
58ca7d5c042572604023783040e4e5b11897242f
/profile_pbs_base/ipengine_config.py
e2164c20c8418932f0a856ee394756f1b8ec57ef
[]
no_license
rmcgibbo/ipython_parallel_profiles
25f54523687f66fe5bee320da8a62d39dfc9d6df
ca251b039bae1eadc7aa838d9a160adc3178a4f8
refs/heads/master
2021-01-15T10:19:26.176894
2012-08-17T05:39:02
2012-08-17T05:39:02
5,447,952
0
1
null
null
null
null
UTF-8
Python
false
false
227
py
from IPython.utils.path import expand_path c = get_config() # set working directory work_dir = expand_path('~/ipclusterworkdir') if not os.path.exists(work_dir): os.makedirs(work_dir) c.IPClusterStart.work_dir = work_dir
[ "rmcgibbo@gmail.com" ]
rmcgibbo@gmail.com
d2dc9e047ddd95ab1ded819bbe41f031122270da
62ccdb11daefaecc8e63f235c7519cc7594f705a
/images/google-cloud-sdk/lib/surface/compute/backend_services/create.py
bf00d9d770eec74c877aea318addb654f0159d98
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
hiday1979/kalabasa-mas
eccc869bfe259bb474f9d2a4dc4b8561a481f308
53a9818eb2a6f35ee57c4df655e7abaaa3e7ef5b
refs/heads/master
2021-07-05T16:34:44.962142
2018-07-10T10:22:24
2018-07-10T10:22:24
129,709,974
0
1
null
2020-07-24T22:15:29
2018-04-16T08:27:13
Python
UTF-8
Python
false
false
20,541
py
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "accounts@wigitech.com" ]
accounts@wigitech.com
928a332440c5e2aadd586ef2ceef6ed62ae0663b
c2aa88848a65eb657707dc4edcf5eefd7b059f08
/twitter_stream.py
4275e34ce5d00cefd3798c4ca5b9c680f098024b
[]
no_license
jorgecontreras/kafka
111619de698c9a86d4e70e3ce825044d9483cae4
32e46a6016eab7f23704c176eb27a1ca9c17fdc5
refs/heads/main
2023-03-21T22:31:43.287940
2021-03-14T22:38:48
2021-03-14T22:38:48
345,859,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
# TWITTER TO KAFKA PRODUCER # # This program will read a tweeter stream and create a Kafka producer from it. # import tweepy, json from kafka import KafkaProducer from time import sleep # twitter credentials consumer_key = "CONSUMER_KEY" consumer_secret = "CONSUMER_SECRET" access_token = "ACCESS_TOKEN" access_token_s...
[ "jrcr23@gmail.com" ]
jrcr23@gmail.com
e02a06586aa43081b713ad3d21709e807b830292
97bc1d18cfe06705c4208eff4eb0cc86238a12a5
/app/dashboard_app/views.py
e378b5bd122fbe76928116b0c4b9c917d8482449
[ "Apache-2.0" ]
permissive
ganggas95/E-Wisata
422ac1acd451c6f6d40d1ec5ff18de29cb890094
fb66fc7d3d4cc5a45ad9acea42fb306140a6449f
refs/heads/master
2020-03-24T20:01:33.828622
2018-07-31T03:14:36
2018-07-31T03:14:36
142,955,756
0
1
null
null
null
null
UTF-8
Python
false
false
314
py
from flask import ( render_template, views ) from flask_login import login_required class DashboardView(views.View): def __init__(self, template_name): self.template_name = template_name @login_required def dispatch_request(self): return render_template(self.template_name)
[ "subhannizar25@gmail.com" ]
subhannizar25@gmail.com
a450853a742044f8885b76f1cdf35648cafc0e4c
281d110466c050eaeeecb76cc8ceb63e81b22252
/codes/backend/mongo_accessor.py
59e889c628e85ce201d8755300e4f8d24ff50d89
[]
no_license
Greilfang/Amzaon-movie-analysis
be9e5d532a60b9f7d239df80c5d989d52463e33e
2e0f50f9d956f3518b64b8b944750ed5772ec2a4
refs/heads/master
2023-03-18T09:28:38.440523
2019-12-24T12:21:58
2019-12-24T12:21:58
223,198,531
1
1
null
2023-03-02T09:56:16
2019-11-21T14:55:35
Python
UTF-8
Python
false
false
4,973
py
import pymongo import json import os class IntroHandler: def __init__(self, addr='localhost', port=27017, base_name='Amazon-Movies'): # def __init__(self,addr='localhost',port=27017,base_name='Amazon-Movie'): self.client = pymongo.MongoClient(addr, port) self.database = self.clien...
[ "565222945@qq.com" ]
565222945@qq.com
f3ab31a5bb6beae5f2ca34e84ae948eaf94ae166
e2e130172767e061bad272429dfd9096540f85f7
/python-testing/checkout_kata.py
81622efa0786d9135d63733d7da2863cc0b06174
[]
no_license
seanmortimer/udemy-python
ee8033e4155d5ed8937d56d0ea793f2b7f56a6df
0acb93b079014adf1020926560595e3a137fd085
refs/heads/master
2023-04-12T23:20:30.423492
2020-07-20T08:26:24
2020-07-20T08:26:24
275,500,095
0
0
null
2021-04-20T20:28:08
2020-06-28T03:35:36
Python
UTF-8
Python
false
false
1,604
py
class Checkout: class Discount: def __init__(self, quantity, price): self.quantity = quantity self.price = price def __init__(self): self.prices = {} self.discounts = {} self.items = {} self.total = 0 def addItemPrice(self, item, price):...
[ "sean.mortimer@gmail.com" ]
sean.mortimer@gmail.com
d7e879f4af1622534ee8798a8f6c375c73f73e0d
b25b72df03b68f262b34ea3a8daa5ef4a26104de
/facereader1.py
ce3956c95971645bce473adeb0333fd2ecf53274
[]
no_license
16LeeSeul/FaceReader
961a83c7b840f76d2184421c642518b093264581
c3d0f05a423b78080433efc35c08e6af533162db
refs/heads/master
2020-06-02T00:46:34.460891
2019-06-09T09:01:54
2019-06-09T09:01:54
190,983,982
0
0
null
null
null
null
UTF-8
Python
false
false
17,165
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 10 22:45:32 2018 @author: BME """ import sys import torch import torch.nn.init from torch.autograd import Variable import torchvision.utils as utils import torchvision.datasets as datasets import torchvision.transforms as transforms import torchvision import matplotlib.py...
[ "tmf789@likelion.org" ]
tmf789@likelion.org
ba20ea31980447ed3f66403fce6e3d557a34b971
6583a0af3f0e1b2c7a4e0efdf6b946fc4e3b6009
/blog/D4DJ/read_movie.py
717e4666959d8a9eaf4c2682e47eb08db08c116c
[]
no_license
nasuika1/my-first-blog
87b3cdd9092512c0c91e029dce9173629b8e8c31
46c94d134712ad20483dc1c8d6c785cab45800c4
refs/heads/master
2021-06-21T15:26:08.154139
2021-05-17T21:06:54
2021-05-17T21:06:54
220,879,589
0
0
null
null
null
null
UTF-8
Python
false
false
21,704
py
import cv2 import os import numpy as np import csv class Note_Type: def __init__(self,color,region,n_name): self.color = color self.region = region self.n_name = n_name class Note: def __init__(self,min_value,max_value,color,name): self.min_value = min_value self.max_va...
[ "nasuika1@icloud.com" ]
nasuika1@icloud.com
0617378a687756f8866a77c1abb3d78b316dff95
43cbff554a9b7d06a761cb8e62276b6aaa5e7754
/src/old/text_vae_6.py
822a16d5dffbea8a2c27d2fe795c9d2bac4afa50
[]
no_license
an-seunghwan/vrae
7d0022ec31d2acd267ec38b99072574d60fe7690
6a8b7f7e65b439f89dd9317da3b3ee485bcc4b33
refs/heads/master
2023-01-09T11:52:01.201800
2020-11-09T11:50:18
2020-11-09T11:50:18
281,103,819
0
0
null
null
null
null
UTF-8
Python
false
false
15,796
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jul 16 14:29:42 2020 @author: anseunghwan """ #%% ''' - latent 공간의 분리 - mixture distribution - imputing missing words = 주어진 문장 형식에 빠진 부분 메꾸기 단, z의 정보를 반영하여 긍정, 부정 등의 특성을 나타내는 단어로 메꾸기 - beta(= sigma of continuous data) learning - categorical reparametr...
[ "dpeltms79@gmail.com" ]
dpeltms79@gmail.com
aab291f1cacaafadba65a903047532155d75d8f5
71ab28f41329457cbba8bd749c7e44768880d964
/experiments/suite/data/sachs/load_data.py
2c5abed5e92ba52b7c7a89eb59b7ed86879e96d2
[ "Apache-2.0" ]
permissive
diadochos/incorporating-causal-graphical-prior-knowledge-into-predictive-modeling-via-simple-data-augmentation
210a3382445d9e11a1594e6b26c788f21b8089bd
11eb7b4bb9c39672ece6177e321f63ce205e0307
refs/heads/main
2023-05-30T23:10:49.323396
2021-06-14T06:39:54
2021-06-14T06:39:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,735
py
import bnlearn import pandas as pd # Type hinting from causal_data_augmentation.api_support.typing import GraphType VARIABLES_REMOVED = [] def get_predicted_variable_name(): return 'PKA' def load_data(path: str) -> pd.DataFrame: DATA_RENAME = { 'raf': 'Raf', 'mek': 'Mek', 'plc': 'P...
[ "takeshi.diadochos@gmail.com" ]
takeshi.diadochos@gmail.com
fac8b4f5546ab26d53970a5f7f3ca0643c0446b0
c3297a96e0dacadba5fdd5c9b30a06794f6fd5d7
/base/urls.py
825610661687b46622a959dcfd1af8e7409bef5f
[]
no_license
craig-r-w/website
bac54f3598f270ea6812d2ddac9ae04496ce1f96
a73692da78bed5a67616df9785fc8eec5358128c
refs/heads/master
2023-08-31T05:33:19.951678
2021-07-07T15:30:54
2021-07-07T15:30:54
268,131,854
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
"""base URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "craigwilbourne@zoho.com" ]
craigwilbourne@zoho.com
16565fdd13096dd6115c8dc833e71a7cfc96815b
6d9af7eade7ddc239ee6839a3766cb40c27f619d
/src/main.py
c3ffaf19271d395c270b629dc07aaefc59bdb1a0
[]
no_license
lmj1029123/SingleNN
24dfe40c8d920e2a777742c885907c27484976f4
701752c3378e537387fa0dc2b410aec44577b7a3
refs/heads/master
2021-11-27T04:42:46.229290
2021-11-09T00:40:10
2021-11-09T00:40:10
246,651,678
7
2
null
null
null
null
UTF-8
Python
false
false
10,699
py
import sys sys.path.append("./SimpleNN") import os import shutil from ase.db import connect import torch from ContextManager import cd from preprocess import train_test_split, train_val_split, get_scaling, CV from preprocess import snn2sav from NN import MultiLayerNet from train import train, evaluate from fp_calcula...
[ "mingjie1@andrew.cmu.edu" ]
mingjie1@andrew.cmu.edu
df64e6c89083f39d1c9f7b60839bf17d8a58b3e6
1a258306d04da48964c9b10b31d543d10856e2e8
/DealWithTables/test.py
7233bd1a3b7c55b0475df3fc5daeb58e16f8f36d
[]
no_license
DIAOZHAFENG/simplework
1485727772908642d2cc4712e3afda2a3a499f3a
1b9cf12f0497f118bca9e633b4dab279039fa74e
refs/heads/master
2021-08-24T00:46:24.708984
2017-12-07T09:33:12
2017-12-07T09:33:12
113,014,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
# -*- coding: utf-8 -*- import time # from db_inconnect import MSSQL from servers import get_info get_ping_tables = ''' SELECT Name FROM SysObjects Where XType='U' AND Name LIKE 'UserPingListTable_%' ORDER BY Name ''' mark_test_ip = ''' update ip set Name = '{name}' where IpAddress = '{ip}' ''' get_n...
[ "513414712@qq.com" ]
513414712@qq.com
1f969d32266a2a1461f90074b270393360e66605
8a2e7242846a6d6d95f8d150738d5a7a9c8f96d7
/main/migrations/0023_order_status.py
e9f055d53fd6db443abf301c6599e278a21e8fae
[]
no_license
sidharth1017/Dreammarket
88ccb979014cc16469ec0f534734d415d96cb75e
52c03aeabd454d948b802613865197864f8d1aaf
refs/heads/master
2023-07-31T09:27:42.119763
2021-09-14T18:56:10
2021-09-14T18:56:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
# Generated by Django 3.1.7 on 2021-03-21 11:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0022_order'), ] operations = [ migrations.AddField( model_name='order', name='status', field=mod...
[ "sidharthv605@gmail.com" ]
sidharthv605@gmail.com
f7529a6c09b46c2d7f94c5330f76f204993ebe4b
3ae3489e63de992d504b6bf80e49469c195aa0d0
/mailmachine/mail.py
9166f0775f9c2e27264c2c6f16d6c48af121dceb
[]
no_license
paluh/mailmachine
81e218cf4b3352de266cb9685de02fd1e00d7f14
e3ad8a70b67c140d146cfc44c475a68278dc16ea
refs/heads/master
2021-01-17T13:12:42.779596
2020-03-19T20:16:12
2020-03-19T20:16:55
12,365,379
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
from __future__ import absolute_import from email.utils import formatdate import email_message import time def enqueue(mail_queue, subject, body, from_email, recipients, alternatives=None, attachments=None): mail_queue.put(subject=subject, body=body, from_email=from_email, recipient...
[ "paluho@gmail.com" ]
paluho@gmail.com
dc9f10739fa6306a29577835e9d7d18e3a409cc7
10b3f8b1bb2d43a053558e2974b1190ec5af9ab3
/test/functional/feature_loadblock.py
1078f70c1c56018d1ce056e74ae5a3588156a46e
[ "MIT" ]
permissive
Satoex/Sato
ff4683226c2cedb14203a86af68ae168e3c45400
fda51ccc241ca426e838e1ba833c7eea26f1aedd
refs/heads/master
2022-07-27T23:30:32.734477
2022-01-29T17:44:00
2022-01-29T17:44:00
346,001,467
6
8
null
null
null
null
UTF-8
Python
false
false
3,866
py
#!/usr/bin/env python3 # Copyright (c) 2017-2019 The Bitcoin Core developers # Copyright (c) 2017-2020 The Sato Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Test loadblock option Test the option to start a ...
[ "78755872+Satoex@users.noreply.github.com" ]
78755872+Satoex@users.noreply.github.com
ac16325e32d04380008cb982641765605f50d959
9ac405635f3ac9332e02d0c7803df757417b7fee
/bandas_eurobelt/migrations/0013_auto_20190801_2046.py
42051039e8faed86b51d878b396193648a4a306b
[]
no_license
odecsarrollo/07_intranet_proyectos
80af5de8da5faeb40807dd7df3a4f55f432ff4c0
524aeebb140bda9b1bf7a09b60e54a02f56fec9f
refs/heads/master
2023-01-08T04:59:57.617626
2020-09-25T18:01:09
2020-09-25T18:01:09
187,250,667
0
0
null
2022-12-30T09:36:37
2019-05-17T16:41:35
JavaScript
UTF-8
Python
false
false
409
py
# Generated by Django 2.2 on 2019-08-02 01:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bandas_eurobelt', '0012_auto_20190801_1806'), ] operations = [ migrations.AlterModelOptions( name='bandaeurobelt', options={'p...
[ "fabio.garcia.sanchez@gmail.com" ]
fabio.garcia.sanchez@gmail.com
3db904de747b7d0704639a3328746010003fc72d
58f8ac8ffec2d8c0dd561452d6335bb344707a5e
/venv/bin/django-admin.py
e3b39416210acd2d09d4766f302aca92fd9750d8
[]
no_license
Sheikh2Imran/corona19-graphQL
e255ed6fabf5f5044298edf0e3deb0ee1383656f
927d6771001dfac038cb61501cc81af5919709a7
refs/heads/master
2022-11-25T03:16:26.605685
2020-07-24T17:41:08
2020-07-24T17:41:08
253,882,941
0
1
null
null
null
null
UTF-8
Python
false
false
164
py
#!/Users/ergoventuresltd/Desktop/corona19/venv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "imranjustcse@gmail.com" ]
imranjustcse@gmail.com
3a88f0f40fb307b48c95ea8a48095acc6f6353b8
99bdfce39152daa7f1d6088be4e57f7962cb14b1
/notifications/sms.py
d4933f7fa447575a798fa6da097454a66aef43cf
[]
no_license
gusevartemasd/mypplanner-master
94f67142a57b7fc93e408eb256efb2f5b6bf2144
44a88e22b1eb4a1d789bee8811d06000078ea9b3
refs/heads/master
2020-04-23T15:20:42.876205
2019-02-18T10:19:30
2019-02-18T10:19:30
171,261,989
2
0
null
null
null
null
UTF-8
Python
false
false
581
py
from urllib.parse import urlencode import requests from django.conf import settings from django.template.loader import get_template def send_sms(phone, template, context): tpl_ns = '/'.join(['sms', template]) text = get_template('/'.join([tpl_ns, 'template.txt'])) sms_content = text.render(context) ...
[ "gusevartemasd@gmail.com" ]
gusevartemasd@gmail.com
dc8f95ac89ae5ed51bc0323cc90278c11846444a
d77fb68b1d5e3af068124c8c5e5af25207ef12f2
/Python14期课上代码(day1-day30)/day29/PerfectCRM/kingadmin/urls.py
2fd905cae29981c020857b0b9062c99896b9aabb
[]
no_license
sy106/s13
f4c2645e872fc4e60c4ac64776ba10ff97a6db8f
6371f3a782cf7292216dfb973741556c69513338
refs/heads/master
2020-07-20T18:56:40.615723
2018-02-02T09:32:20
2018-02-02T09:33:34
65,897,826
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
"""PerfectCRM URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/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') Class...
[ "sy106@126.com" ]
sy106@126.com
408ab2c050d1804ec19a89d53647617839d81fdd
c792b076cdf8c943c344d90b21817dd501c165ab
/programmers/Level2/후보키.py
8d42a17989ea96cbf6a6abe95e73dfc8efb0ee44
[]
no_license
Jdoublee/CodingTestPractice
d68afa38e64de67aa53ab8c6569e07e7b310a83d
83eb2b84f63d55808a5e9b014e023b72bf4a4e9e
refs/heads/master
2023-06-02T16:48:52.913402
2021-06-16T13:34:40
2021-06-16T13:34:40
290,072,409
6
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
from itertools import combinations # 조합 def solution(relation): answer = 0 col = len(relation[0]) row = len(relation) rem = [i for i in range(col)] res = [] i = 1 while i <= col: combs = list(combinations(rem, i)) # 가능한 조합 모두 구하기. 1개 ~ col개. -> 시간초과 안 나는 범위여...
[ "hyewon3429@gmail.com" ]
hyewon3429@gmail.com
e57b5ff3fa92a86d4242fa3d5b53e2757533c7a0
253363653815dbe51ffb9cc8f7b470bb1b4e7f90
/thermal_models/k_spectral.py
9f3dc8742705400bbc30ba2504a03a3cb0a8d2f0
[]
no_license
RamyaGuru/Single-MultiBandModel
767ae3900f2591086239110c496f9fc382cbf5ea
bdd29f38c6668ac44419eac0cf7233d45f1f084b
refs/heads/master
2021-07-22T00:14:57.615495
2021-07-08T19:36:00
2021-07-08T19:36:00
254,430,054
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jun 4 09:14:04 2021 @author: ramyagurunathan Silicon spectral thermal conductivity """ ''' constants ''' from math import pi as pi kB = 1.38E-23 hbar = 1.054E-34 Na = 6.02E23 ''' Silicon values ''' vs = 6084 T = 300 a = 2.7e-10 grun = 0.56 atmM = ...
[ "ramya1006@gmail.com" ]
ramya1006@gmail.com
c74df65958d4ad2bfccfacfc541f05c9a3e3ad24
30e26d4376d2d233be7b6acb45516a8e873a65db
/pycurl_requests/models.py
048cc9e98b95e7debfb3a43f1477553e130fcb78
[ "MIT" ]
permissive
chibie/pycurl-requests
53a658aa39058dc538d36f42b7b087b96baa2a96
66ee39e2d357f0e91d1e9bfb7a2e3339aaa11aef
refs/heads/master
2022-08-24T00:45:39.322652
2020-05-29T05:43:36
2020-05-29T05:43:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,384
py
import codecs import datetime import io import json as json_ from collections import abc from urllib.parse import urlsplit, urlunsplit, urlencode, parse_qsl, quote from io import BytesIO from typing import * import chardet from pycurl_requests.cookies import RequestsCookieJar from pycurl_requests import exceptions fr...
[ "coles.david@gmail.com" ]
coles.david@gmail.com
5fc4c383cc710de67fea02c946439b51e1d2d0a9
2d9365671b746e17097ed15efd67c25053f4f2d9
/setup.py
304fb7d7fd8c1ee07f8cb0a4a66353041d461f6a
[]
no_license
stargliderdev/registos_paroquiais
3012e154befd4bbf1ddc4244f915865a8717f4e3
73444ed7668dc7a1fa357aa10c47c93015eae5aa
refs/heads/master
2020-12-20T20:59:00.210240
2020-01-25T18:12:41
2020-01-25T18:12:41
236,209,037
0
0
null
null
null
null
UTF-8
Python
false
false
3,742
py
# ======================================================== # # File automagically generated by GUI2Exe version 0.5.1 # Copyright: (c) 2007-2011 Andrea Gavana # ======================================================== # # Let's start with some default (for me) imports... from distutils.core import setup from...
[ "stargliderdev@gmail.com" ]
stargliderdev@gmail.com
0edcf86b0f495c20df193852fb974f68195218f7
1a22bee5a01e5aa4ddf5a5d2b24f0139ba261d75
/interactive-build-guide/raw/build_guide.py
5f9af12392fdd8d91ec0bf1c301befcd1ab8c656
[]
no_license
ffont/ddrm-tools
961af7a0614ac3e3c76c7ca962397fd8af597e46
472e06bb7033e6df2bcb86bf1a8307ed9110855e
refs/heads/master
2022-03-26T10:01:30.552437
2020-09-08T11:30:34
2020-09-08T11:30:34
141,696,341
3
0
null
2022-03-01T23:42:54
2018-07-20T10:03:59
JavaScript
UTF-8
Python
false
false
551
py
import os import shutil from collections import defaultdict outdir = 'out' index = defaultdict(list) import re exp = re.compile(r'[0-9]x[0-9]') for filename in os.listdir('.'): if filename.endswith('.jpg') and not exp.search(filename): board, number, name = [elm for elm in filename.split('_') if elm][0:3] numbe...
[ "frederic.font@upf.edu" ]
frederic.font@upf.edu
a9b548e829889ce8f1507dcc2f013e7e1a205c68
202be9ce15e7e41bad55e6bbe4d0c941ecbb6781
/1015 德才论.py
a6c87a2b4866593f98692848aacc2428f1c12c4f
[]
no_license
junyechen/Basic-level
ae55ab4e13fd38595772786af25fcc91c055f28c
a6e15bc3829dfe05cefc248454f0433f8070cdfb
refs/heads/master
2020-04-29T08:01:21.936408
2019-07-06T04:16:14
2019-07-06T04:16:14
175,972,034
1
0
null
null
null
null
UTF-8
Python
false
false
3,481
py
#宋代史学家司马光在《资治通鉴》中有一段著名的“德才论”:“是故才德全尽谓之圣人,才德兼亡谓之愚人,德胜才谓之君子,才胜德谓之小人。凡取人之术,苟不得圣人,君子而与之,与其得小人,不若得愚人。” #现给出一批考生的德才分数,请根据司马光的理论给出录取排名。 #输入格式: #输入第一行给出 3 个正整数,分别为:N(≤10​5​​),即考生总数;L(≥60),为录取最低分数线,即德分和才分均不低于 L 的考生才有资格被考虑录取;H(<100),为优先录取线——德分和才分均不低于此线的被定义为“才德全尽”,此类考生按德才总分从高到低排序;才分不到但德分到线的一类考生属于“德胜才”,也按总分排序,但排在第一类考生之后;德才分均低于 H...
[ "chenjunyeword@outlook.com" ]
chenjunyeword@outlook.com
7fe6d72d895363d88d2dfb0cd48dbe3f3769d8e9
fe842b9f42c1b1112c2a0f9f934d3b3360b97957
/backend/app/alembic/versions/13d5b7bf4214_add_chinook_models.py
78b9b146a0565a4562930fe826f9c60ede0c3e5c
[]
no_license
JayGitH/SQLacodegen-FastAPI
138d494aca29f426cbeadda81dda773003a4e094
80af2a402366806d257f6f9cd163abc20b34d1c6
refs/heads/master
2023-03-16T04:54:07.649103
2020-06-19T04:12:52
2020-06-19T04:12:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,072
py
"""Add chinook models Revision ID: 13d5b7bf4214 Revises: b7f884f5fc23 Create Date: 2020-06-17 22:23:58.202580 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '13d5b7bf4214' down_revision = 'b7f884f5fc23' branch_labels = None depends_on = None def upgrade(): ...
[ "evv@alum.mit.edu" ]
evv@alum.mit.edu
0f59f0691cf22570a0967631f2f5876793a49327
345c5fcbc995c47b12e5afe2a5d62e437dab937e
/Camera.py
404803eeef858137157399f14a7721f156e057c1
[]
no_license
apuly/Nobodys_Watching
18a257c720d2f3677c8c3e7d2f12a3cf86473264
55dcb34569bb415e9e6d821746ea44bfe8b768e8
refs/heads/master
2020-03-17T05:45:07.715582
2018-08-07T09:52:22
2018-08-07T09:52:22
133,327,499
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
from abc import ABC, abstractmethod import cv2 as cv import urllib.request as request import base64 import numpy as np class Camera(ABC): @abstractmethod def read_image(self): pass class URLCam(Camera): def __init__(self, url): self._url = url def read_image(self): req = req...
[ "paul@bersee.nl" ]
paul@bersee.nl
0c4dc595e48ce2a6399cc0fb39d7cdcb43412ef9
da893fbeedfc197a74c96b380a0cb2f22a81917c
/Cpg_island.py
ae36d5d566b8368501af2af60cceeb2ccbe7688d
[]
no_license
MeenakshiAnbukkarasu/CpG-Island
dc9dc3c376f64cb1243bb2f846669be3c047421a
3ed09aab94608827ec88a83128da2aabe37f1c4c
refs/heads/master
2020-04-04T18:12:40.914385
2018-11-05T03:41:51
2018-11-05T03:41:51
156,154,386
0
0
null
null
null
null
UTF-8
Python
false
false
9,351
py
# NAME: hmm_example.py import numpy as np import pandas as pd import networkx as nx import matplotlib.pyplot as plt #matplotlib inline """ A Markov chain (model) describes a stochastic process where the assumed probability of future state(s) depends only on the current process state and not on any the stat...
[ "noreply@github.com" ]
MeenakshiAnbukkarasu.noreply@github.com
72689bcea781c0e5d7a7fc60ce1159c980987af9
2b9bcdd45c70f9029d3469899a4d716c245a0146
/rename_files.py
be12ecd8379a66e49cc2450c54781a1a6e51857d
[]
no_license
tatbikat/Pytutos
599de36db52f15307a248e14ae715784b1eec2d5
da9d9d787265b8ef244cfac881529431398d44c0
refs/heads/master
2021-04-06T18:32:03.564015
2018-04-13T06:52:10
2018-04-13T06:52:10
125,377,384
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
import os os.chdir('Z:\Marketing\Videos') for f in os.listdir() : f_name,f_ext = os.path.splitext(f) #print(f_name.split(' ')) f_num, f_title = f_name.split('- ') f_title = f_title.strip() f_num = f_num.strip()[0:100].zfill(2) new_name = ('{} {}{}'.format(f_num, f_title, f_ext)) os.rename(...
[ "bas2nagy@hotmail.com" ]
bas2nagy@hotmail.com
2c70c2d2c2b147d59749853a4dfcffa6eccb4c91
7bb75e8560afc65ff77f198ac02d1f65253762f4
/Gazebo_ROS/catkin_ws/build/catkin_generated/generate_cached_setup.py
42ce7e26a04be48aba44b398d40858af164bab5b
[]
no_license
maxwellalexgordon/Autonomous-Intersection-Research-
98f8509230e6fa25653e2920e7a5a1b78f449729
7ef55399ddace95f1089018bda7ebf750616613e
refs/heads/master
2020-12-10T16:50:04.526986
2020-04-09T18:38:52
2020-04-09T18:38:52
233,649,244
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "maxwellalexgordon@gmail.com" ]
maxwellalexgordon@gmail.com
201f4d8f69f22e1cb40d58bc0d586fecce461e43
3935529ff3b09431f48e092f9bc31f473d4be1e7
/PYTHON/ceng 434 -DATA COMMUNICATIONS AND NETWORKING/term project part1/ExperimentScripts/ExperimentScripts/exper_d.py
9dfb867ceb5c6eb28c38f00d6489dcc412c98503
[]
no_license
emrahkosen/Programming-Languages
23e0c1590e791e4d04ab9932a4675ed2f0e6852d
8e38c82344643b819e5d52ee8bbf934bb57af93e
refs/heads/master
2022-12-20T21:03:09.089656
2020-12-30T09:59:10
2020-12-30T09:59:10
166,031,713
0
0
null
2022-12-12T20:04:51
2019-01-16T11:50:12
C++
UTF-8
Python
false
false
3,541
py
#!/usr/bin/python import threading import thread import socket import time f=open("routelist.txt", "r") thisIndex = 4 #which host UDP_IP = [ [0 ,"10.10.1.2","10.10.2.1" ,"10.10.3.2" ,0], ["10.10.1.1",0 ,"10.10.8.2" ,0 ,"10.10.4.2"], ["10.10.2.2","10.10.8.1",0 ...
[ "noreply@github.com" ]
emrahkosen.noreply@github.com
e8d055c5841edf710ebc345263b13e6c6b097124
256f322c70bab8b77266bcb2b9e4b0e2eeb169f9
/shs/wsgi.py
be6437fad393bd8dbad3b74d7d22359b017a0461
[]
no_license
stajama/Secret-Hitler-Server
c4337e7da73d95324be6ef71e88af5edef8b2bdf
988e0ee0a2c81a60711bc1cc04307635e4b59eac
refs/heads/master
2022-08-15T22:29:28.018148
2018-04-27T04:42:00
2018-04-27T04:42:00
124,625,887
0
0
null
2022-07-06T19:46:56
2018-03-10T05:38:11
Python
UTF-8
Python
false
false
383
py
""" WSGI config for shs 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/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_...
[ "stajama@gmail.com" ]
stajama@gmail.com
08d63a83fd62fb584f9dac8b5ce43b058372e3b2
807d842325d62319ff98d539e559df9bbae68ee1
/config.py
54f8a401deeecb344dd01fe27c1348f764383bb5
[]
no_license
AndrewVasilevskii/exc-power-supply
41d3f0e19dfc80f165c264abb33537349202476d
67e137426a95e7cf674cccb7c503b6bf69c258da
refs/heads/master
2020-09-14T21:31:04.113475
2019-11-21T20:48:11
2019-11-21T20:48:11
223,262,468
0
0
null
null
null
null
UTF-8
Python
false
false
7,454
py
APP_NAME = 'ExDPowerSupply' CONFIG_FILE_NAME = 'userConfig.ini' position = 300,150 childFrameDisplacement = 40,60 positionInPercent = 0,0 expandSize = 660, 500 decreaseSize = 660, 160 portSettingsSize = 410, 300 grapgSettingsSize = 710, 300 chSize = (40, 20) timeToAppear = 125 autoConnect = True savePosition = Tr...
[ "andrew.vasilevskii@gmail.com" ]
andrew.vasilevskii@gmail.com
69e678bd25b69f2768e4642e525cdd18b0358859
1cc868f3beebd9b875f2d5a1c533a06875800db7
/Python/Cisco_pyATS/pyats_env/lib/python3.6/site-packages/ansible/cli/arguments/option_helpers.py
dc3a88b53cbf791ccb0178b97891bcd00ef7d035
[]
no_license
Saby2002/arinsnetwork_Automation
4dc2b933deefe9317f73143e5998aa3749f518d7
f77ab7f2e849a6ca5247f7b3eb171a4362a7423b
refs/heads/master
2023-06-25T21:44:18.783505
2021-07-26T19:09:56
2021-07-26T19:09:56
389,741,652
0
0
null
null
null
null
UTF-8
Python
false
false
17,375
py
# Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type import copy import operator import argparse import os import os.path import sys import time import...
[ "arin@arinsnetwork.com" ]
arin@arinsnetwork.com
7d2b33a086a30db63febd6257723fcb552dec508
6cc700408356f8574d7c036828ef47e14bbfe210
/model/FaceAlignment3D/bfm.py
d9fc06335cc776b7f8151c87fdf0e3ee4140c18e
[ "MIT" ]
permissive
bubingy/HeadPoseEstimate
81307da9a29f68fe92e82eea57c8b1a8ffea94ec
bfc6bfecc7269d63a83fc4db37de76fba44f9577
refs/heads/main
2023-09-05T09:04:24.603001
2021-11-16T02:03:30
2021-11-16T02:03:30
309,602,708
45
4
null
null
null
null
UTF-8
Python
false
false
1,145
py
# coding: utf-8 __author__ = 'cleardusk' import sys sys.path.append('..') import os import pickle import numpy as np SCRIPT_HOME = os.path.dirname(os.path.abspath(__file__)) def _to_ctype(arr): if not arr.flags.c_contiguous: return arr.copy(order='C') return arr class BFMModel(object): def...
[ "769004837@qq.com" ]
769004837@qq.com
4809bbca43bdc1f670954e2cf37ca605b33ce402
3b46b6d9d3f4f67ae6876add492cb13bd3d79b4b
/wordcount/settings.py
a19e61c0f2dda2534f055651081e91801be20390
[]
no_license
girinabin/wordcount
d76ad4aeee1c012a2d6bb77739056740dcb0fd7d
5570d2c8ff33206ca44608838575cf30b4ae9965
refs/heads/master
2020-05-03T13:37:39.449840
2019-03-31T07:38:52
2019-03-31T07:38:52
178,657,720
0
0
null
null
null
null
UTF-8
Python
false
false
3,107
py
""" Django settings for wordcount project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "giri.nabin1994@gmail.com" ]
giri.nabin1994@gmail.com
cf184f3ea14e19e885441844ff0389b8a44a86b6
ef7eabdd5f9573050ef11d8c68055ab6cdb5da44
/topCoder/srms/400s/srm444/div2/four_blocks_easy.py
adf0b528de9ac3ebd503d194d293994285d1b77e
[ "WTFPL" ]
permissive
gauravsingh58/algo
cdbf68e28019ba7c3e4832e373d32c71902c9c0d
397859a53429e7a585e5f6964ad24146c6261326
refs/heads/master
2022-12-28T01:08:32.333111
2020-09-30T19:37:53
2020-09-30T19:37:53
300,037,652
1
1
WTFPL
2020-10-15T09:26:32
2020-09-30T19:29:29
Java
UTF-8
Python
false
false
303
py
from itertools import groupby class FourBlocksEasy: def maxScore(self, grid): s = 0 for k, g in groupby(zip(*grid)): t = len(list(g)) if k == ('.', '.'): s += (t/2) * 16 + t%2 * 2 else: s += 2 * t return s
[ "elmas.ferhat@gmail.com" ]
elmas.ferhat@gmail.com
de6f5e995f30cab05aeec0095428f649013ae77b
4d01b0674072bf6ab817cd28d8a137d70ade68d3
/tzlink/preprocessing/overlap.py
088bd87748165ed15939710950e629f038552188
[ "BSD-3-Clause" ]
permissive
lfurrer/tzlink
84f60ae90ddebff37282e7f0506dcacaf0d5c13c
0fd09a4c48d73cbd51e8f1628628812a74f209a7
refs/heads/master
2022-11-27T22:52:51.160758
2020-07-30T10:37:12
2020-07-30T10:37:12
132,708,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
#!/usr/bin/env python3 # coding: utf8 # Author: Lenz Furrer, 2018 ''' Overlap between token sequences. ''' from .tokenization import create_tokenizer from .stem import PorterStemmer class TokenOverlap: ''' Compute token overlap between two texts. ''' def __init__(self): self._tokenize = c...
[ "Lenz.Furrer@gmail.com" ]
Lenz.Furrer@gmail.com
f8069a85e534c0df65b75245b29e7cbb228285bf
dfbde5609fc18e7641a1004d7ecf55648fcfebd5
/server/snippets/urls.py
4d73b69e8f991c7c4fb0d51996cc0f0a942220b5
[ "MIT" ]
permissive
ildoc/ildoc.it_django
93b19a9ef67b6521be90c8e4baadeaad0a5a7802
3f9582a9e9e74877f37aa739be147cfada01d99e
refs/heads/master
2021-06-01T18:13:04.707625
2016-08-23T14:00:03
2016-08-23T14:00:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns from . import views urlpatterns = [ url(r'^$', views.SnippetList.as_view()), url(r'^(?P<pk>[0-9]+)/$', views.SnippetDetail.as_view()), url(r'^users/$', views.UserList.as_view()), url(r'^users/(?P<pk>[...
[ "filippo.giomi@gmail.com" ]
filippo.giomi@gmail.com
ba46cd97d7765c543c37f8ae7976c0dbe1b8a5bf
c0668407f94cad329a31169e57e970df0e8c3c57
/test/functional/feature_nulldummy.py
49fd54bc4c7f30c53ed6853fdb3112743a9b0b5b
[ "MIT" ]
permissive
crypTuron/mocha
5d7ad9befdcba88e717d4e91d094400f1f158f12
e3d6c6d13ef7c5aa918ccc44770f22138835b336
refs/heads/master
2022-09-23T15:10:05.410444
2020-05-31T21:04:52
2020-05-31T21:04:52
269,326,681
0
0
NOASSERTION
2020-06-04T10:15:09
2020-06-04T10:15:08
null
UTF-8
Python
false
false
5,889
py
#!/usr/bin/env python3 # Copyright (c) 2016-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test NULLDUMMY softfork. Connect to a single node. Generate 2 blocks (save the coinbases for la...
[ "root@0912356.localdomain" ]
root@0912356.localdomain
9471c05cb11258d5263d62d08f2d9cde21643fa2
327540dcd6a4596a8bd47b4b92fd98b8d8b2f67d
/FinMate-master/Finmate/urls.py
0241df14c2a7191e827f1ed28e6d189e4e8e5272
[]
no_license
el-Catedratic/finmate
9af52af5d338dd50997d575f456e4c99ad431889
61491f063588389e8fe8d43124f10043bc53e01c
refs/heads/master
2023-06-16T18:18:31.785150
2021-07-17T14:44:40
2021-07-17T14:44:40
377,436,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
"""Finmate URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "akhil9167782208@gmail.com" ]
akhil9167782208@gmail.com
8213c42ce759c7be9b20326180bc58947dc6ed45
5635674f48e13d0de604ec4d141f24a5aff39472
/FindCharacterFace/google.py
1ac1235c3e54f07157bf86ed26f8848ee747076a
[]
no_license
wisteria204/FullstackPrac
957e3c2a4d7d6751735ef84e38a6f6a5ad2d430c
83b97a1f552c1bca3d1bc5062c02a0a63fa35108
refs/heads/main
2023-03-22T11:18:09.512672
2021-03-24T21:55:34
2021-03-24T21:55:34
344,835,718
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import time import urllib.request import os name = "아야세 에리" if not os.path.isdir('./{}'.format(name)): os.mkdir('./{}'.format(name)) driver = webdriver.Chrome() driver.get("https://www.google.co.kr/imghp?hl=ko&ogbl") elem = driver.fin...
[ "wisteria204@naver.com" ]
wisteria204@naver.com
f012aba5c3e5bcf074da3520052561b9b51960f6
7d3d0d89712228179366e9b7cf1d0dcc9b15f57c
/app_juego/migrations/0004_auto_20210828_0221.py
db5d53740fa07663a125218f1dd8eb7cb90d2c37
[]
no_license
informatorio2021com06/proyectoInfo
1cf95552b15035f9cd289826187fd611b35dbb07
f8716ecc9096e05b0153b11545da86c06a2408cd
refs/heads/master
2023-07-14T06:36:16.667857
2021-09-03T01:01:02
2021-09-03T01:01:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
# Generated by Django 2.2.5 on 2021-08-28 05:21 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app_juego', '0003_auto_20210828_0139'), ] operations = [ migrations.AlterField( model_name='pre...
[ "danulucas44@gmail.com" ]
danulucas44@gmail.com
ee1c33af20b9cbad0b3a102d83eb2198eccecbc9
c8a306fa252aa54e8399e41fa420d776ea3eb8cc
/webStands/settings.py
a1e9e3dad3626aeee59bae168a46a3c0598a1f7a
[]
no_license
bytsur01/webStands
755990de7e76baa0a041360293d656206337afdc
3fb2f3dc61d2e6836e6e1cd6772032f084c3974f
refs/heads/master
2021-02-28T00:21:48.464768
2020-02-28T10:11:46
2020-02-28T10:11:46
245,647,468
0
0
null
2020-03-07T14:29:20
2020-03-07T14:29:19
null
UTF-8
Python
false
false
3,201
py
""" Django settings for webStands project. Generated by 'django-admin startproject' using Django 3.0.3. 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 ...
[ "54931596+ACphil@users.noreply.github.com" ]
54931596+ACphil@users.noreply.github.com
b2f62ea0473aa5b1ff000592d8e716dd96c54c27
1c0158145cbc7afa9b969b739f7e3507b73276a4
/packages/OpenCV/nodes/OpenCV___ImageBlend0/OpenCV___ImageBlend0___METACODE.py
40b58fc20bd8689187a4f191daf90c799716de40
[ "MIT" ]
permissive
farukdemirbas/pyScript
cc3726d0de730234d4f36ba535532b9306e3c971
89139615f95c86178cfdb072945942de3be405b7
refs/heads/master
2023-08-03T12:26:58.328450
2020-06-04T09:26:04
2020-06-04T09:26:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
from custom_src.NodeInstance import NodeInstance from custom_src.Node import Node import cv2 # USEFUL # self.input(index) <- access to input data # self.outputs[index].set_val(val) <- set output data port value # self.main_widget <- access to main widget class %NODE_TITLE%_...
[ "miskimit@gmail.com" ]
miskimit@gmail.com
c1a5ecf3bfefbe8d4be1281c68120ce3451f3ff2
1626e16760c9c5b5dc9bd7c345871c716d5ffd99
/Problems/1000_1099/1054_Distante_Barcodes/Project_Python3/Distant_Barcodes.py
b1f63038f324314e1669142ea896010e68adf714
[]
no_license
NobuyukiInoue/LeetCode
94ddb19e63cb8d0775cdc13f311fe90c87a1d718
3f0ffd519404165fd1a735441b212c801fd1ad1e
refs/heads/master
2023-09-01T07:38:50.939942
2023-08-23T09:51:17
2023-08-23T09:51:17
158,100,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
# coding: utf-8 import collections import os import sys import time class Solution: # def rebarcodesangeBarcodes(self, barcodes: List[int]) -> List[int]: def rebarcodesangeBarcodes(self, barcodes): # 440ms i, n = 0, len(barcodes) res = [0] * n for k, v in collections.Counter(barc...
[ "spring555@gmail.com" ]
spring555@gmail.com
b0a676978bcc1843449b5466560c8edb938cd098
b08e84c92ce41147432ba65c403f63faf82f582e
/0-Fontes/DataMiningSamples-master/3-Classification/KNN.py
c9c8181711704b22ad9f6ff6868e15efb3b03a9f
[]
no_license
iuri-ramon98/DataMining
3fb605ab91b6c84aa4fe2399389203630e229786
d7fa55efcf43f2969378d610ef15aeba9c80375b
refs/heads/main
2023-06-08T13:10:01.147012
2021-06-23T07:01:00
2021-06-23T07:01:00
351,201,554
0
0
null
null
null
null
UTF-8
Python
false
false
5,239
py
# Initial imports import itertools import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.metrics import accuracy_score from sklearn.metrics import f1_score from sklearn.metrics import conf...
[ "noreply@github.com" ]
iuri-ramon98.noreply@github.com
75f04de7f68c82753200c5d88844b72f84790ef1
77fdfa980f6d923d8fccb7eefdcadadad6f7cdcc
/main/views.py
5afb7b921a77976a693494ab466616ad3a201a63
[]
no_license
joegotflow83/tdd_blog
fe72657a361a6203bcebc1ff64a831c3c307e871
254d44de3037bfaeee4495c6a1620afbfe87c7fb
refs/heads/master
2021-01-18T18:42:11.594528
2016-07-31T00:20:44
2016-07-31T00:20:44
63,269,446
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
from django.views.generic import TemplateView, ListView, DetailView from django.views.generic.edit import CreateView from django.core.urlresolvers import reverse from .models import Post class Home(TemplateView): """Home page when users login""" template_name = 'main/home.html' class CreatePost(CreateView)...
[ "joe@absolutod.com" ]
joe@absolutod.com
cabe79e959383cbe05e5fad5155996245729f80f
fd62676eec4e84fd450ffac3024a68a07bc45645
/Ejercicios-01/Datos-_compuestos-05.py
237e4af07269dbe91896ad20dc92136006b9d5c4
[]
no_license
FidelNava2002/Actividades-de-python
086040aa2b1c4a136f4cdb9721d2198421c1da4c
d4cec969fc3eb7398490470ad6547f17a69dfa5f
refs/heads/main
2023-03-09T15:24:28.681531
2021-02-28T21:37:47
2021-02-28T21:37:47
340,786,879
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
"""5.- Proponer una representación con tuplas para las cartas de la baraja francesa. Escribir una función poker que recibe cinco cartas de la baraja francesa e informe (devuelva el valor lógico correspondiente) si esas cartas forman o no un poker (es decir que hay 4 cartas con el mismo número).""" import sys cartas=('...
[ "fidelnava2002@gmail.com" ]
fidelnava2002@gmail.com
4c51e20ce07d04dc6653490b0e053574ca63e9f0
e3a86afd44cd9034fc1cca716850b1a90c86a860
/FeatureCode.py
bed1209a1014b25a9a87ad11c59541af033d13bb
[]
no_license
DumasDED/push-pin
9aa940f1e72a09e226f976837d8f8c63e520e1bb
e39851ae4f1ec5b6b0cc2aa11a7c15f343566ed4
refs/heads/master
2021-06-23T10:54:46.791036
2017-09-01T11:59:30
2017-09-01T11:59:30
100,262,204
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
from enum import Enum class FeatureCode(Enum): ADM1 = 1 ADM2 = 2 ADM3 = 3 ADMD = 4 PPLC = 5 PPLG = 6 PPLA = 7 PPLA2 = 8 PPLA3 = 9 PPLA4 = 10 PPL = 11 PPLX = 12 PPLS = 13 PPLL = 14
[ "DDumas@enstoa.com" ]
DDumas@enstoa.com
b185bb8e94f7fe10a35b1fa4729d3fc7a3d7cd50
46a624e335783f9035f14e8d5a1f7c1d76fdf69a
/python/tempest/shaders/__init__.py
df75956e46449e7d09d8629cf903ddb43445b890
[]
no_license
tymonpitts/game_test
cc04fccef2e54112de578e37db92870e3fd4c2d3
b40ef729353205a9751b1f975f8a487e24286bf9
refs/heads/master
2021-01-18T18:30:36.789779
2020-05-31T04:19:57
2020-05-31T04:19:57
22,335,441
0
0
null
null
null
null
UTF-8
Python
false
false
4,910
py
import os import glob import re import game_core from OpenGL import GL from OpenGL.GL.shaders import compileShader def init(): shaders_dir = os.path.abspath( os.path.dirname(__file__) ) frag_shaders = {} for frag_shader_path in glob.iglob('%s/*.frag.glsl' % shaders_dir): name = re.sub( r'\.frag\.g...
[ "tpitts@wetafx.co.nz" ]
tpitts@wetafx.co.nz
6e5fdd9b62863d4f27ad3514f5747fbd039a0174
bb5f99ca25c3ba11c01227367dd4eb0995a237bb
/csc 121/Chapter 9/Nicolas_DeJohn_9-5_Lab.py
fdeb3ff49d66df45b9e6d0c53e7dc94d66217a0f
[]
no_license
nicolasdejohn/nicolasdejohn.github.io
3572097b02093c2466e1b282390cdac436aa24f8
83141986ec27173bf9686a9368751783fffbd848
refs/heads/master
2023-04-22T07:46:11.642323
2021-05-10T04:20:04
2021-05-10T04:20:04
330,054,501
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
# Nicolas DeJohn | Chapter 9-5 Lab | March 26 2021 ''' The purpose of this program to read a file and store the number of occurances for each word in a dictionary. ''' import collections import os os.chdir(r"C:\Users\Nick\Desktop\CPCC\.github.io\csc 121\Chapter 9") # Defines main function def main(): # Opens a...
[ "49886199+nickdejohn@users.noreply.github.com" ]
49886199+nickdejohn@users.noreply.github.com
d2e002d463f27ec19af829888c1a6b1d36e0ac77
9bffb40d694079257741d703b2a311082efcc0c2
/goha/migrations/0001_initial.py
463dda73b74a366d3b82e0a94c0665fb5060dda4
[]
no_license
ubracklow/GoldenHands
20d858dbf2233dc39581bf155b7c2bdac2ad45b0
aa717a01d7f8a156c2c9e8ecca16d853be01a8e3
refs/heads/master
2021-07-03T17:55:11.330059
2020-04-22T19:34:49
2020-04-22T19:34:49
44,267,003
1
0
null
2021-06-10T17:53:04
2015-10-14T18:10:58
Python
UTF-8
Python
false
false
1,673
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Event', fields=[ ('id', models.AutoField(auto_c...
[ "ubracklow@hotmail.com" ]
ubracklow@hotmail.com
eab6cd61c54c2dce994ad5e89fb750b5b3d5ee81
a5d004f5c484ecbf5fd6d41d1a9186f2af78f20e
/run.py
5321d64b456f5ecfd4b99ac87a0bde345442b951
[]
no_license
Easthy/garden
91778831d0611dc9dbd23dceb9eaaea391b16936
f257585232920a32f6b73d32e810d23654ff3fbb
refs/heads/master
2020-08-01T00:06:35.877177
2019-09-25T09:00:31
2019-09-25T09:00:31
210,795,476
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Author: Ovchinnikov Anatoly Vladimirovich # Email: east@thyloved.ru # Version: 1.0-2017 import os import sys # Подключить папку с модулями sys.path.append(os.path.dirname(__file__) + 'modules') from Garden import * from PyQt5.QtWidgets import QApplication from UiForm impo...
[ "east@thyloved.ru" ]
east@thyloved.ru
01fc34ca4c86e39a1056f5e2da4c65e63a439c47
e48f694259b153457c14456a18a14431e93d3b41
/PY_TEST/Basic/writeHTML.py
8b48ec1dda29c220aa74cc7981491a4c6b9374b0
[]
no_license
desaidipen/Python
5e216e2b3ff017d7e09e1810918de667ec8ec394
c6bcce3f9b70e50d9512a4110810491f5a230c02
refs/heads/master
2023-08-21T17:20:57.709556
2023-08-07T15:55:57
2023-08-07T15:55:57
135,466,190
0
1
null
2020-04-28T21:07:31
2018-05-30T15:55:48
Java
UTF-8
Python
false
false
337
py
import re x = "Dipen Desai" y = f''' <html> <head> <title>Look at this</title> </head> <body> <h1>{x}</h1> <a href='http://www.google.com'>CLICK</a> </body> </html> ''' with open("C:/Users/RRDD/Desktop/myhtml.html", "w+") as my_html_file: my_html_file.write(y) print ('HT...
[ "RRDD@RRDD-PC" ]
RRDD@RRDD-PC
9f01a38f40869bcff88b1d1b134ed2654537deb6
61ba9ec78e004cbf7ad38dbc047b7d9b99a013cb
/src/GymNow_site/pages/migrations/0034_remove_bookingitem_complete.py
834f9dfef3858e9f642a5ec10c6a005d65799ae3
[]
no_license
lackeya2/GymNow-Final-Year-Project
eb286d5b75238057cc1443e05f0c569fc6b10846
89cabd3cb44b78dd5e103c7c34f940a222a4d9aa
refs/heads/master
2023-06-05T09:31:09.094600
2021-05-24T15:16:37
2021-05-24T15:16:37
378,228,110
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
# Generated by Django 2.2.7 on 2021-04-27 21:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pages', '0033_bookingitem_complete'), ] operations = [ migrations.RemoveField( model_name='bookingitem', name='complete', ...
[ "adrian.lackey2@mail.dcu.ie" ]
adrian.lackey2@mail.dcu.ie
272ffbc73e9c7ae7398326658c0e363535799673
34ec7982e2e5f676f86caa8bfedccb8617b9b7cf
/Eric/Day5/day5-2.py
243aa4719cab58ebb1f7c708e6158ce80b0435be
[]
no_license
ntceleste/AdventOfCode2020
e1420523303b3cafb53cb14014bd2e8261091c19
139a9ba53b77700ab9385fb92a75ac43d1327f30
refs/heads/main
2023-01-31T19:54:14.107288
2020-12-20T06:15:56
2020-12-20T06:15:56
317,680,504
1
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
input = open('input.txt').read().split("\n") # BFFFBBFRRR: row 70, column 7, seat ID 567. # FFFBBBFRRR: row 14, column 7, seat ID 119. # BBFFBBFRLL: row 102, column 4, seat ID 820. # input = ['BFFFBBFRRR', 'FFFBBBFRRR', 'BBFFBBFRLL'] # print(input) ids = [] maxid = 0 for bsp in input: bspa = list(bsp) # prin...
[ "efc@clst.org" ]
efc@clst.org
0ec07afd40abdc8267ae389ccbb542bcd1c4364e
5027bed7f149f977943ce0f8f6bffa4e5683eb98
/testing1.py
8f83a3c79a4a1d01cf8fb51ad7a024926928fae9
[]
no_license
fbarneda/testing
3efe1ef6ba5010e840b0420d5916c1b360a7d9ce
273b94dae3cb2348a167f6f49e68a20a158c13fc
refs/heads/master
2020-07-09T03:24:39.633290
2019-11-04T23:27:56
2019-11-04T23:27:56
203,862,070
0
0
null
null
null
null
UTF-8
Python
false
false
3,453
py
#!/usr/bin/env python # coding: utf-8 # In[1]: dic_key = {'key1':'value1','key2':'value2'} # In[2]: dic_key # In[3]: dic_key['key2'] # In[4]: prices_lookup = {'apples':2.99,'oranges':1.99,'milk':5.80} # In[5]: prices_lookup['apples'] # In[7]: d = {'k1':123,'k2':[0,1,2],'k3':{'insideKey':100}} #...
[ "fbarneda@gmail.com" ]
fbarneda@gmail.com
28149a1fcfc7385618ac85811adcb0098abed088
7a28c3540cbaa2f583f60bae4721ec73a7dc7be9
/Project_useful/send_Email_Photo.py
00353d2f96380b93e3424bfcc73a3bd412318417
[]
no_license
mafiadarm/Python-Practice
0d1b085f883d95bf39e0c396ccaac548b951c957
ba9a8dd9a62f60df7130d2240628b7969800c647
refs/heads/master
2021-01-24T03:37:26.458176
2019-04-18T13:31:38
2019-04-18T13:31:38
122,897,253
0
1
null
null
null
null
UTF-8
Python
false
false
2,085
py
# -*- coding: utf-8 -*- """ ============================== Date: 02_07_2018 14:08 File Name: /GitHub/send_mail_html Creat From: PyCharm Python version: 3.6.2 - - - - - - - - - - - - - - - Description: 邮件带图片发送,图片作为html的一部分直接展示 ============================== """ import logging impor...
[ "Loffew@users.noreply.github.com" ]
Loffew@users.noreply.github.com
78bb2b9efb6fd01cdd50b4672b46b3cd3faf5f41
0f23b4b96cbe644991e6e191c56f0c7838c05bb4
/spider/baiduimage.py
5b7dfebcdfa1ec3f11d90455cb091cc7698166cf
[]
no_license
hongbozheng/PythonScrape
8e60f057ad1ccca719e2a1db94a5b4d0c0eb498f
0a9a0f988c225420d5b02023df88b9fa32ef2ad0
refs/heads/master
2021-07-07T01:35:09.741681
2017-10-03T08:15:13
2017-10-03T08:15:13
105,628,450
0
0
null
null
null
null
UTF-8
Python
false
false
3,876
py
# !/usr/bin/env python # -*- coding: utf-8 -*- import re import sys sys.path.append("/usr/local/lib/python2.7/site-packages") import requests import os from datetime import datetime as dt from bs4 import BeautifulSoup start_page = 124 end_page = 199 #2786 s_age = 0 e_age = 0 s_state = 0 folder = 'AsiandateGirlsVietam...
[ "danny@rainbe.com" ]
danny@rainbe.com
a7a49f8c72b412a0f3c972b895936a8a25e7021a
0bda1d033e321c00803325cf32010c069f393230
/Main.py
be0d961901d9d539ab4f43dcf9dc8fbaa1c95014
[]
no_license
RayLyu-Mac/COVID-19-SImulation
5d18ea92b009ac26f948fbcabe1ee7c76d175857
e7a87ed281e2822cb87b31fc5b8c1debf198b92d
refs/heads/main
2023-08-02T17:09:50.979893
2021-09-06T18:53:13
2021-09-06T18:53:13
312,124,618
0
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
import pygame import random from os import path #initialize pygame.init() screen=pygame.display.set_mode((800,600)) running=True #Background background=pygame.image.load('bg.jpg') #title and icon pygame.display.set_caption("Space Invader") icon=pygame.image.load('spaceship.png') pygame.display.set_icon(icon) #playe...
[ "59774755+RayLyu-Mac@users.noreply.github.com" ]
59774755+RayLyu-Mac@users.noreply.github.com
e123e7fab6c6603d07d4503c50303cd33eda8a35
b4c4dc777fdfda297f52ae539e9123bcd4a31a39
/downloader.py
67edc1e7ef2111a02136613029764e1aae21a14c
[]
no_license
syedfaisalrizvi0-zz/youtubedownloader
9e218166a1cac9f3ea0ac91f648a6f8ae8d645a3
042fc3f0c65a485d126d0535f8d87130c56a8c93
refs/heads/master
2022-08-14T13:30:30.456438
2019-03-14T18:51:50
2019-03-14T18:51:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
import requests as re from bs4 import BeautifulSoup import youtube_dl print('Engine start....') qry = str(input('Enter the Video name : ')) qry = qry.replace(' ','+') data ='https://www.youtube.com/results?search_query='+qry html = re.get(data) soup = BeautifulSoup(html.text,'html.parser') yt_links = soup.find_all("a...
[ "noreply@github.com" ]
syedfaisalrizvi0-zz.noreply@github.com
b935da832f38d9d5b97eeb29131fc2a068757d69
509194b6a9e2ae124e819c3f358a93f49358c70c
/consistent/GetconsistantRegions.py
c43d2451b88e8377cbb0a1137f8ef5ff763b229e
[ "MIT" ]
permissive
tk2/assembly-eval
b540a6af3f09a2edb85fdb64cac42b3c34387919
3200867bf2490871fe54f3b8e03de0b16fa9b41e
refs/heads/master
2021-01-10T02:35:58.885068
2015-07-22T11:19:57
2015-07-22T11:19:57
36,653,335
0
0
null
null
null
null
UTF-8
Python
false
false
8,960
py
#!/homes/dthybert/software/Python-2.7.5/python import pysam import scipy.stats import sys import argparse class GenomeSegment: def __init__(self,size, chr,start): self.chr=chr self.start=start self.windowsSmoothing=5 self.lstPos=[0]*size self.lstNbRead=[0]*size self.lstFraction=[0.0]*size self.lstNor...
[ "tk2@sanger.ac.uk" ]
tk2@sanger.ac.uk
fcbba8373ebd9c2af4f3b86506b5331bbeb7ecda
7de58acd871c2306002f7694957e8f573e577b99
/src/training/train_xgboost.py
3fa5006a779526cc603be0c58b341b6fda88c31b
[]
no_license
dekukkk/StravaKudos
aa893b42c2b216e312e94065856aaf9a222743c9
5ac21e035010ce900a03f67d3b8046ff41768078
refs/heads/main
2023-08-22T04:51:59.410924
2021-10-22T22:44:01
2021-10-22T22:44:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,766
py
import pandas as pd import numpy as np import xgboost as xgb import pickle from sklearn import metrics from sklearn import preprocessing from sklearn import impute from sklearn.pipeline import Pipeline from scipy.sparse import hstack, vstack from imblearn.over_sampling import SMOTENC def run(fold): # read train...
[ "jackmleitch@gmail.com" ]
jackmleitch@gmail.com
f462a3d3110bd55c42950d29ebc9001cb1de915d
c45b7f89afa87d07cf8a65fd33d03f95f54898a2
/Sample_random_Sampling.py
23307de58640186f4d48db10576e24b34feb0beb
[]
no_license
kpp46/statistic_calculator
cf6a8ea77c92a5724f7e8d54a9f8d091e4abf7d8
2b32eceded7c51af89e9a47ef53376be3fc33290
refs/heads/master
2023-07-09T15:51:34.477301
2021-08-03T02:19:45
2021-08-03T02:19:45
392,249,457
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
import random from NListWithSeed import generator_int_and_float def population(data, sample_size): pp = random.choices(generator_int_and_float(data, sample_size), k=sample_size) return pp
[ "P.kirtan@yahoo.com" ]
P.kirtan@yahoo.com
b101e8a1d2e1295edb59878707e8b8b795eb6a7b
32f5787972ca0408ffbc57692cf38292eb80c6b3
/users/models.py
195961734988749e595de94a2a7598007339e25c
[]
no_license
bakiev05/avito_djangorestframework
c863fa0722cefaf47506e3f30b3d87e30ed4ca26
c07febcff913d631c7e14c5625112106aff16e66
refs/heads/main
2023-06-20T09:39:48.066575
2021-07-16T03:12:09
2021-07-16T03:12:09
386,479,921
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from django.db import models from django.contrib.auth.models import AbstractUser from django.contrib.auth.models import User class User(AbstractUser): image = models.ImageField(upload_to='profile') class Meta: ordering = ('-id',)
[ "aziz.hadj1212@gmail.com" ]
aziz.hadj1212@gmail.com
38e33bb7a8de3cc2f1a1e00f7e908ff017e0c400
89033fbde9f166aabba4769d8104c18e1c2baa81
/amznscrp/autocompletesearch.py
0085886f90d951b665f3e3296ba433bd4d6543ca
[]
no_license
jenslaufer/amznscrp
67ff3087dc4d4e5591839d37eed25c4cb7b4a1f0
3d74701e7551106f3b2411f16a4f1ed0656303d5
refs/heads/master
2021-07-12T23:14:28.546741
2019-02-19T13:46:45
2019-02-19T13:46:45
167,195,848
3
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
from urllib.parse import quote_plus import re import requests import argparse import json from string import ascii_lowercase def scrape(keyword, proxy_srv, user_agents): s = requests.session() headers = { 'User-Agent': user_agents.get(), 'Accept': 'text/html,application/xhtml+xml,application/x...
[ "jenslaufer@gmail.com" ]
jenslaufer@gmail.com
4336c5431f1f6de898f7d06c3d024e572c248da5
89a0034c6a0904552d23a0f8c7a645869af275ca
/myportfolio/urls.py
4351e2f846a993ed522be692e951c10cd568b408
[]
no_license
Pheonix12/my_portfolio
9974be4f6b183f40811c13f393b8483afab329c6
fe6ef08d32d54ff15ce2f41e7d0760c14b52d2ae
refs/heads/main
2023-02-26T21:11:35.072276
2021-02-05T13:18:42
2021-02-05T13:18:42
334,504,263
0
1
null
null
null
null
UTF-8
Python
false
false
797
py
"""myportfolio URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "s.shaown@outlook.com" ]
s.shaown@outlook.com
c5383644b1d22a2d111b06f36d3970196a9d1d6a
94bfec39dd8bbf2906c010f96112fb71511ca1fb
/RTE/testfolder/part2/workin/part2.py
a932f0d7f1f719ec048049bfe30ccf6affe07019
[]
no_license
magnuskiro/IT3105-AIprog
636622c28f3dc04d9a2e066d0e1c8b79c9303ab0
5ac8abebdb230b89f6dd2da82c7c1c152a406af0
refs/heads/master
2020-04-21T11:57:20.100239
2011-11-23T22:52:34
2011-11-23T22:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
import rewrite import part2a import predict def init(file_name): print "Starting part II" step_size = 0.001 processed_file = rewrite.run(file_name) result = part2a.run(processed_file) predict.predict(step_size, result) print "Part II done" init("RTE2_dev.preprocessed.xml")
[ "janbremnes@gmail.com" ]
janbremnes@gmail.com
c556b39470401d6dc6b15137a371bc2d01395417
7829d22ea38576231cd286d6be4d66ec03783091
/Python/lab/lab-8/compute.py
e7a607c558d91a57d951b821a01c4b5e19ac85aa
[]
no_license
cuppar/course
10fd118e9b4b053cd11065864324877adefcb180
5fe112d34987de972dfb91c68ff5ab147d5f42c9
refs/heads/master
2020-03-07T02:43:32.760145
2018-06-26T15:41:33
2018-06-26T15:41:33
127,215,460
2
0
null
null
null
null
UTF-8
Python
false
false
730
py
""" 这是一个计算模块,可进行+,-,*,/,**运算 """ def add(a, b): """ 对输入的两个参数求和 a: 被加数 b: 加数 return: 和 """ return a+b def sub(a, b): """ 对输入的两个参数求差 a: 被减数 b: 减数 return: 差 """ return a-b def mul(a, b): """ 对输入的两个参数求积 a: 被乘数 b: 乘数 return: 积 """ retu...
[ "cuppar.hzy@gmail.com" ]
cuppar.hzy@gmail.com
37bcac96bbcd76d4f2527023b5e58f2e276b9c58
b1e325259687b58572ea962e5528fa5afa17e6f6
/python/src/algorithm_and_data_structure/alds1_9_a_complete_binary_tree.py
60e2c4f5b2a0ec6c77f4479383f5845eb1214f7c
[]
no_license
gen0083/atcoder_python
84e1b0a63a736f1fca21bf7fcda776f4016a30bd
93d5b1023242e562e4687119c94812d8c0df429c
refs/heads/master
2023-07-23T21:47:38.964277
2023-07-13T12:23:51
2023-07-13T12:23:51
231,208,047
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
# 完全二分木 # http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_9_A&lang=jp import sys def main(): n = int(input()) heap = [""] * (n + 1) i = 1 for s in input().split(): heap[i] = s i += 1 for i in range(1, n + 1): sys.stdout.write("node %d: key = %s," % (i, heap[i...
[ "archiherewego@gmail.com" ]
archiherewego@gmail.com
6dfd74694db9b8ab526ada69999029b70c75dd49
d4341f9f4f3c389e0c2aa0143330d2aef19ac25c
/Algorithms/little_labyrinth.py
4bc356de45cb38decb0150668fcf1e9afe35af4c
[]
no_license
aeirado/hello-world
0d24f027dcb9342363e0c01c8202c22facec48c4
bf0679e74f9088730d641d5c7e7cc6615283de0a
refs/heads/master
2021-05-23T05:09:51.750783
2018-06-04T20:02:45
2018-06-04T20:02:45
95,236,575
1
0
null
2017-06-23T17:50:44
2017-06-23T16:19:26
null
UTF-8
Python
false
false
10,132
py
'''Maze Sotution Algorithm''' LABYRINTH = [ ['x', 'x', 'x', 'x', 'x', '-', 'x', 'x'], ['x', '-', '-', '-', '-', '-', '-', 'x'], ['x', '-', 'x', 'x', 'x', 'x', '-', 'x'], ['x', '-', 'x', '-', 'x', '-', '-', 'x'], ['x', '-', 'x', '-', 'x', 'x', '-', 'x'], ['x', '-', 'x', '-', 'x', '-', '-', 'x'], ['x', '-', '-', '-', '-...
[ "aeirado@gmail.com" ]
aeirado@gmail.com
d8c7e6d7db9bca7d7f44fc210e2ec9ec36afa5ea
aa87ba72785c0a32f98adcb8a978963baf5d122f
/Mobley_logP/tautomerExploration/makeMAEfiles.py
31b1598a63ee4d2fd623d9c493ecf1d97b3d7400
[ "MIT" ]
permissive
zyh0608/SAMPL5_logD_PredictionAnalysis
b475ad5156827c100e126ef0e39dadcc64621cca
c7675a8f183a465bee89599a6df9e360476ef868
refs/heads/master
2021-12-24T03:40:06.460732
2017-12-07T20:34:27
2017-12-07T20:34:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
# Written by Caitlin C Bannan # Mobley Group, University of California Irvine # February 2016 # This script uses the schrodinger tool ligprep to analyze all the SAMPL5 molecule files and perform a tautomer enumeration to get a state penalty for the tautomer used in our analysis import commands as c import os import gl...
[ "bannanc@uci.edu" ]
bannanc@uci.edu
4aa21d3a7adf0f9f45a4c35ec08d660026730f4a
8c06317ee3bb99e8035ef2182256030a965acf29
/spint/universal.py
60fefbbfbc97c1469513dfa8569cc17b6cd268f5
[ "BSD-3-Clause" ]
permissive
TaylorOshan/spint
4120bea89d56d7be35e74328f953eef4cb5428a8
8496c55ae5097904965f1fb1f70a918aea77353a
refs/heads/master
2021-08-17T22:47:24.466224
2021-01-15T18:20:13
2021-01-15T18:20:13
79,855,998
1
1
null
2017-01-23T22:42:19
2017-01-23T22:42:19
null
UTF-8
Python
false
false
10,196
py
""" Implementations of universal spatial interaction models: Lenormand's model, radiation model, and population-weighted opportunities. References ---------- Lenormand, M., Huet, S., Gargiulo, F., and Deffuant, G. (2012). "A Universal Model of Commuting Networks." PLOS One, 7, 10. Simini, F., Gonzalez, M...
[ "tayoshan@gmail.com" ]
tayoshan@gmail.com
08aa07947973611446df1c9c162384db088191e3
6a6c2b922c3ff3d35622c8b9638426fb162b79ed
/pnc_cli/swagger_client/models/project.py
82765a36a314e3882363e137823cac3e52b4b789
[ "Apache-2.0" ]
permissive
thauser/pnc-cli
1383f45a309a34b12a8792d4e648259c8cd8b33b
cf9a1ce236c3de9ec6c393816e3c75db2f75bc33
refs/heads/master
2021-04-19T00:48:26.375270
2017-11-09T13:01:24
2017-11-09T16:14:23
36,449,869
0
4
null
null
null
null
UTF-8
Python
false
false
6,973
py
# coding: utf-8 """ Copyright 2015 SmartBear Software 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 applica...
[ "thauser@redhat.com" ]
thauser@redhat.com
a61152fb7d88aa633634dfe02f3bc6b0900c09a5
4a4d8b806f42a1943d3c3d378174529265380324
/useMap.py
e79b1ecb6a11cc2fe8a70a1558cb753c28a0a72b
[]
no_license
syves/sandbox
c4ec6f1c03ebeb94dcf02fb3de07f2611e59f0e7
0394fc74d119ec1cc4bb1403bf1488825923152a
refs/heads/master
2016-08-02T21:27:16.514892
2014-04-07T05:52:12
2014-04-07T05:52:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
lst = [37, 996, 28, 10] def times_3(num): return num * 3 def times_2(num): return num * 2 def make_multiplier(n): lambda m: m * n times_3 = make_multiplier(3) times_2 = make_multiplier(2) def product(a, b): return a * b import functools times_3 = functools.partial(product, 3) times...
[ "7shakrahs@gmail.com" ]
7shakrahs@gmail.com
3b624809c01f392d200d800727230749108bafad
c41a5d8923e3954232c7bb401cf528b60bf5d615
/docs/conf.py
31434ccdde21d167da3efe7e475c4fa6e9dddb9f
[ "MIT" ]
permissive
TG-Techie/Adafruit_CircuitPython_ST7735R
fed1718fe305b7b5937da97fffab6455636ed481
7bc2f385464db75a0bd580f3297439d2ad330fa1
refs/heads/master
2020-05-30T01:53:55.026168
2019-06-01T17:47:11
2019-06-01T17:47:11
189,487,410
0
0
MIT
2019-06-01T13:05:45
2019-05-30T21:53:53
Python
UTF-8
Python
false
false
5,255
py
# -*- coding: utf-8 -*- import os import sys sys.path.insert(0, os.path.abspath('..')) # -- General configuration ------------------------------------------------ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extens...
[ "melissa@melissagirl.com" ]
melissa@melissagirl.com
67249075941b16fc6956ad6e62942e8090c2c8cc
ec61946a176935044d08cf1244d2185f2460df32
/pyleecan/Methods/Machine/MachineSRM/get_machine_type.py
3469489164e082846042f4764cbb5bc2b647bfaf
[ "Apache-2.0" ]
permissive
Lunreth/pyleecan
d3974a144cb8a6c332339ab0426f1630b7516fc9
1faedde4b24acc6361fa1fdd4e980eaec4ca3a62
refs/heads/master
2023-06-07T01:46:32.453763
2021-07-01T21:29:51
2021-07-01T21:29:51
383,880,732
1
0
Apache-2.0
2021-07-07T17:47:01
2021-07-07T17:47:01
null
UTF-8
Python
false
false
979
py
# -*- coding: utf-8 -*- def get_machine_type(self): """Return a string with the main information about the machine architecture Parameters ---------- self : MachineSRM A MachineSRM object Returns ------- type_str: str SRM Zs/Zr/p (int/ext rotor) """ type_str = "...
[ "pierre.bonneel@gmail.com" ]
pierre.bonneel@gmail.com