blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
edfb24502e388ee7e252a957ea60815238e99f0f
29f8b7f92eb22cc3134a16c439d3180e254df4bb
/chp04_database_programming/04_65_sql.py
d81a91878a6b51f9b1bfd0ac8be6453d5ed66e59
[]
no_license
Hemie143/realpython2
7df80dd5f61ce7cd8c31b8bf78111b8507cbdb36
b8535ffe97594e1b18233bcd9aa0de664257cb09
refs/heads/master
2022-12-12T04:51:53.120131
2021-01-03T19:52:32
2021-01-03T19:52:32
208,735,855
0
0
null
2023-08-17T05:45:32
2019-09-16T07:22:16
Python
UTF-8
Python
false
false
925
py
import sqlite3 with sqlite3.connect("new.db") as connection: c = connection.cursor() c.execute("CREATE TABLE regions (city TEXT, region TEXT)") cities = [ ('New York City', 'Northeast'), ('San Francisco', 'West'), ('Chicago', 'Midwest'), ('Houston', 'South'), ('Phoen...
[ "hemie143@gmail.com" ]
hemie143@gmail.com
49cd88876798c50a994c5caa747a95ebd98b165b
41251f95aaa04bec71a2c087c3a3d86af98dc86f
/toolbox/reaction.py
c2f963f5acfd32da42a04219cfdb624747d65a90
[ "MIT" ]
permissive
xiaoruiDong/RMG-tools
f73072ad3cbbb15e58ddb1be49c45d782e26cd1e
95305caef3baeda8d86164e602e5775e3c64d5d7
refs/heads/master
2020-09-13T09:35:01.236416
2019-11-27T20:14:29
2019-11-27T20:14:29
222,728,386
0
0
null
null
null
null
UTF-8
Python
false
false
8,960
py
#!/usr/bin/env python3 """ The toolbox for reaction related tasks """ import logging import re from copy import deepcopy from rmgpy.molecule.molecule import Molecule from rmgpy.species import Species from rmgpy.kinetics.arrhenius import Arrhenius, MultiArrhenius, PDepArrhenius from toolbox.species import add_spc_to_...
[ "xiaorui@mit.edu" ]
xiaorui@mit.edu
70772f2adcd137ef04c0dd0f83df8264fa9192f8
72db8db1a513dfa01ce81bf88b39c10c662bfae2
/annoying/tests/models.py
099d3338d0b17db45ce4bfc6d5fbc2b27c37d152
[ "MIT" ]
permissive
colorstheforce/insta-clonewars
ec6053853505db26e9e931c531e531b5e6754740
2e8e6fc2e5ef7d2401d7902679e64d8859918d3a
refs/heads/master
2022-03-30T13:28:39.755391
2019-01-17T12:55:11
2019-01-17T12:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
from django.db import models from annoying.fields import AutoOneToOneField from annoying.fields import JSONField class SuperVillain(models.Model): name = models.CharField(max_length=20, default="Dr Horrible") stats = JSONField(default=None, blank=True, null=True) class SuperHero(models.Model): name = mo...
[ "jackogina60@gmail.com" ]
jackogina60@gmail.com
e2fbbf0ef19bf424f658040ab456eacfcf5a351f
d8ff5977d69876cb21295892e80d4881e1172446
/secure_info_lab12/venv/bin/easy_install-3.6
1f14356d80b53756fe026bf4ab2db7d3472b8838
[]
no_license
OlehFliurkevych/secure_labs
f1ba571707aa7b263304ffad4b76507c3eabb280
a2fc1d8172aff77ae7b41d3e6ab0aafba5868f56
refs/heads/master
2020-04-02T18:25:07.950881
2018-10-25T15:53:17
2018-10-25T15:53:17
154,697,346
0
0
null
null
null
null
UTF-8
Python
false
false
458
6
#!/Users/admin/PycharmProjects/secure_infe_lab12/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.0.1','console_scripts','easy_install-3.6' __requires__ = 'setuptools==39.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw...
[ "39386806+Korb1t@users.noreply.github.com" ]
39386806+Korb1t@users.noreply.github.com
d4a4f7cad1ae98a307e8097d46ba07924f6a4adb
1f85142263a08d2e20080f18756059f581d524df
/chromium_extension/branches/timeline/src/build/common.gypi
764680d3d99285d67d4b0c6a767afa03d918f377
[]
no_license
songlibo/page-speed
60edce572136a4b35f4d939fd11cc4d3cfd04567
8776e0441abd3f061da969644a9db6655fe01855
refs/heads/master
2021-01-22T08:27:40.145133
2016-02-03T15:34:40
2016-02-03T15:34:40
43,261,473
0
0
null
2015-09-27T19:32:17
2015-09-27T19:32:17
null
UTF-8
Python
false
false
1,260
gypi
# Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "bmcquade@google.com" ]
bmcquade@google.com
6f0ed4a9c23a128f716f922b6b99cba603ce1e7f
42d0a78861a904cbb4397a495855de40d7f069ad
/client/src/characterControl/Camera.py
a6f1b9fff05b0567f92c489eee03e39e4f11af27
[]
no_license
sythaeryn/lostfrontier
35e1555dc61dc444fadb4dc24448dc9b566d21a7
a10b52a015fcfe68018dadb2e3cab31d684da89d
refs/heads/master
2016-09-10T11:07:34.366957
2009-08-27T15:38:11
2009-08-27T15:38:11
37,406,898
0
0
null
null
null
null
UTF-8
Python
false
false
939
py
from direct.showbase.DirectObject import DirectObject from pandac.PandaModules import * from direct.interval.IntervalGlobal import * class Camera(DirectObject): objSeguir = None def __init__(self,obj): base.disableMouse() lente = base.cam.node().getLens() lente.setFov(40) ...
[ "joao@setequatro.com.br" ]
joao@setequatro.com.br
a2d6e90b036d44adf506a3ed0f934486170ee325
d47da5253b853fbe15f06f5f23e43e4786d7deb2
/code/ACER/main.py
4a6cf2e170b19f2d98a7f0bc5b5291cae50b77b2
[]
no_license
htpauleta/RL-Algorithms
1189167e5dd2cadc649c53df6470f626e7c2f7d3
483c99cea2c4d9c0d053ce5cf9c2279a0d7c4a4e
refs/heads/master
2020-09-13T16:32:21.564621
2019-11-14T11:58:37
2019-11-14T11:58:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,140
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2018/5/23 下午1:19 # @Author : Yang Yuchi import argparse import threading import multiprocessing as mp import tensorflow as tf import gym from network import ActorCriticNet, Agent from utils import Counter from test import test # Hyper parameters parser = ar...
[ "noreply@github.com" ]
htpauleta.noreply@github.com
832ae6f79a74d95dff09d7d3c29ba88a946d521f
28d8c101e01c0f0cc1eb9b227efdbe61650d7c35
/ejemplos_en_clase/2._Administracion_de_procesos/intro_hilos.py
208e4574e08e32dea4e2981f27f0dcdc947739ee
[ "LicenseRef-scancode-unknown-license-reference", "CC-BY-4.0" ]
permissive
Emiliano312/sistop-2020-1
b65831c0aee1982084a38ab5bfc6b874c4b602df
603b2539afa720387508b855a3740e2f260bef4b
refs/heads/master
2020-07-10T20:06:52.122098
2019-09-03T17:53:12
2019-09-03T17:53:12
204,358,183
0
0
NOASSERTION
2019-08-25T22:45:45
2019-08-25T22:45:44
null
UTF-8
Python
false
false
442
py
#!/usr/bin/python3 from threading import Thread, enumerate from time import sleep from random import randint ultimo = 0 def un_hilo(yo): global ultimo while True: print(' ' * yo, ultimo, yo) ultimo = yo sleep(randint(0,5)) hilos = [] for i in range(10): hilo = Thread(target=un_h...
[ "gwolf@gwolf.org" ]
gwolf@gwolf.org
63c822733375cb75b5e2b4c7c27706ad5ff89be8
2d244496960c8bb2bfff001ea70df4a47e532241
/products/migrations/0011_auto_20151123_1231.py
274a1b134441eccde0bb5b21fc448db27d861942
[]
no_license
brajeshvit/iCharity
73f1fb0dd6743d34aa481411e20c62019dd87cef
f7de759da19d8902020efff46fb4f5a115f09130
refs/heads/master
2016-08-11T20:04:27.969963
2015-11-24T08:14:26
2015-11-24T08:14:26
46,608,348
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('products', '0010_auto_20151123_1226'), ] operations = [ migrations.CreateModel( name='Variation1', f...
[ "richavit1995@gmail.com" ]
richavit1995@gmail.com
84e9d0b869c9b47ae05f7b7b29b416b67681bec8
2c2c8d82d3a5ee78a4e4bd4ed501fc31203204ab
/check_equal.py
4c45d0c4357c536989e2abb5f53e0da703d920a1
[]
no_license
KumarSanskar/Python-Programs
3341e47f43f7c96ac7ef9cab5e9baedb4d40a684
a33cde03b19b36b1c447f78aa2f30f2593d38708
refs/heads/master
2021-01-04T13:31:39.509503
2020-11-18T04:25:39
2020-11-18T04:25:39
240,574,672
3
2
null
2020-10-18T10:10:07
2020-02-14T18:33:32
Python
UTF-8
Python
false
false
378
py
# Programs to check two no. are equal or not n = int(input("Enter first no ")) p = int(input("Enter second no ")) if n == p: # using equality operator and if else print("They are equal") else: print("They are unequal") print() # Using ternary if else structure # This will be printed at second time pr...
[ "noreply@github.com" ]
KumarSanskar.noreply@github.com
1abbca8e926a23e8caa6e5e4d9ac72d760b5ffd7
5825e9bc074f7bffd72a71707fd55e3015795c19
/app/rtanalysis/RTDataDAO.py
e3b1b656df06e8973ef4959c66d8a3f87238885e
[]
no_license
stash4/VisualizeRTNetwork
709cefb95b964e7209c86be600501511696656fd
680f17efbe7bd1c121963a14c73e0f7f2a898b93
refs/heads/master
2022-12-10T14:49:40.993918
2018-08-04T14:25:38
2018-08-04T14:25:38
118,082,599
1
0
null
2022-12-08T00:50:24
2018-01-19T05:44:15
Python
UTF-8
Python
false
false
1,503
py
from ..models import db, Tweet, User, Link def register_tweet(tweet_id, text): tweet = db.session.query(Tweet).filter_by(id=tweet_id).first() if tweet is None: tweet = Tweet(tweet_id, text) db.session.add(tweet) db.session.commit() return tweet def init_user(user_id, tweet_id, na...
[ "high.mackey@gmail.com" ]
high.mackey@gmail.com
9cf2b167df432cc84eb98e9b71712b4ded02036b
9c38f88e52afd3651b52ecb8bc9d36e4563a4454
/pandaserver/taskbuffer/Initializer.py
bd985ae8b921a05bbcc8266112edca6ce20f6993
[ "MIT" ]
permissive
eschanet/QMonit
9f84feb1fcdf28ea1f21804f332d8ce80aafcd5a
83f3323fa465b3ae41f9a49f28332bdb5e748685
refs/heads/master
2023-07-15T09:38:19.570964
2021-08-23T15:53:51
2021-08-23T15:53:51
318,832,692
4
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
import sys from threading import Lock from pandaserver.config import panda_config # logger from pandacommon.pandalogger.PandaLogger import PandaLogger _logger = PandaLogger().getLogger('Initializer') # initialize cx_Oracle using dummy connection to avoid "Unable to acquire Oracle environment handle" class Initializ...
[ "eric.schanet@cern.ch" ]
eric.schanet@cern.ch
64c8d5a9d3265d54252822fc85c11d1822807503
f5dee44afaa7ec04061899feeb2d4b0717abc089
/app/adapters/queues.py
abe870801cec42105ea71c269089a9ae6bfb3439
[]
no_license
jazmanzana/event-driven
2cfe53254f05cc8f36e8ee3bbd7b432f8b8e5a2e
22f8c56645fec267b2cea82971e7d0e3c12042bd
refs/heads/main
2023-06-21T12:16:50.318073
2021-07-27T06:14:57
2021-07-27T06:14:57
388,902,475
0
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
from collections.abc import Callable import pika import os class Publisher: EXCHANGE = "" QUEUE = "processing" def __init__(self, url="queues"): # this type of connection is affecting my performance self.connection = pika.BlockingConnection(pika.ConnectionParameters(host=url)) sel...
[ "noreply@github.com" ]
jazmanzana.noreply@github.com
9db0edab58fd19dee622b29b06fd8afe7a16804b
81243f1ec5eeb089b8f93dffe843d811f6918a68
/matlab_starter.py
5d1baa2768dd9c46da7987d36f16fbef65ec42ff
[]
no_license
crossz/simu-betting-strategy
ac67932a942f98e6ebdb9b9f2592e5a68968ca91
2fc116fe3eec5e82cfdb3115e341741917e29595
refs/heads/master
2021-05-04T01:52:37.635680
2016-10-23T17:24:42
2016-10-23T17:24:42
71,226,440
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
import pickle import LoadData import WhoScoreInvestor GameData = LoadData.GameData mode = 'w' mode = 'r' def getGameData(): if mode == 'w': game_data = GameData.get_data_from_mysql(sql='SELECT CAST(WIN310_EUROPE_ID as UNSIGNED) FROM t_crawler_win310 where START_DATE_TIME > "2016-09-17 00:00:00" order ...
[ "drcross@outlook.com" ]
drcross@outlook.com
934ee088516ad8e93e8cde4bb96817b3c2bccdaa
fa8f9df0c87647a7ed01ff441c75f9a887bb7283
/attentive_np/cartpole_attentive_np.py
bdfb8eed95066104a0ec789f68630c66b5d5b9f4
[]
no_license
aGiant/attentive-neural-algo
cd11c050641534f1086669fc65d77f80149dcab8
71979832a09e3ee4a95261bfceaf53f4923ac27e
refs/heads/master
2020-09-14T16:51:33.158898
2019-06-09T20:51:32
2019-06-09T20:51:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,736
py
import tensorflow as tf def batch_mlp(input, output_sizes, variable_scope): """Apply MLP to the final axis of a 3D tensor (reusing already defined MLPs). Args: input: input tensor of shape [B,n,d_in]. output_sizes: An iterable containing the output sizes of the MLP as defined in `basic.Linear`....
[ "ubuntu@ip-172-31-36-212.us-east-2.compute.internal" ]
ubuntu@ip-172-31-36-212.us-east-2.compute.internal
7f11c1f7db6501aaf310c7744ab87a66e8414e63
a08daa76d8fb7368ba4abc10dab7d6afcf7b61dd
/App/migrations/0001_initial.py
965626ff3cb0594bae62d4cfc58d96ba3be38106
[]
no_license
farshadkalathingal/beardeo-django
74d7601f5067f302a4e34079c7b0a4fb19c112df
2f3e4742072c4b6b3773b4e984859f3604e1f009
refs/heads/main
2023-01-03T09:23:08.935404
2020-10-30T05:19:36
2020-10-30T05:19:36
308,530,934
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
# Generated by Django 3.1.2 on 2020-10-29 07:52 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ContactDetail', ...
[ "farshadkalathingal@gmail.com" ]
farshadkalathingal@gmail.com
25c89d257159450711d3d594fcb6228fc6b74f46
480ec8b93da517e13b302d41d0bca63837d9427e
/Programming Distributed Applications/app.py
bd524c75fd215fa14ffadcda04f2459e9047005f
[]
no_license
TUM-FAF/FAF-121-Paul-Sanduleac
0adba7aed2c298cdbfc8a545cb16bf8b92133bf8
c68775ca7a4e7b699104c720b7bbc588a0b0ddbf
refs/heads/master
2021-01-10T15:10:30.870633
2016-02-25T11:45:09
2016-02-25T11:45:09
52,519,298
0
0
null
null
null
null
UTF-8
Python
false
false
2,987
py
from cassandra.cluster import Cluster from flask import Flask, request, jsonify, make_response from flask_restful import Resource, Api import socket, requests, os, atexit import settings app = Flask(__name__) api = Api(app) cluster = Cluster() dbsession = cluster.connect('dev') @app.errorhandler(404) def not_found(er...
[ "paulsanduleac@gmail.com" ]
paulsanduleac@gmail.com
adeb4d8d9b7c8c0f7e2e9121da5970cdbd71f27c
ffe6833e20f137f17d44edd4ef53605bc325390f
/cages/.shared/protocol_postgresql_pg8000.py
30cba16f896345c6bc0a4ceb30cfe0e20c4bddbc
[ "BSD-3-Clause" ]
permissive
targeted/pythomnic3k
3e087a0e0dacd870cda8783c0148ae63bc1ff2cd
c59f8c11302c0a568f45ec626ec6a0065527aa79
refs/heads/master
2021-06-28T09:28:48.302031
2020-11-23T17:39:46
2020-11-23T17:39:46
190,796,562
2
0
null
null
null
null
WINDOWS-1252
Python
false
false
27,747
py
#!/usr/bin/env python3 #-*- coding: windows-1251 -*- ################################################################################ # # This module implements resource to access PostgreSQL databases, # uses pg8000 library (version 1.07) written in native Python. # # Sample configuration (config_resource_postgresql_1....
[ "dmitry@targeted.org" ]
dmitry@targeted.org
499899b07cb558bc9dd599794ace8b8746cee9ba
06c9edb02884ced68c62b5527d2be0e1a2e65bf1
/9012.py
3ce6c980e1d0a4c7ae29f246559b2957d47c7fc6
[]
no_license
0x232/BOJ
3c5d3973b62036bfe9b761c88c822cf7fe909bce
5f135ac51b1c304eff4630798fb5c516b666a5c6
refs/heads/master
2021-07-03T02:56:00.132987
2020-10-31T02:18:19
2020-10-31T02:18:19
191,161,517
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
n = int(input()) for _ in range(n): paren = input() counter = 0 answer = True for p in paren: if counter < 0: answer = False break if p == '(': counter += 1 if p == ')': counter -= 1 if counter != 0: answer = False i...
[ "51640066+0x232@users.noreply.github.com" ]
51640066+0x232@users.noreply.github.com
f64962701f0c5d867ac114de49fc3c7153391009
cf9fca3e968353b74eaffe2b52919a56e7bfe385
/y.py
1be9caa6e1e4f27e1509a9b86c1ecf696f5460f1
[]
no_license
cmailhot4/morse
7f80b4feb568a7c9eeb856fed14e0c248b918231
5398b15f937bb32e43aedfbaeae25e82c43dd20e
refs/heads/master
2020-05-02T15:30:00.054584
2019-03-28T21:12:09
2019-03-28T21:12:09
178,042,735
0
0
null
2019-03-28T20:26:47
2019-03-27T17:23:58
Python
UTF-8
Python
false
false
240
py
def run(): from gpiozero import LED from time import sleep led = LED(17) led.on() sleep(3) led.off() sleep(1) led.on() sleep(1) led.off() sleep(1) led.on() sleep(3) led.off() sleep(1) led.on() sleep(3) led.off() sleep(3)
[ "mailhot.christophe@carrefour.cegepvicto.ca" ]
mailhot.christophe@carrefour.cegepvicto.ca
2e306f3cb045466f491a0c2f31c692495935a285
4f9bb6865e2be83001d840f68c13c023442090a9
/setup.py
8d8aa57b838fe73922c7c93c9286c1957de84e1a
[ "Apache-2.0" ]
permissive
kojiroperche/pymail
49499254b06b9c3f6f350cfec6d396f0d223727a
270b9bb653de3bf59f359da30dd2add995bd512d
refs/heads/master
2020-06-12T20:02:49.895246
2016-08-25T18:18:56
2016-08-25T18:18:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
from setuptools import setup setup( name='pymail', version='0.1', py_modules=['pymail'], include_package_data=True, )
[ "void.aby@gmail.com" ]
void.aby@gmail.com
f5c46fec69927e9f21e7cc8f04c7a75aa8aeab41
dfa1bb1bd7ef84f9e225d51761c4fc2470b51112
/Tries/DesignAdd&SearchWordswithdot.py
0243d05ded237c8fe86bde0e7f248feacfa2b58b
[]
no_license
gowriaddepalli/Leetcode_solutions
f31d9716a3690dcdbc0e7e4eaf9773b8bd8f7453
1f33cbeb52f9ec6332d05bbd3da69935ba553cf8
refs/heads/master
2023-04-05T11:34:42.736638
2021-04-16T07:33:02
2021-04-16T07:33:02
158,172,755
2
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
class WordDictionary(object): def __init__(self): """ Initialize your data structure here. """ self.trie = {} def addWord(self, word): """ Adds a word into the data structure. :type word: str :rtype: None """ t = self.tri...
[ "noreply@github.com" ]
gowriaddepalli.noreply@github.com
184e3bd29a8ed96678a85c84d7c640909df9152d
1a3413c32d8384fb781bd0945a7d4e68be796407
/Netconf-Agents/EnodebSimSetup.py
cfa5bf97f7c93250c0cc9138d9327a333f530df2
[ "Apache-2.0" ]
permissive
Laymer/ran-sim
795e62cf1bc40b60321a54bb38c0800e44512be7
68b77cf98c81986221fa11e18529e1d448a00c1e
refs/heads/master
2020-06-19T08:47:14.693615
2019-07-08T11:18:31
2019-07-08T11:18:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,616
py
#!/bin/python import sys import shutil import os import signal import stat import time import subprocess import fileinput import re number_of_arguments = len(sys.argv) if number_of_arguments == 3: print "Staring..." else: print 'Missing arguement NoOfInstances' print 'Usage:', sys.argv[0] ,' NoOfInstances ...
[ "ramesh.kumar50@wipro.com" ]
ramesh.kumar50@wipro.com
158391a0ca82c0639608e6f98dede3195bd12b40
9d862dd68f8b4ea4e7de9397fef8592824c77449
/app/top/api/rest/FenxiaoDiscountsGetRequest.py
2989652b695920224f032670cc2c84c122f36215
[]
no_license
hi-noikiy/tmall-sku-outer_id
ffaca630dfb288ca33d962b8a050932d1047b9c8
1bcf29386a513bcb210bf5d91016e0dcb1ebc1ad
refs/heads/master
2021-05-09T18:20:27.150316
2017-03-08T06:43:57
2017-03-08T06:43:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
''' Created by auto_sdk on 2016.03.05 ''' from app.top.api.base import RestApi class FenxiaoDiscountsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.discount_id = None self.ext_fields = None def getapiname(self): return 'taobao.fenxiao.di...
[ "1037096435@qq.com" ]
1037096435@qq.com
4ff7442917eee0fc06eb777314963d47e465335b
8e1e8e65720b525c843fe11a45bbacff1df1ec4f
/translation_client/management/__init__.py
659f7ba41b6a1db78e7dc214e769006ac1ed1eb6
[ "MIT" ]
permissive
gdelnegro/django-translation-client
43a3b9d87d6e61d1dbd5e1285651d788cad03e0a
be8ad3f68cf43f77cae3d99254876b394e5ecd55
refs/heads/master
2021-01-12T15:16:46.600464
2017-10-13T07:53:15
2017-10-13T07:53:15
71,740,257
0
1
null
2017-10-13T07:53:16
2016-10-24T01:12:52
Python
UTF-8
Python
false
false
96
py
# -*- coding: utf-8 -*- # Created by Gustavo Del Negro <gustavodelnegro@gmail.com> on 10/23/16.
[ "gustavodelnegro@gmail.com" ]
gustavodelnegro@gmail.com
efa692d6ea6388de8348b3713667942e6b5c86e3
2193dafd0739cf6eedd19936eb25758a10d041b8
/Dijkistras.py
becc0b37dd97b45da9d896b6559537d1a61b9315
[]
no_license
JavierPalomares90/Algorithms
953d51ffc3a1d1df3f9a933ed40e8abe64947b6a
1fb2082dda6de95b1e21a3b8cca27a0f8952fbc8
refs/heads/master
2020-07-01T00:46:38.334973
2014-06-10T03:40:41
2014-06-10T03:40:41
20,671,543
2
0
null
null
null
null
UTF-8
Python
false
false
2,608
py
# -*- coding: utf-8 -*- # <nbformat>2</nbformat> # <codecell> class edge: def __init__(self): self.v1 = 0 self.v2 = 0 self.length = 0 class vertex: def __init__(self): # will keep track of edges going out of vertices self.edges = [] self.explored = False ...
[ "Javier@Javiers-MacBook-Pro.local" ]
Javier@Javiers-MacBook-Pro.local
69961552cf5a9df9d897614b9be2d73de2c9afc7
3c81cfc8681ab11e54bf78f6286d48fce09d6d65
/routes/comment.py
b5c129c1a4c25507dfc1bbe3dcfae83fcebdb5e0
[]
no_license
xb21/bbs
4d014231a7bb50d123a6c387555910a8d1dfc8ac
07ca9882e0448c5ee541c5f03f2a7f37470d6da0
refs/heads/master
2021-08-07T22:06:59.469685
2017-11-09T03:07:17
2017-11-09T03:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
from models.comment import Comment from routes import * main = Blueprint('comment', __name__) Model = Comment @main.route('/add', methods=['POST']) @login_required def add(): form = request.form m = Model(form) m.topic_id = int(form.get('topic_id')) # 惨,username 和 user_id 都要手动添加 u = current_user...
[ "autu1995@outlook.com" ]
autu1995@outlook.com
1eaf6bd2696545add4c03c0eca467dac3671640c
21485420f64d37f61bef9c85743f0e84866c08d3
/facade/01-console.py
60ce018512fcca19b8f6bd48fd02c68cfc84bf61
[]
no_license
niazangels/design-patterns
e371e694dfadbb5939c308b48afdfb9b123650be
96743e28d63f734bce6d2c76337fed14f7ac038f
refs/heads/master
2021-07-10T16:21:44.906615
2021-02-12T16:14:40
2021-02-12T16:14:40
228,148,076
2
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
class Buffer: def __init__(self, width=30, height=20): self.width = width self.height = height self.buffer = ["*"] * (width * height) def write(self, text): self.buffer += text def __getitem__(self, item): return self.buffer.__getitem__(item) class Viewport: d...
[ "niaz.angels@gmail.com" ]
niaz.angels@gmail.com
76a0dc84b832d50eb22547d7ae8063a44087c8f3
7f7593bad603e3fe9142707269dd3ad81cd581e7
/dataset_parser/translator.py
eb214130326180fa5115aea580290947e7598c3b
[]
no_license
kadircet/NeVA
e6eee87d17de0c4d3b7579bd6359f473c3c873f0
fbcc8163675243f0c5b0e6aae55f4695f91a3e8a
refs/heads/master
2020-03-27T09:10:46.840256
2018-06-01T21:46:41
2018-06-01T21:46:41
146,319,613
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
import urllib import urllib2 api_key = "trnsl.1.1.20171114T121819Z.260cc24adf90daa9.d0f6b72d715f1ec6369a4ff855eb257aeaab16d6" url = "https://translate.yandex.net/api/v1.5/tr.json/translate" def translate( text ): data = { "lang" : "en-tr", "text" : text, "key" : api_key, "format" :...
[ "e2035566@ceng.metu.edu.tr" ]
e2035566@ceng.metu.edu.tr
3f049a829e4f528690569a3ddb76c01f8186474e
aae95f673759e71d8859b05973eb563d15200114
/M3HW1_AgeClassifier_NOVAK.py
b22943545cce9fc94576bf8756876bc736c2a747
[]
no_license
tjnovak58/cti110
74ae3cb355c1bbde8a51ba9bdc943c172f109885
1edec8b428f5aa5858662219ddd2a4dd93a91a9c
refs/heads/master
2021-05-15T00:47:08.440056
2017-11-13T20:18:03
2017-11-13T20:18:03
103,067,688
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
# CTI-110 # M3HW1 - Age Classifier # Timothy Novak # 09/24/17 # # This program takes an age input and outputs a classification. # age = float(input('Enter age: ')) def main(): if age >= 20: print('The person is an Adult') if age >= 13 and age < 20: print('The person is a Te...
[ "noreply@github.com" ]
tjnovak58.noreply@github.com
ce6c323a26426f3a80db831e190eaa0a90371b93
e865dfd9f629a63a731694aa4f066e1ecc625898
/bot_instagram.py
8bc8fea411b17cbd1736fa028d14b24c26834419
[]
no_license
ayslanleal/mining_instagram
a08c0f79c090ce2bfb6050b63e763fb8ca2f4c32
f753708be0b7368d6d7d95064bb12e5ba84fc04e
refs/heads/master
2020-07-13T08:03:26.017882
2019-10-08T23:46:45
2019-10-08T23:46:45
205,040,553
2
2
null
2019-10-07T00:30:04
2019-08-28T23:25:52
Python
UTF-8
Python
false
false
1,440
py
from bs4 import BeautifulSoup as bs from selenium import webdriver from selenium.webdriver.common.keys import Keys from time import sleep import requests def remove_repetidos(lista): l = [] for i in lista: if i not in l: l.append(i) return l tag = 'nome da tag' ff = webdr...
[ "ayslanleal15@gmail.com" ]
ayslanleal15@gmail.com
42d837778a4b1a8e1472887ff90f1e945c6063c1
4c566e0aae8aa638e56cdae064a6aea5cbaebbde
/Python总文件夹/ML-INAction/626-SVM/dasda.py
8d7bbd3cfa6c114076243b02a2cda468b063814e
[]
no_license
Rookie1019/data_share
f26c1406149fbe286e7b36cfba9ad0d00fd04ff1
b9e6c68ba1e64a2400b7ab975eacd9c2fbb7d7c7
refs/heads/master
2023-01-13T09:53:21.057836
2020-11-16T04:44:19
2020-11-16T04:44:19
313,164,053
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import multiprocessing, time, tkinter class Spider: def __init__(self, root): self.root = root start_button = tkinter.Button(self.root, text="开始", font=('微软雅黑', 15), command=self.run) start_button.grid(row=0, column=1, columnspan=3, padx=30, pady=3, sticky='w') def print(self): ...
[ "Rookie1019@163.com" ]
Rookie1019@163.com
f4282f535164e8629a1193c9dcfda08962f43873
d1db548e79ba27347bc02680e2e01c7899ac9032
/game_objects.py
377ec4e7e284144f9da68cdf3db6b8f9f6c68fa6
[]
no_license
shivanshseth/the-mandalorian-ascii-game
83ae6585eb7fc585cd5f818a05d13d6b83e162f4
4a3e116eb0cba88243a177a6fae2880f8214a490
refs/heads/master
2021-09-08T23:31:07.449950
2021-09-04T13:00:45
2021-09-04T13:00:45
234,907,467
0
0
null
2020-01-19T19:41:33
2020-01-19T13:46:15
Python
UTF-8
Python
false
false
8,917
py
import numpy as np from global_vals import * import time class GameObject(): def __init__(self, art, scene, x, y, fore = 'WHITE', back = 'BLACK'): self._fore = fore self._back = back self._width = 0 self._height = 0 self._velx = VELX self._scene = scene ...
[ "shivansh.seth@research.iiit.ac.in" ]
shivansh.seth@research.iiit.ac.in
1c70223238adb6b00f186ce6e565db01b8f927a6
5f8b1beafc1a293f21d45a30247348cfc6f99299
/run-length-encoding/run_length_encoding.py
7f1c6c3e044494048fc98721f36fa0d7fe6a5c6e
[]
no_license
vineel96/PythonTrack-Exercism
aca3d16b0ca352060a7ab16c2627f44695f6b855
c756cf38e39aa6347199cf3143f8b401345ad832
refs/heads/master
2020-06-20T17:43:48.972591
2019-07-30T06:54:51
2019-07-30T06:54:51
197,196,771
1
0
null
null
null
null
UTF-8
Python
false
false
467
py
from collections import defaultdict from itertools import groupby import re def decode(string): num=[int(n) if n else 1 for n in re.split('\D',string)] char="".join(n for n in re.split('\d',string) if n) return "".join([num*char for num, char in zip(num,char)]) def encode(string): out="" for char,g...
[ "vineel_abhi96@yahoo.com" ]
vineel_abhi96@yahoo.com
e925cae9746d4510a5277d88ffa5e8a07c3c90e6
4eaab9327d25f851f9e9b2cf4e9687d5e16833f7
/problems/critical_connections_in_a_network/solution.py
7ddf628a29bc4208c9823e84011f61a218c0010c
[]
no_license
kadhirash/leetcode
42e372d5e77d7b3281e287189dcc1cd7ba820bc0
72aea7d43471e529ee757ff912b0267ca0ce015d
refs/heads/master
2023-01-21T19:05:15.123012
2020-11-28T13:53:11
2020-11-28T13:53:11
250,115,603
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
class Solution: def criticalConnections(self, n: int, connections: List[List[int]]) -> List[List[int]]: def dfs(previous = -1, current = 0, depth = 1): nonlocal depths, output temp_depth = depth depths[current] = depth for neighbor in graph[current]: ...
[ "kadhirash@gmail.com" ]
kadhirash@gmail.com
6392b542acc7fca72534c03121658d416b9da39a
5f56b9d0e44f0050381af2fbb71c357c19ebb199
/mxonline/apps/operation/adminx.py
ec2d37e0e5fc0d7f9b73144299082a67d05536bf
[]
no_license
frostBingNing/myPython
5a295b401fc580719feb01c6a9e34aab679d9dfd
463c9da15b5b96f1f26f3f421241873a0612f455
refs/heads/master
2021-04-18T19:38:31.706944
2018-12-14T13:47:52
2018-12-14T13:47:52
126,331,183
1
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
# -*- coding : utf-8 -*- """ @author : frost @time :2018/10/2 12:02 """ import xadmin from .models import UserAsk, UserCourse, UserMessage, CourseComments, UserFavorite class UserAskAdmin(object): '''用户表单我要学习''' list_display = ['name', 'mobile', 'course_name', 'add_time'] search_fields = [...
[ "noreply@github.com" ]
frostBingNing.noreply@github.com
e56d9813e8e3f74d1c06db4fd5b2f3b900c58022
e7f855c1507e8d5fc0265ea72f017ca942894a90
/kmeans_compute.py
d2319a62595379b5d13dcea9efe23e0eb2146bce
[]
no_license
zennpng/avocado_supply
cff940ac8196ed89f0dea6b7d73739fae0d80959
b8c07209def6033bc64d49cbfb49de7ea2bac735
refs/heads/master
2022-12-11T20:33:14.643634
2020-08-25T06:32:52
2020-08-25T06:32:52
279,087,171
0
0
null
null
null
null
UTF-8
Python
false
false
3,415
py
import copy import numpy as np import pandas as pd from kmeans_preprocessing import xlist, ylist # main k means clustering function def kmeans(k): df = pd.DataFrame({ 'x': xlist, 'y': ylist }) np.random.seed(18) # initiate centroids centroids = { i+1:...
[ "noreply@github.com" ]
zennpng.noreply@github.com
778b45e01be9a110469afff7d9090c37c2942dc4
86a0790cd502b1ec48175f072320430e3c2da926
/manage.py
58a92a49457eab87c4afb63b85f1393cf3c32b9e
[]
no_license
chanbin/vattel
7d59d9ed2fd9cd351b15775565667a78d2c3dfd6
0b9d9a051f94b87dd9c288dd881bb3df147800d8
refs/heads/master
2021-01-20T01:22:16.888179
2019-05-01T15:28:47
2019-05-01T15:28:47
89,262,622
1
0
null
null
null
null
UTF-8
Python
false
false
249
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "vattel.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "chanbining@gmail.com" ]
chanbining@gmail.com
b1ac8ccb27daa0ee5ed8560892cafa40d792b723
3b7bfe318f264800245b60894634b5cfb1a9f19f
/manage.py
9a0699ec56418ef63d652bbedf0df110d5ae82d7
[]
no_license
aviyan171/Text-Utils
6fe3b7d1e56423c7bb271a672be3a091b5a63e6e
e25c0e840d563e4a6dd62e070e61a7b001cf4669
refs/heads/master
2023-07-02T22:39:58.075190
2021-08-04T04:19:20
2021-08-04T04:19:20
390,938,544
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'newtextutils.settings') try: from django.core.management import execute_from_command_line except...
[ "Abhiyanupreti76@gmail.com" ]
Abhiyanupreti76@gmail.com
2aa62736bf9b102bfaafa6329a5283ff80764c52
64b562f5bc27e20e267f20c66d6c5212c746eaa1
/student/urls.py
ad988ad5ac054e15a8affacfde6bec190589d42f
[]
no_license
ykugb/PerfectCRM
9419e7f6ff14e300f29cabaf99327503ac823add
0342b6cf1db3d5911257d84e357e3f522cb0fd7f
refs/heads/master
2022-12-02T16:29:48.675924
2018-04-14T00:59:53
2018-04-14T01:10:07
129,470,846
0
1
null
2022-11-21T14:56:19
2018-04-14T01:42:19
Python
UTF-8
Python
false
false
126
py
from django.conf.urls import url from student import views urlpatterns = [ url(r'^$', views.index,name="stu_index"), ]
[ "402173349@qq.com" ]
402173349@qq.com
1666cfe1c060fb01ca77d7386ee78fdec9cfdcc8
e9cf85d3d2cfc1b0ed1f890679b098fe343438b2
/Scripts/venv/Scripts/easy_install-3.6-script.py
6e2835f1e41cc6036851b42df91870e2720fd94e
[]
no_license
jakowalski/filmCrawler
8be9b54f337bf25352d5ffb37edbbaa61c940aa8
bd75c5d96b1efd5d3248e8b3f6730a79e74ff892
refs/heads/master
2020-04-08T17:21:56.182900
2019-01-20T19:01:00
2019-01-20T19:01:00
159,563,418
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
#!H:\Projects\FilmCrawler\Scripts\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==28.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe...
[ "sidrox@o2.pl" ]
sidrox@o2.pl
04c7b38d50bca0e049583d4dfdc819d0b30882f4
d2bd23d65da4e0c16b5253d4a731a38d8ae5a5df
/main.py
2565343ee6d437307fbd0f7bb4a084eae84358c0
[]
no_license
sangyh/iris_prediction_flask_app
ddeb86bb1a65c52f213775685811940036687113
f6492930c61313bab50ed46164216d986d1e5bd3
refs/heads/master
2023-05-11T01:26:00.184959
2019-07-13T23:16:05
2019-07-13T23:16:05
196,773,549
1
1
null
2023-05-01T21:13:16
2019-07-13T23:02:18
Python
UTF-8
Python
false
false
1,311
py
from flask import Flask from flask_restful import reqparse, abort, Api, Resource import pickle import numpy as np from model import NBModel app = Flask(__name__) api = Api(app) # create new model object model = NBModel() # load trained classifier model_path = 'nbclassifier.pkl' with open(model_path, 'rb') as f: ...
[ "sangyh@gatech.edu" ]
sangyh@gatech.edu
bf6f236aa05ce0ae841dd0b933b1930625d39351
a75d4e8ff5e2d0641e539af3980768c10298dfb9
/main.py
d8058f25dc7e3b8e940ce79bf28746f3235b9492
[]
no_license
vitvara/tk-space-1
c70942af4c235ebabc8648d7d49efc9c31feb961
57f668f3137ce893d576f03c8f7c6ffc0cb794c3
refs/heads/main
2023-03-23T23:35:07.711907
2021-03-24T23:17:02
2021-03-24T23:17:02
351,682,625
1
0
null
2021-03-26T06:20:18
2021-03-26T06:20:17
null
UTF-8
Python
false
false
5,424
py
import math from random import randint, random import tkinter as tk from gamelib import Sprite, GameApp, Text from consts import * from elements import Ship, Bullet, Enemy from utils import random_edge_position, normalize_vector, direction_to_dxdy, vector_len, distance class SpaceGame(GameApp): def init_game(s...
[ "jittat@gmail.com" ]
jittat@gmail.com
8bc175401c234330dcca0e841f43babb1b91a34e
e831c22c8834030c22c54b63034e655e395d4efe
/Strings/409-LongestPalindrome.py
a7c78ae605311f965fabd78f56853df5f5a2ed97
[]
no_license
szhmery/leetcode
a5eb1a393422b21f9fd4304b3bdc4a9db557858c
9fcd1ec0686db45d24e2c52a7987d58c6ef545a0
refs/heads/master
2023-08-16T00:27:56.866626
2021-10-23T07:35:37
2021-10-23T07:35:37
331,875,151
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
from collections import Counter class Solution: #https://leetcode.com/problems/longest-palindrome/solution/ def longestPalindrome(self, s: str) -> int: ans = 0 map = Counter(s) for v in map.values(): ans += v // 2 * 2 if ans % 2 == 0 and v % 2 != 0: # aaaccc, ...
[ "szhmery@gmail.com" ]
szhmery@gmail.com
eadd064afcb20f96f92a1dd01fffdcfba42712a5
24dd3c272457110b2b51bb783715d1245afcd9ce
/eth_dev/infura.py
73181d7325cfb92aa1ccb3a2719e9daa434c82ab
[]
no_license
fubuloubu/eth-dev
81761da7942927a97830c426cccf650046e6db74
383e51bba0b4471ef1c7a5d6ee2d1ff6a0562f8a
refs/heads/master
2020-04-30T04:24:29.606074
2019-03-19T23:15:56
2019-03-19T23:15:56
176,610,133
2
0
null
null
null
null
UTF-8
Python
false
false
595
py
import os import sys from importlib import import_module def get_web3(network: str, project_id: str): # Infura websocket API requires Project ID token as of March 23rd print("Setting Infura Project ID to", project_id, file=sys.stderr) os.environ['WEB3_INFURA_PROJECT_ID'] = project_id # Dynamically lo...
[ "fubuloubu@gmail.com" ]
fubuloubu@gmail.com
4ddcc5e2081faa2bf1cfbed6af652a7d0dd75730
b343b3eb399eeee735ce4f7e12d3ecfbe31f2666
/regist.py
87e2605b244fce8b23925904897ffb2a13870611
[]
no_license
LiXinKing/python_timer
8ab091b86ecb27d7574e3ca44e3a7be767548868
954486f4ed7a655d57086fe76824106d8351102a
refs/heads/master
2020-06-13T00:26:04.832039
2016-12-13T16:02:49
2016-12-13T16:02:49
75,472,959
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from globalDef import g_relative_timer_regist_dict from globalDef import g_absolute_timer_regist_dict from globalDef import g_round_timer_regist_dict from event import * def regist_relative_timer(timer_name, timer_stamp, timer_func, func_para): g_relative_timer_regist_dict[timer_name] = (timer_stamp, timer_func, ...
[ "444989527@qq.com" ]
444989527@qq.com
ec75cbcec9ed9d1ce713094f1f6a425eda95710e
0724193d3ddd21a428aabbdd16d84e944cf082dc
/atsim/potentials/config/_pymath.py
fe8b6890e9de404638a1b2bbc908ed037be09a9a
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
fengnianzhuang/atsim-potentials
305b5aa33b9e7df7765abfda3a73d7f31241ba69
566020dc0d2df4b701b9c8cd00319a1c9461f56e
refs/heads/master
2023-06-15T21:05:00.608645
2021-05-20T19:00:22
2021-05-20T19:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
import math import sys def ceil(x): return math.ceil(x) def copysign(a,b): return math.copysign(a,b) def fabs(x): return math.fabs(x) def floor(x): return math.floor(x) def fmod(a,b): return math.fmod(a,b) def fsum(*args): return math.fsum(args) def ldexp(a,b): return math.ldexp(a,int(b)) def tru...
[ "m.rushton@imperial.ac.uk" ]
m.rushton@imperial.ac.uk
b28a6e9427e27b1ccb8fa350686110b8a21e74e3
68c4805ad01edd612fa714b1e0d210115e28bb7d
/venv/Lib/site-packages/numba/cuda/tests/cudapy/test_print.py
59513d127a2aebd9b1461428f48b504cac50b75b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Happy-Egg/redesigned-happiness
ac17a11aecc7459f4ebf0afd7d43de16fb37ae2c
08b705e3569f3daf31e44254ebd11dd8b4e6fbb3
refs/heads/master
2022-12-28T02:40:21.713456
2020-03-03T09:04:30
2020-03-03T09:04:30
204,904,444
2
1
Apache-2.0
2022-12-08T06:19:04
2019-08-28T10:18:05
Python
UTF-8
Python
false
false
1,919
py
from __future__ import print_function import numpy as np from numba import cuda from numba import unittest_support as unittest from numba.cuda.testing import captured_cuda_stdout, SerialMixin def cuhello(): i = cuda.grid(1) print(i, 999) print(-42) def printfloat(): i = cuda.grid(1) print(i, 2...
[ "yangyang4910709@163.com" ]
yangyang4910709@163.com
e4fbfcf43719e760b30a0d7f710d90c100782c5f
9926cb4c9b30739e1c735465414d6ceb021ece22
/accounts/migrations/0001_initial.py
e49cbaf2bdff3637b9a4af681bfbb07631ae0763
[ "MIT" ]
permissive
thetruefuss/thefacebook
401b31253f786fd485291dcba2498a3ddf182e9f
0ebbbe535679a2f8f96614398ef43c1396d7bacc
refs/heads/master
2023-07-23T19:27:38.815985
2018-07-04T23:54:08
2018-07-04T23:54:08
139,773,013
11
7
MIT
2023-07-17T04:58:38
2018-07-04T23:18:28
HTML
UTF-8
Python
false
false
4,966
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.12 on 2018-06-23 20:41 from __future__ import unicode_literals import accounts.managers import accounts.models from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(mig...
[ "alisheikh1114@gmail.com" ]
alisheikh1114@gmail.com
4ad18edeba3a472fa88ee13931a6c5ad42d6a3dc
d7779408c44502a0cb8da4e3923e1b68492b1610
/apps/organization/forms.py
ccfe66e97ba094e2b0233dc63e529b03fbcc07b3
[ "MIT" ]
permissive
codelieche/moocweb
5c4429d3ebee43452d42db63fdd364935e2d6eee
0e25efa597a79a38066ec41559334be604388f30
refs/heads/master
2021-01-13T11:49:08.444658
2017-02-26T16:36:08
2017-02-26T16:36:08
81,343,579
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
# _*_ coding:utf-8 _*_ import re from django import forms from operation.models import UserAsk class UserAskForm(forms.ModelForm): '''用户咨询Form''' class Meta: model = UserAsk fields = ['name', 'mobile', 'course_name'] def clean_mobil(self): ''' 验证手机号码是否合法 :return:...
[ "codelieche@gmail.com" ]
codelieche@gmail.com
bacb06400d052ba719278fc6b64451f272f98072
6100a1906b8199b164b2ebe866b7cba149dcf9db
/util/__init__.py
c09c5c20c48f33bb6e3abbe70c32b73ccf4d4023
[ "MIT" ]
permissive
LucasRibeiroRJBR/SQL_Console
bcfd3c54d448c01f380d6f688858ec7393a10790
511580b5e48b3ac9dc47d5f918426f9e2bfb52d8
refs/heads/main
2023-01-24T11:20:15.832921
2020-12-12T22:56:22
2020-12-12T22:56:22
320,940,013
0
0
null
null
null
null
UTF-8
Python
false
false
2,476
py
import mysql.connector mydb = mysql.connector.connect( host="localhost", user="root", password="", database="escola" ) cursor = mydb.cursor() def select(): while True: print('\n1- ID\n2- NACIONALIDADE\n3- IDIOMA\n4- CURSO TÉCNICO\n5- VOLTAR') op_select = input('\nFiltrar por -> ')...
[ "lucasribeirorjbr@gmail.com" ]
lucasribeirorjbr@gmail.com
8ef6afb127f1e1660480057972b67363ca5217de
b83bec9a4bfb7f9905f52cbe65e56b3cebaaac1d
/bikeshare.py
825f3bed9ffc2ecc7130854741edd6c383a3d76d
[]
no_license
saramckellop/pdsnd_github
f0fc13c15a3ac07f267560d39312d96619ffd9b4
0fa2a5580fe67ec4a9f390f858d78d59afaad484
refs/heads/master
2020-12-11T11:07:55.570068
2020-01-15T16:02:15
2020-01-15T16:02:15
233,831,972
0
0
null
2020-01-14T12:02:30
2020-01-14T12:02:30
null
UTF-8
Python
false
false
7,437
py
import time import pandas as pd import numpy as np CITY_DATA = { 'chicago': 'chicago.csv', 'new york city': 'new_york_city.csv', 'washington': 'washington.csv' } def get_filters(): """ Asks user to specify a city, month, and day to analyze, if invalid information is input an error ...
[ "saramckellop@gmail.com" ]
saramckellop@gmail.com
e298d1cd83cc89ad0620c397e0a13cede3f39494
cc23059aa361c4ab3ec7ef5d8ad10e521ded1da1
/thema16-spieltheorie/monty-hall.py
279db4f67d134555f2734a81b8768ce1bfc39c5e
[]
no_license
iblech/mathezirkel-kurs
747574d51a5b874526436bfd5cc03aa735760dc2
42537d975752999e1d77bcac9e04844b3c64e629
refs/heads/master
2023-01-20T13:35:17.414250
2022-12-22T16:21:39
2022-12-22T16:21:39
14,818,826
11
7
null
2022-10-19T08:59:50
2013-11-30T10:02:27
TeX
UTF-8
Python
false
false
1,297
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import division import random numDoors = 3 shouldSwitch = False numSimulations = 1000 numWins = 0 # Liste der Türen -- also insgesamt numDoors viele Zahlen doors = range(0,numDoors) for i in range(numSimulations): # Tür, hinter der si...
[ "iblech@web.de" ]
iblech@web.de
49bffe80d5dc1bd97ce084a22875362795285f16
a7e89bc0436f67e2160905e7d1becd681acc42c1
/manage.py
ea86dc2ce3543cb9faa1c82848b799de048a0cc7
[]
no_license
supermanfeng/shengxianproject
6cc718a99d17054a959af264aae88c02d75be10b
dba59227e918653c5e6b5d4dd892afc4477eccd1
refs/heads/master
2020-03-10T13:30:47.214241
2018-04-26T13:20:34
2018-04-26T13:20:34
129,401,909
1
0
null
2018-04-27T12:26:08
2018-04-13T12:52:08
JavaScript
UTF-8
Python
false
false
810
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "vueshengxian.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that...
[ "2252506855@qq.com" ]
2252506855@qq.com
83f5b76bf9b55dea682c92b0b6a41c45c844e9b9
3341f5d682b06b4a7ff8963c0f1b88d937fae3df
/setup.py
a7a6a8a907b1bad631daca56ff1cb24f08e2bed0
[]
no_license
jmrodrig/Alicat_control
83772700a7a9b2ca2045e0487aede28060bb2927
aced19313da0371b8e5ef6d509c2b4473f995dc4
refs/heads/master
2021-01-19T18:53:38.909786
2013-07-10T09:30:31
2013-07-10T09:30:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
from distutils.core import setup import py2exe setup(console=['start_alicat.py'])
[ "jose.neves.rodrigues@gmail.com" ]
jose.neves.rodrigues@gmail.com
75c788a648281903bff2bd13fe24752d7911f635
c0a536c29ffaf5583479afefd29b6c13068536da
/tic_tac.py
4a1b0276ad5fafb2c4025ae54c3e4a0211c8374a
[]
no_license
harishpolagani/tic_tac_toe_using_python_basic1
b6543685d0ca9f09579030ba36b8ae01b20e3cf6
be8b8df573ad4778cb16382474e8ceaa3b12bdf5
refs/heads/master
2020-03-18T02:10:26.876581
2018-05-20T19:13:01
2018-05-20T19:13:01
134,177,794
0
0
null
null
null
null
UTF-8
Python
false
false
8,768
py
import numpy as np import sys class Tick_Tac_Toe_class(): game_state_info = ["GAME_NOT_STARTED","GAME_STARTED","GAME_RESUMED","GAME_COMPLETED"] def __init__(self,game_square_matrix_shape=3): self.game_state = 0 #state_machine of Game current state: 0 - game not started 1 - game started 2 - game resu...
[ "harishpolagani@gmail.com" ]
harishpolagani@gmail.com
ee13fe72a65e189340348da65a80f1eee53e3cb6
90904785370340ed6b98c24d852ac9211c0960c5
/taskone/urls.py
576c9fee891d5b16c5e96f0a66f2cfaff639da20
[]
no_license
alhulail/task1
92b72df8998e917b3e53d5214bd2c0ce290fbcc4
df9bb908e8f60f2e3fb03b6be2e374d89e1940cf
refs/heads/master
2020-03-22T09:34:15.013407
2018-07-05T12:37:00
2018-07-05T12:37:00
139,846,012
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
"""taskone URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "hadeel@Hadeels-MacBook-Pro.local" ]
hadeel@Hadeels-MacBook-Pro.local
71f71829867a94e2a7dfe8ba5fd81f25492ed3a5
b011ff74ed9737b0a8ab6e043200adeacb0ed40e
/regression_x/gradient_linear.py
4ed7ea8002a4ba27726ec0b0a3abb573408ae26e
[]
no_license
lisz1012/linear_regression
d6836c10113972456f93bbc63e3d0cbca2e2c751
2f27bd35eafce30e8f26805c4e71bc2920375a56
refs/heads/master
2022-12-25T12:06:33.185605
2020-10-12T06:09:27
2020-10-12T06:09:27
303,294,173
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
#!/usr/bin/python # -*- coding: UTF-8 -*- import sys reload(sys) sys.setdefaultencoding('utf-8') import random def get_data(w,num): x=[ random.uniform(0,5) for i in range(0,num)] y=[ w*s for s in x] return zip(x,y) def train_step_pow(data,w,rate=0.03): g=sum([ (w*x-y)*x for [x,y] in data])/len(data) w=w-rate*g...
[ "lisz1012@163.com" ]
lisz1012@163.com
f91fe8efd301c91d87c7cc5119bec68f6456f407
05fb5c55ef7c7dde7e7709783fd71f141d3f4d37
/lesson1/clientMath.py
e5b1640adf2a1fc44d0602066ff1f7c7b66fa7e4
[]
no_license
binaryfun/Internet-Programming-Class
292ec0b8c591c9bbb9c4a604bd78a0a2246d0a36
5efda0bd6f3dfb03f22af3aaa6d0cf636d17e3ee
refs/heads/master
2021-01-23T07:20:42.811277
2011-03-08T04:29:29
2011-03-08T04:29:29
1,258,799
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#!/usr/bin/python # Echo client program import socket import sys if len(sys.argv) != 3: # the program name and the two arguments # stop the program and print an error message sys.exit("Must provide two positive numbers\n \ Example: %s 123 1213" % sys.argv[0] ) # Convert the two arguments from strings into numb...
[ "directorymanager@gmail.com" ]
directorymanager@gmail.com
313285dd7c238502f8bc4ba4af3bfb4143144e8a
159ab045e72fe1639d8bc7d4e34774bed85c1ea6
/python101_course_server_checker.py
d2e52e37f61fdf24f5f1257264807ae8e0d1bbf6
[]
no_license
Interligo/py101-server-checker
08408226ee0deb9ae42a53e4d1ec8fa56e439d68
c930f029cbbbce9f72d67d11b2c75723769e2c3f
refs/heads/main
2023-01-13T17:26:16.152492
2020-11-14T10:06:16
2020-11-14T10:06:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
import requests from logger_settings import logging def course_server_checker(): response = requests.get('https://python101.online') logging.info(f'response.url: {response.url}') logging.info(f'response.status_code: {response.status_code}') return response.ok
[ "noreply@github.com" ]
Interligo.noreply@github.com
f00d8d4e9c9bc00c3e059a357d9a41dce49b213b
7355a81397876c75a52da63eacd72f0e540b3fa2
/planner/apps/dashboard/forms.py
9b806e328467908aafe643d950b02ee153b1a57b
[]
no_license
reeson46/Planner
7fbf98a07e3637b7e9228728440e104cbe7a6717
261c30bb1796d3defa53b9bc39b67a8232fb101a
refs/heads/main
2023-08-11T07:34:40.352524
2021-09-14T22:27:25
2021-09-14T22:27:25
373,234,676
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
from django import forms from django.forms import ModelForm from .models import Board, Category class BoardForm(ModelForm): class Meta: model = Board fields = "__all__" def __init__(self, *args, **kwargs): super(BoardForm, self).__init__(*args, **kwargs) self.fields["name"]....
[ "luka.loncaric@gmail.com" ]
luka.loncaric@gmail.com
edf41798fa0e01ff97c9f048dd79ff4eb088c77a
a7d5fad9c31dc2678505e2dcd2166ac6b74b9dcc
/dlkit/authz_adapter/learning/managers.py
89a47c8f2c81a8efae575f3c791d4a82dc5e30e3
[ "MIT" ]
permissive
mitsei/dlkit
39d5fddbb8cc9a33e279036e11a3e7d4fa558f70
445f968a175d61c8d92c0f617a3c17dc1dc7c584
refs/heads/master
2022-07-27T02:09:24.664616
2018-04-18T19:38:17
2018-04-18T19:38:17
88,057,460
2
1
MIT
2022-07-06T19:24:50
2017-04-12T13:53:10
Python
UTF-8
Python
false
false
62,360
py
"""AuthZ Adapter implementations of learning managers.""" # pylint: disable=no-init # Numerous classes don't require __init__. # pylint: disable=too-many-public-methods # Number of methods are defined in specification # pylint: disable=too-many-ancestors # Inheritance defined in specification from . impor...
[ "cjshaw@mit.edu" ]
cjshaw@mit.edu
9d5286a5880894b85b64c677592c9c21f3670174
d4f6b2f0ff0300f7a5a2570280d1348fca5e48a2
/product/views.py
9132ff348b83ed580b987abbffd91e8f721c211f
[]
no_license
pixies/beraca.org
92f0671767d1e5a090613135a4808105f7db7b99
a71d932464399ae4bfccd8022588f51912c87894
refs/heads/master
2022-12-09T23:56:07.196093
2018-06-28T15:15:14
2018-06-28T15:15:14
137,068,948
0
0
null
2022-11-22T02:07:44
2018-06-12T12:32:53
CSS
UTF-8
Python
false
false
2,469
py
from django.db.models import Q from rest_framework import generics, mixins, permissions, response from accounts.permissions import IsClientOrAdmin, IsAdmin, IsManagerOrAdmin from .serializers import ProductSerializer, ProductSearchSerializer from .models import Product class ProductList(mixins.ListModelMixin, ...
[ "pixies@riseup.net" ]
pixies@riseup.net
9c9abfffb870fcf7a1f3784ecc5e2ecbc9ac49c4
8c248a2ca0a8939be7f5f9fc88e1ee1af0dfefd1
/com.systemincloud.examples.tasks.pythontask/src/test/py/tasks/data/DataInt32.py
82d86bf354d02fe9fa09b952ffa1c5e950b44f0c
[ "Apache-2.0" ]
permissive
systemincloud/sic-examples
e3971dbbd846285c9a517d27cb4a25f4be0a7771
b82d5d672f515b1deb5ddb35c5a93c003e03c030
refs/heads/master
2020-12-29T02:39:44.074782
2016-01-06T14:32:34
2016-01-06T14:32:34
16,419,696
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
from sicpythontask.PythonTaskInfo import PythonTaskInfo from sicpythontask.PythonTask import PythonTask from sicpythontask.InputPort import InputPort from sicpythontask.OutputPort import OutputPort from sicpythontask.data.Int32 import Int32 @PythonTaskInfo class DataInt32(PythonTask): def __init_ports__(self): ...
[ "marek.jagielski@gmail.com" ]
marek.jagielski@gmail.com
3b05ad30d907a8027648557e26ffae9634bd2c22
57c55954c4e7691a5bb7e58094ce8d68a90ac068
/GRC1/Library/nrnoble.py
da34894b3b31e0c8bb6a0b7063513d66629764f0
[]
no_license
nrnoble/masterdirectory
1dea7213220fac8b0bdfcf32bb45e4a645a1d0b5
5de73ee6d6945974083767c7bcbb650de08356de
refs/heads/master
2020-12-30T14:45:33.227000
2017-06-09T10:33:12
2017-06-09T10:33:12
91,083,957
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
import random, time, sys Colors =['Red', 'Green', 'Blue', 'White', 'Black', 'Yellow', 'Orange', 'Pink', 'Purple', 'Gold', 'Gray', 'Maroon'] Colors2 =['Red', 'Green', 'Blue', 'White', 'Yellow', 'Orange', 'Pink', 'Purple', 'Gold', 'Silver', 'Gray', 'Maroon'] def pause(win): #win.redraw() win.update() win....
[ "nrnoble@hotmail.com" ]
nrnoble@hotmail.com
9ab3889ed4bf1f930b6df7ed4a537cf575bc487d
04ee83c352281739c8b3f79f2503723449bdcc01
/venv/lib/python3.6/site-packages/pde/fields/vectorial.py
918afbde04329da497ddb5f206a1089019b5fd4f
[]
no_license
pretentious7/LTCURECA2020
5b7e88e3c2791fd1827a6a9ee5c0b72da9baf897
1654b1b89b93959c4e029c636cff170d0fdcb59b
refs/heads/master
2022-11-10T09:06:47.901715
2020-06-30T22:05:23
2020-06-30T22:05:23
267,156,708
0
0
null
null
null
null
UTF-8
Python
false
false
16,138
py
''' Defines a vectorial field over a grid .. codeauthor:: David Zwicker <david.zwicker@ds.mpg.de> ''' from typing import (Callable, Optional, Union, Any, Dict, List, Sequence, TYPE_CHECKING) import numpy as np import numba as nb from .base import DataFieldBase from .scalar import Scalar...
[ "abhicherath@gmail.com" ]
abhicherath@gmail.com
4f12b2cc59d6c1796f624bc5b10d8d35fa779390
22749c6a569661b2637233cc0aebdc1701033b26
/src/python/pants/backend/codegen/protobuf/python/python_protobuf_module_mapper_test.py
d1a882ed3ab9459719226cada03e3667f28f2afd
[ "Apache-2.0" ]
permissive
akk5597/pants
2eceb226c39b8ef7f603dfa96684b7522e1a9065
7ad295f71d2990eebbbe9c778bbf70f7d9e66584
refs/heads/main
2023-08-27T02:40:54.753545
2021-11-10T03:42:18
2021-11-10T03:42:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,124
py
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import pytest from pants.backend.codegen.protobuf.python import additional_fields, python_protobuf_module_mapper from pants.backend.codegen.protobuf.python.python_protobuf_module_mapper i...
[ "noreply@github.com" ]
akk5597.noreply@github.com
16559e513ed34f05a32fd05f3bb1afa075465a9f
ed111fd8e49676a07ef456602a57c61a6644c748
/models/pizza_toppings.py
60add0e50fc0684c141b4a9a267735f3a7524076
[]
no_license
Heidenmason/RabbitRanch
54290b4a85fa2119a02bc96676962c493eb4ec97
41b75584a3c1270145886954d04f8d18e3d877b7
refs/heads/master
2020-12-04T05:11:45.321732
2020-01-16T06:43:29
2020-01-16T06:43:29
231,626,892
0
0
null
2020-01-16T06:43:31
2020-01-03T16:41:52
Python
UTF-8
Python
false
false
686
py
class PizzaToppings: def __init__(self, pizza_topping_id, type_id, sauce, meat, cheese, veggies): self.__pizza_topping_id = pizza_topping_id self.__type_id = type_id self.__sauce = sauce self.__meat = meat self.__cheeses = cheese self.__veggies = veggies # g...
[ "heidenmason@gmail.com" ]
heidenmason@gmail.com
c8970539fdd5c192186f560b26c1f90428a84e38
6bd48af1413be83b021c5aa00c56d1e2a7e86d3b
/pii_recognition/pipelines/pii_validation_pipeline.py
5a5cd28868a79209ff5a74bcda5e91bc8224833a
[]
no_license
gabechu/pii_recognition
56ca28d29512f22a20982d53692f98c4c7a2ebea
501d94042f4469aa1797657bc7db32308d28b593
refs/heads/master
2021-02-21T19:45:37.105435
2020-11-26T07:06:42
2020-11-26T07:06:42
245,364,610
2
0
null
2020-11-26T07:06:43
2020-03-06T08:17:06
Python
UTF-8
Python
false
false
9,130
py
from typing import Dict, FrozenSet, List, Mapping, Optional, Set, Union from pakkr import Pipeline, returns from pii_recognition.data_readers.data import Data from pii_recognition.data_readers.presidio_fake_pii_reader import PresidioFakePiiReader from pii_recognition.evaluation.character_level_evaluation import ( ...
[ "noreply@github.com" ]
gabechu.noreply@github.com
823144a692b2926cab21554df910419d0eff5e50
0e7e690435972e74d96626bbe3e3355301059aee
/py/facerec/scripts/fisherfaces_example.py
f7c46cadf391a48801b14af40f2143e2091c8da2
[ "BSD-3-Clause" ]
permissive
phretor/facerec
53a9079a1f43b4dc2298c9de7694e13e649047ed
fcc631065eb8da9806c0904283f63116d4588741
refs/heads/master
2021-01-18T06:00:07.823424
2012-02-09T22:43:22
2012-02-09T22:43:22
3,402,120
1
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
from facerec.dataset import DataSet from facerec.feature import LBP,Fisherfaces from facerec.distance import EuclideanDistance, CosineDistance from facerec.classifier import NearestNeighbor from facerec.model import PredictableModel from facerec.validation import KFoldCrossValidation from facerec.visual import plot_eig...
[ "bytefish@gmx.de" ]
bytefish@gmx.de
5a8c329ae43244aced63ae8867c913d3c03e6fd4
096fb90533ac914bdefaa91c1bf835c9d8c0d08b
/q22.py
66b0e073cfacb1692433d2c652e29b557de5bf09
[]
no_license
hasilrahman/assignment1
32640e29c4ee04353a2c241dab205be674fd1cb7
d2e59e7213d61fc28361fd0d77020604739197c4
refs/heads/main
2023-03-05T09:00:35.647183
2021-02-15T04:49:09
2021-02-15T04:49:09
338,969,677
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
dic={"eng":50,"maths":33} dic["eng"]=60 dic["maths"]=80 print(dic)
[ "noreply@github.com" ]
hasilrahman.noreply@github.com
cc8cec707c2592a054a96cf064f412c9b86e713a
a4d955af89d12010963f775aa5688a6156714afa
/qlearningAgents.py
2cb6ec7ec33b8b44000fe11ee092e5550779de47
[]
no_license
mobbistcn/pacman
140d35b3681403cd9c49e66fdac39cb0eab0ae91
2ab695e803904c5417f663082d00bbc768613dd2
refs/heads/master
2021-01-17T23:41:45.039039
2017-03-07T18:47:34
2017-03-07T18:47:34
84,233,851
0
0
null
null
null
null
UTF-8
Python
false
false
7,299
py
# qlearningAgents.py # ------------------ # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.be...
[ "noreply@github.com" ]
mobbistcn.noreply@github.com
c5dbea9ccf836413ec434ef98dbb19109f8484fe
67acb19a994b72cd9f6d8f833f147d03dae8f86c
/index.py
b8a371da9417bbfd21955c55aa1de13c0df03611
[]
no_license
Mathewolakunle/cscfinal
039ca35fe489b5bb1614ab5ec99859278f495186
a057276dcc3cbdc75681affdb4666a4c4e20da13
refs/heads/main
2023-04-26T01:58:19.976855
2021-04-30T04:09:37
2021-04-30T04:09:37
363,012,452
0
0
null
null
null
null
UTF-8
Python
false
false
25,292
py
import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output import plotly.graph_objs as go import pandas as pd url_confirmed = 'time_series_covid19_confirmed_global.csv' url_deaths = 'time_series_covid19_deaths_global.csv' url_recovered = 'time_series_...
[ "mathew.alaba@coyotes.usd.edu" ]
mathew.alaba@coyotes.usd.edu
b0ed908027f0e57408b65f8aa5e9073396394613
e77e194dfee468b0ab8db6fc51af5ad45a0cb014
/whatstatts_v5.py
1a789db7f6a54c77c1dfaa85b36e92f39ffbd00e
[ "MIT" ]
permissive
ausathe/whatsapp-statistics
eafa560e832e38990bb49a8a3506707ed2266c00
8a3bf0b800765cb3f1310f138b8611bb7f9e573b
refs/heads/master
2020-03-22T10:02:51.756973
2018-07-05T17:28:45
2018-07-05T17:28:45
139,877,325
0
0
null
null
null
null
UTF-8
Python
false
false
19,992
py
import re, math, os from bokeh.plotting import figure, output_file, show from bokeh.layouts import gridplot, row, layout from bokeh.models import ColumnDataSource, ranges, LabelSet, Div, SingleIntervalTicker, LinearAxis from datetime import datetime, timedelta, date from dateutil.relativedelta import relativedelta cla...
[ "noreply@github.com" ]
ausathe.noreply@github.com
7b512c468b007c8b2f336f735e4eb125dfc4082e
a03eba726a432d8ef133f2dc55894ba85cdc4a08
/config/hostsconf/views.py
f6ec260509c9276a8b978a80bd4cf61bb22bcbaf
[ "MIT" ]
permissive
mansonul/events
2546c9cfe076eb59fbfdb7b4ec8bcd708817d59b
4f6ca37bc600dcba3f74400d299826882d53b7d2
refs/heads/master
2021-01-15T08:53:22.442929
2018-01-30T16:14:20
2018-01-30T16:14:20
99,572,230
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
from django.http import HttpResponseRedirect from django_hosts.resolvers import reverse as host_reverse def www_root_redirect(request, path=None): url_ = host_reverse("home", host='www') if path is not None: url_ = url_ + path return HttpResponseRedirect(host_reverse('home'))
[ "contact@dragosnicu.com" ]
contact@dragosnicu.com
67ff4516b957eac77cb2d9c3c3cdd7977bf99823
14480e08c80c17abf8d436d600e44461d826c2f5
/app/status/urls.py
abce2eae987c491cc7cba1e72e78094c7c49edd9
[]
no_license
baidang201/mycat_backend
9fece7632794a10c35541ef32cdef21a2084b7ee
bac18b960d648143afc1704fc79aec4069e4e8e0
refs/heads/master
2020-03-20T04:25:09.137888
2018-06-09T13:10:57
2018-06-09T13:10:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
from flask import Blueprint import app.status.controller as ctrl status = Blueprint('status', __name__) status.add_url_rule('/token/<user>', view_func=ctrl.token, methods=['GET']) status.add_url_rule('/point/<user>', view_func=ctrl.point, methods=['GET'])
[ "psy2848048@gmail.com" ]
psy2848048@gmail.com
0d3897723c75c8c6541b18a612fb5a3fdc091199
5a4fe2ad0023743291cda1ea8749f07c8a5984bc
/nagiosunity/commands/battery.py
9013308a6345414feb2390eec8566146b30c212c
[ "Apache-2.0" ]
permissive
dan-and/nagios-unity
5686b6abf96b3bd2c9c48d5acd865cc89e40c1f1
3df800d22a48f875e1afdafd945bf4b245e8703b
refs/heads/master
2021-05-08T23:16:22.804951
2017-12-01T10:15:22
2017-12-01T10:15:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,822
py
# coding=utf-8 # Copyright (c) 2017 Dell Inc. or its subsidiaries. # 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 #...
[ "peter.wang13@emc.com" ]
peter.wang13@emc.com
b3198f33c305f528c35c7946bf193d81970e7867
0ee21652c5d4b41be13c8db871261ab48e5f6878
/test/functional/p2p_feefilter.py
a7d3235a8c8e69bd5d4acb4d3efeeb4aad3128b3
[ "MIT" ]
permissive
The-Bitcoin-Phantom/The-bitcoin-Phantom
60f4a8f85e1a5235dc40b84b7c04bcd0e846c52d
c914b51924932f07026eb6ba057c6e375e4dcdac
refs/heads/master
2020-08-25T06:46:47.745015
2019-10-23T05:59:27
2019-10-23T05:59:27
216,977,357
0
1
null
null
null
null
UTF-8
Python
false
false
4,092
py
#!/usr/bin/env python3 # Copyright (c) 2016-2019 The bitphantom Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test processing of feefilter messages.""" from decimal import Decimal import time from test_framew...
[ "dinesh@xiornis.com" ]
dinesh@xiornis.com
769a920462f74093deebe33e6db9ca5f4ce57734
bc6e2056500afdd5d11a28a613d6d73f5dd05447
/moneycash/produccion/admin.py
28741262c044e84e45e8db2088d83ef264941422
[]
no_license
xangcastle/respaldo
d0540fabc089f947f052019431d55a9c3c85f131
48c5f53b2a2bce0bfa79b1fcc657aa40268e702b
refs/heads/master
2021-01-10T01:52:48.102689
2015-12-16T15:42:02
2015-12-16T15:42:02
48,118,925
0
0
null
null
null
null
UTF-8
Python
false
false
6,700
py
from django.contrib import admin from .models import * from moneycash.entidad import entidad_admin from moneycash.documento import documento_admin from django.template.context import RequestContext from django.shortcuts import render_to_response class contadores_tabular(admin.TabularInline): model = equipo_period...
[ "cesarabel@johnmay.com.ni" ]
cesarabel@johnmay.com.ni
6ffb802354785ccf06e1e714cbc18922392c69de
3d1f2c12c95b81fd5129a5f13f9b4f35eff50d37
/Tkinter_Chatbot.py
a1779142813832dbe1ba955d3e23a1b73b31bab2
[]
no_license
AdityaKansal/Machine-Learning-Experiments
0126a937a4581b70611f2ecd9d78e570296a15c2
e0844bc3707257d2547d13189edf3ec6ffd54fec
refs/heads/master
2020-03-21T10:32:34.814542
2018-11-01T08:18:42
2018-11-01T08:18:42
138,456,734
0
0
null
null
null
null
UTF-8
Python
false
false
2,329
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 28 11:45:17 2018 @author: akansal2 """ from chatterbot import ChatBot import tkinter as tk try: import ttk as ttk import ScrolledText except ImportError: import tkinter.ttk as ttk import tkinter.scrolledtext as ScrolledText import time ...
[ "noreply@github.com" ]
AdityaKansal.noreply@github.com
90e783ea257a3f30cbf5ecd45264e3e1bfb0f5e5
dc221edce0ad617aac3b9ad8f4f347ff84f56bf9
/.history/client_20200807180109.py
54c6da2132910d7f0425fdabfa0c1da205eccabc
[]
no_license
zlm05170/cacontroller
310014c83ecf130643230eba87990e635fe1575f
e76d2eb5d58d6adfe7823e0dcd0059027c52b6bc
refs/heads/master
2022-12-21T08:05:58.315017
2020-09-23T11:45:07
2020-09-23T11:45:07
284,527,141
1
0
null
null
null
null
UTF-8
Python
false
false
4,720
py
import asyncio import websockets import time import json import traceback def view_actor_data(actor, port_type, port_name): pass def get_port_value_by_name(port_list, name): for port in port_list: if port['port']['name'] == name: return port['value'] def find_port_index_by_name(actor, por...
[ "angelxx05170@gmail.com" ]
angelxx05170@gmail.com
1476a08e4cc839c82fff0b0b997018ff4664d677
3ff20e2271e422806f78d13bb64b813e3817eb43
/app.py
de2b32950dfab0c188e42b94c41090ebf4be63b3
[]
no_license
daniel2346/Endpoints_Python_Finkargo
1a4b2ffdd92858d3a8a121aed00e2c5b091a763e
ddef132c8c289068ecbb1fe31dedcfd1c9c608a6
refs/heads/main
2023-07-16T08:57:49.052337
2021-09-06T12:53:20
2021-09-06T12:53:20
403,467,335
0
0
null
null
null
null
UTF-8
Python
false
false
6,528
py
from flask import Flask, jsonify, request, make_response import mysql.connector from mysql.connector import errorcode from flask_httpauth import HTTPBasicAuth import MySQLdb from flask_sqlalchemy import SQLAlchemy import re import collections import json USER_DATA ={ "admin":"root" } app = Flask(__n...
[ "noreply@github.com" ]
daniel2346.noreply@github.com
2383da4f3157b6df7d4081cad9ec8c16e5a45b8b
123fe9cac97e52845416745ec2f0888f40a2a644
/setup.py
6a4e1b7fa10a76b3357a870258c07113d9429c7e
[]
no_license
kevlened/SQLementary
49ed78bc5b7fbfb12aae462833755baf16b52324
7f5430a2ace8269cda8bbc3496690ecbe5055a2e
refs/heads/master
2016-09-09T18:22:10.304382
2013-04-01T23:10:23
2013-04-01T23:10:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
import sys import os from cx_Freeze import setup, Executable # Loops through a directory, grabbing relative file path names def files_in_dir(directory_name): f = [] for (dirpath, dirname, filenames) in os.walk(directory_name): for filename in filenames: relpath = os.path.join(dirpath, f...
[ "boyettel@gmail.com" ]
boyettel@gmail.com
47c4e431686bd9948b48577adbf24aab230585ff
0ee8ea963a8fa0aa9951696682ffdaa29e26745c
/back-end/apps/products/apiGraphQl/schema.py
dbb6e5d7e16fb6fc57c9a4e8c92f3bf49855ad8e
[]
no_license
acorrea-B/KarlaCommerce
ddfdabb74eb4d5f9f5e5a96cedc368477c6a18e7
f180fcf58c49a1bfce60ed6bcbefb8902c42c268
refs/heads/main
2023-07-08T02:01:51.901763
2021-08-08T03:40:04
2021-08-08T03:40:04
390,139,070
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
import graphene from .nodes import ProductNode from ..models import Product class ProductQuery(graphene.ObjectType): list_products = graphene.List( ProductNode ) def resolve_list_products(root, info, **kwargs): """ Este resolve retorna el listado de productos del commerci...
[ "aljyque95@gmail.com" ]
aljyque95@gmail.com
5bbb829967936246b03da49dbe2c58f523568660
6959d1dec46a490ac1469e21c68506157efea0ee
/Pandora/apps.py
02ebc2445ba9bb709fd38d97417e67ff5d5ceeb7
[]
no_license
andyshu6/Nuclear
305f589a7d81cd90f7f19c3b28cb50d5d7867af3
88c68e50dc7506f495120313536e3cfa48329e8f
refs/heads/master
2020-03-08T18:29:33.430204
2018-07-11T16:27:18
2018-07-11T16:27:18
107,992,969
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class PandoraConfig(AppConfig): name = 'Pandora'
[ "john@sample.com" ]
john@sample.com
f2e88da8862e71c22ad12aa32a41af1c3f6d44ae
11398711ca0ec8e5e699a9a87d79ad1fea6a1bf3
/venv/bin/easy_install
4d374412ec4b07f4397fda5ecc845193c05bf97b
[]
no_license
ThatGuyNamedTim/CapitalOneAirbnb
d86e62f359343af157d1bb484919aa6bab7d118e
507e6ab6277ea3097a28fc56a5483c1a0ada7f89
refs/heads/master
2018-12-23T05:04:10.941995
2018-10-10T12:55:27
2018-10-10T12:55:27
109,745,663
3
0
null
null
null
null
UTF-8
Python
false
false
270
#!/home/tim/Documents/CapitalOneAirbnb/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())
[ "tim@arch.umd.edu" ]
tim@arch.umd.edu
2dfc3c9e0e90b30322d87f19a0f5e8464b0abd70
b952929285c4f518d260bf6c9f70ab19ee9de9e0
/q2e3/tests/test_chaining.py
1716896114cf874aeda8a5088abd8e9d54a9b23e
[]
no_license
vitalwarley/ia1
f5b31bcaaff7df6da1fe21964e0f00df8c2e717d
d4ae1243c97c31f97b57caba42951da2dae17f7f
refs/heads/master
2021-09-15T16:42:40.187162
2018-06-07T02:20:43
2018-06-07T02:20:43
126,322,382
0
1
null
null
null
null
UTF-8
Python
false
false
3,095
py
import unittest from ia1.q2e3.inference.chaining import ChainingStrategy from ia1.q2e3.inference.rules import Rule from ia1.q2e3.inference.utils import RulesUtils class ChainingStrategyTest(unittest.TestCase): def test_01_backward(self): RulesUtils.get_rules_from_file('../rules_base') goal = 'gr...
[ "wvb@ic.ufal.br" ]
wvb@ic.ufal.br
762c5f01dc26bf85b36b2cda337b1e05fd67f44e
22f96e07b22e3ca89ee757badd1f35ed9efcc034
/docs/conf.py
d4b5fe98e2c13e6412c9c4feeec2f5eaf200fdf8
[ "MIT" ]
permissive
Duc98f/MangAdventure
83e341ecbdb6592c947f77e32848346dcc23e861
fe69c850f6adce1d9a8755e5aa63db358a6084f6
refs/heads/master
2023-06-09T23:08:25.595545
2021-06-13T10:55:16
2021-06-13T11:16:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,077
py
# -- Setup Django -- from os import environ as env from os.path import dirname, join from sys import path path.insert(0, dirname(dirname(__file__))) path.insert(1, join(dirname(__file__), '_ext')) env['DJANGO_SETTINGS_MODULE'] = 'MangAdventure.tests.settings' __import__('django').setup() # -- Project information --...
[ "chronobserver@disroot.org" ]
chronobserver@disroot.org
43de55f5e7ff24beb62ff9ef00a46e24edd4bae1
b384480f7e3fd81ab7d1ab743581c91a0e786f75
/dplib/dp_mechanisms.py
69a0b9721eba5dec524652d1f4c718de31f1aa31
[]
no_license
kamathakshay/dp-deep-learning
6f653a5d18f8f380d850ab707a1a9c65babfc39a
6d652a7a86964e23d0837b14c1b350f7b6c27752
refs/heads/master
2022-11-01T04:23:23.894232
2018-12-05T01:21:13
2018-12-05T01:21:13
154,505,334
0
1
null
2022-10-09T19:39:55
2018-10-24T13:23:19
Python
UTF-8
Python
false
false
3,557
py
from __future__ import division import tensorflow as tf from per_example_gradients import PerExampleGradients def clipped_gradients(loss, params, clipbound = None, epsilon = None, delta = None) : xs = [tf.convert_to_tensor(x) for x in var_list] px_grads = per_example_gradients.PerExampleGradients(loss, xs) s...
[ "kamath.akshay@gmail.com" ]
kamath.akshay@gmail.com
d2a2148478a07f208203d379d258d6deca8f63ff
a250ca3a58c5b6b5f4e463496cb40e6e48619c01
/code/model.py
98d5a7d46a1d92d1c4aa6bf64842658f3e677082
[]
no_license
pmk2109/Patently
6105d4037a5c752d2abecb843893b45986643692
98ad39721a68989933dbb15784d53664fd0bbd6f
refs/heads/master
2021-01-24T17:34:39.355188
2016-09-06T18:21:31
2016-09-06T18:21:31
63,189,382
1
0
null
null
null
null
UTF-8
Python
false
false
4,336
py
import pandas as pd import numpy as np import string import sys from sklearn.feature_extraction.text import TfidfVectorizer from nltk.stem.snowball import SnowballStemmer from sklearn.metrics.pairwise import linear_kernel import cPickle as pickle import time import msgpack def load_data(path=None): ''' DOCSTRI...
[ "pmk2109@gmail.com" ]
pmk2109@gmail.com
5eaa14e11dd89e64149ecac16a37c91c7920acbb
b9429fed4685c6eacb9e2965384a64274e4e7003
/community_detection/profiling_operators/cohesion/set_cohesion.py
a72fe4bb7345d26beeb42cbf12f12320130a3822
[]
no_license
JoGreen/twitterProfiling
904141f053bd71f77ac9df1e9d42213c00c895f0
f6a49ee6d6cece73b852d1640b0c6f9214a3f522
refs/heads/master
2022-12-09T03:36:57.900332
2018-02-27T19:36:39
2018-02-27T19:36:39
108,031,079
0
0
null
null
null
null
UTF-8
Python
false
false
3,045
py
from itertools import combinations from community_detection.profiling_operators.similarity import jaccard from community_detection.profiling_operators.means import geometric_mean def compute_cohesion(users): pass def retweet_cohesion(): pass def topic_cohesion(): pass def profiles_cohesion(profiles)...
[ "giorgiomaria@live.it" ]
giorgiomaria@live.it
6bf0e432bf6a9ac21ec7bfa42a25fbbf1ac73a1b
d965666c0bcae4290d4189b5f539696651b23fd8
/venv/lib/python2.7/site-packages/pyshark/capture/capture.py
5f759f289bf529559d905b039c75128d2e691b1b
[]
no_license
anditangguhf/Skripsi-Deteksi-DGA
5de556959f72ed837da1f9c43cbcda8a5e3f479f
81ce1f13a0679d969375c24c3a7116d63587b956
refs/heads/master
2022-12-03T04:59:05.843833
2020-08-12T04:59:08
2020-08-12T04:59:08
254,344,741
0
0
null
null
null
null
UTF-8
Python
false
false
19,145
py
from __future__ import unicode_literals import os import threading import logbook import sys import trollius as asyncio from logbook import StreamHandler from trollius import From, subprocess, Return from trollius.executor import TimeoutError from trollius.py33_exceptions import ProcessLookupError from pyshark.tshar...
[ "anditangguhf@gmail.com" ]
anditangguhf@gmail.com
6641e64590f5d5a87376b0da7dd60cb4abca9df8
381c0c5080ca97ffa2ef2fafea236c723869e1cd
/0_Python_scripts/10.1_T_codon_enrichment.py
7a5695fa98bba4046cf0150b953e4a0577cad8ab
[]
no_license
ath32/ASCs
051d60510c4ed09d986f5cd30eddad66a573b5d3
33b0ee4df0cab2f0e2a6d06a32fd7231fb5799a2
refs/heads/master
2020-04-22T15:31:53.858680
2019-08-12T11:55:37
2019-08-12T11:55:37
170,480,341
1
0
null
null
null
null
UTF-8
Python
false
false
5,686
py
### IMPORTS ### import os import csv import numpy as np ### CHOOSE SOURCE FOLDER (EMBL) ### source = '2_FASTA_Eubacteria_cds_TT11' #source = '2_HEGs_fasta' #source = '2_LEGs_fasta' #source = '2_FASTA_Eubacteria_cds_TT11_TAA' #source = '2_FASTA_Eubacteria_cds_TT11_TGA' #source = '2_FASTA_Eubacteria_cds_TT11_TAG' ###...
[ "noreply@github.com" ]
ath32.noreply@github.com
927abca95b4c49ca979cdcfe7c8e51381094bb8f
7c48279b15dc98c0620834ad6a40a86e4ba9ee59
/projects/Casino.py
8da2bc719951963ddc75c73ec5b3962903848acb
[]
no_license
loganwyas/oasisdigital
b7942d62d8ea501b8a822b562562365340107ed1
5faf392ce7570be06a0e224b914c90ae1094b74d
refs/heads/master
2023-01-23T14:31:35.762923
2020-03-24T15:49:00
2020-03-24T15:49:00
220,025,283
0
0
null
2023-01-07T16:19:07
2019-11-06T15:11:48
JavaScript
UTF-8
Python
false
false
18,296
py
# -*- coding: utf-8 -*- # Logan W. and Zayn A. import random import time import sys cards = [2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K', 'A'] chips = 1000 wheels = [] dollars = 0 slots = ['-', '-', '-', '=', '=', '=', '≡', '≡', '≡', 'ꭥ', 'ꭥ', '♥', '♥', '$', '7'] originalbet = 0 def ATM(): global chips global do...
[ "loganw9999@gmail.com" ]
loganw9999@gmail.com
43f27c1adc4b1af940ae9d90439fd9baa7553be4
cefbd23ef2b043517299534b9dc1c75907cf233a
/bameditor/deal_mut/dealHaplotype.py
507d9f6720cbc140551bfd0c68c1503447f21034
[ "MIT" ]
permissive
fangshuangsang/BamEditor
ee27b40d02e52519fce354ec9c603a6502173932
5702c3bcfd1e93139096432c7bd537a50852cdca
refs/heads/master
2020-03-26T22:59:48.343459
2018-08-21T09:41:54
2018-08-21T09:41:54
145,502,186
0
0
null
null
null
null
UTF-8
Python
false
false
11,123
py
from bameditor.deal_mut.readEditor import editRead from bameditor.common.methods import count_coverage, getReadStrand, find_mate from bameditor.common.bamconvert import remap from bameditor.common.bamobject import Read from collections import OrderedDict import random import pysam from multiprocessing import Poo...
[ "fangshuangsang@gene.ac" ]
fangshuangsang@gene.ac
1672c0561222f541e78f07447bb4d5b574ce8122
ab1b3afffbdd05b8b9da6fe5204a4dd6e0d2b873
/123.py
a23f96d5963e952a8dfd7d7c9cde31ae5affc47f
[]
no_license
fkgogo123/CIFAR10
5f6b4cffa2539d6cd8e1b09e8e7bbcd9b825d086
9c4c6b73c91d3da0b6f714442a539c662f8bdc77
refs/heads/master
2022-12-30T23:59:34.815589
2020-10-15T06:14:57
2020-10-15T06:14:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
import torch x = torch.rand(3, 32, 32) print(x.size()) print(x.size(0)) a = torch.randint(1, 10, [5]) b = torch.randint(2, 11, [5]) print(a) print(b) c = torch.eq(a, b).float().sum().item() print(type(c)) # print(c.item())
[ "1982614192@qq.com" ]
1982614192@qq.com
0f7eff054630379b7d3bb9aad4e78e03d1842976
eff453a069766e0913cd7cc211a5a9de1ab65535
/django_todo/settings.py
a06e4d0cf59925e03a79126ef10348fb0c52350b
[]
no_license
saffiya/ci-fullstackframerworks-django
63ff4fbaa485f667f798c7d06b9fafc3f4418bbd
75be29377e2a4a5210fade4f87b4aa5fb3ce1bfd
refs/heads/master
2023-08-11T21:47:49.983276
2020-11-09T19:08:04
2020-11-09T19:08:04
302,541,654
0
0
null
2021-09-22T19:38:09
2020-10-09T05:28:50
HTML
UTF-8
Python
false
false
3,411
py
""" Django settings for django_todo project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pat...
[ "saffiyax@icloud.com" ]
saffiyax@icloud.com
f3a43ef0015900475f2c2da760ba827c2fe933df
923f1c7bd149d37c23c5b2f067baab3f5b95a4cf
/setup.py
309502c9f88be647a041ae202762971497a89441
[ "BSD-2-Clause" ]
permissive
Lokeshburade007/python-mammoth
7467d08ad906e932fbdba720557ee5fd8d862c28
f8eb2e1214b7ef1749f2cf73a91b09c9f3adf6a8
refs/heads/master
2023-08-21T00:35:06.783844
2021-10-12T18:52:31
2021-10-12T18:52:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
#!/usr/bin/env python import os import sys from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='mammoth', version='1.4.17', description='Convert Word documents from docx to simple and clean HTML and Markdown', long_descript...
[ "mike@zwobble.org" ]
mike@zwobble.org
9be1a3be6e0bda3711aa96d5d4d568c1c09b73c8
68a110fc825decc06d1102d381febebdbbf0f88f
/test.py
a4b26638f4fa516dac8718c3e76cb1af4634a9d1
[]
no_license
tracefinder/TestServRepo
15e90c8343c5bcbaac8781a374b10ed98f5204d6
62c2d1f1f16ad1b3e490957fadd3a5130c6e2b75
refs/heads/master
2021-01-22T18:23:07.432458
2012-08-19T14:03:51
2012-08-19T14:03:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
"""Test server.py.""" import hashlib import json import requests import sys import threading import time import tserver import unittest class TestServer(unittest.TestCase): """Test class.""" def setUp(self): """Start the server in new thread.""" if not tserver.DEBUG: print "Debug mode is turned off. Set t...
[ "tracefinder@gmail.com" ]
tracefinder@gmail.com
9883545bfdc6f01d8752f12f5121a3bab3b56b21
908cb47174dbc50091c315e6ca90e4746b716c6e
/apps/base_user/forms.py
bc20e2d186893363e56edb8b7a3d5911ff377daa
[]
no_license
azer1999/markatekstil
b4d24b26e531f46022bb2f1e953118fe51b9a379
e84c4efd95a97c1f97a772b195f9de6efe10ab4f
refs/heads/master
2023-06-16T06:09:02.511193
2021-07-15T12:47:01
2021-07-15T12:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,631
py
from django import forms from django.contrib.auth import get_user_model from django.forms import ModelForm from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.forms import ReadOnlyPasswordHashField, AuthenticationForm from django.contrib.auth import authenticate from PIL import Image # ge...
[ "elxjd.2014@gmail.com" ]
elxjd.2014@gmail.com