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
a1ec4ea09252c17ded8ddff29b0cb46e738494e7
a42dbf73822895c103883a773085a9d0d32b910b
/packages/bmp-sensor/read_barometer.py
8d8045f9acb5a055b1064cbb241b84602d9bf2b2
[]
no_license
Tchanu/home-control-back
4e1724834319084880ae87c1c728eeefc4d7fd24
21944603040cd806adddefc8c159aa3a754cadaa
refs/heads/master
2020-04-08T05:15:31.438259
2019-02-17T19:59:46
2019-02-17T19:59:46
159,053,067
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
#!/usr/bin/python import sys import Adafruit_BMP.BMP085 as BMP085 sensor = BMP085.BMP085(mode=BMP085.BMP085_HIGHRES) print('{') print(' "temp": {0:0.2f},'.format(sensor.read_temperature())) print(' "pressure": {0:0.0f},'.format(sensor.read_pressure())) print(' "altitude": {0:0.0f},'.format(sensor.read_altitude()))...
[ "t.chanukvadze@gmail.com" ]
t.chanukvadze@gmail.com
d1447815d97faff47b44f8a1895258fb69c4f969
2c8d3e341e813c1b1b88ae824edeaadb366aec0a
/Parser/SW4/SW4/bin/Debug/smo2-25-path-31.py
ebf93cad9a6ff9ab926373c9abce13ff101bc0cb
[]
no_license
kiriphorito/MoveAndTag-Manticore
2e24a958f4941556b2d2714563718069cc5b208f
d07a3d8c0bacf34cf5f433384a6fd45170896b7a
refs/heads/master
2021-01-20T11:40:49.232449
2017-02-26T14:08:48
2017-02-26T14:08:48
82,548,310
0
0
null
null
null
null
UTF-8
Python
false
false
31,842
py
#!/usr/bin/python # -*- coding: utf-8 -*- u""" @brief: Path Planning Sample Code with Randamized Rapidly-Exploring Random Trees (RRT) @author: AtsushiSakai @license: MIT """ import shapely from shapely.geometry import Polygon, LineString, Point, MultiPoint, GeometryCollection import matplotlib.pyplot as plt from as...
[ "zcabwhy@ucl.ac.uk" ]
zcabwhy@ucl.ac.uk
d64342467dbba25fac432d2520982c38c5b93302
6edeca2f39f52a230b0d540aab823db3045fbee8
/28.py
cb1ad98b335c7cc760bace1639ddd6952dac9dd9
[]
no_license
pavankumar2203/InterviewcakeSolutions
e45856072beb353c55041fbb48b550f82907e4c1
416db586befc2a3e2c57aa8c8112ec0c94b0b895
refs/heads/master
2021-01-10T05:25:20.439029
2016-01-26T05:18:59
2016-01-26T05:18:59
50,405,319
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
def getcloseparan(s, openindex): openbrackets = 0 s = list(s) for i,j in enumerate(s): if i > openindex: if j == "(": openbrackets += 1 elif j == ")": if openbrackets == 0: return i else: ...
[ "pavankumar2203@gmail.com" ]
pavankumar2203@gmail.com
4e0a7f8d9a86b8bf6efd82b4c4a9915a8ca162dd
45794325a8bff57a667becdbc9fcbb635019f4f2
/src/kendama/scripts/227c_robot.py
2525015696927dd9b914f07c569c7c4362f84ce1
[]
no_license
tonyhzheng/ur5e_robotiq_3f_gripper
26277c02ef7eaca94d416e3b62b1010d81bdfd16
aa7119332d9828cf953e37197403da5c877b9312
refs/heads/master
2020-05-14T11:22:50.764577
2019-05-18T22:25:45
2019-05-18T22:25:45
181,776,306
0
1
null
null
null
null
UTF-8
Python
false
false
21,497
py
#!/usr/bin/env python """ This script uses sensor inputs from the LIDAR and 3D cameras to find objects in a new environment. State updates are determined from the turtlebot IMU and enconders. Commands to the arm are sent to the turtlebot using the MoveIt Python API (http://docs.ros.org/kinetic/api/moveit_tutorials/htm...
[ "tony.h.zheng@gmail.com" ]
tony.h.zheng@gmail.com
fc1594f425c1a54f1e64a6aef2c262b5c450c273
736730d72c24470a0c9ba58309ee3a95fe09d5e4
/projeto/feriados/feriados/urls.py
d23c9df344b2022619b6e27648331c943d93a479
[]
no_license
orlandosaraivajr/FATEC_2021_1SEM_Topicos3
3f9c6b983c8b012330527848862f9f22649f0f5a
83610f798510e1bad69eedaed6b3b4ed08e2014e
refs/heads/master
2023-05-02T10:24:05.865947
2021-05-19T00:20:38
2021-05-19T00:20:38
339,551,303
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include('feriado.urls')), ]
[ "orlandosaraivajr@gmail.com" ]
orlandosaraivajr@gmail.com
a46a09b36dea4eddb1483fcdee6e292962b2ab51
f47d17b53977cf745d453b654529e8cd6be7890f
/3level_N20_ainbin1.py
120aacee0e37205a96e1666348518b2b537c19d0
[]
no_license
rareearthquantum/model_upconversion_peter
b4cce7556a167ba0e9813625dc924d3542d33cd1
dcf08000ec21770659318409a686bb2b88a7a1be
refs/heads/master
2020-04-28T19:54:34.795590
2019-06-14T09:43:28
2019-06-14T09:43:28
175,526,148
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
from Frequency_response_3level import * p = {} p['deltamu'] = 0. p['deltao'] = 0. p['d13'] = 2e-32*math.sqrt(1/3) p['d23'] = 2e-32*math.sqrt(2/3) p['gamma13'] = p['d13']**2/(p['d13']**2+p['d23']**2)*1/11e-3 p['gamma23'] = p['d23']**2/(p['d13']**2+p['d23']**2)*1/11e-3 p['gamma2d'] = 1e6 p['gamma3d'] = 1e6 p['nbath']...
[ "peterbarnettnz@gmail.com" ]
peterbarnettnz@gmail.com
be83bd3e4c5b5221a68a0aacf0e2f692f9a4a957
de4e1332950d37707620c54a9613258c1dd9489c
/yusang/week8/1463:1로만들기.py
bddccde28e3aed92255c8a7e8674693488e55624
[]
no_license
PnuLikeLion9th/Summer_algorithm
8fe74066b9673fb891b7205f75f808a04c7fe750
dcfcb6325854b3b4c529451d5c6b162298b53bc1
refs/heads/master
2023-07-10T13:57:05.511432
2021-08-15T07:50:00
2021-08-15T07:50:00
378,679,514
3
10
null
2021-08-15T07:50:01
2021-06-20T15:32:18
Python
UTF-8
Python
false
false
271
py
n = int(input()) dp = [0 for _ in range(n+1)] for i in range(2, n+1): dp[i] = dp[i-1] + 1 if i%2 == 0 and dp[i] > dp[i//2] + 1 : dp[i] = dp[i//2]+1 if i%3 == 0 and dp[i] > dp[i//3] + 1 : dp[i] = dp[i//3] + 1 print(dp[n])
[ "dfhilder@gmail.com" ]
dfhilder@gmail.com
6630c33e6fda4d0900961391f88428c3491da5e9
618bf166a2efabcfed275fed9a6901611862329a
/sudoku.py
08b2fc5432856a63d90df423313562ef872cfa91
[]
no_license
ksanu1998/pacman
6ae8a204766180e60017a4e3cb05e2e2af9a342e
7916fbae907c553ff5504ecca8d8f5fcfc093e8c
refs/heads/master
2020-12-06T00:45:53.009967
2020-02-03T19:26:48
2020-02-03T19:26:48
232,291,178
0
0
null
null
null
null
UTF-8
Python
false
false
16,142
py
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++# #| code for solving 4 x 4 sudoku puzzles using different search algorithms and heuristic functions | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++# # Some important...
[ "noreply@github.com" ]
noreply@github.com
a4889fa5b155d6284ff64e05f0a3f2bc3761b20a
246556b07fa9f42e0f5d424022c97eb62be259df
/Data Handling/Problem_1.py
e36c5e5e5ea7fe12cff872a49fa4fd017ff494b4
[]
no_license
bhavsarp456-pnb/bhavsarp456
c4017cacf009cacd080ca5cdcead7ae4a90c5043
151c8b353b0a87497159d2c3342d89c3c671bc69
refs/heads/main
2023-03-06T15:10:29.552958
2021-02-15T05:36:30
2021-02-15T05:36:30
338,974,962
1
0
null
null
null
null
UTF-8
Python
false
false
434
py
file = open("C:\\Users\\Dell\\OneDrive\\Desktop\\Laptop_List.txt","a+") file.writelines(['Dell\n','Apple\n','HP\n','Acer\n','Asus\n','Lenevo\n','Toshiba\n']) file.seek(0) x = file.readlines() NewData = [i for i in x if i.startswith("A")] file2 = open("C:\\Users\\Dell\\OneDrive\\Desktop\\Sorted_Laptop_List.txt","a+...
[ "noreply@github.com" ]
noreply@github.com
ebc1f9d063c620c66e017cdc4cf70f528dbfdc02
c9f32890446ca90b7b74837ead806c8d49a02705
/face2.py
436cddf3c4247039ae6ae76d8975cb1a851a92b9
[]
no_license
saeed4v/Eye-Controlled-Command-System
464b0e34e1866a3ef802657a9a66fdaf8511ea9b
3162b2af37693de70ad3e4e64416b3b2d05ecbbb
refs/heads/master
2021-01-01T05:15:43.905260
2016-05-11T14:47:11
2016-05-11T14:47:11
58,529,498
0
0
null
null
null
null
UTF-8
Python
false
false
4,849
py
import numpy as np import cv2 import collections import picamera # multiple cascades: https://github.com/Itseez/opencv/tree/master/data/haarcascades #https://github.com/Itseez/opencv/blob/master/data/haarcascades/haarcascade_frontalface_default.xml eye0_cascade = cv2.CascadeClassifier('haarcascade_eye.xml') #https...
[ "saeed4v@gmail.com" ]
saeed4v@gmail.com
6e94b8ef6dd9af3e5218e7cac10b5f3da2521727
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_270/ch54_2020_03_27_00_44_11_634478.py
4a4969942833af9e67d2166564562fd7a64f393d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
def calcula_fibonnacci(n): k = 0 lista = [] soma = 1 while k < n: lista.append(soma) soma += soma k += 1 return lista
[ "you@example.com" ]
you@example.com
3a51d7a1f84fc82bf0161ddbe7a7630337299c23
59a86a5b14dee6c6a328d85411776085c555fc2f
/.vim/global_ycm_extra_conf.py
7d90e175f36b95813b5290575e3cdf334328ee45
[]
no_license
kanadas/dotfiles
6b6de909eb2265db7aa35afc1d1df8f4c5d5d298
783fdb9d53b76e648e5bacda3ce8fca19433c594
refs/heads/master
2023-08-08T11:57:45.753599
2023-07-31T20:27:19
2023-07-31T20:27:19
204,177,274
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
def FlagsForFile( filename, **kwargs ): return { 'flags': [ '-x', 'c++', '-Wall', '-Wextra', '-O2', '-std=c++17' ], }
[ "kanas.tomasz@gmail.com" ]
kanas.tomasz@gmail.com
6e2f1ee720e14dced37da2bed7d6c111bd4c19a6
24a7bc26a0daaa0e68d7923638d421debe01c456
/src/signup/forms.py
3501963697610a6bfdecc8dff0c4f8ce861067e9
[]
no_license
promer94/opendata
9ca56bf9e3cb57a1660d0dba6ebfabca7c535efe
219cdd5ed817bce7f1a4bf633476069d06ae9455
refs/heads/master
2022-12-12T22:01:38.097929
2019-07-09T08:44:45
2019-07-09T08:44:45
141,059,631
0
0
null
2022-12-08T02:16:44
2018-07-15T21:27:53
CSS
UTF-8
Python
false
false
4,176
py
from django import forms from django.contrib.auth.models import User from django.core.exceptions import ValidationError from django.core.validators import validate_email from django.utils.translation import gettext as _ def forbidden_username_validator(value): forbidden_usernames = ['admin', 'settings', 'news', '...
[ "yixuanxu94@gmail.com" ]
yixuanxu94@gmail.com
49496dffd58966113b9481eed7b4792e626e4b6f
39cacea0061a9806f0099801b43ab6191caa88e6
/backEnd/cParent.py
998e6bb10b03e08480043be617a727b660df4ed7
[]
no_license
matthewJ1981/ODU_411_Project
e2e4e24078462d6bd9fcb9e02641d3b85c58e5fd
46b07f0de7dafe2add9baebaf9943a9757a65a18
refs/heads/master
2023-07-01T23:15:22.452058
2021-08-08T23:45:19
2021-08-08T23:45:19
394,091,579
0
0
null
null
null
null
UTF-8
Python
false
false
4,774
py
import threading from cChild import Child from cHelpResponse import HelpResponse import datetime as dt class Parent(): def __init__(self, In, db): self.updateMembers(In) self.db = db self.initChildren() self.initHelpResponses() self.updates = [] def updateMembe...
[ "67207999+matthewJ1981@users.noreply.github.com" ]
67207999+matthewJ1981@users.noreply.github.com
02a2622141424da0610a78ceb8ae5303fe1b3056
bffc27c54f0e0712a195e7fc7e50b6399da20074
/aes/aes_.py
5b233bcf78bac0b1a3684d1592dc6e4fb1f3b4ba
[]
no_license
mingmingli916/MyAITools
6d85a6a8d2770b5d69f86baabcf74f37ad2cc9cb
27fae7c92331fe801b97e15e0ff8900e9e323ea9
refs/heads/master
2023-04-01T05:26:29.310976
2021-04-22T02:54:23
2021-04-22T02:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
# Author: Hack Chyson # [2018-12-20 11:27:27] import sys import base64 # package: cryptodome from Crypto.Cipher import AES # all the encrypt and decrypt operations is based on binary data # this avoid many encoding problems # base64 is used for human reading # because you cannot copy a binary content in the console ...
[ "chyson@aliyun.com" ]
chyson@aliyun.com
d573f7332cfe153f609f7786b789b43c67bacf8c
2a31c665347e28871674a9aad41019a3adf1dcd2
/oraclenosql/Jython_oraclenosql.py
7d442a40a4e282301f14ad3d9a287aa3e76d8381
[]
no_license
abruneauOracle/14a
2a2c59e5d183ef86664de2cb3da7feb6f27aa483
77f0c1cce70231bc6778998ddd50c2faec659b2d
refs/heads/master
2021-01-22T22:08:45.466056
2012-01-23T19:47:15
2012-01-23T19:47:15
null
0
0
null
null
null
null
ISO-8859-1
Python
false
false
15,275
py
# Jython script to manipulate data in Oracle NoSQL databases, community edition. # -*- coding: iso-8859-1 -*- import sys import jarray import array import inspect from java.util import ArrayList from java.util import List from java.util import Iterator from java.util import SortedMap def main(): # Read arguments p...
[ "yeysus@googlemail.com" ]
yeysus@googlemail.com
76a7107978730e9625dbaed329e65f2e265b36d6
70b4d0dd59bdf3ef9cabefdf4c0d7e3174aae617
/archive/oz/check.py
2cde9a0ba890dba4cebed0c6958405a5eebe12a7
[]
no_license
ab/bin
0407002cd2d2614893f6a28e8d07ada5ecffe0d0
f7b3c776bbc101de3f32afb0a84b5498cb7b3df0
refs/heads/main
2023-04-14T12:03:09.434014
2023-04-06T16:29:41
2023-04-06T16:29:41
5,051,936
5
5
null
null
null
null
UTF-8
Python
false
false
2,648
py
#!/usr/bin/env python import re import sys import optparse import zlib def checksum(fname, sum_fun, binary_mode=False, raw=False): if fname == '-': f = sys.stdin else: opts = 'rb' if binary_mode else 'r' f = open(fname, opts) running_sum = sum_fun('') while True: buf =...
[ "git@abrody.com" ]
git@abrody.com
3a20f55f11d6ba81fd3043d1c0adefbc2d694ea8
4c4fea21488d8baea2256930c71000e4ee3141da
/first.py
468761bce755e6b7db392447e71ee3bcbdc2af66
[]
no_license
wyattwhat/cigarette-test
f9edae78c02bb675aea726f5490a67d57b07c88b
1cc695b7bf907fa60071c577228cb5f5cee15427
refs/heads/master
2021-03-24T13:49:14.682724
2016-11-27T02:09:40
2016-11-27T02:09:40
74,861,910
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
import random import sys import os age = input('what be yo age') if age > 18 : print('ciggie 4 yo') elif age >= 69 : print('yo 2 old 4 ciggie') else : print('yo 2 old to be ciggin')
[ "noreply@github.com" ]
noreply@github.com
d8a5803e900c1a81f57eb6e8232a6067e465a51c
3c300c79359f1c989df4403835abbc5513364fee
/bitshares_tradehistory_analyzer/parser.py
56c9520cd316cf14dfea532af60b1ebf20c94920
[ "MIT" ]
permissive
ds-voting/bitshares-tradehistory-analyzer
73ef81a1748fabef055f512b46366dc848c09a15
1dfd293dd6b4d692a078c403b79355fef0165799
refs/heads/master
2020-07-23T15:06:04.733405
2019-07-19T13:51:33
2019-07-19T13:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,029
py
import copy import logging from decimal import Decimal from bitshares.account import Account from bitshares.amount import Amount from bitshares.asset import Asset from .consts import LINE_DICT_TEMPLATE log = logging.getLogger(__name__) class Parser: """ Entries parser :param BitShares bitshares_insta...
[ "vvk@vvk.pp.ru" ]
vvk@vvk.pp.ru
f0fa6497a9b7d53518ef748ec3971b096f59330f
a4286e173fb6c5ffe90c4faea2042fd230fd09cb
/general_highways/scat_second_pert/scattering_map.py
3d9dfbb38dab159b0ae1abff26a5d5d0147addeb
[]
no_license
schaeferrodrigo/highways
5238be1635370de27800e67d3bfd5835028a1732
e0e9ef0c014b994c39acdebeba068a97042a1bb2
refs/heads/master
2023-02-19T15:10:02.560295
2021-01-19T14:56:58
2021-01-19T14:56:58
279,829,984
0
0
null
2021-01-15T11:54:55
2020-07-15T09:51:01
Python
UTF-8
Python
false
false
3,637
py
# -*- coding: utf-8 -*- #============================================================================== import numpy as np import parameeters as par import alpha as al import tau_star as tau import matplotlib.pyplot as plt import functions as fun import newton_method_vv as new import bifurcation as bif step...
[ "rodrigo@emp-50-21.eduroam.uu.se" ]
rodrigo@emp-50-21.eduroam.uu.se
29275197f5f4876da65b5163b1b5f59fb7800fa8
108ad88a78f1ee4376f8628c4e3625e8b288a733
/__init__.py
04a703d03f7a206b73b4c768598f3cd013b6ae4e
[]
no_license
chr15m/chipvolver
bfcf166553b437c7aaeba062a4f3dcc51d4a50ec
53b9752365272d565b3ede03e251816005b14d47
refs/heads/master
2021-01-17T06:27:36.546060
2016-07-12T09:25:26
2016-07-12T09:25:26
49,720,417
0
2
null
null
null
null
UTF-8
Python
false
false
25
py
from chipvolver import *
[ "chris@mccormick.cx" ]
chris@mccormick.cx
f418c7e2f004fe16dd6a9ee2b33be0893bebb571
d7c45763b67f5c36b4c8f274f430dff37c7d342e
/.ipynb_checkpoints/scrape_mars-checkpoint.py
2b32a48c0617127fad513107b6b55bc15c45960a
[]
no_license
re-ga-na/webscrapingchallenge
27d17becdc7e2df2b18aecf0138310f88ad4c0e1
04ade4080e1f317768ce6fff4dfadd5c7e23e387
refs/heads/master
2021-05-22T21:17:16.600970
2020-04-05T02:05:49
2020-04-05T02:05:49
253,100,223
0
0
null
null
null
null
UTF-8
Python
false
false
15,325
py
{ "cells": [ { "cell_type": "code", "execution_count": 211, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import requests\n", "\n", "from splinter import Browser\n", "from selenium import webdriver\n", "from bs4 import BeautifulSoup" ] }, { "cel...
[ "ralicka@rs-macbook-air.home" ]
ralicka@rs-macbook-air.home
0e6b139dec6db4c8aa222b7937adfc0f12e6045a
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/heatmap/_y0.py
8bae24f08506a20ba2d7ca6fb4ba46ef4651f570
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
441
py
import _plotly_utils.basevalidators class Y0Validator(_plotly_utils.basevalidators.AnyValidator): def __init__(self, plotly_name='y0', parent_name='heatmap', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, edit_type='calc...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
63e492a0c5b9732d569943b85828ce1a87c9f932
53740aa8e4df56003806cbc7a3cbf7896daa8f3c
/Ejemplosbasicos/EjemploModulo.py
2fa38ef7b5c2f4e9977509514288fae852e30ef6
[]
no_license
lsilvaherszage/cursopython
b9184d9b7993a4512efd451f4fd476bcc53cca50
5a0abe321bfe0f1d811a921a990143740c2a54a7
refs/heads/master
2023-03-15T03:20:34.115572
2021-03-26T20:51:16
2021-03-26T20:51:16
337,919,539
0
0
null
2021-02-14T20:46:52
2021-02-11T03:27:08
null
UTF-8
Python
false
false
480
py
import sys #import FuncionesUtiles # import FuncionesUtiles as fu # from FuncionesUtiles import cuadradoPerfecto #from FuncionesUtiles import * # import funciones # print(FuncionesUtiles.cuadradoPerfecto(25)) # print(fu.cuadradoPerfecto(26)) # print(fu.enElMismoOrden("Este es un texto lindo", ["es", "texto"])) # prin...
[ "gzabala@gmail.com" ]
gzabala@gmail.com
ee9990dd7709468a094b746e39c632852ceebc14
91f70ceb73f813c9f01b4236005de4fd100f2fc3
/src/pycropml/wf2xml.py
e3634ec7c96995b05dff340cc686d35241303719
[ "MIT" ]
permissive
sielenk-yara/PyCrop2ML
438ed2f0fefc707c650132512ee1c4d7f4b5c01a
dfcab79061fa71d4343120573b50b6232812999e
refs/heads/master
2020-12-29T15:30:12.552225
2020-10-07T18:09:42
2020-10-07T18:09:42
238,654,199
0
0
NOASSERTION
2020-12-01T08:45:56
2020-02-06T09:42:11
null
UTF-8
Python
false
false
3,843
py
from openalea.core.external import * from openalea.core.pkgmanager import PackageManager from py.xml import Namespace class ns(Namespace): "Custom xml namespace" class Wf2Xml(object): """ Export an OpenAlea Workflow into a Crop2ML Model composite. """ def __init__(self, wf, pmanager=None): "...
[ "christophe.pradal@inria.fr" ]
christophe.pradal@inria.fr
0d2dcc849231e7db257596ad5c809789d9656d98
0a23232675cdc132b5bd3364989934ea6722dc23
/readwriteFiles_pyrecipe/readJson.py
3fee345f734b74082d52ceff8a246153e3cb8f2a
[]
no_license
Nitin-pgmr/ETL_With_Python
fdf74f0daf5bcd379ffe46cd133f8883574f2dcf
ece5246c5defce19abb2fcaa996e45d94969d841
refs/heads/master
2023-01-21T04:24:19.101609
2020-12-01T07:53:58
2020-12-01T07:53:58
317,454,253
1
0
null
null
null
null
UTF-8
Python
false
false
131
py
from faker import Faker import json with open("data.JSON","r") as f: data = json.load(f) print(data['records'][0]['name'])
[ "varghesenitin60@gmail.com" ]
varghesenitin60@gmail.com
c200f7c9266f997851b6130916f349f0d636f6ba
62b1c9931118f2837cd4fd68bf71a56b016124ad
/AndrewNgCoursera/backpropagation.py
b5a7ff8aa613855040e14e520382314fffe7d2a7
[]
no_license
dev-osiris/machine_learning
ab10af88d8ab41e880e5e7ef83a1f1dfa2b073fc
b2878419a32c455b3813a302ef6140438b2f4ce4
refs/heads/main
2023-06-17T13:13:58.421585
2021-07-11T06:49:59
2021-07-11T06:49:59
369,218,208
0
0
null
null
null
null
UTF-8
Python
false
false
3,855
py
import matplotlib.pyplot as plt import numpy as np num_training_ex = 1 alpha = 0.0001 def create_data(count): data = np.array([[0, 0, 0]]) output = [] for i in range(count): mat = np.random.randint(low=-5, high=5, size=(1, 3)) if mat[0][0] > 0 > mat[0][2] and mat[0][1] >= 0: ...
[ "noreply@github.com" ]
noreply@github.com
983b5abcc3b091b3c8ac1fe62dfb7a5f192939c8
7b3293dc2c5ac23c421297ccdf7e6b16caddfb9d
/app.py
b164c4ee259b896991dbe0c4d2e7e0c23e44363e
[]
no_license
cps333/event_mgmt
fe2a5ca484a9701eb1a5db74d5ba83dbccc12f02
30707bc6f754325ce52f38b7bfb32dbb82828a81
refs/heads/master
2021-01-21T19:01:35.696553
2017-05-22T23:09:11
2017-05-22T23:09:11
92,106,728
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
import flask Test Test Test Test
[ "congpeisong@gmail.com" ]
congpeisong@gmail.com
be64fb8a420212ea18965024bd6040c28f3fefd0
69a76fc49d48896f17ae6756ac2bedf8c92f9fe8
/myapp/forms.py
a9958f22622e43718189bf7ab58a5376adc5aedf
[]
no_license
raffaellgates/myproject
6c3e6bc375a87daeb9df9f86509e16e1da0ff6fb
24194a34581d240c111269940a7249d972ef231e
refs/heads/master
2023-01-03T05:20:32.409192
2020-10-21T16:25:57
2020-10-21T16:25:57
305,606,000
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
from django import forms from django.forms import ModelForm from myapp.models import Compositor, Constelacao, Estrela, Hospede, Musica class HospedeForm(ModelForm): class Meta: model = Hospede fields = '__all__' class CompositorForm(ModelForm): class Meta: model = Compositor fields = '__all__' widgets ...
[ "rafael12silva73@gmail.com" ]
rafael12silva73@gmail.com
6121deada37a3df456da949b942af9bb9b38b24b
6eba06b30d5d66bc055bf35582f941a8d25fcf57
/build/lib.linux-x86_64-3.5/fairseq/models/lstm.py
dc8033bec7ec90e1ca73e7a765bfd890d9983f78
[]
no_license
prpankajsingh/quick-edit
5d2cb31383c3becc5b396d03079ad6bd3d708422
211ebb46ac0e457b796ed41615a20d81440dcf0a
refs/heads/master
2020-04-16T23:18:49.107900
2018-08-13T11:37:28
2018-08-13T11:37:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,734
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import torch from torch.autograd i...
[ "nishit.n123@gmail.com" ]
nishit.n123@gmail.com
6db846cc3de7d7f5c3535eafad242cb11e1da445
9dee94907e6456a4af9855d358693923c17b4e0d
/0111_Minimum_Depth_of_Binary_Tree.py
711a407cde57b1a9863453b7f34b3ebbcf63c43b
[]
no_license
chien-wei/LeetCode
e215915a8103e56f182040dacc9fb0d6996c86ec
0d6f414e7610fedb2ec4818ecf88d51aa69e1355
refs/heads/master
2021-05-13T14:48:22.891100
2019-08-20T05:52:59
2019-08-20T05:52:59
116,749,327
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def minDepth(self, root: TreeNode) -> int: # BFS find the first leaf if not root: return 0 queue = [r...
[ "chien-wei@outlook.com" ]
chien-wei@outlook.com
088afb93ee215a857db06af9d00d17651895e7ed
06aaabe8863bcaf9595a4a07accf0283e42f35bf
/src/camserv/newcamserv.py
955e6c3ea09352e88cddbcab2928c15000453864
[]
no_license
bilalsadiq/Image-Video-Stabilization
3961645b9504e66935660c1053c824b6463a50cf
7e3054f7ae08396c38a819f9c33d5e59decdf6d3
refs/heads/master
2021-01-21T06:06:30.104627
2017-08-31T00:14:43
2017-08-31T00:14:43
101,939,392
5
0
null
null
null
null
UTF-8
Python
false
false
2,243
py
from picamera import * from os import * from time import * from io import * import pycurl import base64 import json import multiprocessing from conf import * DEBUG = True def helper_thread(url='127.0.0.1'): # req : Request object # res : Response buffer / object cam = PiCamera() cam.resolution = C...
[ "admin@BillWiTheSciencePi.local" ]
admin@BillWiTheSciencePi.local
f32d1d14da6ef2f04aa921ee33f9c6bf783c1d2a
6fa42c2dd3d2fad482e354495ee15616784425e8
/farm_management/animals/migrations/0001_initial.py
0875e45e464886f34342e695400496b8cca486e7
[ "MIT" ]
permissive
alexanders0/farm-management
ccf74f9a9d99f4d20173e360e6f776288ce636f3
53ed821bbbed312848cf331f8f961ef16c59fb99
refs/heads/main
2023-07-18T08:51:20.876231
2021-09-01T04:22:59
2021-09-01T04:22:59
384,026,009
1
0
null
null
null
null
UTF-8
Python
false
false
3,886
py
# Generated by Django 3.1.12 on 2021-08-25 03:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('lands', '0001_initial'), ] operations = [ migrations.CreateModel( name='Br...
[ "alexandersn059@gmail.com" ]
alexandersn059@gmail.com
44c1925930e893f90665e267105f0de38e06806c
885a722e3e5814ae4942ac5e8cf8d0091e734b4c
/게임 개발_Python/CodingTest.py
44a46c74629a33f66008719905f685de00396184
[]
no_license
ledpear/algorithm
52f3ea25842eee20b3bbd48e51825b9df4942e03
4922c6fe5ca0b98a90dee218b756006e7ba05d82
refs/heads/master
2023-06-09T17:47:45.674244
2023-06-03T13:47:11
2023-06-03T13:47:11
133,370,193
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
n = 4 m = 4 pos_x = 1 pos_y = 1 dir = 0 # 0 : 북, 1 : 동, 2 : 남, 3 : 서 game_map = [[1,1,1,1], [1,0,0,1], [1,1,0,1], [1,1,1,1]] bool_map = [[0,0,0,0], [0,0,0,0], [0,0,0,0], [0,0,0,0]] bool_map[pos_y][pos_x] = 1 count = 0 score = 1 while True: dir -= 1 if dir < 0 : dir = 3 bResult = False if dir == 0...
[ "tjsrb75@gmail.com" ]
tjsrb75@gmail.com
129bef2d66319480c6709c8a787ece635646e0a3
b2eca564f48df7d7274467ac877f0e885008c8fe
/src/python_stack/django_projects/user_practice/apps/practice_users/apps.py
a900bfe2252dbd3e325190c7b51ae905dde0f6c6
[]
no_license
Lckythr33/CodingDojo
87104a34b1e5a26dd9c3877f6ac3f3d10075acfc
a6e329ea04516fc67c378781a81d32301ffc1fad
refs/heads/master
2022-02-18T10:53:27.590534
2019-08-27T23:17:52
2019-08-27T23:17:52
183,742,933
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
from django.apps import AppConfig class PracticeUsersConfig(AppConfig): name = 'practice_users'
[ "Zeeshawn1@gmail.com" ]
Zeeshawn1@gmail.com
c10efe05a237e5f2dc9b3be53519b97c67a9655e
156ce3f9543b2daa940861541b6d0fbe9bdc3359
/lab1.py
ece73aea392d91a0e17dbb937c9860c81a990de4
[]
no_license
cpe202spring2019/lab1-sky-kurth
c8078341af6f21f26bbf4dac59b01f2f168f2991
8072e7a6f4af7db5e8b707dcaec8fe2fea905638
refs/heads/master
2020-05-05T00:37:48.797682
2019-04-12T16:12:14
2019-04-12T16:12:14
179,581,178
0
0
null
null
null
null
UTF-8
Python
false
false
3,214
py
def max_list_iter(int_list): # must use iteration not recursion if int_list == []: return None elif int_list == None: ...
[ "noreply@github.com" ]
noreply@github.com
77e6199d5c50898f9e8c1220fd067f25d7282b9f
85e1f76e7817fe51a41e97e6a378ec40fb3f2e5e
/PWSGuatemala.py
1313c3282e1b3c8fae10886eb76b84561edc8162
[]
no_license
ileammontoya/Proyecto-OIDs
5b95d637536aa9cbb9e49c0be128c86a0c9385e9
b40039a4d0939c7ea8e112e9110a0c17d339993a
refs/heads/master
2021-01-25T12:23:48.425631
2018-03-01T19:51:31
2018-03-01T19:51:31
123,469,114
0
0
null
null
null
null
UTF-8
Python
false
false
6,559
py
# coding=utf-8 import os import stat import openpyxl wb=openpyxl.load_workbook("QOS_Guatemala.xlsx") sheet=wb.get_sheet_by_name("Sheet1") try: os.remove("Powershell SNMP Script Guatemala.txt") except OSError: pass row,column=2,1 salir = sheet.cell(row=row,column=column).value while salir != None: host=sheet["D"+str(...
[ "ileammontoya@gmail.com" ]
ileammontoya@gmail.com
ce17feb6b565ca297c89b1aa7dfa5ec05844d87f
a2a7a3d623e83f39bdf9d7b2278772cd1a52a20c
/Stacks, Queues and Deques using LinkedList/stacks_linkedlist.py
d76124f7c78d4d08fbd9f333ad4c28488545b36c
[]
no_license
SauravJalui/data-structures-and-algorithms-in-python
b0eddd7a68bd6092460b04c5746c704389ada8d6
fdc9192476ebf476aba923e1c07a02d06386ecef
refs/heads/master
2022-12-15T09:06:34.697057
2020-08-17T15:45:59
2020-08-17T15:45:59
286,195,922
0
0
null
null
null
null
UTF-8
Python
false
false
1,217
py
from exceptions import Empty class LinkedStack: class Node : __slots__ = "element", "next" def __init__(self, element, next): self.element = element self.next = next def __init__(self): self.size = 0 self.head = None def __len__(self...
[ "sauravjalui.007@gmail.com" ]
sauravjalui.007@gmail.com
1b304b18d44960ff768c90217ce7ba455dec8c93
3378d73f5e7c67ddcf0179e3574357e3354c7c11
/stripe/db/api.py
11d21c1e2826ff99a1d951f04beb5a8753b50b8e
[ "Apache-2.0" ]
permissive
babarnazmi/stripe
e8cece6f4697d05c4262b25f40e7056bb61349e5
f98454e7260b5140aaec35d932a78b3ada73e7a4
refs/heads/master
2021-01-15T12:41:17.140601
2013-10-30T04:25:50
2013-10-30T04:25:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,694
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Hewlett-Packard Development Company, L.P. # Copyright (C) 2013 PolyBeacon, 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 #...
[ "paul.belanger@polybeacon.com" ]
paul.belanger@polybeacon.com
25d370edddfa2f96941c9cf229f20493b80f6d89
7764bd7530b9ea3f3c31b141ff3ab8173f73b01e
/cart/migrations/0002_items.py
530d08416dce316610da333aaa50d8d6e56231fe
[]
no_license
smsGitHubsms/foodvloge
61f6ba99fc572c4620367c5402bb6625ced4663b
8f2f2786f86dbca1ec12d297b0c8fba8ca976109
refs/heads/master
2023-08-21T19:52:56.877338
2021-10-19T15:59:02
2021-10-19T15:59:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# Generated by Django 3.2.7 on 2021-10-07 12:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('shop', '0003_alter_categ_options'), ('cart', '0001_initial'), ] operations = [ migrations.CreateMod...
[ "simonsarakkal@yahoo.com" ]
simonsarakkal@yahoo.com
c0d8734c640e57bc7339310e1f014f3f748709bb
8b95a7225a67b6e8ad30b8ab0ef66076858a29e5
/app/db.py
87ae41110e3fe4c87ec667bc808b744a168090c4
[]
no_license
tehhuu/auto_key
e413669b61b7f3f5832b66e753b86c68d16daa1a
95866259de5781cdde1f010d286c7e42ba99d5ff
refs/heads/master
2021-04-16T02:05:03.564332
2020-06-12T02:42:14
2020-06-12T02:42:14
252,633,541
0
0
null
2020-04-03T04:38:09
2020-04-03T04:38:09
null
UTF-8
Python
false
false
1,446
py
from sqlalchemy import create_engine, Column, String, Integer, DATETIME from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, scoped_session import hashlib engine = create_engine('sqlite:///shimerundesu.db', connect_args={"check_same_thread": False}) #違うスレッドからもアクセスできるようにする Ba...
[ "volley_neverlose_exile@yahoo.co.jp" ]
volley_neverlose_exile@yahoo.co.jp
6dc5dd2a19c1465bda49f14227e31bb5d5962418
41051c6db91eb2b71f1f77cc11c2be69e0d004a1
/modules/core/api/__init__.py
0433cdb493a0e205096f9c37062c143d09db7e0b
[ "MIT" ]
permissive
shacknetisp/fourthevaz
a2a1bf3f44a9620e76fbbc4a1bcd1d18f0cd3219
c8e4a97e6ba797ff921bf100aeb4d548bd17549e
refs/heads/master
2021-01-25T08:59:45.372734
2016-01-27T22:13:46
2016-01-27T22:13:46
27,540,924
4
1
null
null
null
null
UTF-8
Python
false
false
3,378
py
# -*- coding: utf-8 -*- import configs.module import wsgiref.simple_server import select import json import bot from urllib import parse import irc.fullparse import irc.splitparse import os.path def init(options): m = configs.module.Module(__name__) if 'wserver' in options['server'].state: del options...
[ "shacknetisp@hotmail.com" ]
shacknetisp@hotmail.com
09d203431dcba5cd1013b02533880f832da05b45
78af3c3c22ab6c0a5cb3256e1891842707e7b022
/utils/preprocessing.py
244c2c396fb9f67eb3829755d9bfd610796d3aa5
[ "MIT" ]
permissive
DrFunny/DeepLav-V3-Custom-Dataset
c2a67ec15af02de45fe9bddca1f43c55f294a8f5
bf86f1acbd9e4b2f63b2de7d2c9a2db1140afcf1
refs/heads/master
2021-04-06T15:19:07.052924
2018-03-15T11:20:52
2018-03-15T11:20:52
125,356,517
0
0
null
null
null
null
UTF-8
Python
false
false
8,733
py
"""Utility functions for preprocessing data sets.""" from PIL import Image import numpy as np import tensorflow as tf _R_MEAN = 123.68 _G_MEAN = 116.78 _B_MEAN = 103.94 # colour map label_colours = [(0, 0, 255), # 0=background (255, 0, 0) # 1=nails ] def decode_labels(mask, num_im...
[ "mailatkumarravi@gmail.com" ]
mailatkumarravi@gmail.com
ad6bf91b33b968d54e7db7520ad4160735b51f89
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/modules/cloud/rackspace/rax_mon_notification.py
6aee351b964b059b494cccdaa5d0ebe4607d31ee
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
5,165
py
#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], ...
[ "sifang@cisco.com" ]
sifang@cisco.com
b466ab33c5241649fa144b9a4ad3446d2303e061
5837de803acd450cfee49d22d25adb2faa940687
/Python/Demo_FC_Regression.py
dc43219ba6d88352bbbe8f83dedeb912c85b1359
[]
no_license
hbtom/AlgorithmCode
2c286bece41157cfb5141f106090067ce759e51a
89ebfaacbc7f5cc7914df5537c2339dd31f1bb51
refs/heads/master
2020-03-22T19:47:27.036083
2018-04-21T07:11:05
2018-04-21T07:11:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 7 21:42:17 2018 @author: wenqiwang """ import numpy import pandas from keras.models import Sequential from keras.layers import Dense from keras.wrappers.scikit_learn import KerasRegressor from sklearn.model_selection import cross_val_score from sklearn.model_selection i...
[ "wenqiwang@pal-nat186-47-54.itap.purdue.edu" ]
wenqiwang@pal-nat186-47-54.itap.purdue.edu
3623809ed7baff2ef3553ae5ea56de4d7103565c
930309163b930559929323647b8d82238724f392
/abc104_b.py
71226076067ba3980f151a868e680909d3029fb5
[]
no_license
GINK03/atcoder-solvers
874251dffc9f23b187faa77c439b445e53f8dfe1
b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7
refs/heads/master
2021-11-07T14:16:52.138894
2021-09-12T13:32:29
2021-09-12T13:32:29
11,724,396
3
1
null
null
null
null
UTF-8
Python
false
false
265
py
from collections import Counter s = input() head = s[0] mid = dict(Counter(s[2:-1])) removed = s.replace('A', '').replace('C', '') if head == 'A' and mid.get('C') is not None and mid['C'] == 1 and removed == removed.lower(): print('AC') else: print('WA')
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
0324f6f61c68dce5be870b8415bcc91ede6c9f40
e0b8c382217ebdba15af924cb1124fa9900a497f
/课堂笔记/day2/字符串格式化.py
f3f0c77516610b686b8f56d5843153492f9b10dc
[]
no_license
Lujinjian-hunan/python_study
f02cf7ce9c57d277c5ef022571bd11db4b9fea41
8b9ddcc479d367d146168a941a03a0e45cd92b0e
refs/heads/master
2022-12-19T03:07:19.426428
2020-09-21T10:13:16
2020-09-21T10:13:16
292,776,129
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
# xxx,欢迎登陆 # xxx,今天要喝8杯水 import datetime name = '张三' welcome = '张三,欢迎登陆' today = datetime.datetime.today() # 字符串格式化: # 1、简单粗暴直接 + # print(name + ',欢迎登陆' + '今天的日期是' + str(today))#不推荐 # 2、占位符,%d(数字) %s(字符串) %f(浮点类型) # welcome = '%s,欢迎登陆,今天的日期是 %s' % (name,today) # print(welcome) # age = 18 # age_str = '你的年龄是 %d' %...
[ "lujinjianhunan@qq.com" ]
lujinjianhunan@qq.com
dc667ed4ef9aa8a702b522295db28f58590bd60f
45bba18abbc10d1e3ae4857c3420aab74612d787
/simple_func.py
b2b044dfb0f2b646fd697a1a77324c534a9bc6d3
[]
no_license
shaikzia/Misc_1
3e2b295a4c1c8686c523f4426f2af1e84683ceaf
b02bc6667fc2ba581c4a3b08e583db181f6a30e5
refs/heads/master
2020-03-25T18:58:14.688221
2018-08-08T21:27:27
2018-08-08T21:27:27
144,057,094
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
def squares(l): for i in l: a = i*i print(a) squares([1,2,3,4])
[ "shaikzia@gmail.com" ]
shaikzia@gmail.com
1d8e6fe13a7b49a3266bd445672a49dd36d2d8b8
cfe1cbb271aec8f147dad6433371bcd6090565d1
/django_EachSetp/quant/urls.py
49e1550a28cc2af8fa96b7d2230c6befb4bac2f1
[]
no_license
fulongyang/DjangoRestFrameworkApiDcoment
64842bf6423a9aca778f37f5f4cb5dd8049085e8
bafe0467b56c8b5d9916034102db599e842a7540
refs/heads/master
2020-05-23T22:57:58.726846
2019-05-16T08:49:05
2019-05-16T08:49:05
186,984,857
1
0
null
null
null
null
UTF-8
Python
false
false
223
py
from django.conf.urls import url,include from rest_framework import routers from quant import views urlpatterns = [ url(r'quant',views.Quant.as_view()), url(r'quantForex',views.QuantForex.as_view()), ]
[ "993294959@qq.com" ]
993294959@qq.com
3e96fd444da733bdf83d8b8fa568d8654594ea4d
eab233ab17c91734e90f3b491bf4d550b1ed29cc
/src/setup.py
7dd9c52ea504cd23a9d53d66bd053a69c935976e
[]
no_license
zxpeter/learnkedro
c591d7528a699de230e5d5080b5c5bc719056b86
6ce47c1d7ee67fa7914ebc85dd978626c20a2b5e
refs/heads/master
2023-01-08T22:59:38.999303
2020-01-06T08:18:35
2020-01-06T08:18:35
232,045,482
0
0
null
2022-12-26T20:49:02
2020-01-06T07:14:49
Python
UTF-8
Python
false
false
2,609
py
# Copyright 2018-2019 QuantumBlack Visual Analytics Limited # # 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 # # THE SOFTWARE IS PROVIDED "AS IS"...
[ "peter_zhao@mckinsey.com" ]
peter_zhao@mckinsey.com
42812734dd1695ef1dc396cf6f70624ba0ec51a5
859cfe506a6ca07e86119d861d0a43eed4a0ac6f
/lesson_9_tasks/task_9.1.py
eae0bd879bab7cfc6953d20873cec2e9f045d529
[]
no_license
Elena-brv/python
b8fb8a3dce34e2fd2c88bab49f6b6bed670600c4
4840febdec48c6aa31b8279449baa6e9780165ea
refs/heads/master
2022-09-18T08:28:11.103256
2020-06-04T10:20:55
2020-06-04T10:20:55
259,435,726
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
class Rectangle: def __init__(self, side1, side2): self.side1 = side1 self.side2 = side2 def square(self): return self.side1 * self.side2 def perimeter(self): return 2 * (self.side1 + self.side2) rectangle = Rectangle(10, 20) print(f'side1 = {rectangl...
[ "noreply@github.com" ]
noreply@github.com
2a7e4b5860ab2ccae8cf2c5725f8ef0fce84e41a
dcf529f6d2e2e5d6bd206f5d18e636bb74531429
/scratch/dx7_constants.py
9b4fd7a223ab121e9aa177fd12c82ee9eaa20bb1
[ "MIT" ]
permissive
jGambit/NeuralDX7
f25ac70d3c75d81abf554aa447e2a29773ef41bf
327844cea18a6dfe35e0dc8f5de0832343487366
refs/heads/master
2022-12-12T09:11:09.144554
2020-09-01T01:05:27
2020-09-01T01:05:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,228
py
from pathlib import Path import bitstruct ARTIFACTS_ROOT = Path('/content/gdrive/My Drive/audio/artifacts').expanduser() def take(take_from, n): for _ in range(n): yield next(take_from) N_OSC = 6 N_VOICES = 32 def checksum(data): return (128-sum(data)&127)%128 GLOBAL_VALID_RANGES = { 'PR1': ra...
[ "nintoracaudio@gmail.com" ]
nintoracaudio@gmail.com
62c9e199951a20e568b4669c6dacaa73e3b4b916
4e0a038b851a7e8eec78309f5eb56884275ab529
/PGA_attacks.py
b3ca7af98af39546a14a1776a6853ee06291d078
[ "Apache-2.0" ]
permissive
xuxinzhang/PGA-attack
383adb04e41798269668cdf007e65f7518a19cec
4181745df6c48350ea9f3bc7f6643fa3b22f171e
refs/heads/master
2022-12-17T21:04:30.388267
2020-09-15T08:55:16
2020-09-15T08:55:16
290,934,944
0
0
null
null
null
null
UTF-8
Python
false
false
9,514
py
# -*- coding: utf-8 -*- """ Created on Tue May 19 15:22:04 2020 @author: zxx """ import random import time import copy import numpy as np from numpy.random import RandomState from dataset import load_movielens_ratings from dataset import build_user_item_matrix from ALS_optimize import ALS from ALS_optimize_origin i...
[ "43082328+xuxinzhang@users.noreply.github.com" ]
43082328+xuxinzhang@users.noreply.github.com
55e1d31dd2e470dfcd920512e254a5464d23d426
dde719db687e7625e280ac69ddbf3d1b82dab67a
/flask-app/venv/bin/easy_install-2.7
a71f6d955414d3dd51d89c1d75115c6b30d12580
[]
no_license
kevin-warshaw/cloud-computing-pa2
ccb884ea45b74429a1b2bc914491fdc71aa036db
c9f827f80277afb3ca554f075f6f440fd78cf4d6
refs/heads/master
2021-04-30T00:57:32.721006
2018-02-14T19:59:38
2018-02-14T19:59:38
121,469,004
0
0
null
null
null
null
UTF-8
Python
false
false
300
7
#!/Users/kevinwarshaw1/Documents/Cloud/cloud-computing-pa2/flask-app/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "31418628+kevin-warshaw@users.noreply.github.com" ]
31418628+kevin-warshaw@users.noreply.github.com
356ef6a9a413417230d7a00ec03943f5b55e71fa
54fe259ac9c0a65b39d662ae9cc30d5e0a7acba0
/IX/Client.py
3b1fed11b78c8c5f7920551aa11a4ddfaaea43ce
[]
no_license
kumanmontt/python-
805894e0e02bd64edfbbcbafb469a7f73deca05e
e40ff42398b2ae63dba1301949b834754e05f75a
refs/heads/master
2021-06-25T07:06:09.520154
2020-10-23T05:15:50
2020-10-23T05:15:50
146,395,866
0
0
null
null
null
null
UTF-8
Python
false
false
2,883
py
#!/usr/bin/python # -*- coding: utf-8 -*- # encoding: utf-8 #客户端调用,用于查看API返回结果 from OkcoinSpotAPI import OKCoinSpot from OkcoinFutureAPI import OKCoinFuture #初始化apikey,secretkey,url apikey = 'XXXX' secretkey = 'XXXXX' okcoinRESTURL = 'www.okcoin.com' #请求注意:国内账号需要 修改为 www.okcoin.cn #现货API okcoinSpot =...
[ "noreply@github.com" ]
noreply@github.com
9e64d3a61a0e00be82339404cdc6aa623e89ff36
9d02f04a38b23f4cc4cdeb5bf0ec2f8d0aa4e1bc
/oop2/cheatdice.py
9e08d2f4a2521a977ebbba0cf74b5ddc6b5cc17c
[]
no_license
cronan-sde/mycode
943679260e1c13ff944d776215a0b9fe754c1b46
184ca434acd876ab794d07f259266310a20805cc
refs/heads/main
2023-02-12T04:23:52.724582
2021-01-11T17:52:48
2021-01-11T17:52:48
326,742,653
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from random import randint class Player: def __init__(self): self.dice = [] def roll(self): self.dice = [] # clears current dice for i in range(3): self.dice.append(randint(1,6)) def get_dice(self): return self.dice class Cheat_Swapper(Player): def cheat(self): self.dice[-1] = 6 c...
[ "codycronberger@gmail.com" ]
codycronberger@gmail.com
772a6b05963c1796c9a2f54b96ab884eee44995f
067020d4bd39b6a2df300492c09b6cc65915ab71
/engineerx/posts/modules/initialize.py
a4d80863fe566411bd4139a90152dae2e145ce37
[]
no_license
HsnVahedi/engineerx-backend
2e6d43079d94311f60089d052c278e2cbbfec76b
018257fc53e2588aec2dd159922275d544147e18
refs/heads/main
2023-04-30T22:21:25.873313
2021-05-15T22:00:37
2021-05-15T22:00:37
336,623,414
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
from posts.models import PostsPage from home.models import HomePage def create_posts_page(owner): if PostsPage.objects.exists(): return posts_page = PostsPage(title='Posts', owner=owner) home_page = HomePage.objects.first() home_page.add_child(instance=posts_page) posts_page = PostsPage.ob...
[ "mcs.hsn.vahedi@gmail.com" ]
mcs.hsn.vahedi@gmail.com
baf88f5c4ecfe9d00884bb0828984a5cfbb6f89b
cf62f7a7f9e13205fe83957fb7bfcf1b097bf481
/docs/auto_rebuild.py
e0280183897075857ab708b4fc55a809538c4be9
[ "Apache-2.0" ]
permissive
biothings/mygene.info
09bf19f481c066789a4ad02a0d2880f31dae28f6
fe1bbdd81bc29b412ca4288d3af38e47c0602ab7
refs/heads/master
2023-08-22T21:34:43.540840
2023-08-08T23:25:15
2023-08-08T23:25:18
54,933,630
89
20
NOASSERTION
2023-07-18T23:53:49
2016-03-29T00:36:49
Python
UTF-8
Python
false
false
876
py
import os.path import subprocess import tornado.autoreload import tornado.ioloop #an alternative: #watchmedo shell-command --pattern="*.rst;*.py" --recursive --command="make html" . included_ext = ['.py', '.rst', '.css', '.html'] def build(): subprocess.call('make html'.split()) #restart dev server subpr...
[ "anewgene@yahoo.com" ]
anewgene@yahoo.com
a0abbc1ed0bab74222442b06db0a1214f2cf0b8a
a44d853d6a7354129d7fdfcf0f43e4f9a9106015
/tests/mesh_utils_test.py
8e2b29f7f37cc3baabd584c9ba35ddee05fc4abe
[ "Apache-2.0" ]
permissive
matthewfeickert/jax
4f6b9ba2a96e1521f776886a08be38dd229f1402
b0d96bd42440231cc7e98c61f52106f46578fca4
refs/heads/main
2021-12-10T06:03:36.919415
2021-12-09T06:04:13
2021-12-09T06:04:46
436,520,694
0
0
Apache-2.0
2021-12-09T07:23:30
2021-12-09T07:23:29
null
UTF-8
Python
false
false
6,407
py
# Lint as: python3 # Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
[ "no-reply@google.com" ]
no-reply@google.com
4a73745e4771aed4bae4a3a47744562e049ae160
f7b0e3c6cdf08058066b1b514e796cda4a09a80e
/lfd/WIDERFACE_evaluation/evaluation.py
73a7429add4798da1c00b4bcd0967ff56f176766
[]
no_license
scott-mao/LFD-A-Light-and-Fast-Detector
beeb4a9915a426281ee6aff3d4be069f3647dbd4
4fd82d091fc75b6a070deba90887fa6b6a0dc90e
refs/heads/master
2023-02-22T13:22:51.656687
2021-01-25T12:42:14
2021-01-25T12:42:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
# -*- coding: utf-8 -*- import os import math from ..data_pipeline.augmentation import * __all__ = ['SIO_evaluation'] def SIO_evaluation(model, val_image_root, results_save_root='.', classification_threshold=0.5, nms_threshold=0.3, ...
[ "scu0743111019" ]
scu0743111019
d3366b8875c54405497810ad860a6ad92779b450
2265c393b8396292b79fdbcdd08727be24c2337a
/tbonlineproject/relatedcontent/models.py
2795965bfa7595e7eab4cec3e5338a95be54a301
[ "MIT" ]
permissive
nathangeffen/tbonline-2
4275b2f970170f01f62e01ade008ab5cd1aee0d5
0d5869197e66a0057fa07cb99f21dde7f5b47c30
refs/heads/master
2023-01-07T08:43:35.261568
2019-03-31T15:54:16
2019-03-31T15:54:16
30,840,752
0
0
MIT
2022-12-26T20:18:09
2015-02-15T20:24:49
Python
UTF-8
Python
false
false
3,347
py
from django.db import models # Create your models here. from django.utils.translation import ugettext_lazy as _ from django.contrib.contenttypes.models import ContentType from enhancedtext.fields import EnhancedTextField TYPES_OF_RELATED_CONTENT = ( ('00', _('Related articles')), ('05', _('Further Reading')...
[ "nathangeffen@gmail.com" ]
nathangeffen@gmail.com
0c4592163732241c956a602193eb7cee2f1e960e
c9299c10a175a8d925839adc58bbc7f86d4650f5
/weartracker/settings.py
e2afabeef497b577ab383b4ac93e3fc2862d6f72
[]
no_license
bartwroblewski/strava_gear_wear_tracker
e2e082a04cfdd226b24f59d64f1a0651224eba68
e12e3cd559d096668525ce2e0bd6047d3d508c4c
refs/heads/master
2023-09-04T13:58:42.909991
2023-08-20T18:52:06
2023-08-20T18:52:06
296,386,864
0
0
null
null
null
null
UTF-8
Python
false
false
5,003
py
""" Django settings for weartracker project. Generated by 'django-admin startproject' using Django 3.0.9. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import o...
[ "barti.wroblewski@gmail.com" ]
barti.wroblewski@gmail.com
3369acd1cb1d638a9339030ec77a12c51053f8d3
fb031eefb0fa54b742559dfd1dfaab28434c40ed
/hy-data-analysis-with-python-2020/part01-e18_acronyms/src/acronyms.py
0bdaeef35a8b471ad27c8ed8b374462d7ccf278f
[]
no_license
nroovers/data-analysis-python-course
d2ad0aeb00b1106c1b7b86880c9d0a39677f59f1
692f020ad1c3da6855bf1a684a7148a71e766952
refs/heads/main
2023-03-05T09:39:50.547189
2021-02-21T14:28:52
2021-02-21T14:28:52
338,845,006
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
#!/usr/bin/env python3 def acronyms(s): return [i.strip('.,()') for i in list(s.split()) if i.isupper()] def main(): print(acronyms("""For the purposes of the EU General Data Protection Regulation (GDPR), the controller of your personal information is International Business Machin...
[ "nroovers@gmail.com" ]
nroovers@gmail.com
2f1a55b3da82432efa2afe619c76cef6cdaf8814
c431b7c44aea656c3388e4d18c0fed48250facfe
/euler_47.py
e16164b824a40c363d445ff483c42fc78a21ae98
[]
no_license
dfturn/Project-Euler
09d462cdf0d928fc8ba4f2138c7ea43418d6a94a
46f9e35a345bdb2296d31604e97ee7b10a414378
refs/heads/master
2020-04-02T13:47:17.094953
2014-12-18T20:01:44
2014-12-18T20:01:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
import os import pickle import time primes_file = 'euler_35_primes_to_million.txt' primes = [] if os.path.exists( primes_file ): with open(primes_file, 'rb') as f: primes = pickle.load(f) def primeFactors(n): factors = set() i = 0 while True: if n % primes[i] == 0: n = ...
[ "dfturn@gmail.com" ]
dfturn@gmail.com
9007c8f9d8308e19c701db355531585e8a40045a
6e23fbb1fea030984bd696875290b828e42e0c37
/Oops/Student.py
97ff4f6f74452299f2c2c9f85f3340f0937bde0a
[]
no_license
pratapreddyavula1/Python-Files
04014c0c4a77f77e35931ac230b8697895c236de
e2404877993ca98cb47d396e3720221b30cb27ae
refs/heads/main
2023-08-02T20:11:43.242427
2021-10-06T04:46:42
2021-10-06T04:46:42
414,070,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
from Human import human class Student(human): def StudntDetails(self): self.input() self.sname=input("Enter Student name:") self.sid=int(input("Enter Student Id:")) self.cls=input("Enter Student Class:") self.maths=int(input("Enter Maths Marks:")) self.socia...
[ "noreply@github.com" ]
noreply@github.com
3eb61005fad14bca9cf5fd376de4dce1fcd4bddd
e8881b5eeab336273bb521b4db40783170f479dc
/vagrant/restaurant/finalProject.py
d1527fc612fdced0dafed11727f946e81cab02a9
[]
no_license
RustyHoff/fullstack-nanodegree-vm
9e0772c13b102986239aa1222b6d13c436d110ff
a826a652dc9fc3642c1151db571286748db42bcf
refs/heads/master
2020-04-08T09:33:04.226681
2017-02-26T04:23:32
2017-02-26T04:23:32
50,117,590
0
0
null
2016-01-21T15:44:51
2016-01-21T15:44:51
Python
UTF-8
Python
false
false
6,100
py
from flask import Flask, render_template, url_for, request, redirect, flash, jsonify from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from database_setup import Base, Restaurant, MenuItem app = Flask(__name__) engine = create_engine('sqlite:///restaurantmenu.db') Base.metadata.bind = engi...
[ "RustyHoff@users.noreply.github.com" ]
RustyHoff@users.noreply.github.com
dbaa1b5ced49279a5ec1cba62afccfee5770b178
e3fa9006d65186fab6194b6d3f9b3e096d79f4bc
/api/const.py
7295a58f36a55e989f1b9c6dca389e47b2dc0e52
[]
no_license
yancai/report
714bee225b45471d69968290886a3c8d59c726f9
9dddde864b9698943c3d0845994560f2e828a4c1
refs/heads/master
2023-02-21T06:33:39.401779
2020-02-12T13:54:50
2020-02-12T13:54:50
166,948,160
0
0
null
2023-02-15T21:20:34
2019-01-22T07:28:12
HTML
UTF-8
Python
false
false
288
py
#!/usr/bin/python # -*- coding:utf-8 -*- import sys KEY_USER_ID = "user_id" KEY_USER_NAME = "user_name" KEY_DATE_STR = "date_str" KEY_YESTERDAY = "yesterday" KEY_TODAY = "today" KEY_DOMAIN = "domain" PY_VERSION = "3" if sys.version >= "3" else "2" if __name__ == "__main__": pass
[ "yancai915@gmail.com" ]
yancai915@gmail.com
10e3e838a5a6c0e937e453765f9a61bb9f30cbaa
572107468a93152774849373d09cb1ecb3b60998
/members/migrations/0001_initial.py
237afb6a3316ceec9e1999400ad26e9db96f2a10
[]
no_license
parkhongbeen/instagram-restudy
794d9962d37aec56961cee4c145de6dc291d3d40
5587d23163e6242e5deb5dbe1051caae179c6eb4
refs/heads/master
2020-12-09T18:12:10.783801
2020-01-12T11:16:01
2020-01-12T11:16:01
233,380,198
0
0
null
null
null
null
UTF-8
Python
false
false
2,861
py
# Generated by Django 2.2.9 on 2020-01-10 05:13 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permission...
[ "pack122@naver.com" ]
pack122@naver.com
350a01c77e36e638520d42ca6328484de8659c59
c301998433dcbc304e37e557f34a9050ca2929e2
/src/model.py
30122c4c224728d059e24f4e2c49a5af224bde11
[]
no_license
y9dai/emosta_proto
0ac6c7dc8ea7bcc3990c2ec9cc15ebfe02cb549f
3769bf9053e43fa2561097a7fd0b201e9157b362
refs/heads/master
2020-06-25T04:40:58.344498
2019-07-28T15:18:54
2019-07-28T15:18:54
199,204,572
0
0
null
null
null
null
UTF-8
Python
false
false
18,918
py
from __future__ import division import os # import sys # sys.path.append('../') import time from time import time import tensorflow as tf import numpy as np from tqdm import * import copy import logging import json from collections import OrderedDict from colorama import init from colorama import Fore, Back, Style cl...
[ "y9nagie@gmail.com" ]
y9nagie@gmail.com
404d772e9f913c90fd54e1ed82b4691f76b47fc4
66213c48da0b752dc6c350789935fe2b2b9ef5ca
/abc/115/d_.py
cb8036d381327e5ffd4f0470a37d3047600699e7
[]
no_license
taketakeyyy/atcoder
28c58ae52606ba85852687f9e726581ab2539b91
a57067be27b27db3fee008cbcfe639f5309103cc
refs/heads/master
2023-09-04T16:53:55.172945
2023-09-04T07:25:59
2023-09-04T07:25:59
123,848,306
0
0
null
2019-04-21T07:39:45
2018-03-05T01:37:20
Python
UTF-8
Python
false
false
1,047
py
# -*- coding:utf-8 -*- import sys def solve(): N, X = list(map(int, sys.stdin.readline().split())) As = [1] # レベルiバーガーの厚さ(層の総数)(必ず奇数) Ps = [1] # レベルiバーガーのパティの総数 for i in range(N): As.append(As[i]*2 + 3) # レベルが1上がると、総数は2倍+3になる Ps.append(Ps[i]*2 + 1) # レベルが1上がると、パティの数は2倍+1になる ...
[ "taketakeyyy@gmail.com" ]
taketakeyyy@gmail.com
cb4bb7e32196ee556a22411d73b8991a209a6a98
7f0bcc27cc74cbe901e4a31bbff71e299a2fa681
/apps/HelloWorld/index.py
8cf62a5a5da17b1b4831f0f16502267b7fc5ac15
[]
no_license
JiangEndian/learngit
4682826149472f942a6219b8d8b3cb7c276635e5
e479b7efcc97c12120bd284259e8da0407c17a53
refs/heads/master
2021-07-18T20:48:28.063374
2019-05-11T11:16:02
2019-05-11T11:16:02
90,952,204
0
0
null
null
null
null
UTF-8
Python
false
false
2,417
py
from django.http import HttpResponseRedirect from django.shortcuts import render import os from MyPython3 import readffile def index(request): restudy_info = {} restudy_info['alt1'] = '进度中alt1' restudy_info['alt1_common'] = 'alt1_common' restudy_info['alt2'] = '进度中alt2' restudy_info['alt2_common'] ...
[ "c_cstudy@126.com" ]
c_cstudy@126.com
94b74c62d61153ec24530c54e93729e90ef64ff6
12eb408cd0062242e73bca3b8d5ba3f6da933536
/kelpy/helpdocs/concepts.py
9e44f8538af7a38defe00a497d436b7c9d762b79
[]
no_license
pdarragh/Kelpy
23475bbb0fcd7b7b9b7b1962c8dcd761a83ebddd
9b650cf19e88e84e6c593cf1895622754d5badc2
refs/heads/master
2021-01-10T05:30:03.357740
2015-11-10T07:43:47
2015-11-10T07:43:47
43,455,391
1
0
null
2015-11-10T07:42:33
2015-09-30T19:52:23
Python
UTF-8
Python
false
false
933
py
functions = '''\ FUNCTIONS Kelpy is what is called a "Polish prefix" style of language; this means that the function operators go before the arguments. For example, if we want to add the numbers 2 and 3, we would do: {+ 2 3} It may seem funny at first, but you'll get used to it! ''' math = '''\ MATH There is plent...
[ "pierce.darragh@gmail.com" ]
pierce.darragh@gmail.com
b80dd1b91c7d81639a5a8557df86e7c03032b77a
27e47da8c81126f350fcaa738e219956109ed28d
/testing/academia/asistencia/migrations/0010_remove_examen_codigo.py
21e9ca70a58b151016695c969b26ec57dfff460f
[]
no_license
tinyhosmarcos/Municipiov1
4fdba73bb0b6e949e4ea54902dd83d9b36a4af15
b3c330e7d97a74ecdf308d32e9060758d8c98036
refs/heads/master
2020-06-04T18:53:39.515619
2019-07-17T17:26:54
2019-07-17T17:26:54
192,153,024
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.21 on 2019-07-11 17:05 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('asistencia', '0009_auto_20190710_1022'), ] operations = [ migrations.RemoveField( ...
[ "yhostin.ollachica@ucsp.edu.pe" ]
yhostin.ollachica@ucsp.edu.pe
94fd535d5d4ae608d36b447cb468abaea327ef70
6a04f02ad3fc13bf9ccb99a6ef80051e1e812e6d
/python/csv_importer/mab.py
6db0df713fa40d980489727d7d8c0b04cd375383
[]
no_license
quickly3/game-search-engine2
63c616076bbd5cb24cfa2424f82c1da7388183cd
5f36c2848ae3dcc9001412d1d47d81d5230df25d
refs/heads/master
2023-05-26T04:29:09.607937
2023-05-15T03:18:56
2023-05-15T03:18:56
207,987,027
5
1
null
2021-03-24T13:22:15
2019-09-12T07:07:57
Python
UTF-8
Python
false
false
364
py
import matplotlib.pyplot as plt import pandas as pd import numpy as np # plt.close('all') ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000)) df = pd.DataFrame(np.random.randn(1000, 4), index=ts.index, columns=['A', 'B', 'C', 'D']) df = df.cumsum() ...
[ "hongbin@inceptionpad.com" ]
hongbin@inceptionpad.com
fec2c28c4d26638fe33baaa168e359525a577797
919e2c8eb34dab79f45b44a547d18add3c40d274
/mac/shop/migrations/0003_contact.py
3ce9e373ae9b317320e7cc9b410019366bbf5df3
[]
no_license
Amitojasa/Ecommerce-website
663d57c0a39ccae40473b176ebbcae24428704cb
695050ce2e693b3f7a9cf5f445cafacb2dd411bc
refs/heads/master
2020-04-25T16:53:05.003379
2019-04-25T14:15:55
2019-04-25T14:15:55
172,927,680
2
0
null
null
null
null
UTF-8
Python
false
false
693
py
# Generated by Django 2.1.5 on 2019-04-15 16:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0002_auto_20190227_1833'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ...
[ "amitojvmc@gmail.com" ]
amitojvmc@gmail.com
0ea487eefddf2b691bbd4615be6c28583189c22e
02c394db353d996038c9bedbeaf91bb080c12ca2
/dsm/epaxos/replica/config.py
fbfd36f11f0765a18dcf07d8a0b82a49e91101b1
[ "MIT" ]
permissive
Limber0117/python-epaxos
0633752cffaca65c0d8b9c3aecf9c8bc6ca70f3e
e68bab50e7df32770103196c91d8708863691579
refs/heads/master
2021-08-23T22:31:47.283682
2017-12-06T22:16:21
2017-12-06T22:16:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
from collections import defaultdict from typing import Any, List class ReplicaState: def __init__( self, # channel: Any, epoch: int, replica_id: int, quorum_fast: List[int], quorum_full: List[int], live: bool = True, timeout: int = 3, jiffies...
[ "acizov@gmail.com" ]
acizov@gmail.com
e92fa6494201e72f4e1489df50a36bdc9f5b0999
0c1d817f89737dd711bef41a10c67049ed0d4226
/.buildozer/android/platform/build-armeabi-v7a/build/venv/bin/pip3
0e9731ae41ab1c0444a0f72e71983424c79cf9ae
[]
no_license
joshl229/barwatchApp
4831e8d23a6b987c55543bc1fb826db18ddb84c2
2cc18f00d1ba36769b750f14f338b8cf4b756af3
refs/heads/master
2023-04-09T07:15:08.818483
2021-04-27T00:01:28
2021-04-27T00:01:28
359,698,696
0
0
null
null
null
null
UTF-8
Python
false
false
309
#!/home/josh/PycharmProjects/watchband/.buildozer/android/platform/build-armeabi-v7a/build/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "joey32165@gmail.com" ]
joey32165@gmail.com
17039cbc48b3050ec5caf1d2e6a113ebfe47cd88
193cc6bd3d04669b5d79dfb608d40a79dd50a482
/models/db.py
10cd25de372f74052ac52238fb9f469269066966
[ "LicenseRef-scancode-public-domain" ]
permissive
johnpayne/sandbox
d4ad1a3b65ba11be0f1eccdaf4910b21f6cafef1
a133c6e444e48bbc506ab93183d64876ce1286ca
refs/heads/master
2020-05-21T00:57:28.872129
2013-01-01T08:33:00
2013-01-01T08:33:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,498
py
# -*- coding: utf-8 -*- ######################################################################### ## This scaffolding model makes your app work on Google App Engine too ## File is released under public domain and you can use without limitations ######################################################################### ...
[ "John@JPRT.(none)" ]
John@JPRT.(none)
695ad2daca44d87d73bbf3d80631f93a5a7d68dd
954851edc93cda5023b6802ea5c15c292a1f922c
/youtube_search/webapp/views.py
e0cc3a29e7a696670ab10d62325087ab2ff78f35
[]
no_license
bhavnbgv/youtube_repo
b0e8f7a1d732c66be002b78def662c6b63e32126
dea24c7cd85f9c574795518cfe2a14d5031c3894
refs/heads/master
2021-01-12T12:17:27.198361
2016-11-02T10:09:23
2016-11-02T10:09:23
72,411,917
0
0
null
null
null
null
UTF-8
Python
false
false
4,304
py
from django.shortcuts import render from rest_framework.decorators import api_view from django.shortcuts import render_to_response, redirect from django.template import RequestContext from apiclient.discovery import build from apiclient.errors import HttpError from globalconfig import API_KEY,API_NAME,API_VERSION from ...
[ "bhargava@dewhive.com" ]
bhargava@dewhive.com
9758f45b0501f1a0f30cf652bd100cfc97b8c8a3
ceaec06edefb609af597a0151eb567443b32264c
/psyclab/neural/field_2d.py
df96503958cc1d47db9358860454d12a72ae9cd5
[ "MIT" ]
permissive
venachescu/psyclab
a3fc6b0599ff927aedfdebcd0a1fd624ed033233
40dadd9ffa3b1761aecd1109441d0652dedb91ef
refs/heads/master
2020-06-29T19:27:20.658501
2019-08-05T07:20:18
2019-08-05T07:20:18
200,603,601
1
0
null
null
null
null
UTF-8
Python
false
false
5,356
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Dynamic Neural Field model based on code and examples from Nicolas P. Rougier and Eric J. Nichols References ---------- [1] Rougier, N. P. (2005). Dynamic neural field with local inhibition. Biological Cybernetics, 94(3), 169–179. http://doi.org/10.1007/s00422-005-00...
[ "vinceenachescu@gmail.com" ]
vinceenachescu@gmail.com
ee99160a507f18d502ef1b8e1695b0e8369b54d8
8049ba531ea34f07b065a11dd1c9a5d68a00580f
/app/models.py
bac68d9dcf6103505c200b55cdaa3262065c452d
[]
no_license
aoisoratoumi/django-booking
94b29020c2390bd51d0d1a8451e3be08a9062793
a178c5f2d05bffe629fc828e7dc307f517718f37
refs/heads/master
2022-09-13T22:43:26.308133
2020-05-29T23:57:22
2020-05-29T23:57:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
from django.db import models from django.utils import timezone from accounts.models import CustomUser class Store(models.Model): name = models.CharField('店舗', max_length=100) address = models.CharField('住所', max_length=100, null=True, blank=True) tel = models.CharField('電話番号', max_length=100, null=True, b...
[ "harukun2002@gmail.com" ]
harukun2002@gmail.com
c67778a3990c58050c5c41719c59cbccdbb16e3a
04ab3ae12e737669ac1d3cb83219939ff4a92bcd
/src/feature_eval.py
2869cbb09a3b4cde064af578f2efc17643e7d019
[ "MIT" ]
permissive
abhimishra91/hackathon-framework
8e78afabf9a1cb6d82a0e6a049888c7c8ff78e20
77e8c50addfc79a42cec42b9f615751219d25a0b
refs/heads/master
2023-02-18T02:45:29.752685
2021-01-21T06:04:59
2021-01-21T06:04:59
267,203,616
1
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
import matplotlib.pyplot as plt import seaborn as sns class FeatEvaluation: def __init__(self, df, target_col: str = None): """ :param df: Dataframe which will be analysed :param target_col: String of the colummn name that is the target for this analysis in the dataframe """ ...
[ "abhimishra.91@gmail.com" ]
abhimishra.91@gmail.com
67625ed8122fc11c906ad83907a8303cc83d77b9
fb28906c1f0347ffe50193f6c2bad2d4b490fa9c
/budger/directory/migrations/0018_ksoemployee_is_developer.py
035b40d574b286ea6259fb47f17f3cee1ebb2261
[]
no_license
pavkozlov/budger-server
20c695309c34a0451d25b83ab8583b14f0d21c0c
7a98c1789414c83625bda1e5b29cbe5587c3cd6a
refs/heads/master
2020-12-17T06:35:10.550905
2020-01-13T13:27:42
2020-01-13T13:27:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
# Generated by Django 2.2.6 on 2019-12-04 13:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('directory', '0017_auto_20191203_1640'), ] operations = [ migrations.AddField( model_name='ksoemployee', name='is_dev...
[ "it.pavelkozlov@gmail.com" ]
it.pavelkozlov@gmail.com
d8a96074d01b6931939f6103a740df34e6604acf
0fbfb318227a6c9047f1aee6ef499c18b0db041a
/indexer.py
5236279f981be5c61ded703855d32580c25671a6
[]
no_license
arasraj/Search-Engine
ee6861d6a5457c200a382a9d4d8fc42933eb2c86
879d91fe1fb3b89eaf4a7edea5abece05495f414
refs/heads/master
2021-01-18T18:25:18.528533
2011-03-14T07:20:22
2011-03-14T07:20:22
1,419,234
0
0
null
null
null
null
UTF-8
Python
false
false
5,899
py
import os import codecs import stemmer import re import math import logging import numpy as np import cPickle as pickle class Indexer(): logger = '' #can move most of these outside init def __init__(self): self.regex = self.regex_compile() self.g_docterm = {} self.stopwords = open('stopwords.txt', '...
[ "arasraj@gmail.om" ]
arasraj@gmail.om
b9b63957a2b26c1eb556dbadc270f595d83987d7
8c1f61332b33d527bf00ee37375dbc7b4a48e5a8
/convert_jpg_tif.py
3d5d619e8043744a865da7526fae22364a2a9f6a
[]
no_license
william-wen/daisy_intelligence_2020
987cb7f02008046ca5ceadaff887accd318b8da0
c5348c9c23ef0ea87814f32db5a4e8246252827c
refs/heads/master
2022-12-10T02:05:59.728664
2020-01-26T13:45:40
2020-01-26T13:45:40
236,195,861
0
1
null
2022-12-08T03:30:09
2020-01-25T16:27:38
Jupyter Notebook
UTF-8
Python
false
false
110
py
from PIL import Image im = Image.open('flyer_images/week_52_page_4.jpg') im.save('test.tif') # or 'test.tif'
[ "lauradang.2000@gmail.com" ]
lauradang.2000@gmail.com
f55510e0cc367aad9ebfda9b2a6faa0435ae1473
2119953dd04916fa2adf3f42a487f3f9754d1f66
/modules/sandbox/docker/geo-web-viz/app.py
9034f8727870c8bdee5a64203363aecd3f7ec266
[ "MIT" ]
permissive
sarahwertz/sepal
91d12e3317cd07ad4c99469d5b6211d74013b330
efbbc33ac99db332fc13f9dfd4c777a8d2c1b41e
refs/heads/master
2020-06-11T07:42:08.835556
2019-05-27T14:21:28
2019-05-27T14:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,038
py
import json import logging import traceback import sys from flask import Flask, Blueprint, request, Response import config import layers import raster import render from config import to_file app = Flask(__name__) http = Blueprint(__name__, __name__) session_state = {'layer_by_id': {}, 'index_by_id': {}, 'renderers'...
[ "daniel.wiell@fao.org" ]
daniel.wiell@fao.org
732ccf2811be54afbd199a94e72658e129c6f81b
8e09c9562173cb40fe26912fcdb1d4c6c08897d7
/tfx/components/evaluator/component_test.py
52d28474308225045d848dd0c656642a98ec0934
[ "Apache-2.0" ]
permissive
robertlugg/tfx
6a0050f6f1876ba5d53e45fd0d80acac2441187d
49778c502bb6668ed8230877407fe40ae3a99a06
refs/heads/master
2020-07-27T17:00:47.355938
2019-09-16T23:00:02
2019-09-16T23:00:32
209,164,014
0
0
Apache-2.0
2019-09-17T21:58:47
2019-09-17T21:58:46
null
UTF-8
Python
false
false
1,928
py
# Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
69f331d31eac620a94880598fd00096f78ff9c33
f673f322e75062f5d5a667f07eb4bc6c39c79c01
/Python/day 1/fro.py
1de9819813b0a47499eb24f1628d58178ecab41f
[]
no_license
5p4r70n/ICT-Training
fbf986fbc72af2855670f5facfb18f129cbce72f
5ceeb78420ad785078e547059b5960177afdb27f
refs/heads/master
2020-04-16T22:45:47.237356
2019-02-06T11:18:55
2019-02-06T11:18:55
165,982,606
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
digits=[0,2,5] for i in range(len(digits)): print(i," ",digits[i]) else: print(" no items left") print(range(len(digits))) print(len(digits))
[ "Administrator@Asiet-Lab.ASIETDomain.com" ]
Administrator@Asiet-Lab.ASIETDomain.com
efc55a073b926991fd43116f9fdd132aabaee02c
55a4573cdeb116b20a625a398af04337f180d598
/instrument/ifmessage.py
a4c5e4261d01cb8b46c95bd26d5bfe772ae5403e
[ "Unlicense" ]
permissive
NOAA-PMEL/omega-trh-daq
f506e4c968b7942dccb6cf012c377c3719a04143
98a18c62130af36d43c2882659e65321c3a98529
refs/heads/master
2020-04-02T11:10:18.632072
2019-07-23T15:33:39
2019-07-23T15:33:39
154,374,646
1
0
null
null
null
null
UTF-8
Python
false
false
2,079
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Sep 9 09:33:42 2018 @author: derek """ class InterfaceMessage(): imFirstIndex = 0 imLastIndex = 1 imAllIndex = 2 # interface STATES imWaitingToConnect = 'WaitingToConnect' imConnected = 'Connected' imDisconnected = 'Disco...
[ "derek.coffman@noaa.gov" ]
derek.coffman@noaa.gov
f3df773b77584d6d4547fddceed4599e7690fcdf
f486d2a385261c144f825a82b604a28446dc07ea
/qgis/scripts/streets_in_neighborhood.py
55305e11d2252ac3b037eef43cd85c36c3da3229
[]
no_license
kotarohara/GISUtilities
3aed00426ffdba214c3932cddf561d6f6f5bf61d
bfc82cdc75720b178fe0cbea65d96b4168ae9f88
refs/heads/master
2021-01-10T07:56:44.845066
2016-02-26T23:34:01
2016-02-26T23:34:01
52,618,567
0
0
null
null
null
null
UTF-8
Python
false
false
2,752
py
# http://gis.stackexchange.com/questions/26257/how-can-i-iterate-over-map-layers-in-qgis-python # layers = iface.legendInterface().layers() # QgsMapLayerRegistry # http://qgis.org/api/classQgsMapLayerRegistry.html street_layer_name = "street_edge" neighborhood_layer_name = "neighborhood" street_layer = QgsMapLayerRegi...
[ "koe.bluebear@gmail.com" ]
koe.bluebear@gmail.com
14867c67fd1d822563fe8ecb1841dce728a316df
1c801375ead766790f5c097081a1bbbc6a593a9e
/baseSpider/算法/随机获取1000此列表元素并统计次数.py
f9d47c387d183b937269c6fbd47b14e83dfe9a35
[]
no_license
llf-1996/python3Spider
5803d1f42b660c7c2643bbc31f17126ac06e7ceb
4621db8c7383940f8e60754d6640406101141095
refs/heads/master
2023-06-01T04:31:27.555140
2020-12-13T09:38:19
2020-12-13T09:38:19
156,145,515
2
3
null
2023-05-23T00:12:59
2018-11-05T01:48:46
Python
UTF-8
Python
false
false
527
py
''' 随机获取一个字符串列表中的字符串,求获取一千次的情况下,各字符串被随机到的次数。 ''' __author__ = 'llf' import random from collections import Counter c = Counter() ll = ['a', 'b'] for i in range(1000): a = random.choice(ll) c[a] = c[a] + 1 print('结果:', type(c), dir(c), c) ''' <class 'collections.Counter'> [ 'clear', 'copy', 'elements', 'fr...
[ "2367746876@qq.com" ]
2367746876@qq.com
c85df11a5f6a16aeda599f79646d5b2ba2d9546d
7874e77c8c44d568ec24da782f311cd811d43347
/rango/admin.py
0ee6b760f8956e053fd92556d1943a424e62b9c2
[]
no_license
668Jerry/leisure
27399b0bc41bf0bb3dc687d1e444a7aa94dd92d9
ea678d852d4930cd8db9d249d0c5d6be36c9dbb0
refs/heads/master
2021-01-25T03:40:21.851039
2014-08-02T09:00:49
2014-08-02T09:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from django.contrib import admin # Register your models here. from django.contrib import admin from rango.models import Category, Page, UserProfile admin.site.register(Category) admin.site.register(Page) admin.site.register(UserProfile)
[ "668Jerry@gmail.com" ]
668Jerry@gmail.com
3d9db26167c279a19af9f8aece67edc185736ec1
495531870c08ea3495bb45393b05f907366f052e
/x7-src/dashboard/steer/steer/dashboards/engine/images_and_snapshots/images/urls.py
c5aa8ebb24e073dc5629b46e39aea61201b738c5
[ "Apache-2.0" ]
permissive
wendy-king/x7_venv
5fcb326cf3ecaa26d3b839af743b027d23af29e0
d8266c1dc474935c54126ce36d1a6410a7e452f5
refs/heads/master
2021-01-01T06:33:24.605851
2012-01-19T15:54:44
2012-01-19T15:54:44
3,209,071
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2011 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
[ "king_wendy@sina.com" ]
king_wendy@sina.com
324b31607026c0aadfacbabf4ea55e14843ba22c
0c534e37b572f7f7173ed876393ad3898fc1925a
/pagerank_busqueda.py
97666a3b4f7661c1f48b26f9a3d11d622a762d40
[]
no_license
Alenicben/Concepto-Big-Data
8656002d3fd0676783be2ba83a4bfcaa3de56fa9
c1dfdc57cca75cc13b245fa94c0842948b521e7a
refs/heads/master
2020-05-19T08:41:40.449160
2019-05-04T17:57:03
2019-05-04T17:57:03
184,926,948
0
0
null
null
null
null
UTF-8
Python
false
false
1,985
py
# -*- coding: utf-8 -*- import json from bs4 import BeautifulSoup from w3lib.html import remove_tags output = '' def calculo_ranking(output): list_dict = [] with open('output_indexado.json', 'r') as f: output = json.loads(json.dumps(json.loads(f.read()))) for url_json in output: ...
[ "alexisbenzoni@gmail.com" ]
alexisbenzoni@gmail.com
c9db991be5e0c674b693615146c99f833eb961b0
390f61c52288d5d1536c6c3caf67b49a8efd181b
/pdestradbucket/env/bin/pasteurize
af27328d410c7a82b537ae12383e611966f8d2d1
[]
no_license
pdestrad/risk
62801000f03ae0becc05db9dbe0a45c94e678288
7a71dad0fc8cad9a94f2870fb6a2e67a5e4e0a74
refs/heads/master
2022-11-29T22:44:37.107479
2018-02-15T05:25:14
2018-02-15T05:25:14
121,591,761
0
0
null
2022-11-23T19:02:06
2018-02-15T04:41:20
Python
UTF-8
Python
false
false
428
#!/Users/paulestrada/Desktop/pdestradbucket/env/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'future==0.16.0','console_scripts','pasteurize' __requires__ = 'future==0.16.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys...
[ "paulestrada@Pauls-MacBook-Pro.local" ]
paulestrada@Pauls-MacBook-Pro.local
76445db28a181faa6a4d954ac7ea455bd577beb8
8da3ee3f2d088a6486b551cc59e1af5ebaa7e9b6
/api/qp-api-flask/resources/user_login.py
33be8727119cc3dfdcc8a69617427d35a5263dea
[]
no_license
sai-pothuri/SkillUp-Team-03
62f1694f11f80ee781df4d04b356f306b29384b8
cb6896df5d86c930fd32c569a924b5ab3b725768
refs/heads/master
2022-11-17T20:52:23.218203
2020-07-16T08:51:45
2020-07-16T08:51:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,200
py
from flask_restful import Resource, reqparse from db import query from flask_jwt_extended import create_access_token, jwt_required from werkzeug.security import safe_str_cmp # this parameter is given globally in this module so that the userdb is changed all over the module if # changed at one place (here). user...
[ "noreply@github.com" ]
noreply@github.com
2258e8477ffdf6a43e11b566c6bf2f1acc4df2c7
49bc2cb5e7141d581fa6c1f7cbd5b7341f95b6da
/carpool_env.py
bef6144fd8c2c3c98b8e1be8ec362c61cf565fe2
[ "MIT" ]
permissive
giabarbou/qlearning_carpool
20a294f5e4b52e3c64c330f9d06a5eac52d3bd22
f3459a4e1952b16ede231f5cfbab7192955a759d
refs/heads/master
2022-11-05T23:53:07.234932
2020-06-26T15:52:40
2020-06-26T15:52:40
273,688,689
1
0
null
null
null
null
UTF-8
Python
false
false
3,082
py
import numpy as np class CarpoolEnv: def __init__(self, distances, start=0, goal=0, capacity=4, delay=0.0): """ Args: distances (ndarray): the distance matrix start (int): driver's initial location index in the distance matrix goal (int): goal's index...
[ "noreply@github.com" ]
noreply@github.com
22f50ab9a1d1f3a8476e439ac7064950872f5c1d
380c4ce1704a6052a435da0ab340f2cca4339b8c
/scrapersite/celery.py
4b7bd06767c20ff0c5ad7546ed9a73142d60437e
[ "MIT", "Apache-2.0" ]
permissive
lordoftheflies/gargantula-scrapersite
68c10b813df404ad26bcb8c4ad6471fa82040ea2
0abcb82bf30540ac5cd57d5ec9178e692a1a2ca6
refs/heads/master
2020-03-25T07:18:18.084391
2018-09-25T16:59:59
2018-09-25T16:59:59
143,553,183
0
0
null
null
null
null
UTF-8
Python
false
false
1,194
py
from __future__ import absolute_import import os import dotenv from celery import Celery from django.conf import settings as django_settings dotenv_path = os.path.join(str(os.path.expanduser('~')), '.gargantula') dotenv.load_dotenv(dotenv_path=dotenv_path) ENVIRONMENT = os.getenv('ENVIRONMENT') if ENVIRONMENT == '...
[ "laszlo.hegedus@cherubits.hu" ]
laszlo.hegedus@cherubits.hu
2351627cba429794c787f1b8b52c0bf5472cd577
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_9/mchjos007/question2.py
95a03b09fd80edb8ce36c1da69e53ec942c2d03e
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
filein = open (input("Enter the input filename:\n"), "r") lines = filein.readlines() filein.close() fileOut = open(input("Enter the output filename:\n"),"w") width = eval(input("Enter the line width:\n")) finalFormattedString="" linecount= 0 currentlineinprogress = "" for currentline in lines: wordcount=0 ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
1c200b87ea72282a7b3e002066c80f83ecee2a12
45d6097f72ccf8e0a1300f7f3f4d0b93d7b2f513
/src/chat_generator.py
5105f104adea09fdf13f50de3e689147fd0f7e45
[]
no_license
zayd/chat
d66834964811afb2afd5bc4a9a97e6b0ed44a9ec
3c7d900b5d4b348ecdbdc7b124e39a45e55cc941
refs/heads/master
2021-06-10T02:58:43.461180
2016-12-02T02:19:20
2016-12-02T02:19:20
61,749,478
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
""" Interface between server app and ranking back-end. Do pre/post processing here """ from chat_ranker import ChatRanker import config import cPickle as pickle class ChatGenerator(object): def __init__(self, corpus_path=config.CORPUS_PATH, mode='deploy'): self.mode = mode self.ranker = ChatRanker(corpus_...
[ "zayd@berkeley.edu" ]
zayd@berkeley.edu