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
463c0b005dd87e4d7bb757c3bc853de5bac1f441
26365e45a64f7809f62be4981c9f77ff8796047f
/tests/test_source.py
2b3ce42d19be0e146ad7c5760943135307d2e6c7
[]
no_license
gabrielelanaro/scripting
42e79d77c9568e8b45144a7a02dbfe084cbb96b5
65c3a127611f15782e548189d1f29535e12da3bf
refs/heads/master
2021-01-15T22:29:22.475259
2013-05-24T17:45:11
2013-05-24T17:45:11
1,071,502
1
0
null
null
null
null
UTF-8
Python
false
false
199
py
from scripting import source from os.path import join as jn import os DATADIR = 'tests/data' def env_test(): source(jn(DATADIR, "testenv.sh")) assert os.environ["TESTVAR"] == 'TESTVALUE'
[ "gabriele.lanaro@gmail.com" ]
gabriele.lanaro@gmail.com
fb3cd341af401e8d56a180fbc32a49b4403c813b
ce663c8e9d980367adf4fe7d3e8340bcd52cb441
/Part-Two/app.py
255486e4945f8955702898df88084706f78b4c52
[]
no_license
hanyun2019/Cloud-Native-Python
48afe58c32b5fb6cc25eb4b0550a087fc70240e2
f360c61958f5cc9cbb4b1ad76ae57ff9c15b6065
refs/heads/master
2020-07-29T18:43:32.574123
2019-09-24T15:24:13
2019-09-24T15:24:13
209,921,080
0
0
null
null
null
null
UTF-8
Python
false
false
8,969
py
# Haowen Huang modified on Sep 23, 2019 # Implementation of Cloud Native web applications # Part Two: Developing a web application with Python # # http://localhost:5000/ # from flask import Flask, render_template, request, jsonify, redirect, session from flask import abort from flask_cors import CORS, cross_origin f...
[ "noreply@github.com" ]
noreply@github.com
8a1806c6d7537366e06a476aee25366fc44b0ad2
e43f701b20769d793fe9841e1c1b495f9c49b080
/ex33_3.py
d7853d514e3bfe263b578f3b4e9f0ec7a5bdde78
[]
no_license
Vovchik22/Python_test
fa0b8bcfc8d71203294523ed6fb5335e441d4b70
6a070880ab3a9efdedc1efc98ddb56c0a9fde700
refs/heads/master
2021-01-01T15:21:18.156922
2019-06-03T12:31:59
2019-06-03T12:31:59
97,599,076
0
0
null
2019-06-03T12:32:00
2017-07-18T13:05:29
Python
UTF-8
Python
false
false
284
py
def NewNumb(first): i = 0 numbers = [] for i in range(0, 10): print(f"Start from {i}") numbers.append(i) print("Numbers now", numbers) print(f"Last number {i}") return numbers numbers = NewNumb(1) for num in numbers: print(num)
[ "vvpodufalov@gmail.com" ]
vvpodufalov@gmail.com
4926fdf03e813c8a831cd3f819995d1ec1bd0b20
1a707f6079e1ab5666e2bfec33642600db0cd1b8
/class_attention/utils.py
2294849eed42e6d06d2827bf8c0775e201d03c64
[]
no_license
Guitaricet/class_attention
a862d6f4ea48a78534fc5155c1c50653280e7cb8
76e92f16d49b031fdba388d0dbe67340e6e35d70
refs/heads/master
2023-08-17T17:37:23.398281
2021-09-20T18:43:09
2021-09-20T18:43:09
332,091,972
0
0
null
null
null
null
UTF-8
Python
false
false
9,871
py
import re import logging import os import random import sys from collections import Counter import torch import torch.utils.data import numpy as np import datasets import tokenizers import tokenizers.pre_tokenizers import tokenizers.normalizers from tokenizers.models import WordLevel logging.basicConfig( format=...
[ "guitaricet@gmail.com" ]
guitaricet@gmail.com
f11ac19addca9963ce504f52f1a6b9a5d4f7bb9e
3e035bf4561508b64be7d5559ec643d421372b58
/matthew-lavin/app/application/ml/__init__.py
b61c4b1c943c64d8dc2bc395d1d5d91780ea31a1
[]
no_license
rebeccamlee/lavin_webserver
ac88e7b983eb9bd535ea6d30f3eb0370d1980e36
ddd67f8ed53a2fa8973ef9a020702f5826d87831
refs/heads/master
2020-04-30T04:16:40.797483
2019-03-19T20:35:25
2019-03-19T20:35:25
176,607,498
0
0
null
2019-03-19T22:21:16
2019-03-19T22:21:15
null
UTF-8
Python
false
false
588
py
from flask import Blueprint, render_template from application.models import * ml_blueprint = Blueprint('ml', __name__, template_folder='templates') @ml_blueprint.route("/teaching") @ml_blueprint.route("/teaching/") def teaching(): data = StaticPage.query.filter(StaticPage.route == "teaching").one_or_none() re...
[ "lavin@pitt.edu" ]
lavin@pitt.edu
a8ab2cbb290117a33ace9548c6ae50c5e155ace2
e2181e9439866cbf1455fdff66e4e27879eb034e
/src_my/managescripts/reloadconfig.py
d348351348ed9760f844c5af067470af54035a0e
[]
no_license
lineCode/game_server-1
3fb841d3a4973d47e9c2692bbf9b1e440c499e5d
d9178ee8a0a504e5873bee3616d323056c9c9764
refs/heads/master
2020-05-19T08:01:02.835874
2019-05-03T11:10:57
2019-05-03T11:10:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,227
py
#!/usr/bin/env python #!-*- coding:utf-8 -*- import os, re, sys import subprocess import getopt import signal logind = 0 scened = 0 gmd = 0 child_path = os.getcwd() parent_path = os.path.dirname(child_path) os.chdir(parent_path) def relogconfig_help(): print "\n relogconfig使用说明" print " %-20s说明选项" %"...
[ "kilen@localhost.localdomain" ]
kilen@localhost.localdomain
180d8b2c616d975e03c508cf26d2054234cf6aa2
7225f1f2942ed76038d5b0e2b7e1590b52468f1e
/wright-fischer.py
4c5891de339abd2813f2e60c5451c254c81a7c50
[]
no_license
badain/bioEvol
db8bab494099a9412f30f6e989a36c5e9b6a5f86
3a2dcf81729cbd9517b09a160d5c77a965beab42
refs/heads/main
2023-03-02T06:10:19.672407
2021-02-09T00:47:31
2021-02-09T00:47:31
313,290,555
0
0
null
null
null
null
UTF-8
Python
false
false
3,789
py
############################################################# # Description: simula o modelo estocastico de Wright-Fischer # para a transmissão de cópias gênicas # Usage: dist_estocastica(K, N) # # Pre-Condition: K, N:integer # Post-Condition: retorna um dicionario relacionando a # o númer...
[ "rafabadain@gmail.com" ]
rafabadain@gmail.com
db359bbb0cdf7ab15ded08b84fa9757efd26f9d2
8d6e6c91a1b7aa3cadc1b0549805f92f9121aa9e
/python/ray/util/sgd/v2/trainer.py
ec5a08bd07ddc02addf4ec8338d06d80b751f26b
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
DavidRother/ray
9da5d75132960d9c73de75fc581c7dafce0123b3
e53aeca6bb156f6a5621afdc85148d17c3820948
refs/heads/master
2023-07-05T17:24:25.579997
2021-08-12T14:53:42
2021-08-12T14:53:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,781
py
import inspect import logging from typing import Union, Callable, List, TypeVar, Optional, Any, Dict from ray.tune import Trainable from ray.util.sgd.v2.backends.backend import BackendConfig, BackendExecutor, \ InactiveWorkerGroupError, SGDBackendError from ray.util.sgd.v2.backends.tensorflow import TensorflowConf...
[ "noreply@github.com" ]
noreply@github.com
9eb17bced61c9637bdc0115f1027ff7430200168
1ea0dc0c5d5c0fa54907a31e637344081dd5e9a8
/Daily_Stock_Prices.py
d0018a98d220f74d1a80586e5b64350e5f534c50
[]
no_license
Row-Bell/Python_Basic
7b77411542fc33868211c9b14ab220050ee25dcb
929bb2d8dff0de00b43dfe66e697f9bd5fa42636
refs/heads/main
2023-02-19T02:19:47.078071
2021-01-17T03:18:17
2021-01-17T03:18:17
325,171,297
0
0
null
null
null
null
UTF-8
Python
false
false
4,310
py
'''import requests import pandas as pd import matplotlib.pyplot as plt #Enter tge ticker of the companies that you want to analyse companies = ['AAPL', 'FB', 'GOOG', 'F', 'TSLA'] #empty list to add each of the companies listofdf = [] #API end point request #requests.get(f"https://financialmodelingprep.com/api/v3/hi...
[ "robel.arega2@gmail.com" ]
robel.arega2@gmail.com
7e7b0845eb0bd1cb2e431181c32e85ab8d805b9f
6da32e0b0694faf8db43baf617be428a7a547009
/antzodpars.py
12b493892b064ff6401f886583ac9612b9fd4d78
[]
no_license
hotgulabjamun/morinus-console
f603cbb691ebe7e31c9c744af6cd4aa70d8740a7
b73106824b579a863691e858980882d5bc72c510
refs/heads/master
2023-04-12T16:43:28.938835
2021-05-08T19:03:34
2021-05-08T19:03:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
import astrology import planets import zodparsbase class AntZodPars(zodparsbase.ZodParsBase): """Computes zodiacal parallels of the antiscia of the planets""" def __init__(self, ant, cant, obl): zodparsbase.ZodParsBase.__init__(self, obl) self.ant = ant self.cant = cant self.apars = [] self.cpars = [] ...
[ "pablo@citla.com" ]
pablo@citla.com
7537b54bab44dc8f46b1c1c38c0d6b02d131616e
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/public_hand_or_big_woman.py
a6465a3098d82b969e3ffb571a87aeeb368e3bf7
[]
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
189
py
#! /usr/bin/env python def be_next_work(str_arg): week(str_arg) print('woman_or_time') def week(str_arg): print(str_arg) if __name__ == '__main__': be_next_work('year')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
e94468310cfc2f6d71923509ae21a08b9fac3ab2
a1b2b0f7a91182577705b11dad7e5029d2a2ec81
/manage.py
cef83f2950c038a518398d78b88688fc3a93ce3b
[]
no_license
Artur-Sukhytskyi/Django-API-Development
cb50129e97e8d386343c69027009984da10fdc5e
ad9c0e81d81703f606991787603a9513ef20ad12
refs/heads/master
2023-08-13T18:40:51.740771
2020-11-25T11:00:14
2020-11-25T11:00:14
267,881,206
0
0
null
2021-09-22T19:07:09
2020-05-29T14:41:11
Python
UTF-8
Python
false
false
639
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'blog.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "noreply@github.com" ]
noreply@github.com
d20616418c9031d8b31aa97301c3f90a2b3c7b2d
08a498fe90e43ab0647c472f195c654e8f2728a3
/parsec/node.py
e09ba663d593976a530d967b3047cbc915a08e1e
[]
no_license
ftkalcevic/flat_file_sql
91637d7238df0f842ad1dd55e346c1fa4a8c7608
23b93d8c30c9475eafbc6dedea6d74ca546d7ed3
refs/heads/master
2023-04-20T18:23:19.385207
2021-05-09T20:50:12
2021-05-09T20:50:12
356,706,986
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
# From https://github.com/mastermay/sql-parser/tree/master/py-sql-parser class node: def __init__(self, data): self._data = data self._children = [] def getdata(self): return self._data def getchildren(self): return self._children def add(self, node): sel...
[ "frank@franksworkshop.com.au" ]
frank@franksworkshop.com.au
8ebba19af8f773f17fb07d8413e3497452552cd3
6712116b4827f9fe6224b0564865f96817d57391
/fluxi/muxe.py
875115f2d6301ba5468af1170a7a04db5484a171
[]
no_license
JayFF/lab_fluxi
fb49912c1f38ab413065a3ee18979ea88827e147
b4ecff2bf222e33da8510e95b56392fca71217ad
refs/heads/master
2020-03-28T20:59:05.818941
2018-09-17T14:35:52
2018-09-17T14:35:52
149,119,980
0
0
null
null
null
null
UTF-8
Python
false
false
24,260
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 30 18:16:01 2014 "Muxe": "Magic User eXperience Elements" """ from __future__ import absolute_import, division, print_function, unicode_literals from builtins import str try: from PyQt4 import QtGui, QtCore from PyQt4.QtCore import Qt except ImportError: from...
[ "tv@in-hd.de" ]
tv@in-hd.de
2ce9104b0758d48a3de995d90d05fa6c079a87b3
1d7a468a1554d17f8d2d061c67b7f12d8c475dd7
/example_implementation/NimRL-master/4Heaps/NimTraining.py
5b298fa0cf2553935751680a311e9cd7d8e9ef02
[]
no_license
bramtoula/RL_Nim
842869c05ef736f80b018335a48c13e29be6ea47
2779a09eef6fcfde9275ae637869e7d23a6c9338
refs/heads/master
2021-03-24T13:07:59.342576
2017-05-19T13:13:48
2017-05-19T13:13:48
86,991,082
1
0
null
null
null
null
UTF-8
Python
false
false
5,677
py
import numpy as np import random as rnd from SA import SA from AgentQ import Agent from AgentSARSA import AgentSARSA import matplotlib.pyplot as plt import pickle ###### Training Agent vs Computer ####### def play1(board,end,Agent): """Agent vs Smart""" Agent.move(board) if board == end: ## pr...
[ "benjir21@hotmail.fr" ]
benjir21@hotmail.fr
d59decd5ba84f7ba41412b6d8f8af2f359d48daa
de5e976e4c6b07a9087e38744b1d4f9ab4fda577
/tests/test_server.py
a73a4ae4fdc6e7d7de52b480360b19bcaf8340ba
[]
no_license
Luceurre/Ponthon
06f21717c7f74d02216ad9e67a75f3062bde9a21
6e2aa3ba8ef66c26f4e357edb5a1e94ad06fc1cd
refs/heads/main
2023-03-03T02:54:48.292914
2021-02-14T22:29:25
2021-02-14T22:29:25
338,915,607
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
import unittest from lsp.LanguageServer import LanguageServer class TestServer(unittest.TestCase): def test_server_start_tcp(self): server = LanguageServer() server.start_tcp("127.0.0.1", 5000) if __name__ == '__main__': unittest.main()
[ "pglandon78@gmail.com" ]
pglandon78@gmail.com
949d895fb08cec452a2f86bc1cfe122fcf7c7581
716729bcb0fb071794583fc448c9d853b099b314
/PFA_2A/log/admin.py
ad22c2636adfb3b17a7a4689b7af785f56cc76fe
[]
no_license
Taddist/Generate_Timetabling
7ea19ef1bbcb2c04f44aafc9cbbbec8cfeb8f248
378a51dbf96b279cfab52605b727256cd06b60a7
refs/heads/master
2021-07-12T07:05:09.666910
2017-10-13T16:32:52
2017-10-13T16:32:52
106,847,146
0
0
null
null
null
null
UTF-8
Python
false
false
2,154
py
from django.contrib import admin from log.models import Year , Filiere ,Group, Room ,Subject , Timeslote ,Tag, Notification , Contact,TypeExam,Exam,TypeElement,FileCsv ,Semaine,FreeTime ,SubActivity # Register your models here. @admin.register(FileCsv) class FileCsvAdmin(admin.ModelAdmin): list_display = ('user','...
[ "afaf.taddist71@gmail.com" ]
afaf.taddist71@gmail.com
00c9442341892b772603c6e9f4d9d0cd562630e0
fcbdae0db78a0bf2fc0d15360588d075e1205dd4
/manim/mobject/types/opengl_point_cloud_mobject.py
c9894a21b7b84c091fa1a200150843e49d5e4e15
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
westre3/manim
d0352adf384a2368db7c31118b8ebaa96e3f5262
daf23c9d1031b12d9c119b8f6b7e60727d7f9242
refs/heads/master
2022-02-18T13:53:11.952626
2022-01-20T04:26:21
2022-01-20T04:26:21
366,182,393
0
0
null
null
null
null
UTF-8
Python
false
false
6,101
py
from __future__ import annotations __all__ = ["OpenGLPMobject", "OpenGLPGroup", "OpenGLPMPoint"] import moderngl import numpy as np from ...constants import * from ...mobject.opengl_mobject import OpenGLMobject from ...utils.bezier import interpolate from ...utils.color import BLACK, WHITE, YELLOW, color_gradient, c...
[ "noreply@github.com" ]
noreply@github.com
b7ab18a5e62fd51381ae87268bc63f20d853de23
bd16f4af25d34e6a8113a0d1797fc0324fffa670
/venv/lib/python2.7/site-packages/vertica_python/vertica/messages/backend_messages/notice_response.py
e0dc35cc08ac5689d8e1f462a51c44a56c3ee5ce
[ "MIT" ]
permissive
bocaaust/Schrodingers-Closet
41307ef1ba25b5e279efc1ff5b7ee61204a6ba50
608edd171ed008f51324d2f12cbf5effd0e9ce2b
refs/heads/master
2021-01-11T08:11:05.042686
2016-10-03T03:54:42
2016-10-03T03:55:55
69,749,235
1
0
null
null
null
null
UTF-8
Python
false
false
2,190
py
from __future__ import absolute_import import string from struct import unpack_from from vertica_python.vertica.messages.message import BackendMessage class NoticeResponse(BackendMessage): FIELDS_DEFINITIONS = [ {'type': 'q', 'name': "Internal Query", 'method': 'internal_query'}, {'type': 'S',...
[ "danalhsiao@gmail.com" ]
danalhsiao@gmail.com
107467f95d1d5f14efb0291a149d167ada0b059f
cb82e798d1ea875e87d973d87602baa07166fb7b
/net/url/obj.py
d67c2f4f133dd4d34cc41c0537d9858393d75cfa
[]
no_license
rowanpang/noteGit
e9470be20bfdb04ac6b80c93f0f1cd3fd97ef565
120ca5329addf3a780b2299a0ab74de997b77785
refs/heads/master
2023-05-31T05:04:58.731953
2023-05-31T02:34:14
2023-05-31T02:34:14
52,506,290
1
0
null
2021-06-04T01:08:05
2016-02-25T07:41:49
C
UTF-8
Python
false
false
467
py
#!/usr/bin/python # -*- coding: utf-8 -*- import urlobject # ref https://urlobject.readthedocs.io/en/latest/quickstart.html for l in open('./url.txt').readlines(): uobj = urlobject.URLObject(l.strip()) print uobj print 'scheme:',uobj.scheme print 'hostname:',uobj.hostname print 'port:',uobj.port ...
[ "pangweizhen.2008@hotmail.com" ]
pangweizhen.2008@hotmail.com
958d10213b2c05b768ced6c6cda03fb7c7d10b0b
bdc10ba57424040129cc72ad018ff26bc8bca66a
/ConfigDefinitions/BranchAdditions/UserDefinedBranches/Triggers_18_MC.py
fa59a97a8c09e3b16d9403906e1fd565dd4e9943
[]
no_license
aloeliger/Jesterworks
61e0ac38ca325fefbbd8ccedaa8eb02d8a76ebbe
96a22bac4ce20b91aba5884eb0e5667fcea3bc9a
refs/heads/master
2021-06-09T15:39:06.976110
2021-04-23T11:25:06
2021-04-23T11:25:06
157,698,363
0
1
null
null
null
null
UTF-8
Python
false
false
1,383
py
import ConfigDefinitions.BranchAdditions.BranchDef as Branch def CalculateTrigger24(TheBranch,TheChain): if (TheChain.passMu24 and TheChain.matchMu24_1 and TheChain.filterMu24_1 and TheChain.pt_1 > 25.0): TheBranch.BranchValue[0]=1.0 else: TheBranch.BranchValue[0]=0.0 def CalculateTrig...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
271552d01f195d3c29fa9a58ded6978f835d3f95
068fbb8bdd43970f66a64c6dd77a8a70c5915b65
/RandomWalkTest.py
49899e66db7229926c1effe93915f3df885b0e31
[]
no_license
utkarshrutgers/FinancialModelling1
5fe653a60a3a192dccb7d8fcfae5a6d2478eb5b3
01788f0092b02ca492f02d1115bd59d9f8da7023
refs/heads/master
2020-04-22T02:37:55.507059
2019-03-30T00:44:14
2019-03-30T00:44:14
170,057,041
0
0
null
null
null
null
UTF-8
Python
false
false
1,584
py
''' Are Stock Prices a Random Walk? Most stock prices follow a random walk (perhaps with a drift). You will look at a time series of Amazon stock prices, pre-loaded in the DataFrame AMZN, and run the 'Augmented Dickey-Fuller Test' from the statsmodels library to show that it does indeed follow a random walk. With the A...
[ "noreply@github.com" ]
noreply@github.com
84ed96d178c03a6c6abcf7b75edfbc8a0653584d
5450f8c470bd2de5ee2fa03f20de18a908756c58
/leetcode solutions/Python/swap nodes in pairs/swapNodesInPairs.py
71efe890d76149a6378be8729936ec8d6ee125ac
[]
no_license
ruchir-hj/fun-coding
c69d140faede83c91e26a42e54a48860eef53d81
c29253a1aed51c14edee751d87f76ea759c86966
refs/heads/master
2021-01-18T18:09:07.315209
2016-11-18T21:05:25
2016-11-18T21:05:25
69,759,203
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
class ListNode(object): def __init__(self, x): self.val self.next = None class Solution(object): def swapPairs(self, head): """ :type head: ListNode :rtype: ListNode """ if not head or not head.next: return head dummy = ListNode(0) ...
[ "ruchirhajela@dhcp-rhodes-2444.redrover.cornell.edu" ]
ruchirhajela@dhcp-rhodes-2444.redrover.cornell.edu
4ac9c1731b711ac918a7000dfa8258ec06c69006
4ccaf062d0cceb116280ff231adce2ea6c99650d
/dynamic_dilation.py
cf90e7f9759428de53ec3499690d121930031029
[]
no_license
martinmeinke/dynamic_dilation
1a99acc0b39e8e21890a596d7b500c7e30cf0cc9
e9f0e4a2cc61e130b7892a5cbc47d4ca375c6fb6
refs/heads/master
2022-10-13T02:21:05.082356
2020-06-08T19:28:57
2020-06-08T19:28:57
270,795,053
1
0
null
null
null
null
UTF-8
Python
false
false
2,360
py
import torch import torch.nn as nn import torch.nn.functional as F class DynamicDilation(nn.Module): def __init__(self, in_ch, out_ch, min_dil_range, max_dil_range, smallest_dil, largest_dil): """[summary] Args: in_ch (int): number of input channels out_ch (int): number o...
[ "meinke.martin@googlemail.com" ]
meinke.martin@googlemail.com
bbe8129b09d85cd20a4dcbad5bcd0f14703eb61a
ae79aa8458230fe2331b267308a29adff215bbfe
/armi/nuclearDataIO/tests/test_xsCollections.py
9088f3c05a114f56505279c386786363dec4e6f4
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
paulromano/armi
3727cf3c52de5e412e8db4d5bf5d9998a720616c
6c4fea1ca9d256a2599efd52af5e5ebe9860d192
refs/heads/master
2023-01-10T05:43:27.691791
2020-08-07T00:33:35
2020-08-07T00:33:35
285,824,692
1
0
Apache-2.0
2020-08-07T12:32:54
2020-08-07T12:32:53
null
UTF-8
Python
false
false
3,832
py
# Copyright 2019 TerraPower, LLC # # 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 writi...
[ "ntouran@terrapower.com" ]
ntouran@terrapower.com
f7543e5d841ceb31ee2674b563c1e772576e185c
366b2ff9cd498808438bf7c48f697c05b361d02c
/app.py
afd82cb98a6734228c58e3cf1b2d768b487eb5e6
[]
no_license
c-bata/AngularJS-Bottle-TodoApp
1aef6b09fd85fabaa63898ab3fb9a2d586216b93
8f03820b7949b0c28477970c58f25ccd1856b2a9
refs/heads/master
2021-03-12T22:40:32.000758
2015-11-04T11:14:47
2015-11-04T11:14:47
38,732,944
2
0
null
2015-11-04T11:11:39
2015-07-08T05:02:47
Python
UTF-8
Python
false
false
1,290
py
from bottle import ( route, response, run, template, static_file, install, post, request ) import json import os import jsonschema import models import schemas BASE_DIR = os.path.dirname(os.path.abspath(__file__)) STATIC_DIR = os.path.join(BASE_DIR, 'static') install(models.plugin) @route('/') def index(): ...
[ "contact@c-bata.link" ]
contact@c-bata.link
c84a55dd992ae1628b0780c38e1917efe61e7ace
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03399/s036631775.py
eaffb9a399aacef430540ccd833a1b116ff7cb11
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
n = [int(input()) for _ in range(4)] print(min(n[0],n[1])+min(n[2],n[3]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4288da7aa872027efef2838115ab620d090d1047
7b8ad61c3696c6412a03a3a98f840932a3d21b72
/GPac/tree.py
082820d18dfa9e8495e5b588c0b86b898f3e7551
[]
no_license
matthewia94/cs5401
4c7d7f585994fdf442bb65f8221865256ff61de1
42e379de687ad58c10b0524cec4a27e699652105
refs/heads/master
2016-08-08T02:17:15.756030
2015-12-07T05:57:04
2015-12-07T05:57:04
41,692,639
0
0
null
null
null
null
UTF-8
Python
false
false
1,836
py
__author__ = 'matt' __eamil__ = 'mia2n4@mst.edu' from Queue import Queue import random import copy class Tree: def __init__(self, data, depth): self.data = data self.children = [] self.depth = depth def add_child(self, data): self.children.append(data) # Find the depth o...
[ "matthewia94@gmail.com" ]
matthewia94@gmail.com
31aa213c9c86f5b8d70e9e11bc46afd9f18f080f
f89cd292ab7d70bcfd1a07d383196269ab616d0d
/src/App/models/__init__.py
f7bc322f6ac5c40665683414e81f5b9f43f48a62
[]
no_license
edwinvanders/django-neomodel-sample
54f8d54b539631a381df74d06990c23cc3b2a23e
d953cae0f97c6cc665bb3994a4b82e373e69c69b
refs/heads/master
2021-06-25T00:54:42.357241
2017-07-29T11:26:27
2017-07-29T11:26:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
from .user import * from .option import * from .question import *
[ "farsad@Seyeds-MacBook-Pro.local" ]
farsad@Seyeds-MacBook-Pro.local
9e02f1f5e378de2d29593ff5b0c7234dc46017ae
ff81a9d7880f1b85a1dc19d5eba5ac72d7179c86
/pychron/hardware/apis_controller.py
3f9007cdfd86fd568ce9d3cbf6a0909680c9efef
[ "Apache-2.0" ]
permissive
UManPychron/pychron
2fb7e479a9f492423c0f458c70102c499e1062c4
b84c9fd70072f9cbda30abe2c471e64fe3dd75d8
refs/heads/develop
2022-12-03T23:32:45.579326
2020-01-29T19:02:20
2020-01-29T19:02:20
36,100,637
0
0
null
2015-05-23T00:10:06
2015-05-23T00:10:05
null
UTF-8
Python
false
false
5,881
py
# =============================================================================== # Copyright 2014 Jake Ross # # 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/licens...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
402f85f8af5e0597df4d226ac43f8420da09a275
475e2a7d8547c9d17c28eb0a28d2d27a86031d9a
/multiagent-particle-envs/bin/interactive.py
ea4937610f844c1796d48238ec4f635e5975f4fe
[ "MIT" ]
permissive
dch133/MADDPG-With-Robot-Arms
b5c89a73e142d25552b482a366e5d2cdfa7786e5
cb9f09202e6d363cef5d60da4aeaadfb95f09b6d
refs/heads/master
2020-11-24T03:14:00.467224
2020-01-07T21:20:45
2020-01-07T21:20:45
227,941,246
1
0
null
null
null
null
UTF-8
Python
false
false
2,998
py
#!/usr/bin/env python import os, sys sys.path.insert(1, os.path.join(sys.path[0], '..')) import argparse from multiagent.environment import MultiAgentEnv from multiagent.policy import InteractivePolicy import multiagent.scenarios as scenarios # Two Robot Arms environment if __name__ == '__main__': import gym ...
[ "noreply@github.com" ]
noreply@github.com
d2382445e3bfadc1fc1b835d2858c44096c8b906
1585a02847a2525087cbe1e18df45d9e2b589492
/OFF-POLICY/envs/hanabi/rl_env.py
cc7e2f12f785321fd0b860159e5f5c8c684ab4bb
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
umersheikh846/benchmarkmarl_repo
0f93e24cc12bd0164eca78a2c6a522f4cc20a748
44411fddac496c7ee63abbce2cf277ebcf4c28e8
refs/heads/main
2023-02-06T06:06:55.802795
2021-01-03T08:29:21
2021-01-03T08:29:21
326,361,025
1
0
null
null
null
null
UTF-8
Python
false
false
35,373
py
# Copyright 2018 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "umer_siddique@sjtu.edu.cn" ]
umer_siddique@sjtu.edu.cn
46f9680533117479bb46841d8e622a2bda27aa68
d7e58c88325d769de656ba802dc8ecd1c3b337fd
/LogisticReg.py
ffd0dcd061a020998eb2066b052c5b6adf68cf33
[]
no_license
shailesh001/learningtf
dcc6fd744a0e3566d55bf46c383379510b9daa71
f0dbf8dc2e4a3d30d38a466221dde0abd827320f
refs/heads/master
2020-04-10T10:11:59.213798
2019-01-25T11:26:08
2019-01-25T11:26:08
160,958,129
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
import tensorflow as tf import numpy as np import matplotlib.pyplot as plt N = 20000 def sigmoid(x): return 1 / (1 + np.exp(-x)) # === Create Data and Simulate Results === x_data = np.random.randn(N, 3) w_real = [0.3, 0.5, 0.1] b_real = -0.2 wxb = np.matmul(w_real,x_data.T) + b_real y_data_pre_noise = sigmoid(w...
[ "shailesh001@mac.com" ]
shailesh001@mac.com
a8fd1afad2e1760d1cd20440d230b920825c615f
d05e5800ceb26c21f0fafcfca387603c81f75d21
/board_project/board_project/urls.py
04f40596411273f0b23e803037823da243119766
[]
no_license
omarelalfy1/django3
e5ecb30349eafdf546d679acbaa04ec201fba4bc
b78bce3f62dfea314f7cb17d764024970ee53972
refs/heads/master
2022-12-05T02:53:30.443597
2020-08-14T23:00:49
2020-08-14T23:00:49
287,587,392
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
"""board_project 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...
[ "69329830+omarelalfy1@users.noreply.github.com" ]
69329830+omarelalfy1@users.noreply.github.com
814f4bef1abd03b042ba1449f3ab0c764afdd97e
a0ce16f4e5c6c17b1bd45a39461c0c899067fda7
/apps/app2.py
a56eea547bc3fef1bbad491eb62f5d39cb55d4e4
[]
no_license
revanth-reddy/dashmultidate
46f98f91cee7723fa0acbf8d328beaf646d3d8c5
e7d2de8635df9ead466896fd42a71b3bf4815a06
refs/heads/master
2022-12-10T20:11:43.940070
2019-05-30T11:23:21
2019-05-30T11:23:21
189,394,807
0
0
null
2022-12-08T05:11:39
2019-05-30T10:34:32
Python
UTF-8
Python
false
false
725
py
import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output from app import app layout = html.Div([ dcc.Link(html.H3('App 2'), href = '/link2'), dcc.Dropdown( id='app-2-dropdown', options=[ {'label': 'App 2 - {}'.format(i), 'va...
[ "malerevanthreddy3099@gmail.com" ]
malerevanthreddy3099@gmail.com
61439b21ce106c7faac47be9a0de689e7bd7640f
93d11ff6a5a380ebef768f51bf6b9d680120cb43
/pfe/service/models.py
962b390a2d0dc6e06d891a4928cbcdd65282c783
[]
no_license
houidiichrak/pfe
09bb8b4c2c884585a3a49e1ca2bdbdc0c0d514b9
0e51ca3c4e484ca406260388cada837473d59e2e
refs/heads/master
2020-06-04T16:36:40.131381
2019-06-15T18:39:56
2019-06-15T18:39:56
192,106,347
0
0
null
null
null
null
UTF-8
Python
false
false
2,882
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.conf import settings # Create your models here. class Message(models.Model): name = models.CharField(max_length=20) email = models.CharField(max_length=20) subject = models.CharField(max_length=20) ...
[ "ichrakhod@gmail.com" ]
ichrakhod@gmail.com
cca2715fb5c518733df026e62303e3e1d83dcc93
04756361cba9da6398af8611e5fd2166bbada88c
/api/mail.py
7ea831b22343ea86a3d597f007b2dcb1d27ea761
[]
no_license
Saiid2001/TamamServer
35ed65cc20664a13041b8473d271254914f5d0df
87cc433d4d1a36e292df026cd6e60a52d0920756
refs/heads/main
2023-08-25T20:01:07.547279
2021-10-22T16:17:24
2021-10-22T16:17:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
import smtplib, ssl from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart smtp_server = "smtp.gmail.com" port = 465 # For SSL sender_email = 'tamamsignup@gmail.com' password = 'T.amam.24.35.42' def send_confirmation(recipient, token): message = MIMEMultipart("alternative") me...
[ "nwzantout@gmail.com" ]
nwzantout@gmail.com
699ea1d33083dbe690ac1495e2b02345c3ab0360
9a1538123b8abec14410dad46c437cf735684dd9
/news/migrations/0001_initial.py
552caaeb8e0ba8c9555709ab96355304db3f721e
[]
no_license
asmuratbek/zastroy24
deec6bd65229aeb29eb313d915c6c47ca036a8aa
d68ce21beefc644752a1271a4d8981cd2423afba
refs/heads/master
2020-04-27T18:44:26.845151
2019-03-08T18:09:13
2019-03-08T18:09:13
174,585,168
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-01 14:58 from __future__ import unicode_literals import ckeditor_uploader.fields from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Creat...
[ "asmuratbek@gmail.com" ]
asmuratbek@gmail.com
8da3918f48522266414a6531b91e672234edbf17
a7c29ce3f4e25fba872853dc080913506521a205
/google-cloud-translate/synth.py
cafcb0b1158c3e441202af6f2e49f56ec838a42a
[ "Apache-2.0" ]
permissive
WebElZeN/google-cloud-ruby
285898488437da762d87f643a9821a85d45a9fef
c091a97f668010965809c450c54dbcdfe850fad5
refs/heads/master
2022-04-25T17:20:33.666365
2020-04-30T19:05:22
2020-04-30T19:05:22
260,346,990
1
0
Apache-2.0
2020-05-01T00:25:10
2020-05-01T00:23:15
null
UTF-8
Python
false
false
5,999
py
# Copyright 2019 Google LLC # # 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, s...
[ "noreply@github.com" ]
noreply@github.com
e1acc0cf186cf5bdf80998a4488cb64bc49e68cb
caec91f89b23dce88f849cb08c862a7108a77ce4
/dadi_two_populations_with_migration.py
cc88db7feaedac0767e6803316d6ce8389baa71c
[]
no_license
Captain-Blackstone/wright_fisher_vs_moran
44a93c31c04a10cab228e10449d6139626fa0652
d66f55a4e0f71744f354f9f4d03e83bc07b454e4
refs/heads/master
2020-11-26T00:06:42.356019
2019-12-26T15:03:04
2019-12-26T15:03:04
228,900,391
2
0
null
null
null
null
UTF-8
Python
false
false
3,109
py
# # The optimized parameters inferred by model below 'nu1F': 1.881, 'nu2B': 0.0710, 'nu2F': 1.845, # 'm': 0.911, 'Tp': 0.355, 'T': 0.111] # 'Optimized log-likelihood:' -1066.66 # Numpy is the numerical library dadi is built upon import numpy from numpy import array import dadi # In demographic_models.py, we've defi...
[ "noreply@github.com" ]
noreply@github.com
cd7ab987337fa0a49ef33a72a037969e49158c19
b5f226826098a4ddc39b0cd61abb2eef182afbea
/production/fourierModel.py
03fe14a3fa163e2045bca0af05392f0bfa4e2af6
[]
no_license
upschemistry/icecontinuum
f31478720cee6bc613e051d58c5a41d35e94d46b
e3e9159ce388031d317f11eb784403f31f9718c7
refs/heads/master
2023-08-25T12:20:26.524321
2023-08-12T00:04:53
2023-08-12T00:04:53
48,130,067
2
1
null
2023-06-14T23:27:54
2015-12-16T19:18:44
Jupyter Notebook
UTF-8
Python
false
false
5,954
py
# -*- coding: utf-8 -*- """ Created on Tue Jul 14 15:01:47 2015 @author: nesh, jonathan, jake """ import numpy as np import scipy as sp import matplotlib.pyplot as plt #import copy def fftnorm(u_full): """Computes normalized FFT (such that FFT and IFFT are symmetrically normalized) Parameters -------...
[ "mbloom@pugetsound.edu" ]
mbloom@pugetsound.edu
169532ee642ffb033a0cb14bc61a6fee9e95c924
bf88d5acc67cc9130bcde042a2d365945c9b13e5
/library/transmission/transmission.py
77d1e1e16f19e71467b3193ff8b33d75e23555e4
[ "MIT" ]
permissive
mparaz/shutit
6b10e58158954921505e33cf1ed7486deea44f0d
4f973aa462ff05eeb9d6f18dac223c15024d3fc5
refs/heads/master
2021-01-21T00:29:14.763314
2014-08-01T23:30:41
2014-08-01T23:30:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
# Created from dockerfile: /space/git/dockerfiles_repos/Thermionix/Dockerfiles/transmission/Dockerfile from shutit_module import ShutItModule class transmission(ShutItModule): def is_installed(self, shutit): return False def build(self, shutit): shutit.send('export DEBIAN_FRONTEND=noninterac...
[ "ian.miell@openbet.com" ]
ian.miell@openbet.com
84145cb19ffc01c0a4940bdb3740868e8ba1d406
eb03d7943b22643799be6b7a9e4d0cfd3aaf966f
/calc/Calc.py
c86883dc932da2ae86ba985b888b0d2d6780a6ba
[]
no_license
JayLee92/ezen_tf_190406
52d0ecceced5c195ac5a7c431bf1e9d8d8f70bbf
7decf1858639d8830ddab189ed82c12ccf7e4203
refs/heads/master
2020-05-05T06:02:39.741632
2019-04-06T05:50:47
2019-04-06T05:50:47
179,772,969
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
class Calc: def __init__(self, first, second): self.first = first self.second = second def set_num(self, first, second): self.first = first self.second = second def sum(self): return self.first + self.second def mul(self): return self.first * self.secon...
[ "allen.mopark@gmail.com" ]
allen.mopark@gmail.com
35f41a6f7db13c4e70b3c3fee4560df78482f787
ac4988c7f9cc98f6dcc31280cd208eeb57d674f2
/Semana6Sesion3/martinperez/app/conexion.py
9df1602e723fec45ec4550c037bbe56918c62f6c
[]
no_license
BrucePorras/PachaQTecMayo2020-1
77e396ceb2619d028dd740b9414f8a3160eee2cd
5f39146cc4f69d844dae22a12098479194fd6332
refs/heads/master
2022-12-18T02:20:39.828175
2020-09-25T05:39:20
2020-09-25T05:39:20
269,999,646
1
0
null
2020-06-06T14:06:19
2020-06-06T14:06:18
null
UTF-8
Python
false
false
2,082
py
#CRUD en una clase #Mysql import mysql.connector from mysql.connector import errorcode #Posgres import psycopg2 from psycopg2 import Error #sqlite import sqlite3 class conexionBDD: def __init__(self,intBDD): self.intBDD= intBDD # si es 1, conectarnos a Mysql # si es 2, conectarnos a postgres # si es 3...
[ "perez_13lo@hotmail.com" ]
perez_13lo@hotmail.com
e8084fbc13580d94a42d713b09cbb70753c86768
21a9ed29a474b3a87fa2a012cd9f7fd8eabc6f4f
/meiduo_mall/meiduo_mall/utils/views.py
e437b5d350bfc3a4d76005b67c30aac43e9007ca
[ "MIT" ]
permissive
Noah-Smith-wgp/meiduo_project
fd979237505a212e9aa7d5cc12549cea13def1ae
f1350a50dabd33d90c2c5b3509d590603aeda6e4
refs/heads/master
2021-04-16T13:18:28.181307
2020-01-02T13:29:29
2020-01-02T13:29:29
249,358,616
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from django.contrib.auth.mixins import LoginRequiredMixin from django import http from meiduo_mall.utils.response_code import RETCODE class LoginRequiredJSONMixin(LoginRequiredMixin): """自定义限制用户访问的扩展类,返回JSON""" def handle_no_permission(self): return http.JsonResponse({'code':RETCODE.SESSIONERR, 'err...
[ "18211672297@163.com" ]
18211672297@163.com
45eec0b44998ef2397101b6786c74cd95fe3aab4
90275584cc15c16d60ffaad1e405ccc57ad3d8f4
/scripts/trigger.py
1e5e8236e2a6894adaf80721eff45f2ccfc847c3
[]
no_license
SrikarSiddarth/raksha
b9cfe696c2de44a6895da49a92b9073ac37f9a72
3dc2e759a56d88fd95e04387436c46454febab31
refs/heads/main
2023-04-20T03:22:29.895384
2021-04-26T05:10:22
2021-04-26T05:10:22
307,312,701
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
#!/usr/bin/env python import rospy from std_msgs.msg import Empty import sys, select, os import tty, termios msg = """ Launch counter missile from your Laser Turret! Press l key Ctrl-C to quit """ e = """ Communications Failed """ def getKey(): tty.setraw(sys.stdin.fileno()) rlist, _, _ = select.select([sys.st...
[ "noreply@github.com" ]
noreply@github.com
ff6e252f9f211e7218985e20aa09f2b62a4ab996
f92eaef05a9d4946fde399317b839b106bda6d4d
/reportlab/lib/logger.py
23629aea1ad979f52387c8c0d158cb27916d77a8
[]
no_license
Gilles00/Book-Loan-Database-System
c3dfd644da5fc5ecf9985252eb226d3e2db7d116
4c55b7941360e2dd10657c8c142179639acdb6cc
refs/heads/master
2021-05-17T18:44:59.517167
2016-10-29T23:13:07
2016-10-29T23:13:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
#!/bin/env python #Copyright ReportLab Europe Ltd. 2000-2012 #see license.txt for license details #history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/lib/logger.py __version__=''' $Id$ ''' __doc__="Logging and warning framework, predating Python's logging package" from sys imp...
[ "jas_96@hotmail.co.uk" ]
jas_96@hotmail.co.uk
172e8b43391e0009df8389c94777e219b597b85a
75136c3303564e9791ef0306b0fbfdba76b0616f
/torch_connectomics/data/dataset/misc.py
97be4f19217dc054428ca8559702f23a71530f23
[ "MIT" ]
permissive
pragyasingh7/pytorch_connectomics
1f793c52afe079b7e12dc93c617183ae1ec1251c
fdc8e1900b0a38d19ea50f78f8c81da2a4f015a9
refs/heads/master
2020-05-31T21:03:51.686680
2019-06-10T19:51:42
2019-06-10T19:51:42
186,615,290
0
0
MIT
2019-05-14T12:15:17
2019-05-14T12:15:17
null
UTF-8
Python
false
false
2,306
py
from __future__ import print_function, division import numpy as np import random import torch #################################################################### ## Process image stacks. #################################################################### def count_volume(data_sz, vol_sz, stride): return 1 + np....
[ "linzudi@g.harvard.edu" ]
linzudi@g.harvard.edu
cd5b89d80c13954c33d02e51a9b11a28c0766c40
21fb2474085aba9be8613b01978260cf95f20c3b
/tutorial/urls.py
5b4803ef9c9e886bab354aacf619c40750f53863
[]
no_license
DesmondMM/Django_Rest_Framework_Tutorial
d988f4ec3f7a36f8c68e1491b7a03e1844eee984
889cd56a23ef5b42804dbcdf00d574b2512ad15c
refs/heads/master
2016-09-16T10:51:37.722429
2015-12-31T15:27:04
2015-12-31T15:27:04
48,800,544
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
"""tutorial URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "mutsakaradesmond@gmail.com" ]
mutsakaradesmond@gmail.com
c9e7f9ca51308d273ab6ae9ee2cb0d3ff678295d
265a3bc51432acc72790886247c85247a16dfc3c
/sum/app/main.py
0843943958a4988b9eb58e71aeb69c4256172943
[ "BSD-3-Clause" ]
permissive
asdkant/hello-fastapi
f02321a3abe6badd09693d1005fa0901618fab42
c1b7418b806e04625f210b46a3d7488a7331abad
refs/heads/main
2023-06-30T11:07:48.112337
2021-07-28T20:27:39
2021-07-28T20:27:39
385,408,177
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
# to test this locally, run "uvicorn main:app --reload" in the same folder from typing import List, Optional, Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class params_sum_two(BaseModel): a: int b: int @app.post("/two") async def sum_two(p:params_sum_two): return p....
[ "ariel@aknt.com.ar" ]
ariel@aknt.com.ar
c8f736f1f5f9f1dbc563eb64d4da67e89ae94351
16292c665e7bbc835dd4eff58f7b0cf0ef8a4c2d
/makecst.py
b23061762a6a7b1511642849f0fed383fb996d73
[ "MIT" ]
permissive
BILAB/scripts
aad331ddf2f422deb9608e33b8390cb0236f68a9
8d9dbc1eddcf97d7da41930c29c8034480eab85d
refs/heads/master
2021-03-16T09:50:54.454995
2018-12-02T10:23:47
2018-12-02T10:23:47
14,160,619
1
0
null
null
null
null
UTF-8
Python
false
false
5,687
py
#!/usr/bin/env python3 ''' ver 1.0.1 This script works on Python 3.6 or more. ''' import argparse parser = argparse.ArgumentParser(description='Generate cst file for Rosetta AbinitioRelax from a fasta and a map file.') parser.add_argument("-f","--fasta", dest="fasta", help="Required. Input your fa...
[ "virgospica93@gmail.com" ]
virgospica93@gmail.com
f9197a33c02d27eaa7c912ad0142e4e415f29be6
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902Combine/267-tideGauge.py
77661b2e1c355fc0cfe10e2d86a6e1f385a5c771
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:28:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories # dir_name = 'F:\\01_erainterim\\01_er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
900fd2718c905d21f076a8702c6726302a7d466f
d0041cbd074b1211bf9764e16ba76d4ef7f44e75
/DSA_LAB8/venv/Scripts/easy_install-script.py
cebffb0ce01a2dcc2d3f8f38b7ee4f92343af7b6
[]
no_license
sharozraees802/Data_Structure-python-
dab9135faaa71146d22e4eca21dca09ec4e0afe8
a77ea39eb1680c920052add735a9d9b377e1b985
refs/heads/master
2022-12-06T12:49:09.300127
2020-01-07T12:46:14
2020-01-07T12:46:14
232,320,833
1
1
null
2022-11-23T15:13:03
2020-01-07T12:33:05
Python
UTF-8
Python
false
false
464
py
#!C:\Users\SharozRaees\Desktop\DSA-LAb-THEORY\DSA_LAB8\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-s...
[ "sharozraees802@gmail.com" ]
sharozraees802@gmail.com
eb0a6a84da2a387357aeec52eb7d78f8a680211f
17264498ac1ff3a8078a0e79b1c8ed934674d908
/musicmatch/asgi.py
4f5b4acbd987be9dd29cf8e417e12573df189c01
[]
no_license
oscarmangan/musicmatch-backend
51d982b8a72c55870605a999ba8ca64fe3f3a07e
2ce24f7ca52ce371eca48d1b6206ac7c90581278
refs/heads/master
2023-03-30T17:43:04.121291
2021-04-03T20:02:00
2021-04-03T20:02:00
297,345,111
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for musicmatch 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "oscarmangan.ire@gmail.com" ]
oscarmangan.ire@gmail.com
259194eae610fffb873eecb9f8ed868ff3a2b910
bb03ef2ee3e850324985e2ae4ed89fa6f059c14c
/tests/test_tgp.py
9c493a3332cbb96b57f8604d15a110b988b7b807
[ "MIT" ]
permissive
watzon/tgp
1337c1faa405ec451d80baf1f440247ed7b7931b
0c27ac3eeadd0d05c2ea9b3eb53af38dff0ea6da
refs/heads/master
2020-11-25T13:35:40.507351
2019-12-17T19:48:08
2019-12-17T19:48:08
228,690,033
1
0
null
null
null
null
UTF-8
Python
false
false
84
py
from tgp import __version__ def test_version(): assert __version__ == '0.1.0'
[ "cawatson1993@gmail.com" ]
cawatson1993@gmail.com
06eab32812567f359d7aea988deb216e87b8b3e1
d114a6576659a4a299f5965032489d2abbe41282
/src/computer_vision/nodes/synchronize_img_command_lidar.py
9c7be96b236672ac1cb80aa900f9db16b72f267c
[ "MIT" ]
permissive
mldiego/Platooning-F1Tenth
dbc23ff7af3397716be1bbfdf9881da799206855
ec5eadb137da8428642b3ffd1b8ca31fde4f6dff
refs/heads/master
2023-03-04T21:08:12.799694
2021-02-18T00:11:46
2021-02-18T00:11:46
230,968,509
0
0
MIT
2021-02-16T17:34:01
2019-12-30T19:25:59
Python
UTF-8
Python
false
false
4,887
py
#!/usr/bin/env python import rospy import cv2 from std_msgs.msg import String from sensor_msgs.msg import Image, CompressedImage,LaserScan from cv_bridge import CvBridge, CvBridgeError from message_filters import ApproximateTimeSynchronizer, Subscriber from ackermann_msgs.msg import AckermannDriveStamped import imutils...
[ "pmusau13ster@gmail.com" ]
pmusau13ster@gmail.com
fa11e1724cb6566a64492b7256db57c5ace0ff14
95d33f7038c358b371aac23e1ad1a0546aa7e275
/backtest.py
eb513323206be26b02e1d0903c03d794e2bb05f5
[]
no_license
prajakta-dc/Factor-Timing-Project---Elon-Musk
022bea50029cef31f1ac47cff131a9052102a4d6
3ee95a5ce48609c03defdeab0aa6f1c33d6e3e3a
refs/heads/main
2023-03-24T01:43:06.432934
2021-03-18T07:54:22
2021-03-18T07:54:22
348,986,299
0
0
null
null
null
null
UTF-8
Python
false
false
18,690
py
import pandas as pd import numpy as np import matplotlib import matplotlib.pyplot as plt from tabulate import tabulate class Parameters: ''' MACRO variables, no changes needed unless environment changes. ''' risk_aversion = 3.0 risk_premium = 0.1 trading_days_pa = 252 rebalance_freq_days...
[ "noreply@github.com" ]
noreply@github.com
636f195f6a5e54a5eba54008aa8793ed02d28b7a
fbd638914b1119f7f7176bb7f8ac43f733e608d2
/informatics/циклы/for/Остаток.py
c1a81c55ea8d06263692983bef37e752a3cc15e2
[]
no_license
aidoka22/Web_development
363ef6195fdb1ce056af3249b0a48ae159f69389
06f6f948705a7d6f54d46f1a578bc5d677a7bda4
refs/heads/main
2023-04-03T05:12:21.779598
2021-04-14T21:13:08
2021-04-14T21:13:08
335,631,187
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
a = int(input()) b = int(input()) c = int(input()) d = int(input()) for i in range(a, b+1): if i % d == c: print(i, end= (" "))
[ "noreply@github.com" ]
noreply@github.com
f8becd20fb9df5a15511e5f38b40e6d9a0cbabef
c3a33b3126c82eb5723bc1f5f5baffeb6841afeb
/BlockChain.py
3a55bb391c737c767b31a8dbce5605d34c618f96
[]
no_license
geetesh-gupta/VanetBlockchain
f53a28f31b0855397c72572796cf2b63bb2f7721
c57164019d9fecaafe3bf22d56b7576a5e9c06ac
refs/heads/master
2023-01-08T13:00:24.105500
2020-11-06T18:23:01
2020-11-06T18:23:01
310,387,238
5
1
null
null
null
null
UTF-8
Python
false
false
12,207
py
import time import hashlib as hasher import datetime as date import random from Crypto.Hash import SHA256 from Crypto.PublicKey import RSA from Crypto import Random from Crypto.Signature import pkcs1_15 from Block import Block from Transaction import Transaction class BlockChain: def __init__(self): se...
[ "gupta.15@iitj.ac.in" ]
gupta.15@iitj.ac.in
482d60973fda540ee9895efa199a05d9b8cd7193
4163e897c1c70bbe9d2c074fa91f233612a59347
/catalog/database_setup1.py
53c36acd3b5c8f8fe48a101e31f6d2b8e9ae1405
[]
no_license
JahnaviChandrapatla/catalog
28419986e938bd31773909ab52c20c4573e06e55
239141b54c775d8e19265377e332738f7ef96a82
refs/heads/master
2020-04-28T16:10:11.929665
2019-03-13T10:52:56
2019-03-13T10:52:56
175,400,717
0
0
null
null
null
null
UTF-8
Python
false
false
1,982
py
import sys import os from sqlalchemy import Column, ForeignKey, Integer, String, DateTime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, backref from sqlalchemy import create_engine Base = declarative_base() class GmailUser(Base): __tablename__ = 'gmailuser' i...
[ "chjahnavi80@gmail.com" ]
chjahnavi80@gmail.com
fc1746cb1561850e95f01014fd657000a32f9695
5b10b6efa049014f0d00f81b148d94c429286b66
/DRFViewset/manage.py
b746ebba33addb3132d357d7f25d2d28be599469
[]
no_license
Ruchika-Munde/Rest_Task
dff657aed041ac6925590f423301f0cae7599f6c
ea741889927ed0fa2a1ba9c2311304671680c6bf
refs/heads/master
2022-12-21T05:21:00.623464
2020-09-09T08:06:24
2020-09-09T08:06:24
294,044,070
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DRFViewset.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "ruchamunde@gmail.com" ]
ruchamunde@gmail.com
59f35ce862fba5572d3fa349af79c857f80998f2
5b7af6548668085da9a6ab86f564538ee73c4865
/build/scripts/slave/recipe_modules/sync_submodules/resources/deps2submodules.py
7596609ca687bffb82ee3c78743d82aa56d0c70d
[ "BSD-3-Clause" ]
permissive
elastos/Elastos.APP.Android.ShiJiuTV
463a986450a915f7b3066e6a03aca903cf56f69b
f77189a2b8df86028adc68105988710d16ce012b
refs/heads/master
2023-03-18T03:11:58.337349
2018-03-12T08:50:57
2018-03-13T11:10:27
124,007,751
0
1
null
2022-10-03T03:30:29
2018-03-06T02:21:25
null
UTF-8
Python
false
false
5,186
py
#!/usr/bin/python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Read DEPS and use the information to update git submodules""" import argparse import logging import os import re import subprocess ...
[ "xiaokun.mengxk@qcast.cn" ]
xiaokun.mengxk@qcast.cn
335b5c7ee20102750c5ca4e77c0540a53d588116
ef4a4c8de95516700134a45800238de9298e1485
/za7.py
5661752b9d9e5178e0e04f0b3b082aafd9f9643a
[]
no_license
nikolaj74-hub/lessons
a45d67d380982d245f5950fe6eef3041c7ffbd2e
54437b8e8063668017d7e29612c0623adb8fce94
refs/heads/master
2023-01-23T19:11:18.680790
2020-12-04T13:46:02
2020-12-04T13:46:02
311,939,032
1
0
null
2020-12-04T13:42:39
2020-11-11T10:38:48
Python
UTF-8
Python
false
false
440
py
from functools import reduce print(reduce(lambda a, b: int(a) * int(b), range(1, 1+int(input('введите номер эл'))))) ############################################################################################### from math import factorial def fact(): for el in {factorial(int(input('введите номер эле...
[ "noreply@github.com" ]
noreply@github.com
d91c605901bc0be775fc45b509e24954e24ab267
fecfcc0765a9b01fa3d3621a823037266064d71a
/runnerapi/tests.py
69ba3ead60cd6f21f94e1802eb75decb8fc9e418
[]
no_license
agel122/runs
7f72f7fee7490bdaed6c33872e266cad6e8cb7da
a361bf472475d73b2dd889d2634c7b320acd1695
refs/heads/master
2023-08-06T07:42:15.636787
2021-09-14T20:13:35
2021-09-14T20:13:35
406,510,380
0
0
null
null
null
null
UTF-8
Python
false
false
7,229
py
import json from rest_framework.test import APITestCase from rest_framework.authtoken.models import Token from django.contrib.auth.models import User from django.urls import reverse from rest_framework import status from .models import Run from .views import AverageData, AllData from .serializers import RunSerializer,...
[ "agel122@yandex.ru" ]
agel122@yandex.ru
35454d5038ec89c97effecea58a551c18d110a92
642a087b681bddcdee1beabb255c1401f427697d
/TemporallyCoherent/update_color.py
84ed6dbd16dc27adfe6cba1003afe901a4e1d334
[]
no_license
wuk32/VideoCompletion
75a1d8e25651906935314d7f314b14e3ba151c15
6b81b4eb078c948fbc5c5c10d0454f52b5a9f81c
refs/heads/master
2023-08-16T12:17:24.268809
2021-10-07T12:33:30
2021-10-07T12:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
# coding=utf8 def update_color(z, r1, r2, alpha): """ Args: z: spatial voting r1: forward temporal neighbor r2: backward temporal neighbor I: update color argmin || I - X ||_2^2 + alpha * \phi(||I - R1||_2^2) + alpha*\phi(||I - R2||_2^2) ...
[ "wukuncs@163.com" ]
wukuncs@163.com
fc81fc7ae77bb68bbe360d676d6ea0f9dc2ffdda
867796f20586cfa70422945d98e7d5e99edbabc2
/contactista/migrations/ed99772734e1_initial_revision.py
a7f31619c7e62a4b989f9d250739bd7809b112ba
[ "MIT" ]
permissive
rizplate/contactista
500cf7f640b3db94d0b49b921e4b09abdfc56d5b
8b3030487518cd4767078703aee04041d2004725
refs/heads/master
2020-03-28T11:37:02.932371
2017-09-15T18:55:52
2017-09-15T18:56:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,048
py
"""Initial revision Revision ID: ed99772734e1 Revises: Create Date: 2017-08-01 12:48:40.754913 """ import os import json from alembic import op import sqlalchemy as sa from sqlalchemy.schema import Sequence, CreateSequence, DropSequence # revision identifiers, used by Alembic. revision = 'ed99772734e1' down_revisio...
[ "david@davidbaumgold.com" ]
david@davidbaumgold.com
09ab8328a243514c07ceb46b257ce729e4296604
f8a5f208d4c82064afa27a4420f61c7847e2addb
/colab2.py
5626528910531c907157dae977947e81235f79e9
[]
no_license
jackwh92/colabjack
9c24129aca923b7b8f6e1e4147e7b8bca718e086
cdfe32df4ef9db88868d6f5e7725f5fd68500ade
refs/heads/master
2020-04-11T22:48:36.897512
2019-01-03T14:36:50
2019-01-03T14:36:50
162,148,150
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
def plusfunc(a, b): return a + b #fshsa #newmessage
[ "jack.hollies@digital.hmrc.gov.uk" ]
jack.hollies@digital.hmrc.gov.uk
1b90ef45b0337dcc2d3d4e60ba134bda6a7afd66
4522a0843c55438533f9e9af802080c702337e78
/fenwick-tree/test.py
be0c4354ebdc8bbb8c072f3e04cfda78cc0a9347
[]
no_license
lgdelacruz92/LeetCode-Challenges
7f84f4b8b84b8f38feebbede6f70b293e6c8e3a5
703c3ea995ef52a2d9702fed697a25671e35ff45
refs/heads/master
2023-04-08T15:07:08.255375
2021-04-13T16:04:38
2021-04-13T16:04:38
291,032,982
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
query = '''SELECT * FROM ( SELECT -COLUMNS- FROM zyBookContentSections JOIN CanonicalSections USING(canonical_section_id) JOIN ContentResourceCanonicalSections USING(canonical_section_id) JOIN ContentReso...
[ "lgdelacruz92@gmail.com" ]
lgdelacruz92@gmail.com
16623631176c53072ca491e3ffb09b9bf44c28a6
1c397151e98f11f68c1fe548b3610d889eace7e0
/python/modules/alt_splice/analyze.py
2477b14be947c3a10e7f5de2a33d4d5c823beb2e
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
abaten/spladder
aaec1e0b21506c11410f2a955a9c9bbf19799f52
67d0e9ca9893911a883a199f940ba61dfadb3345
refs/heads/master
2021-01-18T00:18:45.487030
2016-03-15T20:39:14
2016-03-15T20:39:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,402
py
import sys import os import scipy as sp import cPickle import h5py if __name__ == "__main__": __package__ = "modules.alt_splice" ### local imports from verify import * from write import * from ..rproc import rproc, rproc_wait from ..helpers import compute_psi def _prepare_count_hdf5(CFG, OUT, events, event_featu...
[ "akahles@cbio.mskcc.org" ]
akahles@cbio.mskcc.org
a09a909f0983433a72eb2e9cc96aa02a9a188e27
d43f8a35a259088d80c63f6070f06fd0c9736472
/analisis_numerico/simple_scripts/lagrange.py
148591398fa3f64e5263842dae2300a8a7025235
[]
no_license
sespinosav/pythonPROYECTS
628e97e6f05e07caebe160e25a789a528b9f41db
5972b455757530e60fdc838df873d01e959dfa5c
refs/heads/master
2023-05-09T15:05:49.585958
2021-05-26T18:46:30
2021-05-26T18:46:30
277,190,123
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
xs = eval(input("Ingrese los x: ")) ys = eval(input("Ingrese los y: ")) b = [] print("Lagrange") print() print("Resultados:") print() print("Polinomios interpolantes:") print() expresion = "" result = 1 polim = "*" for i in xs: for k in xs: if xs.index(i) != xs.index(k): polim += (f"(x - {k})*...
[ "sespinosav@eafit.edu.co" ]
sespinosav@eafit.edu.co
1453ac33e8bd742a88fa47e6ab963128e3a4f4a2
552bbeed05e201d92c8ccd6dd50bd6ab214e6203
/urlib/urllibTest.py
10c17171507bee42dea918203752478b4285c90f
[]
no_license
VicentDong/pythonTest
a57e2138e12aa2878fbc76670bdf3ceb78276d65
a369b48ec92e23a9e58cd4458a0193bc34c191ca
refs/heads/master
2022-04-19T19:36:23.233316
2020-04-16T13:36:07
2020-04-16T13:36:07
256,219,712
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
from urllib import request,parse # import socket # import urllib.request # import urllib.error # import urllib.parse # response = urllib.request.urlopen('https://www.python.org') # # print(response.read().decode('utf-8')) # # print(type(response)) # print(response.status) # print(response.getheaders()) # print(respons...
[ "149212768@qq.com" ]
149212768@qq.com
5f4b7a75cd81bd997778a34f8ee69bd0e8fe37cb
8f735396bfcc18bca40829aab79159df813fea16
/Calendar - Weekday - Calculation.py
fd82ae6d1c129119c83a8c4dc1a4617bbd7c7a66
[]
no_license
Raviteja-Ainampudi/Calender-Weekday-Calculation
e8f8e7f17c022a617ef26e5ce452c8fe8c6ec3f4
c7fd9ca270b29b80e7315c69f166792e2aad56fd
refs/heads/master
2021-01-09T20:19:54.261029
2016-09-18T00:16:07
2016-09-18T00:16:07
64,783,268
0
0
null
null
null
null
UTF-8
Python
false
false
8,752
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 21 17:41:40 2016 @author: RAVI TEJA """ print " " print "Please enter year, month and date in numerical values" #Manual Input of Date of Birth xyear = int(raw_input('Given Year is - ')) xmonth = int(raw_input('Given Month is - ')) xday = int(raw_input('Given ...
[ "noreply@github.com" ]
noreply@github.com
67fc1e1ff0137245d9769c920fca919ca8e09672
c3cf11c7466a8591a7f596bd6cefeac4a21674eb
/src/run2.py
0534f733184d0cf588d432a15c3b16202ea54f73
[]
no_license
wieloranski/experiNurse
816d3844aa3dcffec9a8200b6028c7427f631f3a
daea8c8545bb2b0b6ebe9645e006ce8b1f2735a3
refs/heads/master
2020-12-24T20:33:31.679868
2016-06-05T19:54:34
2016-06-05T19:54:34
59,610,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
from knowledge_base.driver import * from symp_scanner import SymptomLoader from diag import Diagnosis from check import * '''example of created fact in patient.fbc file: feels(Tadeusz, headache)''' get_symptoms_disease_relation_from_rows() ''' perform diagnosis EXAMPLE ''' dict = {} while(True): diseases_li...
[ "wieloranski@gmail.com" ]
wieloranski@gmail.com
c52c39bab06ae870ec0e57ade0604823f2126ca9
87552b87b00a0d0c51dae62c3f6ae39c3396b2b7
/History/2020-05-05 tutorial RL/AgentRunSAC.py
0db2987349eea2e778fe13b693e5608cc28ef5a1
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
peide/ElegantRL
4bd0c6c0ed776749b944082a1a91a333152055ef
1f3644373ec889f0d4725f6b0490f80bafea8c44
refs/heads/master
2022-11-28T08:02:26.845033
2020-08-12T10:15:17
2020-08-12T10:15:17
287,129,333
5
2
NOASSERTION
2020-08-12T22:41:01
2020-08-12T22:41:00
null
UTF-8
Python
false
false
12,317
py
import argparse import random import copy import os from abc import ABC import gym import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.distributions.normal import Normal from torch.distributions import Distribution from AgentRun import get_env_info, draw_plot_with_npy from...
[ "noreply@github.com" ]
noreply@github.com
014a1726dce1e3d670880f2daba7a044700067c4
bbec348efb79c6588a4cb6bb565c813fe3fe86ad
/pyVpx/pyVsm/pyVsm/ReflectTypes.py
8fca89c7db09164ff1d65f4acc92cf7fbf57273b
[]
no_license
free-Zen/pvc
2be60fdc0fd0345039219c802223f987fce3b113
8428a84481be319ae739dfbb87715f31810138d9
refs/heads/master
2022-02-24T12:13:31.599398
2019-10-14T07:49:13
2019-10-14T07:49:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,108
py
# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT ******* from .VmomiSupport import CreateDataType, CreateManagedType from .VmomiSupport import CreateEnumType from .VmomiSupport import AddVersion, AddVersionParent from .VmomiSupport import AddBreakingChangesInfo from .VmomiSupport import F_LINK, F_LINKABLE from .Vm...
[ "liuzhen@vmware.com" ]
liuzhen@vmware.com
d4f3a9947d08ab980c9a5864dd0773d75cec7af0
e975953ef6a7fd89cb70bf864dc9473e0291848c
/mail_spam.py
f88abac154086594bc392e509d82ec0dee7a5640
[]
no_license
mol5944/mail_spamer
74284c0c2bef3c6ebb084520b23e5176833e9e56
bf27e55547515609875adc81b70923782a07b4b8
refs/heads/master
2020-11-28T10:10:41.834107
2019-12-23T15:36:17
2019-12-23T15:36:17
229,779,005
0
0
null
null
null
null
UTF-8
Python
false
false
5,072
py
#modules import smtplib from sys import argv from time import sleep #define def help(): print('--wordlist_sm [senders mail]') #1 print('--wordlist_rm [wordlist mail recipient]') print('--file_msg [file where the letter is stored]') print('--help [call the help menu]') quit() def get_msg(file_msg):...
[ "mol81mol@yandex.ru" ]
mol81mol@yandex.ru
337555bf276f7550941cef15e4d1b489b2601b6c
17a76329c5bc7aba14b6f0b06055f1bbe6c614b1
/web_api/web_api/resources/experiment.py
5caad956b4bb43830f626a040cca6c4295745aa9
[ "MIT" ]
permissive
saqib-nadeem/sample_python_scripts
2424b514e12b2aea8ccd962d7ddbc6adeaa6bdf7
35054816b262a3860ab9db383ab5d9e11ac0ce87
refs/heads/master
2021-01-01T12:08:18.033904
2020-02-09T09:21:08
2020-02-09T09:21:08
239,271,854
0
0
null
null
null
null
UTF-8
Python
false
false
3,198
py
from flask import jsonify, url_for, request, make_response from flask.ext.restful import reqparse, abort, Api, Resource, fields, marshal from web_api.resources import auth from web_api.models import Experiments, db from web_api.common.util import abort_if_record_doesnt_exist, get_all_records, get_record_by_ID, update...
[ "saqib598@gmail.com" ]
saqib598@gmail.com
52a1f42345b7038647a24cc6ac21b27686650cc4
f999d82c9c4ac5cd1ec15e6d6f076afbba85a03b
/src/stats.py
2fac812e7d1e3665375b61b6f7186875bbc6837f
[]
no_license
aunmesh/FoodMartSim
e4108b3f874f20b44e2e5739f5d806576975db0a
9d8c77c091f4f761a73425c0fb5ab79d6e969102
refs/heads/master
2021-08-19T07:44:58.456490
2017-11-25T08:10:57
2017-11-25T08:10:57
110,343,104
2
1
null
2017-11-18T14:14:31
2017-11-11T12:18:34
Python
UTF-8
Python
false
false
552
py
def calculate_efficiency(farmers, buyers): welfare = 0 maxwelfare = 0 farmer_pop = len(farmers) buyer_pop = len(buyers) for i in range(farmer_pop): welfare -= farmers[i].qty_traded * farmers[i].true_type for i in range(buyer_pop): welfare += buyers[i].qty_traded * buyers[i].true_type maxwelfare = ...
[ "noreply@github.com" ]
noreply@github.com
0cbac4b32b5e85d2aa2d17639e2fb7a6ece2316b
66176b6735f9fb3f8eaa649cf5df87a1104b9ddb
/src/csh/align_by_permutation.py
41f2e3f44a543dfa3dd904a0f6f8b79a69bf18cf
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-philippe-de-muyter", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-public-domain-disclaimer", "LicenseRef-scancode-other-permissive" ]
permissive
jswelling/Fiasco
a918b516c8880d4f627be6f8490fe01dc02f91a5
0e9264207c385e6c911f5458b9a90866ea14c4be
refs/heads/master
2021-12-14T00:23:08.924678
2021-11-30T05:08:35
2021-11-30T05:08:35
66,334,022
3
0
null
2021-11-30T05:06:53
2016-08-23T04:49:58
C
UTF-8
Python
false
false
9,918
py
#! /usr/bin/env python # # ************************************************************ # * * # * Permission is hereby granted to any individual or * # * institution for use, copying, or redistribution of * # * this code and associated documentation...
[ "welling@psc.edu" ]
welling@psc.edu
e40d8657052e26d4cd67730ceea350b9fcbf5a6c
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/constant/ParamConstants.py
1de953edff0cd37434ed88f9fc6c6feb2d8c34c5
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
938
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 2017-12-20 @author: liuqun ''' COMMON_PARAM_KEYS = set() P_APP_ID = "app_id" COMMON_PARAM_KEYS.add(P_APP_ID) P_METHOD = "method" COMMON_PARAM_KEYS.add(P_METHOD) P_FORMAT = "format" COMMON_PARAM_KEYS.add(P_FORMAT) P_CHARSET = "charset" COMMON_PARAM_KEYS...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
ab6cd8266c32908502d62a2aa3848a27d9d5182b
4014aa4a5ce0af0f10016b8fd056e26c147e8b42
/stdlib/src/hmap/std/matching/topic_based/topic_types/flat_numbers.py
4d48e4cc7bf94ad24eac0e2ff27f4449bf6692f1
[ "MIT" ]
permissive
gregjhansell97/hive-map-python-3
d09ac97a89a9cbddf26ab1c91f698d9e44941144
d3d4f826f154a2aeea7e251266c221f629574b83
refs/heads/master
2020-07-31T12:23:55.983819
2020-04-28T23:52:49
2020-04-28T23:52:49
210,602,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from abc import abstractmethod import struct from hmap.interface.matching.topic_based import HashableTopic class FlatNumber(HashableTopic): fmt = "" def __init__(self, content): # TODO move to super class (FlatNumber) self.__raw = struct.pack(sel...
[ "gregjhansell@gmail.com" ]
gregjhansell@gmail.com
f527305b9ec7f55ab42eaae2b923b7b8173df7bb
f9ad5d9e0faef9218c872ded0bfe46a8f8fec64d
/MuSLIT/__init__.py
e00cfd607ded333c274a40d6dfbd7ac30e237d87
[ "MIT" ]
permissive
aymgal/MuSLIT
286505de31407749f1e430e756e8b9712b405ee8
053fc2c0804630f1bf028fecc286cb996161b107
refs/heads/master
2020-05-21T08:59:34.065921
2019-05-27T06:43:35
2019-05-27T06:43:35
185,987,210
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
#print( #""" # __ __ _____ _ _____ _______ # | \/ | / ____| | |_ _|__ __| # | \ / |_ _| (___ | | | | | | # | |\/| | | | |\___ \| | | | | | # | | | | |_| |____) | |____ _| |_ | | # |_| |_|\__,_|_____/|______|_____| |_| #""")
[ "aymeric.galan@gmail.com" ]
aymeric.galan@gmail.com
6552dea2d2667854202895aec4f0df5259855cbc
b0f6dbd92c368bd68fa1aafd67fdde9c323ab1be
/config.py
578b0ee4e0b9ed526e8784e67ae9a7c91b5a685d
[ "Apache-2.0" ]
permissive
niezhongliang/InsightFace-v3
ac62cff7d4aeb957fac9189ccca26976f9a045e9
e10cefec3bf0c465c92c42980ecbdb32eacc6dd5
refs/heads/master
2020-09-15T20:36:16.087481
2019-11-23T00:23:46
2019-11-23T00:23:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
import logging import os import torch device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') # sets device for model and PyTorch tensors # Model parameters image_w = 112 image_h = 112 channel = 3 emb_size = 512 # Training parameters num_workers = 8 # for data-loading; right now, only 1 works with h...
[ "liuyang12@focusmedia.cn" ]
liuyang12@focusmedia.cn
b21d7ae16d254971cd389bdd392cf26f67dd2b89
1c9eb7448d899d2d904695cd7412e6702ada2210
/src/intranet3/intranet3/schemas/times.py
5f676853c1f769063db91e20d059e61b95046d58
[ "MIT" ]
permissive
woliveira0101/intranet-open
28ca7100300aa11203bed90edd6a9a686dcb0345
0255227e7133d1c34ab265e1418f9a409370ea3a
refs/heads/master
2020-03-18T00:46:44.436819
2014-05-23T06:24:57
2014-05-23T06:24:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
# coding: utf-8 from colander import MappingSchema, SchemaNode, Boolean, Float, Integer, \ String, Range, Invalid class TimeObject(object): """ Time format: float `1.2` or `HH:MM` """ def deserialize(self, node, cstruct): if not isinstance(cstruct, float) and not isinstance(cstruct, ba...
[ "meverone@gmail.com" ]
meverone@gmail.com
b74901c63d3af37488255a82873b37db241683e2
b773d8fd9953b53cdb292aeebe1e0089f3e56b25
/Pacing_project/pacing_class_tz.py
52993a27b529520a4616bc4484ec099916d3d9e0
[]
no_license
displayce/Displayce_internship
723f9fe2fd4dde8ad958199ef0fe30a4a2b54969
7ac2da6f41d617ca23a6f801fd0e991c1042ac95
refs/heads/master
2022-12-22T00:18:44.126198
2020-09-30T14:01:54
2020-09-30T14:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,534
py
from datetime import datetime from datetime import timedelta import pandas as pd import pytz import itertools from statsmodels.formula.api import ols # Temporal pacing class class Pacing: """ The temporal pacing algorithm class """ def __init__(self, total_budget, start_date, end_date, timezone): ...
[ "th.maurice.pro@gmail.com" ]
th.maurice.pro@gmail.com
756c17137cf944f47d73b541ac0eb7a1536e56c3
77c8c500d4077ad733fbfe2c6a85a1dd47bd3cb5
/namsookim/SWEA/1주차/5653(줄기세포배양).py
85a928f852dcc787747546ac319806c3800cc88a
[]
no_license
chelseashin/AlgorithmStudy2021
786f03c4c17bc057518d428481e7d710d24ec98e
1a4744a621ed25715fc9060c5224f0b1092d9c00
refs/heads/master
2023-06-22T22:27:47.289806
2021-07-28T02:54:22
2021-07-28T02:54:22
326,441,667
1
5
null
2021-06-29T01:27:40
2021-01-03T15:44:16
Python
UTF-8
Python
false
false
3,085
py
# https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWXRJ8EKe48DFAUo import sys import copy from collections import deque def print_array(array): for i in range(len(array)): for j in range(len(array[0])): print(array[i][j],end=' ') print() N,M,K = map(int,in...
[ "aowlrehrk3@naver.com" ]
aowlrehrk3@naver.com
b6ddfd1034f68fcb04d7dd7367c60d64d74c567f
0da8fdae806b73e9dc57e052dcf1171c5a2c7f28
/01_Python基础/05_高级数据类型/study_17_字符串的查找和替换.py
21ac39e23afe3709e5be97d72fd7c073e80aff77
[]
no_license
xujinshan361/python_study_code
ed37db128c55ee2ad9f7b2db04785c632a7115d4
e6ce0bdd8243dfaadf56213ef0120d215de0d0cd
refs/heads/master
2020-12-10T12:19:45.792310
2020-01-13T12:48:22
2020-01-13T12:48:22
233,592,034
1
0
null
null
null
null
UTF-8
Python
false
false
666
py
hello_str = "hello word" # 1.判断是否以指定字符串开始 print(hello_str.startswith("he")) # 2.判断是否以指定字符串结束 print(hello_str.endswith("word")) # 3.查找指定字符串 # index同样可以查找指定的字符串在大字符串中的索引 print(hello_str.find("lo")) # index 如果指定的字符串不存在,会报错 # find如果指定的字符串不存在,会返回-1 # print(hello_str.index("abc")) print(hello_str.find("abc")) # 4.替换字符串 #...
[ "xujinshan361@163.com" ]
xujinshan361@163.com
35ffcbdb4fcd1a28e57c02cab3f847dfaea2a016
508eff345eb4b7fd6040d6872f5ae626956deb27
/samples/seal/inspect_seal_model.py
386db48cd9a964a2eb8d23436b0247c6c09ef6a7
[ "MIT" ]
permissive
xuannianc/Mask_RCNN
7c9e2ed5b3d245cd9a7b42319c61a0aa83ddb295
c942d5cf68508dd0e22d56a6eb25f8a30a090bda
refs/heads/master
2020-03-30T00:52:43.433219
2018-12-03T05:27:30
2018-12-03T05:27:30
150,548,502
0
0
null
2018-09-27T07:41:57
2018-09-27T07:41:56
null
UTF-8
Python
false
false
26,591
py
import os import os.path as osp import sys import random import math import re import time import numpy as np import tensorflow as tf import matplotlib import matplotlib.pyplot as plt import matplotlib.patches as patches # Root directory of the project import glob # ROOT_DIR = os.path.abspath("../../") ROOT_DIR = os.p...
[ "chenxuannian@gmail.com" ]
chenxuannian@gmail.com
f52bdb4d96eb52e72961315f882dbfc9f813aa0e
67e08000ca2cf8ae4595bfcce9f1ef2b6001a3cc
/catkin_ws/build/micros_swarm_framework/tools/hector_quadrotor/hector_uav_msgs/cmake/hector_uav_msgs-genmsg-context.py
8723a33e7acfca3521fae7e7886b357ba3285c7a
[]
no_license
REGATTE/copter_deep_learning_build
60e490f1eb2254188f5f160ef837a1a281a1ab19
cb77b5e6d1591a964c2ef7d3e2ae8ada56ad39c0
refs/heads/master
2023-03-03T22:25:05.289131
2021-02-17T08:13:57
2021-02-17T08:13:57
339,652,322
0
0
null
null
null
null
UTF-8
Python
false
false
4,680
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/user/catkin_ws/src/micros_swarm_framework/tools/hector_quadrotor/hector_uav_msgs/msg/Altimeter.msg;/home/user/catkin_ws/src/micros_swarm_framework/tools/hector_quadrotor/hector_uav_msgs/msg/AttitudeCommand.msg;/home/user/catkin_ws/src/micros_swa...
[ "ashok_a380@icloud.com" ]
ashok_a380@icloud.com
f9460bdd828edd3892ba9506260ad360ad7bfbad
ef3a7391b0a5c5d8e276355e97cbe4de621d500c
/venv/Lib/site-packages/thinc/neural/train.py
1a0492b1e6ef38288d5f82838d0e13063fc3efe1
[ "MIT", "Apache-2.0" ]
permissive
countBMB/BenjiRepo
143f6da5d198ea6f06404b4559e1f4528b71b3eb
79d882263baaf2a11654ca67d2e5593074d36dfa
refs/heads/master
2022-12-11T07:37:04.807143
2019-12-25T11:26:29
2019-12-25T11:26:29
230,090,428
1
1
Apache-2.0
2022-12-08T03:21:09
2019-12-25T11:05:59
Python
UTF-8
Python
false
false
1,862
py
# coding: utf8 from __future__ import unicode_literals import numpy.random from tqdm import tqdm from .optimizers import Adam, linear_decay class Trainer(object): def __init__(self, model, **cfg): self.ops = model.ops self.model = model self.L2 = cfg.get("L2", 0.0) self.optimizer...
[ "bengmen92@gmail.com" ]
bengmen92@gmail.com
e85646f0c172a4be28e3c2a012c72c890de0149e
ee085ef7e9f2d178b1128d82a036fc5574355002
/apps/confer_manage/views.py
e9c639dfa9e660baa535ba1367d14d4157990aa5
[]
no_license
ErZhouEr/zhers_CMS
937d7c2b332ad66f8cf152532744b2b6d007143b
71d384956bc90d962b268ec9d15002de887dada8
refs/heads/master
2022-12-09T00:36:18.961915
2019-07-29T12:57:50
2019-07-29T12:57:50
190,124,817
0
0
null
2022-12-07T23:38:03
2019-06-04T03:47:10
JavaScript
UTF-8
Python
false
false
38,258
py
from django.shortcuts import render from django.shortcuts import redirect from django.shortcuts import HttpResponse from django.contrib import messages import json from datetime import datetime, timedelta, timezone import re import ast import traceback from . import models from . import forms from apps.login import m...
[ "917846003@qq.com" ]
917846003@qq.com
ddf0cd63aa1fd17e0fc5796faeb0563d44020a98
18024947305ee208812bac794352eca4fc8d5437
/GreystoneProject/GreystoneProject/urls.py
204edea5ce494e1f47317b71001970869d8f45a0
[]
no_license
zippy1981/GreystoneSample
bf289d6b0bb0601cd7a3ec67331546326335758e
d0679bb8d21a446be739b7fcb18dcc59c8261e41
refs/heads/master
2021-01-16T00:09:56.155190
2017-08-10T20:14:10
2017-08-10T20:14:10
99,961,485
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
"""GreystoneProject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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')...
[ "zippy1981@gmail.com" ]
zippy1981@gmail.com
f496224193f4ea3d1b76b22140439cdcfafe45be
7b3746fd583a44b01c4f1b1357ee1ca07f3b76de
/server.py
78327b0e04fbf949befe1d282f6c806111d09aa8
[]
no_license
DRyan1995/dryan1995.github.com
2652b541a5da30683177a6ebeec628cee21f927e
f18ef5e4c54b95da61b2ec18658e5855df2cf424
refs/heads/master
2020-05-22T01:14:27.942872
2018-04-03T03:59:17
2018-04-03T03:59:17
53,734,367
0
0
null
null
null
null
UTF-8
Python
false
false
4,334
py
import sqlalchemy.exc, traceback, re, json from flask import Flask, request, render_template, Response, send_from_directory, session, app, redirect, url_for from flask_limiter import Limiter from flask_limiter.util import get_remote_address from flask_sqlalchemy import SQLAlchemy from datetime import datetime from func...
[ "1204633887@qq.com" ]
1204633887@qq.com
cafa5f4f16ca55c57c83fe82e13b42135abb9c82
e5e57303d7fd02692295d117b2c9fa509697b977
/LittleGarden_Code/Backend/repositories/DataRepository.py
54abe5826544dd118819dd1b54275376dd91d652
[ "CC0-1.0" ]
permissive
CarlierAlex2/LittleGarden
a3f0207f38c31c2567a5ca85a024dfd9ba200874
744f9d20025f3d341d902834803ea1d0849cc918
refs/heads/master
2022-10-31T14:43:11.880181
2020-06-15T17:36:38
2020-06-15T17:36:38
272,476,801
1
0
null
null
null
null
UTF-8
Python
false
false
8,005
py
from .Database import Database class DataRepository: @staticmethod def json_or_formdata(request): if request.content_type == 'application/json': gegevens = request.get_json() else: gegevens = request.form.to_dict() return gegevens # GET WHOLE TABL...
[ "noreply@github.com" ]
noreply@github.com
df6d24540ef2bcdeecc36123121033886d8cc2d1
fe6586bd9a9eff9bfb207342112acb523ddb107d
/cv/tf-notes-peking/sgdm.py
1a4de67a4eadf6e9fa8054abf93a2a913d56009b
[]
no_license
KDD2018/Machine-Learning
3c7b85a85ac713b6a686c9e0bc8eb1d8b4a3035b
ec05beaa985b8713629397dfeb5cbf799559a15a
refs/heads/master
2022-09-22T04:48:44.214983
2022-09-05T07:21:33
2022-09-05T07:21:33
155,834,633
4
0
null
null
null
null
UTF-8
Python
false
false
6,056
py
# 利用鸢尾花数据集,实现前向传播、反向传播,可视化loss曲线 # 导入所需模块 import tensorflow as tf from sklearn import datasets from matplotlib import pyplot as plt import numpy as np import time ##1## # 导入数据,分别为输入特征和标签 x_data = datasets.load_iris().data y_data = datasets.load_iris().target # 随机打乱数据(因为原始数据是顺序的,顺序不打乱会影响准确率) # seed: 随机...
[ "935796564@qq.com" ]
935796564@qq.com
b6f099da37e81b5cb270c08fae24794902c4db00
a56d9d534e21d8ea6d790056b56cb130471c4318
/common/evaluation/evaluators/__init__.py
9f88ec914fbbb99293faac16c9fcbecfe4a29a50
[]
no_license
lilujunai/imp_reg_dl_not_norms
20f07d0cc09437545fa20eb888b60e6a7e34a6b3
058ff3df04d8986c142dc791154ddb3f9d5a5277
refs/heads/master
2022-07-17T16:19:40.848893
2020-05-14T06:12:50
2020-05-14T06:12:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
from .evaluator import * from .supervised_evaluator import *
[ "noamrazin@gmail.com" ]
noamrazin@gmail.com
d340edfc182f6a8ba9e32a1b0eef3de9b5f7140d
24d456d7c43d132ea152f254b45fd8b66fa18d5c
/ros/src/waypoint_updater/waypoint_updater.py
28179644abb175216cd7e200f43c4602f96092e5
[ "MIT" ]
permissive
gaurav2205/CarND-Self_Drive_Car
3c061528dcc1d8c31e4ff60666ab9a20d9f01802
d6b72577ada3965af4cf386e70d8748f3ff37fbb
refs/heads/master
2022-11-28T08:22:59.876599
2019-06-11T12:38:57
2019-06-11T12:38:57
191,258,955
0
0
MIT
2022-11-22T00:23:23
2019-06-10T23:22:08
Makefile
UTF-8
Python
false
false
5,551
py
#!/usr/bin/env python # 2018 # Gaurav Garg, Amr Rizk, Roland Schirmer, Nobuyuki Tomatsu import math import numpy as np import rospy from geometry_msgs.msg import PoseStamped from std_msgs.msg import Header, Int32 from styx_msgs.msg import Lane, Waypoint from scipy.spatial import KDTree ''' This node will publish wa...
[ "noreply@github.com" ]
noreply@github.com
576f5a05cda59a1aefc767be46108829bb8864b8
52c474b0cc197ab269bbdd6cc86b367efdc21875
/day_03/py/radon.py
5a91637f69b5f6dee70963e20b3b3757b954579d
[]
no_license
alexisperrier/XEmines-probabilistic-programming
e4ed0ca045650c63f9a06c1f1cfc993f0bc41bd3
ecb5f66deb0658ac7d26baa32c7d86daa0cff97a
refs/heads/master
2020-04-29T05:48:10.872542
2019-05-16T09:36:34
2019-05-16T09:36:34
175,894,588
0
1
null
null
null
null
UTF-8
Python
false
false
3,393
py
''' https://nbviewer.jupyter.org/github/fonnesbeck/multilevel_modeling/blob/master/multilevel_modeling.ipynb ''' import sys # scientific packages import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from scipy import optimize import pymc3 as pm import patsy as pt if __name__ ...
[ "alexis.perrier@gmail.com" ]
alexis.perrier@gmail.com
13959ba15ca422dde18259d7e1484859eb10f41f
7ae9b49a92c6c49054be8d3b2c87494a4442092c
/python/xx.py
19b8db61536370537e2b568f467945735a23a27c
[]
no_license
yanyingbing/dev
425d66ec41d9946a4aec894f17ef706acae3225a
e20914081ab66b86536683f8aad0980d87563702
refs/heads/master
2021-01-25T04:02:05.851971
2014-08-29T07:58:12
2014-08-29T07:58:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
#!/usr/bin/python x=98.0 if x!=99.000: print x
[ "yanyingbing@sinap.ac.cn" ]
yanyingbing@sinap.ac.cn
44080a16806da4ce8e27acc10b8da2ee1fbfb2eb
b59ee2bef3517d60fe39205fbab61e0d04c40218
/modules/command_handler.py
c49885e7c856009745db4f77c82d99e591942121
[ "Apache-2.0" ]
permissive
Hiruma31/ADA
7f722c0f975e44ea097df19603f2ecc6f36d5900
98d23041f1061999cd57a4156bd11eb0baed5582
refs/heads/master
2021-01-18T14:02:49.131326
2014-05-19T15:53:49
2014-05-19T15:53:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
import settings # RegExp import re # PyAIML import aiml import commands def command_handler(): """ Handle the converted to text order to dispatch to the right module """ def regexp_handled(text_order): # RegExp Handler test re_test = re.search('^()$',text_order) if re_test: print "Te...
[ "romain.grenet@gmail.com" ]
romain.grenet@gmail.com