blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
191e8261c483c0e5915948a065d5607336dc1243
7c7ae53fc636037d3a75f638688fb60f9d7fb2e0
/cycle_gan/train_v1.py
d0343bdded6590bdf0fbf9e16ee0857da6fea189
[]
no_license
yueying-teng/cycleGAN_if_monet_loved_dogs_more
0aec5ccad0fa9332b7face9827bcb7927f5a95dc
198d0e7e770595ccbd054d452ef9c7b6b54f2ef7
refs/heads/master
2023-08-30T15:20:01.429433
2021-09-27T14:05:13
2021-09-27T14:05:13
358,213,786
0
0
null
null
null
null
UTF-8
Python
false
false
10,272
py
import tensorflow as tf from tensorflow.keras.optimizers import Adam from cycle_gan import losses from cycle_gan import utils import os import datetime import matplotlib.pyplot as plt from IPython.display import clear_output class CycleGanTrainer: def __init__(self, monet_generator, ...
[ "yt2495@columbia.edu" ]
yt2495@columbia.edu
6a6aa1df048acbb6c5713542c7746cf0d53ce514
a3fef57f2f246e0c6036bb785de8d8300f704a7a
/test/vanishing_point_test.py
f080ceed1047f05bf6ddd07881e22af8d0cd2288
[]
no_license
israelcvidal/ComputerGraphics
e9183e2f0b6f598cd14d6c6ea57e56b20297c176
ef522d6be85dfb7e79c036f035dfcb1d23fb368a
refs/heads/master
2021-09-18T01:02:21.420885
2018-07-07T19:35:46
2018-07-07T19:35:46
103,049,172
4
0
null
null
null
null
UTF-8
Python
false
false
5,016
py
import sys sys.path.append("..") from ray_casting.transformations import model_transformations as mt import copy from ray_casting.objectModeling import obj from ray_casting.scenario.scenario import * def one_vanishing_point(): objects = [] cube = obj.Obj().import_obj('../objects/cube.obj') color = np.arr...
[ "israelcvidal@gmail.com" ]
israelcvidal@gmail.com
55366e829303d9641699634cc44569e2d2923a81
52b5773617a1b972a905de4d692540d26ff74926
/.history/bubble_20200722092444.py
5beeb7c609804901133743187b10d997aa2b27bc
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
def bubble(data): # TODO: start with the array leneght and decrement each time for i in range(len())
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
8f0ae23e1706f5c38fa4db78919fa72c679242de
14100ae11e5e69b27cbf33b21da0c70e27666246
/hearth/devices/group.py
753484dafec11ff80f41aa76197e673d987d6115
[]
no_license
GypsyBud/hearth
619dd8fc29717c5bf9041f50797bcd0b10629c9e
c20856de1f3fddff14390117dfe3be4ad683a8f5
refs/heads/master
2020-07-29T16:17:48.965323
2019-09-20T12:17:20
2019-09-20T16:50:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
"""Group.""" import asyncio import functools import logging import hearth from hearth import Device, D __all__ = ['Group'] LOGGER = logging.getLogger(__name__) class Group(Device): """Group of devices, with same properties as the first.""" async def __init__(self, id_, *devices): await super().__in...
[ "jonatan.olofsson@gmail.com" ]
jonatan.olofsson@gmail.com
83c7b9c13f7f63bdcb13558c0aa5b59d8f01c83a
27a2a4ef8c2c33cf08ff631d858522072fc58ce8
/stefantrinh/urls.py
55427725c85f788fc57315aa8d66d801c3841292
[]
no_license
stefantrinh1/stefantrinhold
858271e2187c904698cf86628a23b792d5d4a09b
ebc3684d02e7c886675f4b1d082c819f6be17332
refs/heads/master
2022-03-02T10:10:49.917664
2019-10-31T00:13:55
2019-10-31T00:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,018
py
"""stefantrinh URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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...
[ "stefantrinh1.work@gmail.com" ]
stefantrinh1.work@gmail.com
bb810fac820c291ac334a5da426226c89b12b916
f516f03d09715e5a709cc24d396ac4e9c5639b82
/UserCF_cosinenoknnfordelicious.py
0598444d05cc95637397f77546b2c7f03ac22b06
[]
no_license
Kiteflyingee/trendrec
addb34cc912d56a8f61d7b3727c859bbf7f0d56a
7f29edb714cb0536ebed286e3c59659d8e992520
refs/heads/master
2020-04-26T09:39:17.418351
2019-10-14T15:13:37
2019-10-14T15:13:37
173,463,225
0
0
null
null
null
null
UTF-8
Python
false
false
13,814
py
# coding=utf-8 ''' Created on 2019年3月2日 @author: devkite ''' import utils import numpy as np from matplotlib import pyplot as plt import pandas as pd import time import pickle import os from tqdm import tqdm import threading import csv import math class UserCF: ''' 基于用户的协同过滤 ''' def __init__(self...
[ "bjliujin@126.com" ]
bjliujin@126.com
e3609abff0757e33f926d3770d5d1e1febb9b6ab
b007d88e6726452ffa8fe80300614f311ae5b318
/LeetCode/facebook/arrays_and_strings/merge_sorted_array.py
3713e9ba76233fd84aca0a38b42724a3074bffa4
[]
no_license
jinurajan/Datastructures
ec332b12b8395f42cb769e771da3642f25ba7e7f
647fea5d2c8122468a1c018c6829b1c08717d86a
refs/heads/master
2023-07-06T14:42:55.168795
2023-07-04T13:23:22
2023-07-04T13:23:22
76,943,162
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
""" Merge Sorted Array Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. The number of elements initialized in nums1 and nums2 are m and n respectively. You may assume that nums1 has a size equal to m + n such that it has enough space to hold additional elements from nums2. ...
[ "jinu.p.r@gmail.com" ]
jinu.p.r@gmail.com
bc24ee51f857beaebd287bd3c61a2a5037b4a223
a1e8367c230642ed98d19836d30ab94c51e78daa
/code/plotting.py
fdef02bbfeaf7d88912faee1d0edf4a42e2275ef
[]
no_license
roaz1801/project1
2aa4354c0e69cf465bc3309199d12ea9538f1603
64d085491d25b7a655f03361e1b40e4c170c90f5
refs/heads/master
2020-07-08T19:45:48.592444
2019-09-07T20:26:04
2019-09-07T20:26:04
203,759,573
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
import matplotlib.pyplot as plt import numpy as np exact_val = [] num_val = [] x_val = [] import sys with open(sys.argv[1], 'r') as infile: print("Reading from "+sys.argv[1]) for i in infile: data = i.split() e_val,n_val,x_v = data[0].split("[]")[0],data[1].split("[]")[0],data[2].split("[]")...
[ "54395470+roaz1801@users.noreply.github.com" ]
54395470+roaz1801@users.noreply.github.com
136e56433cbeb21ed69ff5376ce445baae17cd2e
25c84cec763a2a6fdd355c4b37482b17562f1b95
/ex6-5.py
f6603f421653575eb58e22bd71916f53315125f6
[]
no_license
venture21/GUIEx
306347b5be86f0d50c278125ff59f640807147e7
ce30aabd69017f0de0819b3daa430c95a4c4c6c4
refs/heads/master
2020-12-23T12:36:17.254006
2020-02-04T00:07:41
2020-02-04T00:07:41
237,154,740
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
## Ex 6-5. QMessageBox. import sys from PyQt5.QtWidgets import QApplication, QWidget, QMessageBox class MyApp(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setWindowTitle('QMessageBox') self.setGeometry(300, 300, 300, 200) self...
[ "park0122@gmail.com" ]
park0122@gmail.com
f8f566c1a60330fbd14c87905a2192dbd7ed5b20
c942dc309141c1b304f0d4ccfdc27945877345b5
/rhytmic_exam_app/auth/email.py
8941cc0e04d85166d65877203a74b41903d945c9
[ "MIT" ]
permissive
AltusN/rhytmic_exam
bb5e1f283a7fdea59be5ce2d3744fc39babe01c5
780f79e1e3f560709996e86b18035e53bcac5a16
refs/heads/master
2023-04-14T09:40:11.668774
2023-04-02T23:33:05
2023-04-02T23:33:05
187,458,137
0
0
MIT
2023-04-02T23:33:07
2019-05-19T09:38:13
Python
UTF-8
Python
false
false
500
py
from flask import render_template, current_app from rhytmic_exam_app.email import send_email def send_password_reset_email(user): token = user.get_reset_password_token() send_email( "Rhytmic Exam Resest Password Request", sender=current_app.config["ADMINS"][0], recipients=[user.email],...
[ "altus.nel@aciworldwide.com" ]
altus.nel@aciworldwide.com
ca658e16cb20fe37e85fa75979b7cf017fb568e4
cafc7157a19c1676d571a6c4eebef04e0ff5183f
/util/Matrix_test.py
ef430a533895a00c6753c5f25acb1ebe8792fd58
[]
no_license
qiuhoude/study-linear-algebra
1b22a16920171d5cf97107c1ff8fdfe1f994a3bc
5c33acabd0ce328b07b0a5b9048f35303c172975
refs/heads/master
2020-08-02T19:22:15.709350
2019-11-01T09:45:51
2019-11-01T09:45:51
211,478,732
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import unittest from .Matrix import Matrix from .Vector import Vector class MatrixTestCase(unittest.TestCase): def setUp(self) -> None: self.matrix1 = Matrix([[1, 2], [3, 4]]) self.matrix2 = Matrix([[5, 6], [7, 8]]) def test_MatrixPrint(self): ...
[ "3617150@qq.com" ]
3617150@qq.com
e09b1be44912d4649c482ac6de2fdb0c8742f958
46024e50fbf1d26e28230f1383aabd5193d8c6bd
/DashBoard/main_window.py
b292162fc64493aa426f77273c3323d99f8785bc
[]
no_license
harshadesara/BillingSystem
5e95541686558ca16375e06416d44744a29cef94
3934c15af6af9a46bb8ee9443f9e997a7f8b2f99
refs/heads/master
2021-04-09T05:03:26.290144
2020-03-20T20:08:19
2020-03-20T20:08:19
248,841,679
0
0
null
null
null
null
UTF-8
Python
false
false
11,726
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main_window.ui' # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWind...
[ "harshsoni566@gmail.com" ]
harshsoni566@gmail.com
a900a51957916e2ef64695eb2bcf15a16ff7d106
c31b68cfe61d2e469a12914a33349af658bceb93
/test_binary_search_tree.py
54af893a19b7ce1163cf411d90e317fec9cc6256
[]
no_license
xpert-uv/data_structure
846376b8c5a4ab6c5c9656e7373706f8d76442b9
0eb65fb774351fe9c601068fda8e47896f57c465
refs/heads/master
2023-06-19T04:43:26.033822
2021-07-02T02:48:36
2021-07-02T02:48:36
382,211,254
1
0
null
null
null
null
UTF-8
Python
false
false
3,291
py
import unittest from binary_search_tree import BinarySearchTree, Node class TestBinaryTreeClass(unittest.TestCase): def test_create(self): self.empty_tree = BinarySearchTree() self.assertEqual(self.empty_tree.root, None) def test_insert_iterative(self): self.bst = BinarySearchTree() ...
[ "72463141+xpert-uv@users.noreply.github.com" ]
72463141+xpert-uv@users.noreply.github.com
1f2eeaf30554fc2b63cc3c041524f636236bf967
2e927b6e4fbb4347f1753f80e9d43c7d01b9cba5
/Section 20 - Lamba Functions/lambdas.py
2d5e9687c5496af858166dab6f7b8ab7af2a3de4
[]
no_license
tielushko/The-Modern-Python-3-Bootcamp
ec3d60d1f2e887d693efec1385a6dbcec4aa8b9a
17b3156f256275fdba204d514d914731f7038ea5
refs/heads/master
2023-01-22T01:04:31.918693
2020-12-04T02:41:29
2020-12-04T02:41:29
262,424,068
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
def square(num): return num*num #syntax - lambda parameter: code in one line without return - you usually don't store that in variable square2 = lambda num: num * num add = lambda num: num + num print(square2(3)) print(square2.__name__) #use case - passing in a function as a parameter into another function. short ...
[ "tielushko@mail.usf.edu" ]
tielushko@mail.usf.edu
4f115edd07fef22bcc377423d19c700374c80aeb
c5b9e61ade1284b4363026ea7521af241173b44d
/src/python_op3/soccer/ball_follower.py
4a04022f9d30cb844584e6d050ac96bfc5815897
[ "MIT" ]
permissive
culdo/python-OP3
b2c870ecbec010c19df97b822fc3b70a1cbe73df
dd4abea86f455e1a9648c6b544dfb01bbaacc4a2
refs/heads/master
2022-12-22T02:38:07.571994
2022-12-17T12:58:02
2022-12-17T12:58:02
177,304,720
6
5
null
null
null
null
UTF-8
Python
false
false
7,565
py
import rospy from math import pi, tan from geometry_msgs.msg import Point from op3_walking_module_msgs.msg import WalkingParam from op3_walking_module_msgs.srv import GetWalkingParam class BallFollower(object): def __init__(self): self.ball_position = Point() self.current_walking_param_ = WalkingP...
[ "cbc106008@nptu.edu.tw" ]
cbc106008@nptu.edu.tw
e57399c656326fe5aad20cd04948bccb429a51df
274eb3a3c4202c86a40e13d2de7c2d6f2a982fcb
/tests/unit/altimeter/aws/resource/ec2/test_vpc_endpoint_service.py
6823edb92f519c7b51b496fae25c2ff3d1253997
[ "MIT", "Python-2.0" ]
permissive
tableau/altimeter
6199b8827d193946bb0d0d1e29e462fc8749d3e4
eb7d5d18f3d177973c4105c21be9d251250ca8d6
refs/heads/master
2023-08-15T16:21:31.265590
2023-07-04T13:13:32
2023-07-04T13:13:32
212,153,766
75
25
MIT
2023-08-02T02:05:22
2019-10-01T17:10:16
Python
UTF-8
Python
false
false
2,670
py
import unittest from altimeter.aws.resource.ec2.vpc_endpoint_service import VpcEndpointServiceResourceSpec from altimeter.core.resource.resource import Resource from altimeter.core.graph.links import LinkCollection, SimpleLink, TagLink class TestVpcEndpointServiceResourceSpec(unittest.TestCase): maxDiff = None ...
[ "noreply@github.com" ]
noreply@github.com
255fd794666d6dc504c261877489e3b7ee872bbe
26208f8fab4fc6983dc70ff3ddae06abe52443b4
/carinfo_db.py
eee89f270ae56625a0766ecd53d186252be369d0
[]
no_license
saharul/csa_ver3
6cf6b708a6c256795cce87b48dbc070a7ff70fc7
9beae61fd2358dde9b68fba69e900b5073767527
refs/heads/master
2022-10-25T06:12:04.218708
2020-06-15T06:27:48
2020-06-15T06:27:48
260,792,722
0
0
null
null
null
null
UTF-8
Python
false
false
4,096
py
import pandas as pd class CarInfoDb: def __init__( self, filename="/home/saharul/Projects/csa_ver3/data/carinfo_master.csv" ): self.dbfilename = filename def GetModelId(self, model): if type(model) != str: raise TypeError("Car Model must be in str") if len(mo...
[ "saharul@gmail.com" ]
saharul@gmail.com
9e73235485cb9b7abfd44cdb5134347f883ec5e0
c31d185fb65da94dc15e16869ef1fbaf0dabc736
/base/views.py
0ec041e02c0386a93c8196390322f023f393e73e
[]
no_license
Joacoco/nosotrosusamos
2777907b3df3b4022770f9ccef554d4c2b2c53c8
593d087c303f72136f6c425e908631357298c1eb
refs/heads/master
2020-12-26T05:01:28.674841
2013-12-02T13:37:49
2013-12-02T13:37:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
# -*- coding: utf-8 -*- """ This file contains some generic purpouse views """ from django.shortcuts import render_to_response from django.template import RequestContext def index(request): """ view that renders a default home""" return render_to_response('index.jade', context_i...
[ "ignacio.munizaga.t@gmail.com" ]
ignacio.munizaga.t@gmail.com
01570d96149de393ae37be32f04cb5dba1a49c61
82577d916b83116a7980d20b5ec974dbb01493d0
/first.py
9c765a355da5e18a2fddb1ca45fc90cee170f81c
[]
no_license
chiragrao27/Gitlearningrepo
8053b9b9f78fa77f83f59665c454ef0ac15a9618
80420c8c4e94b848cb5c2a5030ff22819734b567
refs/heads/master
2023-02-02T02:01:23.164259
2020-12-17T13:58:37
2020-12-17T13:58:37
322,294,990
0
0
null
2020-12-17T13:50:08
2020-12-17T12:56:35
Python
UTF-8
Python
false
false
68
py
print("my name is chirag") print("hello bro") print("in dev branch")
[ "71905829+chiragrao27@users.noreply.github.com" ]
71905829+chiragrao27@users.noreply.github.com
9b97c3e7ea9e41ffbc45b8c498367f691295fa0e
58cd392c642ac9408349f03dc72927db6abcce55
/team2/src/Without_Doubt_Project/venv/lib/python3.6/site-packages/earlgrey/patterns/rpc/client_async.py
a94df1e4d861d470e4928d8f5d3ed96175e519b9
[]
no_license
icon-hackathons/201902-dapp-competition-bu
161226eb792425078351c790b8795a0fe5550735
f3898d31a20f0a85637f150d6187285514528d53
refs/heads/master
2020-04-24T07:48:18.891646
2019-04-18T01:47:21
2019-04-18T01:47:21
171,809,810
3
11
null
2019-04-18T01:47:23
2019-02-21T06:01:04
Python
UTF-8
Python
false
false
4,824
py
# Copyright 2017 theloop Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "41354736+sojinkim-icon@users.noreply.github.com" ]
41354736+sojinkim-icon@users.noreply.github.com
23b20240525890e8cbf708f67da263dae7337b50
3cc33c96d548418a0180b5613855499c95c27f34
/team/migrations/0002_auto_20200218_2304.py
ec67c73d0618f576b43df14ad9299de87b935108
[]
no_license
prathmeshkhandelwal1/cerebro-backend-2020
bb12827b4abf674f0ee1237060d67145bb396677
c13480705c4ceb8cadd2572f453d277c79aa5373
refs/heads/master
2021-01-14T23:57:31.192376
2020-02-23T07:05:56
2020-02-23T07:05:56
242,804,176
2
0
null
2020-02-24T17:54:54
2020-02-24T17:54:54
null
UTF-8
Python
false
false
755
py
# Generated by Django 3.0.2 on 2020-02-18 17:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('team', '0001_initial'), ] operations = [ migrations.RenameField( model_name='team', old_name='link4', new_name='...
[ "201851150@iiitvadodara.ac.in" ]
201851150@iiitvadodara.ac.in
61839d3b87fd12e13d6f941482c7d04ad56e095e
8211822bb5ac3c50aedee6c943166c542fe56050
/pro/app/models.py
53f019a1031022f7637d9471b449b73d99ad28a3
[]
no_license
Dineshkumar-git/GIT-AWS--project
1a3f0e29e8e969312e228c752bf9384937164449
d2a4ceb38f0e6b634f78ccb1f68e395b72089e01
refs/heads/master
2022-12-30T05:23:47.403935
2020-10-04T14:16:20
2020-10-04T14:16:20
301,147,318
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
from django.db import models # Create your models here. class Contact(models.Model): name = models.CharField(max_length=50) email = models.EmailField() phone = models.IntegerField() desc = models.TextField() date = models.DateField() def __str__(self): return self.name
[ "dinesh.ku1212@gmail.com" ]
dinesh.ku1212@gmail.com
5125a7743ab3f35d4c72caf6ab682555262ec780
59064ae20342b8b91109861688d7b83e2b5ba6fb
/books/forms.py
4e9c8fa53d2a04cfb0159cc045c45e039459a27a
[]
no_license
Momentum-Team-10/django-freeshelf-badmicro
1619773f0cd7b16a013f5b85016336b56bd68157
404bf2c510bac83c491ebdf6e5a96e80cfbfb162
refs/heads/main
2023-08-27T07:45:52.747541
2021-11-10T13:52:11
2021-11-10T13:52:11
425,870,165
0
0
null
2021-11-08T14:29:01
2021-11-08T14:28:56
Python
UTF-8
Python
false
false
556
py
from django import forms from django.db.models import fields from .models import Book, User from django.contrib.auth.forms import UserCreationForm, UserChangeForm class BookForm(forms.ModelForm): class Meta: model = Book fields = ["title", "author", "description", "URL", "imgURL",] class CustomUs...
[ "jrgilley92@gmail.com" ]
jrgilley92@gmail.com
575abf06c7f23652b3a2ac3b595778e90ab5e287
663c108dca9c4a30b7dfdc825a8f147ba873da52
/venv/functions/38GlobalKeywordDeclareAssignError.py
1dd186e5658999379d9e336cc39512ba1c6f8a73
[]
no_license
ksrntheja/08-Python-Core
54c5a1e6e42548c10914f747ef64e61335e5f428
b5fe25eead8a0fcbab0757b118d15eba09b891ba
refs/heads/master
2022-10-02T04:11:07.845269
2020-06-02T15:23:18
2020-06-02T15:23:18
261,644,116
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
def f01(): global a = 10 print(a) def f02(): print(a) f01() f02() # File "/Code/venv/functions/38GlobalKeywordDeclareAssignError", line <> # global a = 10 # ^ # SyntaxError: invalid syntax
[ "srntkolla@gmail.com" ]
srntkolla@gmail.com
8a00d9a5639c6d9981e0ff878101de35aa2f1b63
c8d1f31b04383690b5b7e04c2c770179bd8686f9
/scripts/modeling/config.py
263f7d2d496e08846abda9688bfebb4dfda72c40
[]
no_license
swatishar19/dev
72f6e84eba0de88ba78adc9f3f62b01083a9c22b
31bd735eb153b7b6ab5a9e15c72b746d72cfc247
refs/heads/master
2020-12-23T08:14:29.221852
2020-06-09T22:36:45
2020-06-09T22:36:45
237,094,762
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
import os def directory_check(data_dir): if not os.path.exists(os.path.join(data_dir, 'predictions')): os.makedirs(os.path.join(data_dir, 'predictions')) if not os.path.exists(os.path.join(data_dir, 'results')): os.makedirs(os.path.join(data_dir, 'results')) if not os.path.exists(os.path....
[ "swati.sharma@rutgers.edu" ]
swati.sharma@rutgers.edu
cbeaedc37e67716e0c92d75c77aca3154e7b8217
6f74f2207f1bfb852f3e3e68784f0949af4322e3
/ejemplo.py
87ce818832322a5c1208fc66eb984e838f588bb7
[]
no_license
yeimilancheros/ProyectGit
b6efa2f4d31b86dd1e50a9a056cb6be265fe1680
c92ad61ce6bb348f17bfe105bc898def892341d5
refs/heads/master
2023-03-14T03:33:29.913533
2021-02-20T16:45:59
2021-02-20T16:45:59
340,700,340
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
import pyttsx3 engine= pyttsx3.init() #se crea un motor engine.setProperty("rate",150)#set la velocidad en la que se reproduce el audio""" numero = input("digite un numero 3") lenguage ='es' engine.say(numero)#se dice el texto que se le pasa engine.runAndWait() #para que pare cuando termine """
[ "yjlancheros@ucundinamarca.edu.co" ]
yjlancheros@ucundinamarca.edu.co
a344e81d0002c3348cd3721677a664d0f5b51c3c
de22c48bb215c028dd5bb22c7bb708632f0665ea
/score.py
dc4a1ae88f166fec59f321d3d4c739559ace1e32
[]
no_license
Hunarnarang23/SnakeGame
52f8a4fdacb43f03ca72945fb6f84825db4613dc
ee724311b364354da8ed69d2994af33f19acc0b7
refs/heads/master
2023-05-03T16:52:53.483139
2021-05-22T19:26:13
2021-05-22T19:26:13
369,890,554
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
import turtle from turtle import Turtle,Screen ALIGNMENT="center" FONT=("Arial", 20, "normal") class Score(Turtle): def __init__(self): super().__init__() self.score=0 self.goto(0,270) self.color("white") self.hideturtle() self.upgrade_score() def upgrade_score...
[ "naranghunar23@gmail.com" ]
naranghunar23@gmail.com
bc330d18d75be690fa3e40124f6e66e761f0de44
bfbf032fbf9773a4f3e136c872c2a534bd570651
/auto_operate.py
811b437deb6ebe54227241c1a2fe4a878b972791
[]
no_license
DashiziChen/wechat_crawler
333932b10b17a821a044203f179df1153620d50c
5c4790ab61cdefbc1af4605658ef5d719ec58159
refs/heads/master
2020-07-08T01:55:30.786653
2019-08-20T12:40:46
2019-08-20T12:40:46
203,533,379
1
0
null
2019-08-21T07:45:20
2019-08-21T07:45:19
null
UTF-8
Python
false
false
3,763
py
from appium import webdriver import time from lxml import etree from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC PLATFROM = "Android" DEVIE_NAME = "127.0.0.1:62001" APP_PACKAGE = "com.tencent.mm" APP_ACT...
[ "nathanyoung@foxmail.com" ]
nathanyoung@foxmail.com
0e7de68fe4ba1f22f6b5dbe553a001c72d73a1f6
981ef88aab6c6b070d751697d061b5793aaa2a32
/Neural_Network.py
d59779775af1284c7ae69b0a491fa71cc40e225d
[]
no_license
titasurbonas/Optimization
d77c89f0f2779bf53351743b5ba897b7083ad90c
0899e06f7245f92e9cbc830f590836fe4c9d581e
refs/heads/master
2020-04-07T06:00:06.628919
2018-12-04T10:20:18
2018-12-04T10:20:18
158,118,496
0
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
import numpy as np class Neural_Network(object): def __init__(self, learning_rate, input_size,hidden_size, output_size): np.random.seed(3) self.learning_rate = learning_rate hidden_size = hidden_size self.weights1 = np.random.randn(input_size, hidden_size) # random wirghts for (inpu...
[ "titasurbonas@gmai.com" ]
titasurbonas@gmai.com
dc235446796eda95b90a6129b6c4e4e423c43a11
e7eb68d56368fb9ef0d99a035baac71bc821a9a8
/witswap/migrations/0010_configuration_minimum_swap_amount.py
f4b5be05111b95c3e12bad69c5a44ab5ac35c3ac
[]
no_license
witswap/website
d57886c50d6e05b935d3228a9a0c4387fcaba0be
82d8001a2e437ca9d23871ef30c901b5eceaa483
refs/heads/master
2023-07-19T06:06:37.122777
2021-09-24T21:08:47
2021-09-24T21:08:47
373,138,153
0
0
null
2021-09-24T21:08:48
2021-06-02T11:09:32
JavaScript
UTF-8
Python
false
false
473
py
# Generated by Django 3.2.3 on 2021-09-06 11:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('witswap', '0009_configuration_fee_percentage'), ] operations = [ migrations.AddField( model_name='configuration', na...
[ "noreply@github.com" ]
noreply@github.com
6a89e67c4330943ffd882ccd41577f252a47d876
d4abaedd47e5a3ce3e8aa7893cb63faaa4064551
/spoj/bearseg.py
0e1ced7689b4dc52b995ffd978e630c5f46fadb7
[]
no_license
shiv125/Competetive_Programming
fc1a39be10c0588e0222efab8809b966430fe20f
9c949c6d6b5f83a35d6f5f6a169c493f677f4003
refs/heads/master
2020-03-15T19:47:12.944241
2018-05-06T08:18:11
2018-05-06T08:18:11
132,317,356
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
t=input() MAX=10**5+1 lookup=[0]*MAX while t>0: t-=1 n,p=map(int,raw_input().split()) arr=map(int,raw_input().split()) lookup[0]=arr[0] for i in range(1,n): lookup[i]=lookup[i-1]+arr[i] count={} ma=-1 for i in range(n): for j in range(i,n): if i!=0: z=(lookup[j]-lookup[i-1]+p)%p else: z=lookup...
[ "shivdutt@shivdutt-Lenovo-G50-80" ]
shivdutt@shivdutt-Lenovo-G50-80
42f70bbc32db742519cdd41111820689977f0b9a
e18845d484c2a6efe9297408768514e2905769a5
/Client.py
7f15c3781bd952326ea4798f65f95d2cd0b59595
[]
no_license
aishan224/Video-Streaming-Server-and-Client
9d1c7528b19efb0dfa9686c851a06adae19de519
b2d92551e32adb189ec40c3d02fa786add609b2d
refs/heads/master
2020-08-07T07:17:39.774273
2019-10-07T10:05:31
2019-10-07T10:05:31
213,349,937
0
0
null
null
null
null
UTF-8
Python
false
false
10,641
py
__author__ = 'Tibbers' from tkinter import * import time import tkinter.messagebox as tkMessageBox from PIL import Image, ImageTk import socket, threading, sys, traceback, os from RtpPacket import RtpPacket CACHE_FILE_NAME = "cache-" CACHE_FILE_EXT = ".jpg" class Client: INIT = 0 READY = 1 PLAYING ...
[ "noreply@github.com" ]
noreply@github.com
d0e7793917bd8df51c7afbc5a6fd7696ae7ba824
17a3418a6143ea2d953cf6509aeca7cc6e074686
/Final-Project/backend/venv/lib/python3.5/site-packages/spotdl/spotdl.py
de67a73c1760448f2bb4d525c6580a9f01e7cf5c
[]
no_license
francolmenar-USYD/Internet-Software-Platforms
addb69a5582a63877e5f3408d64485a7ca942721
9e82ab6e7d0f8d4b3d55789cf5cfcd8e524a85df
refs/heads/master
2022-04-22T02:07:25.419086
2020-04-22T10:02:43
2020-04-22T10:02:43
256,714,630
0
0
null
null
null
null
UTF-8
Python
false
false
8,396
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- from spotdl import __version__ from spotdl import const from spotdl import handle from spotdl import metadata from spotdl import convert from spotdl import internals from spotdl import spotify_tools from spotdl import youtube_tools from slugify import slugify import spotip...
[ "francolmenar@outlook.es" ]
francolmenar@outlook.es
01b0b1b152c7d95fb517060a2a0177ba6b450984
a65e5dc54092a318fc469543c3b96f6699d0c60b
/Personel/Rajkumar/Python/23feb/while..coun.py
20c989dfe17d8cb11d38a89c06656c8ac089f34b
[]
no_license
shankar7791/MI-10-DevOps
e15bfda460ffd0afce63274f2f430445d04261fe
f0b9e8c5be7b28298eb6d3fb6badf11cd033881d
refs/heads/main
2023-07-04T15:25:08.673757
2021-08-12T09:12:37
2021-08-12T09:12:37
339,016,230
1
0
null
2021-08-12T09:12:37
2021-02-15T08:50:08
JavaScript
UTF-8
Python
false
false
61
py
i=1 while i<=10: if i==7: continue print(i) i=i+1
[ "varmarajkumar745@gmail.com" ]
varmarajkumar745@gmail.com
4ddb5fd6cb5cb9f52754f3743df130f969867b20
c2f92d75d235ff5ed7b213c02c4a0657545ba02f
/newchama_web/2/newchama/member_message/migrations/0006_auto__chg_field_message_add_time__add_field_favorites_receiver__add_fi.py
6ac54ad252be403a32024e11e3ce0f1817ed4167
[]
no_license
cash2one/tstpthon
fab6112691eb15a8a26bd168af3f179913e0c4e0
fc5c42c024065c7b42bea2b9de1e3874a794a30d
refs/heads/master
2021-01-20T01:52:06.519021
2017-04-14T09:50:55
2017-04-14T09:50:55
89,338,193
0
1
null
2017-04-25T08:46:06
2017-04-25T08:46:06
null
UTF-8
Python
false
false
39,290
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Message.add_time' db.alter_column('member_message', 'a...
[ "yxlz_0910@163.com" ]
yxlz_0910@163.com
2415a47b98f58149d4981c714498f9eb67383b11
2baeb9965f64214e5a1478ab5139c53bb363ff50
/torch/fx/experimental/fx_acc/acc_ops.py
d4927d60e60152bd46115b814696ec9035e576b0
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
Dithn/pytorch
b327d9a7434a0dbadb7bbf148b22cef7d2e4bc1c
86399d8e0cb72dfd1501fb9be870ac29af38e241
refs/heads/master
2023-04-26T12:01:26.043128
2021-11-16T19:54:14
2021-11-16T19:55:40
207,961,157
1
0
NOASSERTION
2021-11-17T02:14:51
2019-09-12T03:58:02
C++
UTF-8
Python
false
false
52,212
py
# encoding: utf-8 import operator import torch # isort:skip from typing import Sequence, Optional, List, cast import torch.fx.experimental.fx_acc.acc_utils as acc_utils import torch.nn as nn from torch.fx.experimental.fx_acc.acc_normalizer import ( register_acc_op, register_acc_op_mapping, register_custo...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
edcb76503f753316ff000adb6e11ec83839a65f3
7022a367bb413ffe510569f1f5c64df9670529ae
/bookindex/migrations/0001_initial.py
ae94c5c18ce42369db5f3660207aca4ef3f6eacc
[ "Apache-2.0" ]
permissive
wlwwu/bookstore
193f07e7654523f662586f04e05bfc273f6d2c8c
f6b63572ce11a99df4c2595edc62cad6d9aa6a0a
refs/heads/master
2020-03-24T03:18:11.060096
2018-07-26T08:41:32
2018-07-26T08:41:32
142,413,315
0
0
null
null
null
null
UTF-8
Python
false
false
2,859
py
# Generated by Django 2.0.7 on 2018-07-26 06:21 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Author', field...
[ "dcl8zhd@c01.bicadm.com" ]
dcl8zhd@c01.bicadm.com
f04de4e298b82d5b6250d61ad761cebfc18fef5e
76c1ca04a6353483a3c4829712b8a90858f59949
/source/pix2pix_so_v1_func_largev1a.py
53a105ad3301ab50cc7f613d46f9832fabcfc9c4
[]
no_license
Mo-White/vad_gan
787ff1bdcd88a38896cdc11baacf5ea8cea2b0a2
883bf3b42f649c2eb75856e5e74e53e566e00d5d
refs/heads/master
2020-11-23T19:01:56.068654
2019-04-19T11:00:16
2019-04-19T11:00:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,189
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function # train: # python pix2pix_so_v1.py --mode train --output_dir g:/hungv/research/WithHung/data/CMPFacade/python_download/output --max_epochs 10 --input_dir not-used --which_direction BtoA # test: # python pix2p...
[ "vthung13@gmail.com" ]
vthung13@gmail.com
c36dfe46d72001eb9cde3fd02562515254addfcd
8fd25a930c659c8d5bab5076fb06768958da3158
/forms.py
6c780c00e064a8a6c1695679b03ab5df16b7c1df
[]
no_license
dxvo/clinic_database_design
dc61a0ff0ea5cca469da4ea4b0b98f982cce0ae9
dc5262cb4eac9d90fc9779e32197f392275a1fbc
refs/heads/master
2022-12-12T11:04:29.116766
2019-10-31T14:37:35
2019-10-31T14:37:35
178,271,255
1
0
null
2022-12-08T04:58:18
2019-03-28T19:43:26
HTML
UTF-8
Python
false
false
21,841
py
from flask_wtf import FlaskForm from wtforms import StringField,IntegerField,SelectField,PasswordField,SubmitField,BooleanField,DateField,widgets, SelectMultipleField, RadioField, FloatField from wtforms.validators import DataRequired,Length,Email,EqualTo,NumberRange,Optional, InputRequired from wtforms.widgets import ...
[ "dxvo@uh.edu" ]
dxvo@uh.edu
52e9616dd224332052c3633954d3d0536e42fa83
65faf366e5a7d76a9bf61e9d621e703113cb605f
/todo/migrations/0001_initial.py
3510e6f0a5870547bf438d72c7b1f5b3238357aa
[]
no_license
kenrickhatton/KH-Django-todo
661cc308765fbb2cef8d2ba79e0051ccc7ebd186
7c1c9cef117260f0c42f74032ca75dd3262e88f0
refs/heads/master
2020-04-18T07:55:28.968757
2019-01-25T12:47:39
2019-01-25T12:47:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-01-23 11:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Item', ...
[ "kenrick.hatton@gmail.com" ]
kenrick.hatton@gmail.com
794aff014096547713ed2984d0ee22fb2b6b18f2
936a04142409d7d28cf106995c6f0bc969029daa
/Data_Warehouse_in_AWS/etl.py
31e4fbccdba2bdc91c62c33b0075ebab40fa1c69
[]
no_license
borbert/Data_Engineering_Nanodegree
7b921575ce82a4b9c4ee94ba8a205bedf04bb4d1
ce8bc58bf117181386c7cb36cf9234eafe528f4f
refs/heads/master
2023-05-11T09:01:00.160688
2021-05-30T14:07:15
2021-05-30T14:07:15
289,745,849
0
1
null
null
null
null
UTF-8
Python
false
false
2,044
py
import configparser import psycopg2 from sql_queries import copy_table_queries, insert_table_queries def load_staging_tables(cur, conn): ''' This function takes a cursor or connection and loads data into the staging tables. Using this cursor and connection the function iterates through the copy_tables_que...
[ "noreply@github.com" ]
noreply@github.com
91f1fc79c391b5b2b0debcd31e779f9c70449f54
ae99ab7dd61fa4f51db6d78afaa7739908430720
/BackPyService/migrations/0013_alter_service_icons.py
aaa4080e42a4be50ec722bb6b997cee07b2c9df0
[]
no_license
afsharsharifi/TeamResumeWebsite
2f1e937303015530bb278973347d44dc055cf157
87e8b26ffb076243e294e8794c356e2de88eddbe
refs/heads/master
2023-08-22T00:17:52.552075
2021-10-27T14:53:13
2021-10-27T14:53:13
398,439,506
16
1
null
null
null
null
UTF-8
Python
false
false
694
py
# Generated by Django 3.2.2 on 2021-07-24 08:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('BackPyService', '0012_auto_20210724_1233'), ] operations = [ migrations.AlterField( model_name='service', ...
[ "afsharsharifi6@gmail.com" ]
afsharsharifi6@gmail.com
a6084bfe94a88078593f1b6359db3a036eae22de
c6759b857e55991fea3ef0b465dbcee53fa38714
/tools/nntool/nntool/importer/tflite2/tflite_schema_head/PackOptions.py
80d5354a3e6d6c474f93bce81eb2b362de5ab65e
[ "AGPL-3.0-or-later", "AGPL-3.0-only", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "Apache-2.0" ]
permissive
GreenWaves-Technologies/gap_sdk
1b343bba97b7a5ce62a24162bd72eef5cc67e269
3fea306d52ee33f923f2423c5a75d9eb1c07e904
refs/heads/master
2023-09-01T14:38:34.270427
2023-08-10T09:04:44
2023-08-10T09:04:44
133,324,605
145
96
Apache-2.0
2023-08-27T19:03:52
2018-05-14T07:50:29
C
UTF-8
Python
false
false
2,002
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: tflite_schema_head import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class PackOptions(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffers....
[ "yao.zhang@greenwaves-technologies.com" ]
yao.zhang@greenwaves-technologies.com
bcedc4c1accbfa01b7539fd27277ed7a380315b7
335b89792284630e27b8df5b37c4e8b91a03157c
/pmasmclass.py
46ce476e8c6f1687c6c5cbd31156976d7c8b1f22
[]
no_license
xelus47/pmasm
5ad9d7f86e779f0f7247ed1d9054c4bb4cce810e
b8646b0f80b3ab43534fd6bfe699ffbd98487ee0
refs/heads/master
2021-01-19T05:53:01.766564
2016-07-04T20:17:08
2016-07-04T20:17:08
62,582,966
0
1
null
null
null
null
UTF-8
Python
false
false
9,733
py
class Pmasm_window(): terminalHeight=28 padding=2 editorHeight=20 editorWidth=16 # i.e. 16 bytes wide navText='(^S)ave;(^C)ompile;(^R)un;(^Q)uit' cursor=[0,0] scroll=0 inputStr='' editorLines=[] commands = [ 3, # ctrl+C 8, # backspace 83, # del 17, # ctrl+Q 18, # ctrl+R 19, # ctrl+S 13, #...
[ "aleksei0kozlov@gmail.com" ]
aleksei0kozlov@gmail.com
ef892e0925dffe028ea5edfe6b278ed8dfc4123e
d16949043d93030da0289ac7381fc0e4fc7e9a6f
/models/gym.py
da7b83469832eb6f86ad26f549fe818d5f4352d9
[]
no_license
jhabr/self-driving-car
d944c9b4eb1973a809e4cb468d426fe468146b0f
d71d89ce10a549c59a08d2487eb5c02f2f6ebb1a
refs/heads/master
2020-09-06T04:44:06.954028
2019-11-08T09:13:13
2019-11-08T09:13:13
220,326,286
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
from models.brain import Brain from models.trainer import Trainer if __name__ == '__main__': trainer = Trainer() trainer.clear_environment() trainer.load_data() brain = Brain() brain.build() trainer.train_brain(brain) trainer.plot_history()
[ "jaro@freshbits.ch" ]
jaro@freshbits.ch
fc2f1393d8890e7ef15862d840a5df7f49b10603
3a0bf7635337a566f491a95905a7d1b1ad739ca8
/e_commerce/migrations/0035_auto_20210706_1042.py
f790530b19a0bcdd5811fe3baefb3f4ca2120537
[]
no_license
yattdev/django-rest-api-ecommerce-backend
e1991c433b0597d7f0beaf827a72d9ff3ce3d545
400c311317b708bc33d5aef45b40f01f0acc491f
refs/heads/main
2023-08-16T05:25:49.702757
2021-10-08T22:20:56
2021-10-08T22:20:56
412,235,596
1
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
# Generated by Django 3.2.4 on 2021-07-06 09:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('e_commerce', '0034_auto_20210706_0933'), ] operations = [ migrations.AlterModelOptions( name='produit', ...
[ "yattdeveloper@gmail.com" ]
yattdeveloper@gmail.com
cbe89b05655f7c2c1c6e594f2b7d9c42c6dfb16f
64537de7cd7ad821179d643087591c11328d4ace
/rl_algorithms/td3/learner.py
f99f351b9d30300af568a34a9ed4df7c7c3f10b9
[ "MIT" ]
permissive
ierosodin/rl_algorithms
36f3df52ff843e696fcf905d8468d9d6e86f77e2
990c78a269be8d6f4a724707ec66c87abf218718
refs/heads/master
2022-11-08T02:14:10.069506
2020-06-11T04:28:45
2020-06-11T04:28:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,640
py
import argparse from collections import OrderedDict from typing import Tuple import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from rl_algorithms.common.abstract.learner import Learner import rl_algorithms.common.helper_functions as common_utils from rl_algorithms.common.n...
[ "noreply@github.com" ]
noreply@github.com
5f5503a2c70798e12ce2d46337502eaed4b5c7ce
3b3641a165c2499421815d90e3d77dd70ff0424e
/.history/home/admin_20210410053024.py
ed192afa4c744fe1f4f3411238b6d0a87e2d4515
[]
no_license
Ahmedsamymahrous/Crowd_Funding_Web_Application
fa201ed4001f71d318b7b0c3417312217473df23
9ab26d149038a111499de416add36052ab9b173e
refs/heads/master
2023-04-08T17:36:31.889197
2021-04-12T03:48:59
2021-04-12T03:48:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
from django.contrib import admin from .models.category import Category from home.models.user import Users from home.models.project import Project,Project_Pictures,DateForm # Register your models here. admin.site.register(Category) admin.site.register(Users)
[ "mohmd46alaa@gmail.com" ]
mohmd46alaa@gmail.com
0d975a61e27319340720bc966fbcacee4eb5ffdb
c700111e96595d2f0699d20c3260823bf5cf5124
/HW3/ex1.py
68ef854f4e97e316b08e067dc70eb5d2149e0b69
[]
no_license
jimmielin/HW-Numerical-Physics-201718
7de1068465951b48929616623ee0b36bca65f5b5
63b2fd59ba1448009124feabce2bb549009b673e
refs/heads/master
2021-09-03T21:38:53.909261
2018-01-12T06:59:15
2018-01-12T06:59:15
105,414,720
1
1
null
null
null
null
UTF-8
Python
false
false
14,242
py
#################################################################### # Computational Physics, 2017-18 Sem1 # HW-3 Ex-1 # # (c) 2017-2018 Haipeng Lin <linhaipeng@pku.edu.cn> # All Rights Reserved. # # This program is written as Homework for the Computational Physics # Course in Peking University, School of Physics. # # ...
[ "jimmie.lin@gmail.com" ]
jimmie.lin@gmail.com
94671041063fe8fe42265141dfdadcd0bbcafe32
26412e2452e610610b1d8198186f4ff2dd7344ef
/utils/vocab.py
3c6adbead5b9a0153ff2b7cbc9e167588b555bd1
[]
no_license
hiroto0227/CharLevelChemdner
2607fe963f386faa0c48c6eee2842d62a82c142c
ddaeed145cf79924831965402a5e087d255e74d6
refs/heads/master
2020-04-13T13:40:47.862503
2018-12-27T02:43:42
2018-12-27T02:43:42
163,238,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
from utils import labels class LabelEncoder(): def __init__(self): # PADDINGは0, UNKNOWNは1, ZEROは2とする。 self.label2id = {labels.PAD: 0, labels.UNK: 1, labels.ZERO: 2} self.id2label = [labels.PAD, labels.UNK, labels.ZERO] def fit(self, seq): all_set = set([l for line in seq for l...
[ "hilotoc@yahoo.co.jp" ]
hilotoc@yahoo.co.jp
27875c474440ca29e0f3cce00b7d3ea3c4b0f7d3
94a10db4ae5c30edd72ec0dcf606f9fce35bb4df
/ozone/utils/sparse_linear_spline.py
c063ba5bcf72dd104c23a22583770c7e4b4d83be
[]
no_license
ben-isaac/ozone
cacfa7b5f1fe9062077011017af6deba2c582533
7120d7ea82044131c08091ecbd8bb01b64f898b6
refs/heads/master
2022-09-27T12:26:41.153685
2020-06-05T03:04:33
2020-06-05T03:04:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
import numpy as np def get_sparse_linear_spline(in_vec, out_vec): if np.max(out_vec) > in_vec[-1] + 1e-16 or np.min(out_vec) < in_vec[0] - 1e-16: raise Exception('Internal error: cannot extrapolate using sparse linear spline') num_in = len(in_vec) num_out = len(out_vec) iright = np.maximum(1...
[ "hwangjt@Johns-MacBook-Pro-2015.local" ]
hwangjt@Johns-MacBook-Pro-2015.local
f77bf53fbd8d2d5b8392d55850a4f6c66c83384f
af8ac91a3b51006aa5f62f4bb1cbbef2a3836054
/test2.py
845a5c863324943a09b2872b795951a3217a7f49
[]
no_license
Anuj-negi2207/Competitive-Programming
9010286a777e7f024388c2249b12acda3c656d3f
9801ea8e5b5b05e33a2dc800f6dbd3acbb923218
refs/heads/main
2023-07-04T18:07:47.351795
2021-08-21T18:04:53
2021-08-21T18:04:53
398,625,405
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
import numpy as np def LIS(Arr, index, compare, count): if index == Arr.size: return count if Arr[index]>Arr[compare]: count = LIS(Arr, index+1, index, count+1) else: count = LIS(Arr, index+1, compare, count) return count def LIStest(Arr, n): if n<2: ...
[ "noreply@github.com" ]
noreply@github.com
8b3b41d150042fb9973942e95d5cfc0a909eea1a
a122568a82b6b81479a18ddfe88fad222039fad1
/all scripts/cnc.py
168ab40095273749971521a34a80566d6d42e2a5
[ "Unlicense" ]
permissive
gettsauced/MJHY
a271f723215ace915822864fa0fc0d3ad4b887e9
f6b3d96bb479751fc717f67166c98b2f3a7e034b
refs/heads/master
2020-07-21T09:01:10.224515
2019-09-17T15:43:26
2019-09-17T15:43:26
206,807,068
0
0
null
null
null
null
UTF-8
Python
false
false
9,449
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- #Code by LeeOn123 #Created at 16/7/2019 ############################################################# # d8888 # # d88888 # # d88P888 ...
[ "noreply@github.com" ]
noreply@github.com
77aa90c532278df3dadf5288595c7254f321457c
da7c4d72a9c8a33000602ce6f3b6034c3759a8fd
/miloszsobiczewski/horizon/migrations/0005_property_price.py
b80329abdf6c0e984fdfcb579de6b3b9dcf44788
[]
no_license
miloszsobiczewski/Horizon
f2cb2e605dca6fd852a8100445033f3e6a809f3d
8226a8934c7cb118d756fd0241dd3e8240a1d20b
refs/heads/master
2020-04-27T19:07:30.702231
2019-03-08T20:45:04
2019-03-08T20:45:04
174,602,709
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# Generated by Django 2.1.5 on 2019-02-22 22:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('horizon', '0004_auto_20190222_2050'), ] operations = [ migrations.AddField( model_name='property', name='price', ...
[ "sobiczewsk.milosz@gmail.com" ]
sobiczewsk.milosz@gmail.com
c6285c06cf35e18dbac7058dcce33a274f7f9932
1ce70c26a451775e41bb49b2cae1d2e368d20f19
/rlbottraining/history/website/authoritative_data_monitor.py
b4cb0207ddfc60fd22eff6970a8b8cdf137d3c1d
[ "MIT" ]
permissive
RLMarvin/RLBotTraining
37be87da03614c220118fd36f5c79d00a4c74726
a379d15b0a5c32909888c0e34477a18674deb917
refs/heads/master
2021-01-14T23:14:04.981262
2019-10-15T09:44:12
2019-10-15T09:44:12
242,791,296
0
0
MIT
2020-02-24T16:53:38
2020-02-24T16:53:38
null
UTF-8
Python
false
false
2,014
py
from typing import List, Dict, Callable import json from contextlib import contextmanager from pathlib import Path from watchdog.events import LoggingEventHandler from watchdog.observers import Observer from rlbot.utils.logging_utils import get_logger from rlbottraining.history.exercise_result import ExerciseResultJ...
[ "dominikschmid93@gmail.com" ]
dominikschmid93@gmail.com
a04169e47a08a6e66e7557150f6523711d262623
c49e8d7a1c0c245fd0edc604f5d7f7b1ce6f2ca6
/Ciclo1/Unidad 1/Clases/Unidad 2/while.py
ed936fa8613db4b202ca07d1a2258ba3d2e1f0bc
[]
no_license
mmedinar/FundamentosProgramacion
71e7706e0218cba461f9d1f9306b3ff9a1f9d11e
c8539678b943b55f00b7877e9e1cd04eaa0cd271
refs/heads/master
2023-05-31T05:25:47.845896
2021-07-02T00:03:40
2021-07-02T00:03:40
382,183,018
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
#contar numeros # a = 1 # print(a) # a += 1 # #print(a) # while a <= 10: # print(a) # a += 1 # var_1 = 1 # var_2 = 5 # while a !=-1: # a = int(input('Ingrese la opción: ')) # if a == 1: # print(f'{var_1} + {var_2} = {var_1 + var_2}') # elif a == 2: # print(f'{var_1} - {var_2} =...
[ "mmedinar@gmail.com" ]
mmedinar@gmail.com
467068397fd5e3c84e7cca15fbbc84d972a9d348
cccb3cd46c61e44c2b6735aaccb1eb7dc4cb72ba
/24/twentyfour.py
df668624952de14c3ab8905a08342345b5135893
[]
no_license
djtiedemann/riddles
83a3cd0ffb2d8f30a5e45c795808009ce206897e
f837557d2a445c437b43728f2b443dbc57167aa0
refs/heads/master
2023-06-08T05:46:05.262450
2023-05-28T03:36:57
2023-05-28T03:36:57
204,804,821
0
0
null
null
null
null
UTF-8
Python
false
false
8,479
py
# https://fivethirtyeight.com/features/can-you-make-24/ class TwentyFour: orderingOfNumbers = [] def __init__(self, numbers, signs, parenthesesOrders): self.numbers = numbers self.signs = signs self.parenthesesOrders = parenthesesOrders def generateAllEquations(self): numberOrderings = self.generateNumber...
[ "dtiedemann91@gmail.com" ]
dtiedemann91@gmail.com
8f73925c94ee312451b855017f1bca987963a4e6
4199ab74353cb57b7e36eed86a9e6463fa7170f0
/Env/bin/sqlformat
2c753c7fa89018914140aa346ad01ab293ebd4f3
[]
no_license
onlyahmad/django
ce608d45b26c14cfb09eff0ea569035a65d7eb2c
3194d8dd68cf2b290468cf9b7880401823ed6a15
refs/heads/main
2023-01-29T10:17:12.876636
2020-12-06T16:58:08
2020-12-06T16:58:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
#!/media/blackdev/DATA/django/Env/bin/python # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ahmad1510520140@gmail.com" ]
ahmad1510520140@gmail.com
88ea3baeb6c3842e651bd939b3972067b3b38601
785f8b2dbf1e991eb61a779c234ee95957039e6c
/Exp2_Feature_Detection/test.py
6dcaeb7861991f8d178e0ede03e949f5e6acba76
[]
no_license
waskl/CVAssignments
1b80524d16b10e8528f5b5b1ad6ed09eaf419cf4
46595436004f295104cd0730825923c5cc8e22e8
refs/heads/master
2020-09-23T05:59:43.779788
2019-01-10T09:02:12
2019-01-10T09:02:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
import numpy as np from scipy import ndimage from scipy.ndimage import filters a = np.random.randint(0,15,(10,10)) newmax = ndimage.maximum_filter(a,size=(2,2),mode='reflect') b = a == newmax print(a) print(newmax) print(b)
[ "zqw969reynold@gmail.com" ]
zqw969reynold@gmail.com
b3c1b8c0a82c18590a40e48b268e7d6b5151d1c9
5e8ef7b2fd65d546eab907e8cc1efeda689d9191
/task1_3.py
249ab9c7d82fe4c813b709281feff67cfc9eb9c8
[]
no_license
Stranger488/tmo-dz
2ec5234130836b404c22db413e44a0aa14785271
70c75b9c304ddee38fdc5bda85bf1a9603792847
refs/heads/master
2023-03-22T02:09:22.524943
2021-03-12T14:47:52
2021-03-12T14:47:52
346,021,008
0
0
null
null
null
null
UTF-8
Python
false
false
4,305
py
import matplotlib.pyplot as plt import numpy as np from config1 import * from task1_1 import ModelWithoutQueue class ModelWithInfiniteQueue: def __init__(self): # controls default text sizes plt.rc('font', size=3) # fontsize of tick labels plt.rc('xtick', labelsize=5) pl...
[ "ilya_goltsov@list.ru" ]
ilya_goltsov@list.ru
6b2a348908d35fad77fed82f1775983dd9ffd7cf
cc096d321ab5c6abf54fdcea67f10e77cd02dfde
/flex-backend/pypy/translator/jvm/methods.py
582a5f04b0c2e370370a0d62c2866cc366e73d0a
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
limweb/flex-pypy
310bd8fcd6a9ddc01c0b14a92f0298d0ae3aabd2
05aeeda183babdac80f9c10fca41e3fb1a272ccb
refs/heads/master
2021-01-19T22:10:56.654997
2008-03-19T23:51:59
2008-03-19T23:51:59
32,463,309
0
0
null
null
null
null
UTF-8
Python
false
false
6,487
py
""" Special methods which we hand-generate, such as toString(), equals(), and hash(). These are generally added to methods listing of node.Class, and the only requirement is that they must have a render(self, gen) method. """ import pypy.translator.jvm.generator as jvmgen import pypy.translator.jvm.typesystem as jv...
[ "lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d" ]
lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d
e5fc5b2e2f076a3deb4a132618a1ce25e94c26cc
e204cdd8a38a247aeac3d07f6cce6822472bdcc5
/.history/app_test_django/views_20201116131730.py
f28ad5d7088723c0254f3cead00c09213ae31ad9
[]
no_license
steven-halla/python-test
388ad8386662ad5ce5c1a0976d9f054499dc741b
0b760a47d154078002c0272ed1204a94721c802a
refs/heads/master
2023-04-08T03:40:00.453977
2021-04-09T19:12:29
2021-04-09T19:12:29
354,122,365
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
from django.shortcuts import render, redirect from .models import * from django.contrib import messages def index(request): return render(request, "index.html") def register_new_user(request): errors = User.objects.user_registration_validator(request.POST) if len(errors) > 0: for key, val...
[ "69405488+steven-halla@users.noreply.github.com" ]
69405488+steven-halla@users.noreply.github.com
ff6a0c00fb806607f37d98d7952b8aa07972401f
8afb1af1c3e5cbf087f9243e883477e8a02be348
/googlemap/googlemap/asgi.py
5efe882f6da249338d28ebc85b9de24b944ba547
[]
no_license
hsb-py/apimap
f2c6ab3b227a3649bf2249e6ab2923cbfe4042c3
ae092a707fa19df219f8bb6206f51dafdafd2df1
refs/heads/master
2022-12-21T13:58:07.545925
2020-10-02T06:38:51
2020-10-02T06:38:51
300,499,332
0
2
null
2020-10-02T06:38:52
2020-10-02T04:23:23
Python
UTF-8
Python
false
false
395
py
""" ASGI config for googlemap project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SET...
[ "hsb2k14@gmail.com" ]
hsb2k14@gmail.com
46417c3232fcd8e96e852c5cfd52b40a7f6d08fb
dc11616427bc4308eccb6bea98a63a953516c5e1
/api/migrations/0001_initial.py
cc3ea46b54912ccf0203b42aad776c803673f885
[]
no_license
olivx/openmarket
b22a0ed8199e109d71459ab5d42ce3e7c0d1f0fd
8d89967ae8749c2476c071b95d898752e4066850
refs/heads/master
2023-09-05T17:35:15.807747
2021-11-05T20:13:52
2021-11-05T20:13:52
394,351,773
0
0
null
null
null
null
UTF-8
Python
false
false
6,414
py
# Generated by Django 3.2.6 on 2021-08-08 21:41 import django.contrib.gis.db.models.fields import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="...
[ "thiago.vicente@tivit.com" ]
thiago.vicente@tivit.com
b08b0e820b941a2c1066550e27233880181dd5da
7c8452ded53fdca158e718b494a0d369e8a7b52b
/Paper - Design Patterns in Python/Singleton/real_singleton.py
112da3e70b494791ec002f2d37434171afafba2d
[]
no_license
jet-c-21/SE-Practice
8c5e5014c6b32e074adbc2a978197f85cc254ada
54e28d6a0b2dd5a36e86593e7079fe8ccf716236
refs/heads/master
2023-06-02T14:14:28.177209
2021-06-24T14:56:41
2021-06-24T14:56:41
358,961,374
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
class HealthCheck: _instance = None def __new__(cls, *args, **kwargs): if not HealthCheck._instance: HealthCheck._instance = super(HealthCheck, cls).__new__(cls, *args, **kwargs) return HealthCheck._instance def __init__(self): self._servers = [] def add_server(sel...
[ "67193495+jet-c-21@users.noreply.github.com" ]
67193495+jet-c-21@users.noreply.github.com
3d7d937861565c61b93bd132c349419bc5bb3538
924dba47b3a119b88b89540e37e5ccd84fed2136
/routes/static.py
c83d2bc891310495644104aad2313ef2b9d026dd
[]
no_license
jesee255/foru
6f9eef18ffa809420d7bde541fbfbb10537d29d8
146b17340ef8708b1811112e4b5d90184d2b2471
refs/heads/master
2021-01-02T09:22:33.891587
2017-08-03T06:40:57
2017-08-03T06:40:57
99,197,695
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
from routes import * main = Blueprint('static', __name__) @main.route('/') def index(): return redirect(url_for('topic.index'))
[ "jesee@jesee.local" ]
jesee@jesee.local
f925a9333b0fa65c05d62f27c25d5f5b3ab7ed07
b5cac2c05e80dbd8228011f20755bcef2a5423da
/pythoncode/cal.py
1860d0c8494f8d45f227e4abd1276ae51171036a
[]
no_license
daiy96/HogwartsLG5
b517aea6e885c18dd3597e071d84e35470ae9704
42260f53ab9fafa60337671546758da455685d85
refs/heads/main
2023-02-20T09:19:07.810903
2021-01-18T12:13:41
2021-01-18T12:13:41
327,325,120
0
0
null
2021-01-08T15:28:28
2021-01-06T13:48:00
Python
UTF-8
Python
false
false
197
py
class Cal: def add(self, a, b): return a + b def sub(self, a, b): return a - b def mul(self, a, b): return a * b def div(self, a, b): return a / b
[ "1072793840@qq.com" ]
1072793840@qq.com
10fb0c99d66f83101d8b7675f426d9223a89a579
b568c63acd269170dce88cd2025d6ab93737c56f
/jour04/Job0.1.py
b24b584c709f7644adce1b92d36341b70897c158
[]
no_license
benjamin-bigot/runtrack-python
ccae33dccb5b78892c3dec4208b023da54d32279
8c6de4ed9a39c0532e1c7898596485b2e781b464
refs/heads/main
2023-08-03T02:36:30.206304
2021-10-01T14:49:23
2021-10-01T14:49:23
411,187,631
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
def factorielle(k): if k > 0: fact = k * factorielle(k-1) else: fact = 1 return fact x = int(input("Choisissez le nombre dont vous voulez calculer la factorielle\n")) print(x, "! =", factorielle(x))
[ "91526806+BenCharo@users.noreply.github.com" ]
91526806+BenCharo@users.noreply.github.com
9d877bfdebb643410fe3619c620afdb0499a7614
03b992e84b502887cb12454add82277ffa4fb3a4
/Webdriver/Switch_to_window.py
1c60f66e0ed282303dd1977fef703c70041867d9
[]
no_license
jiaolimay/learning
4304c2576f4e0bd3327f67200992c0a492538509
60862a2411c3290cb6d5e9c9425bc3ebebf4a48e
refs/heads/master
2020-05-09T22:08:58.875025
2019-05-22T06:21:36
2019-05-22T06:21:36
181,461,824
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# _*_ coding:utf-8 _*_ from selenium import webdriver from time import sleep driver=webdriver.Firefox() driver.get('https://www.51zxw.net/list.aspx?page=3&cid=615') # 获取句柄,句柄可以识别窗口 selenium_index=driver.current_window_handle sleep(2) driver.find_element_by_partial_link_text('4-3').click() sleep(4) driver.switch_to....
[ "xiaoyuan199058@163.com" ]
xiaoyuan199058@163.com
58b173017587fe7b7bdfec114ccc2694d89793f7
589f9a1a7739f441dc98f42eb4e2f5cd977443b3
/story_struct.py
eabeeb5ab1a6cb3c5aa5f96f316896bae19fdd5a
[]
no_license
amitgayar/tfidf_clustering
fe4f13e18e690817acd5efac8e493cdfe4e52687
2ec27983cdcc27c8fc26a914255f52e6286c9940
refs/heads/master
2022-02-28T22:23:35.431134
2019-08-29T12:08:15
2019-08-29T12:08:15
204,759,415
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
# celery, queue, task, generator_iter() import pickle, pandas, os # ['link', 'title', 'content', 'meta_description', 'meta-keywords', 'datetime', 'spacy_cleaned_article', 'para_text', 'spacy_cleaned_para', 'tfidf'] class Story_Struct(object): def __init__(self, keywords ): self.keywords = keywords self.dir = os...
[ "gayaramit@gmail.com" ]
gayaramit@gmail.com
ed709a5e3cb19ffa423038cd66407b24584acd44
964149a06c1180a4767c0e7d610dc13ca2082fb9
/fwlog.py
8aa4d184cea099fe4539bcc73b6f757301ca5254
[]
no_license
lgbarn/mysource
6f19b355a96de18a8700613d009d2f5f8d7092df
e27def067e1021746fcd2c112cc972cc86cdd486
refs/heads/master
2020-07-01T22:48:46.873578
2014-02-17T19:10:14
2014-02-17T19:10:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,086
py
#!/usr/local/bin/python import os import sys import re import time import datetime import glob import getopt class Log: def __init__(self): # self.dir = "/opt/firewall/vpn/sn32077/LOG/" # self.file = "20070702.log" self.s_dir = str(self.dir) self.s_file = str(self.file) self.fullpath = self.dir + ...
[ "luther.barnum@gmail.com" ]
luther.barnum@gmail.com
7300c8137dc4b8b51645c73bfc8217e08041fee2
99415c4cc7dacf35f67a01d03083d94902b34600
/gestionperfil/serializers.py
3966eb44e4c81a1b3698069a78f96cd38a42cbf2
[]
no_license
Frn14KV/YURAKU
6ecbbd1a6c8ad5c5bd16043002238bca992e495a
7f627d7369cadaf7780b79a2bb565a68d2c6029a
refs/heads/master
2020-07-02T20:35:38.165876
2019-11-20T04:00:36
2019-11-20T04:00:36
201,656,523
1
0
null
null
null
null
UTF-8
Python
false
false
373
py
"""Tesis YURAKU de Christian Flores y Franklin Villavicencio 2019""" """ Este archvio esta creado para que en trabajos futuro se pueda utilizar web service de Comentario. """ from rest_framework import serializers from gestionperfil.models import Perfil class PerfilSerializer(serializers.ModelSerializer): clas...
[ "villa.chispo@gmail.com" ]
villa.chispo@gmail.com
f1a8ff2f8f0d730af7a55b1339b248d9c287856c
56b683d9b5c27be750b6476bee0a55e5474fcf9d
/python/local_library/my_application/app.py
ef22e12c92205bfb9f3714dcb04ea554c9854745
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
aegisblade/examples
3d91d4daee4cd54873a317e82acd28b420d4fa61
30c70dda66a9d94cdbca8f11926082977d0267af
refs/heads/master
2020-08-02T00:03:56.748700
2020-03-27T23:57:01
2020-03-27T23:57:01
211,168,172
0
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
import os from aegisblade import aegisblade, JobConfig from my_local_package.main import local_library_function def do_work(): """This function will run on a server and call into the local_library_function from the local package my_local_package.""" return local_library_function("work") def app_main(): ...
[ "bt.mozoby@gmail.com" ]
bt.mozoby@gmail.com
6cc093e31dd85748bb399d5db570ef828bbfd784
1e9f8661bd871055236416a607ebd3d52e2d848a
/netflix_project/netflix_visualizations.py
4b54039f6d01dd299e5717d8401edde246c028fb
[]
no_license
patrocle-coda/dvp-u6-netflix-data
90c600eebe59148e8335cb6de7195020fcdc918c
d7211db61e8a774d165336f0010c99c9fd465929
refs/heads/master
2020-03-20T19:32:51.086681
2018-06-17T09:14:04
2018-06-17T09:14:04
137,642,297
0
0
null
null
null
null
UTF-8
Python
false
false
15,044
py
# coding: utf-8 # # Introduction # # In this project, you will act as a data visualization developer at Yahoo Finance! You will be helping the "Netflix Stock Profile" team visualize the Netflix stock data. In finance, a _stock profile_ is a series of studies, visualizations, and analyses that dive into different asp...
[ "39875515+patrocle-coda@users.noreply.github.com" ]
39875515+patrocle-coda@users.noreply.github.com
6d8f01e85370d69cd5fbea435f7bfdefddf0c9ff
9827e6a6a1fd2e2183a2ae7ace1c5da901a3530e
/ShopNow/migrations/versions/0598b2c2e988_verified_in_users.py
ab4555cf2c5244e483f4bf8b8f5a146798233c22
[]
no_license
rohitsharma4333/shopnow4333
806128751b71b48029e2db79f0eaecf3c68396ec
5437a0416b4d0dcc4c4bed6acb7b3ed3da9a02f5
refs/heads/master
2020-04-15T13:24:53.272073
2019-01-08T19:35:28
2019-01-08T19:35:28
164,715,929
0
0
null
null
null
null
UTF-8
Python
false
false
2,150
py
"""verified in users Revision ID: 0598b2c2e988 Revises: b537c37e2fef Create Date: 2019-01-06 13:47:14.139808 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = '0598b2c2e988' down_revision = 'b537c37e2fef' branch_labels = None ...
[ "noreply@github.com" ]
noreply@github.com
b302fced19ba096478ad231a63d950d618b67695
ba5a721be540978253828ce2d8bf24c2cf0d4706
/test_few_shot.py
1e676824ea6d3778d232dc3d73bcaff651890d6f
[]
no_license
lephuoccat/TAS-few-shot
7b7c188e8cf1e2c62bed67a2a623982aed57f1da
bcc87075648c6b33fa6f07fd28de745b61a61ba7
refs/heads/main
2023-08-15T16:51:44.770222
2021-10-23T15:38:17
2021-10-23T15:38:17
377,628,660
1
1
null
null
null
null
UTF-8
Python
false
false
4,387
py
import argparse import yaml import torch import torch.nn as nn import torch.nn.functional as F import numpy as np import scipy.stats from tqdm import tqdm from torch.utils.data import DataLoader from sklearn.metrics import roc_auc_score import datasets import models import utils import utils.few_shot as fs from datas...
[ "cat.le@duke.edu" ]
cat.le@duke.edu
4891e1d6471121ee007afa6c59e63fa091ce1400
4cdc59fbf593f69196638eae13d09da71f9b9a18
/Barley/python/kmerGWAS/workflow/rules/create_final_results_table.smk
eb137fa03c384b69c8f0b9ab0264f1e2518a0a8b
[]
no_license
MayroseLab/Lior
b0385bed44f7337fde4438391809023d0ec0e6be
25c07a8c7e1390c5b8f3cf9447450252fe913122
refs/heads/master
2023-03-04T16:19:39.008454
2023-02-27T15:26:46
2023-02-27T15:26:46
121,936,940
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
smk
rule create_final_results_table: """ Create a table with all significant k-mers, p-values direct mapping coordinates and projected coordinates on all LQ genomes """ input: p_val_tsv = os.path.join(out_dir, 'all_samples', '{phenotype}', 'pass_threshold_5per_minus_logP.tsv'), ...
[ "liorglic@mail.tau.ac.il" ]
liorglic@mail.tau.ac.il
05870c6787762890d95c91f778bdb2bc16a14e99
8f18bc6233c5fdb5f6bec7648774e1a79493e4d6
/80_range사용하여 리스트 초기화.py
b9be21c37c7902dbbf9ba7184992f23129dbbecf
[]
no_license
kmk324/Python_simple_300_quizzes
df86fc0429b651a56e45d62d6e7bde20d99da31a
d35ef859a96a4d30cb80456f026ff454313bb102
refs/heads/master
2020-03-23T21:36:01.183899
2018-07-25T05:00:36
2018-07-25T05:00:36
142,118,846
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
# range() 함수를 사용하여 0~9까지의 원소를 갖는 리스트를 생성하라. nums = list(range(10)) print(nums)
[ "kl5549@naver.com" ]
kl5549@naver.com
6e7da8d8db94998e492bafe969437e9b40e5a8f4
4d0f3e2d7455f80caea978e4e70621d50c6c7561
/MongoDB/CRUD/QueryingByObjectId.py
efc3f90c9e14317b40ca16aed85eda0d2c3df484
[]
no_license
mhdr/PythonSamples
66940ee2353872d2947c459e3865be42140329c6
1a9dccc05962033ea02b081a39cd67c1e7b29d0c
refs/heads/master
2020-04-14T01:10:13.033940
2016-05-28T15:33:52
2016-05-28T15:33:52
30,691,539
1
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
__author__ = 'mahmood' from pymongo import MongoClient client=MongoClient() # drop last db client.drop_database("test-db") # database db=client["test-db"] # table people=db["People"] new_person1={"FirstName" : "Mahmood", "LastName" : "Ramzani", "Gender": "Male", "BirthDate" : {...
[ "ramzani.mahmood@gmail.com" ]
ramzani.mahmood@gmail.com
ba45783339987c9ecd7d4648cedcba4eab28b5a5
26ccc53027ad0f3801095a2d1306ee03a31f39b2
/post/forms.py
f7665f52b52f6fe25d333ff6a5603f5eeec78006
[]
no_license
kavin-sorce/gaph
6534d72452cb00062441b77b89193b5cec4e3bcd
bc9e74ebd9fe00b11421a1c1ee1908a44fabe3c0
refs/heads/master
2023-08-25T00:52:59.907121
2021-10-14T15:26:17
2021-10-14T15:26:17
417,183,661
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
from django import forms from post.models import Post class NewPostForm(forms.ModelForm): picture = forms.ImageField(required=True) caption = forms.CharField(widget=forms.Textarea(attrs={'class': 'input is-medium'}), required=True) tags = forms.CharField(widget=forms.TextInput(attrs={'class': 'input is-med...
[ "kavinmanoharan@gmail.com" ]
kavinmanoharan@gmail.com
4474e9f4437f6faed455d6139bbb51cf35a16a6c
a9e9b7645d7511b6384433d7b327ce5583210ca1
/burnoe_app/migrations/0005_service_category.py
fce465abc3e467e6395793c138e4d5941679403f
[]
no_license
dauletra/burnoe_city
333c65c5919cec19fa0e4ef985492e60ff06b827
7933b3bb297d589ced9929e926852d29839e8719
refs/heads/master
2022-12-08T23:59:56.926044
2020-09-29T16:30:14
2020-09-29T16:30:14
249,957,619
0
0
null
2021-09-22T18:58:28
2020-03-25T11:14:28
JavaScript
UTF-8
Python
false
false
533
py
# Generated by Django 3.0.4 on 2020-03-25 05:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('burnoe_app', '0004_auto_20200325_1108'), ] operations = [ migrations.AddField( model_name='serv...
[ "daulet.rakhmankul@gmail.com" ]
daulet.rakhmankul@gmail.com
e703967804eb0f8cb2843481d277c85bc8c71b2e
a9fc496e0724866093dbb9cba70a8fdce12b67a9
/scripts/field/cygnus_Summon.py
3881deea825b33318e178ca09b9972f8f7486987
[ "MIT" ]
permissive
ryantpayton/Swordie
b2cd6b605f7f08f725f5e35d23ba3c22ef2ae7c0
ca6f42dd43f63b1d2e6bb5cdc8fc051c277f326e
refs/heads/master
2022-12-01T09:46:47.138072
2020-03-24T10:32:20
2020-03-24T10:32:20
253,997,319
2
0
MIT
2022-11-24T08:17:54
2020-04-08T05:50:22
Java
UTF-8
Python
false
false
153
py
if sm.getFieldID() == 271040100: sm.spawnMob(8850111, -147, 115, False) elif sm.getFieldID() == 211070102: sm.spawnMob(8850111, -147, 115, False)
[ "thijsenellen@outlook.com" ]
thijsenellen@outlook.com
72caef93226a4cb05201677c911b3789efdba9fd
d400c32010a414a2f536c5c0a3490c8b8e2e9d5a
/modules/m16e/ods_doc.py
75ba3b1fea0134d2c04d2e55576de59bd5e2f548
[ "LicenseRef-scancode-public-domain" ]
permissive
CarlosCorreiaM16e/chirico_cms
3e521eae8f38b732497a2b808950c6a534e69d4f
73897cbddb230630e13f22333b9094d0a047acb3
refs/heads/master
2020-12-30T07:59:04.100330
2020-05-02T12:26:58
2020-05-02T12:26:58
238,917,321
2
0
null
null
null
null
UTF-8
Python
false
false
1,946
py
# -*- coding: utf-8 -*- import sys import traceback from m16e.kommon import KDT_CHAR, KDT_INT, KDT_DEC, KDT_PERCENT from m16e.odslib import odslib #---------------------------------------------------------------------- class OdsDoc( object ): #-------------------------------------------------------------------...
[ "carlos@memoriapersistente.pt" ]
carlos@memoriapersistente.pt
d81a883f54ebe45ea1d711e2cb8d60ffecf7597f
d01a07617266075ddf24e81c376541e69da34536
/cloudbaseinit/openstack/common/gettextutils.py
94aac40b70f469476f08562b43c68ef97943d6d3
[]
no_license
silenceli/cloudbase-init-for-cmcc
a0bf187556d85ba1f84dbc5a512c72611917e4e4
9a2929b4b3df30d8cb7e2a18f6df090ea8b85567
refs/heads/master
2021-01-16T21:05:23.072079
2016-07-04T05:57:52
2016-07-04T05:57:52
62,298,490
0
0
null
null
null
null
UTF-8
Python
false
false
18,536
py
# Copyright 2012 Red Hat, Inc. # Copyright 2013 IBM Corp. # 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/LI...
[ "silenceli_1988@126.com" ]
silenceli_1988@126.com
a5cfd192a6bdd36268a411986e5257ad3f206711
a2e638cd0c124254e67963bda62c21351881ee75
/Python modules/HP_2021_01_04_XTP_Trades.py
4313930c4f2639f99725c878fd6a2d0aae8b3bfc
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
import acm import csv with open( 'C:\\Temp\\1\\CA_Stock Input.csv', mode='r') as csv_file: readCSV = csv.DictReader(csv_file) print 'trade number', "|", 'instrument', "|", 'trade price', "|", 'Portfolio' for row in readCSV: trade=acm.FTrade() trade.Instrument(row['Instrument']) trade.Quantity(row...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
9d9134b43a0b52b56d1b800995fd48ba5e2a8a87
00677e9a65e6f27727a1df81fc0e1d573b0890b2
/pc_client_leap/pc_client_leap.py
b7d5f60d78cda1eb1c965238cb93e1705e42349f
[]
no_license
jbott/LYNX-Arm
2982e755c6816b45dae58a1e8379e79ca37fced0
f8ef801dc3bb4807e157fabe5b991e3bba0315ac
refs/heads/master
2021-01-22T20:59:28.055621
2015-06-12T12:10:07
2015-06-12T12:10:07
34,473,628
0
0
null
null
null
null
UTF-8
Python
false
false
5,030
py
# This requires the LEAP sdk in ../../LeapSDK # pyserial should also be installed from pypi import os, sys, inspect, thread, time from time import sleep src_dir = os.path.dirname(inspect.getfile(inspect.currentframe())) lib_dir = '../../LeapSDK/lib' sys.path.insert(0, os.path.abspath(os.path.join(src_dir, lib_dir))) a...
[ "snowleopardjb@gmail.com" ]
snowleopardjb@gmail.com
dbf7640a313af2358461941e02b18b6d1e7c1709
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/time/high_work_and_long_life/group/case/good_child_and_case.py
fdb05e9779fa6e59a4688c46e5b2f2dee289fb94
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
#! /usr/bin/env python def long_world(str_arg): group(str_arg) print('little_hand_and_week') def group(str_arg): print(str_arg) if __name__ == '__main__': long_world('high_person_and_big_child')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
b2087e7207c8d5906a761f9b5d0333fdf5fa7128
20f89f49400feb9d2885dc2daf3ea3ca189556e7
/day09/proctice/05 粘包问题解决/mod_struct.py
08c0855ed616bb6cfc08acaaf5767a5483a48750
[]
no_license
xiaobaiskill/python
201511b1b1bddec8c33c4efa7ca2cc4afed24a89
540693baad757369ff811fb622a949c99fb6b4ba
refs/heads/master
2021-04-12T03:43:30.308110
2018-07-13T01:41:19
2018-07-13T01:41:19
125,884,001
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author Jmz import struct total = 16374 res = struct.pack('i',total) print(len(res))
[ "1125378902@qq.com" ]
1125378902@qq.com
13289514bf588cb57f8dfac312e69e47e5f2590e
80fdff0775454519ba1f0d75fb7ce9974aae6275
/lesson_spew.py
3818e405cff9a55f294ae308aac6fc94dcc8ef25
[]
no_license
gepoch/lesson-spew
5a802555ac759ef74f4bee8cef0f00be684acaa9
b68274518243f8d75a017399af799e7bb55c8dd4
refs/heads/master
2021-01-10T11:19:57.181143
2015-05-27T22:44:09
2015-05-27T22:44:09
36,400,323
1
0
null
null
null
null
UTF-8
Python
false
false
456
py
""" """ from random import choice george_key_groups=[ "aAqQzZ", "sSwWxX`~1!2@", "cCdDeE3#", "vVfFrRtTgGbB4$5%6^", "nNhHyY7&uUjJmM7&", ",<kKiI8*9(", ".>lLoO0)-_=+", "/?;:pP'\"[{]}", ] def main(groups): out = "" for i in xrange(1000): group = choice(groups) out ...
[ "george.marchin@propylon.com" ]
george.marchin@propylon.com
e4890a743e55b45e2f1034392d3fae961c17c056
2e1aab6a7556414bd2b3c9d8a69d55cad54a8a81
/chapter7: web/yate/yate.py
5e1da42694802b13988438be49982b4e91af74f0
[]
no_license
mikewang0326/HeadFirstPythonPractise
be215964ee830298d5bfdbbea73448df19e20c81
9e5e74b23770723a7d89ba65d15fe943fb9b7be9
refs/heads/master
2016-09-13T04:39:45.461134
2016-05-24T01:20:27
2016-05-24T01:20:27
56,821,758
0
0
null
null
null
null
UTF-8
Python
false
false
2,343
py
from string import Template def start_response(resp="text/html"): return('Content-type: ' + resp + '\n\n') def include_header(the_title): with open('templates/header.html') as headf: head_text = headf.read() header = Template(head_text) return(header.substitute(title=the_title)) def include_...
[ "hi.from.mikewang@gmail.com" ]
hi.from.mikewang@gmail.com
0e2a52e94c7f73fec59479da18ed015bcba38c62
11ba06b1a3cd2481cc1bda59f382921ccf6608cb
/security.py
18bb262bc011e41ba6a767440bb40b192b7e1363
[]
no_license
JosephBianchi/api-python_flask-item_and_store
4fd7827681290a9a23ff6694b7598d63f5f8b19e
81af6cd11e48912a7a3cdcfe1f751ecf96a09f21
refs/heads/master
2021-08-19T10:03:55.294780
2017-11-25T19:05:54
2017-11-25T19:05:54
112,022,086
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
from werkzeug.security import safe_str_cmp from models.user import UserModel def authenticate(username, password): user = UserModel.find_by_username(username) if user and safe_str_cmp(user.password, password): return user def identity(payload): #content of JWT token user_id = payload['identity'] ...
[ "joseph.bianchi3@gmail.com" ]
joseph.bianchi3@gmail.com
9f51b5a2e32158fc3a3df54f74fe063af604767f
09a54c4f4db7e073d2897c0c8cd367f5ac630bd5
/paj7620.py
27a291f643c4ae862282d792e3478bc5cac2c756
[]
no_license
firstnamenie/paj7620
fd2cbabb07fa7cbb38504c8fb665782d01cc5c65
ea62cb862b5e6ae0bbee2910afdd6cb9a88ddbfc
refs/heads/master
2022-01-04T14:35:32.912895
2019-11-14T02:32:48
2019-11-14T02:32:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,079
py
import time,sys import RPi.GPIO as GPIO #from grove.i2c import Bus from smbus import SMBus # use the bus that matches your raspi version rev = GPIO.RPI_REVISION bus = SMBus(1) class gesture: #Registers and variables for the gesture sensor GES_REACTION_TIME =.500 # You can adjust the reaction time according ...
[ "noreply@github.com" ]
noreply@github.com
840e453e531447a4fa54106cccc088175874e5c4
ed06e8278f34e1b14b3f228684fbc37b8b66d1bd
/tfmiss/keras/layers/wordvec_test.py
30b0a63f767a033c3f468276202bbaea5781285e
[ "MIT" ]
permissive
shkarupa-alex/tfmiss
7fa798e9e3b2e7142dcf0062eb188ae8e2bb69fa
a8ce1bdc57fc72381bdfed96098be3edef5fa535
refs/heads/master
2023-08-17T04:11:26.764935
2023-08-15T10:00:28
2023-08-15T10:00:28
190,878,990
1
2
MIT
2023-04-18T06:57:51
2019-06-08T11:17:38
Python
UTF-8
Python
false
false
39,892
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import tensorflow as tf from collections import Counter from keras.saving import register_keras_serializable from keras.src.testing_infra import test_combinations, test_utils from tfmiss.kera...
[ "shkarupa.alex@gmail.com" ]
shkarupa.alex@gmail.com
c7fa073ecbf2525fe0566975e480c671756489d5
52d9a2b1a9e21788666efd3ee9ef6247a753eabf
/TomeRater/populate.py
bec6b17bc03e3385d08f3de2ae736cdd148e0ced
[]
no_license
devtalukdar/pwp-capstones
a084b2ad3400b392bcba042154a800d50bbb96e8
cad70e1b4eadbb2387086038938d7ba81ec0bda8
refs/heads/master
2020-03-24T07:50:27.716992
2018-07-27T13:01:01
2018-07-27T13:01:01
142,576,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
from TomeRater import * Tome_Rater = TomeRater() #Create some books: book1 = Tome_Rater.create_book("Society of Mind", 12345678) novel1 = Tome_Rater.create_novel("Alice In Wonderland", "Lewis Carroll", 12345) novel1.set_isbn(9781536831139) nonfiction1 = Tome_Rater.create_non_fiction("Automate the Boring Stuff", "Pyth...
[ "talukdardev@gmail.com" ]
talukdardev@gmail.com
4f0a5ab894c57ef607e731715d93738ab887561e
4c0439e9b5c95329dcbbe75bd160c0dc141ff041
/1_Script/8_Fix_Matrix_Size/Fix_M_size_0.py
8f640acc82ad7adc7c30f57cd5651933e82c41fe
[]
no_license
grdm13/Condensation
0a077802e9af51b0c6807d9033e3aec20a099f8f
bbd3b959c1e80158df59c6db7c21b22e6a10ec1c
refs/heads/master
2023-03-11T10:50:20.480507
2021-03-01T18:19:17
2021-03-01T18:19:17
260,291,377
0
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
import numpy as np import time import os from numpy import genfromtxt import pandas as pd ################## start the timer ####################### start_time = time.time() ################## read the CSV files ####################### def getListOfFiles(dirName): # create a list of file and sub directories #...
[ "grdmgrdm@gmail.com" ]
grdmgrdm@gmail.com
44d6c28f341e2815afce331128799f8cbf40eed3
30ec1613b462d1a749e3a5cbd27157cb141374e3
/gojonesy/blog/models.py
4ccd1203373c45885802aa5de511628f82fe05b8
[ "MIT" ]
permissive
gojonesy/GoJonesy
6426f3d9bfaeab7d759f40fa1d4ac54428c39321
224c7abe9b976d255567c66b397c7efe1cea3b4d
refs/heads/master
2021-04-30T12:05:18.622226
2018-03-02T19:42:44
2018-03-02T19:42:44
121,267,080
0
0
null
null
null
null
UTF-8
Python
false
false
2,112
py
from django.db import models from django.urls import reverse from django.db.models.signals import pre_save from django.utils.text import slugify from django.utils import timezone from gojonesy.users.models import User # Create your models here. class PostManager(models.Manager): def active(self, *args, **kwargs): ...
[ "justinjones00@gmail.com" ]
justinjones00@gmail.com
a927ba1b53ff8681788af93113468b07d88a3715
3af40b7642e69906d637390d889baf6e9cb1167b
/server/configration/socketUtils.py
6517778a142b42e54b52bd1616b88e1a9b6bef46
[]
no_license
mengzhiAyuan/Python_demo
8a0fa700957db9b1d602ddec56c16b93b07c37ad
fb1979541fb77c1e7e67cc0f70ab7ebb423def65
refs/heads/main
2023-06-05T10:24:26.534968
2021-06-20T13:10:46
2021-06-20T13:10:46
378,646,323
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
class socketUtils(object) : """套接字工具类""" def __init__(self,sock): self.sock=sock def recv_data(self): """接收数据并解码为字符串""" try: return self.sock.recv(1024).decode('utf-8') except: return "" def send_data(self,message): return self.sock.send(m...
[ "2716013756@qq.com" ]
2716013756@qq.com
3ad7c2188b9af2cc883220a12c43c43fe0b7b40e
1ac77cf0bfaf43a6b60d931ba33ab97aeb279b29
/interpolated_torchdiffeq/_impl/odeint_interpolated.py
0b123a5fa9de249953349e5ab12cb1feb2e068fc
[ "MIT" ]
permissive
Daulbaev/IRDM
76a21c6af564289c6a57e650ea2a01ebbbc48c66
4bb60191ac0072e4349ca47092675d06b39a979a
refs/heads/main
2023-01-20T23:15:56.823377
2020-12-06T13:07:52
2020-12-06T13:07:52
305,968,435
12
0
null
null
null
null
UTF-8
Python
false
false
17,466
py
import torch from torch import nn from .cheb import cheb1_interp_torch, compute_barycentric_weights, r8vec_cheby1space from .odeint import odeint from .misc import _flatten, _flatten_convert_none_to_zeros import time class OdeintChebyshevMethod(torch.autograd.Function): @staticmethod def forward(ctx, n_nodes...
[ "PVnuRT@gmail.com" ]
PVnuRT@gmail.com
f16a18a60451d63b0c3e3ea9dfd47962690ed967
eb19175c18053e5d414b4f6442bdfd0f9f97e24d
/tests/starwars_django/test_connections.py
9992f0f3809a991f64dc9a760a689072066a1616
[ "MIT" ]
permissive
jhgg/graphene
6c4c5a64b7b0f39c8f6b32d17f62e1c31ca03825
67904e8329de3d69fec8c82ba8c3b4fe598afa8e
refs/heads/master
2020-12-25T21:23:22.556227
2015-10-15T19:56:40
2015-10-15T19:56:40
43,073,008
1
0
null
2015-09-24T14:47:19
2015-09-24T14:47:19
null
UTF-8
Python
false
false
987
py
import pytest from graphql.core import graphql from .models import * from .schema import schema from .data import initialize pytestmark = pytest.mark.django_db def test_correct_fetch_first_ship_rebels(): initialize() query = ''' query RebelsShipsQuery { rebels { name, hero { ...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
b3df7808a21d10f9ae806045f1873c270e9152ab
3f2c5d6bd6a8a8f911824fc7855d57d22d799812
/src/algorithms/LS_Cen.py
1db74e4ca3d273ba98b780cbc6519fe59bb0c4ff
[]
no_license
tsangkai/multirobot_localization_utias
9dbc412b3788532d8a8079e206afdfa73af43a08
be8e4e90267277454a453dd72635e7c3a55e50f9
refs/heads/master
2023-07-16T06:15:32.371046
2021-08-31T02:40:36
2021-08-31T02:40:36
401,443,212
4
1
null
null
null
null
UTF-8
Python
false
false
4,663
py
import numpy as np import math from math import cos, sin, atan2, sqrt from numpy import dot import scipy.linalg as linalg #import parameters from algorithms.EKF import ekf_algo_framework def rot_mtx(theta): return np.matrix([[cos(theta), -sin(theta)], [sin(theta), cos(theta)]]) class LS_Cen(ekf_algo_framework): ...
[ "tsangkai.chang@gmail.com" ]
tsangkai.chang@gmail.com