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
67b7b7a581432c24467cb13ba5592243b368a35c
3440568c00911d344320dea436766731870f6040
/manage.py
10d01e00e1b3f7f79ec21576867096759fad9e9a
[]
no_license
cthtuf/django_tags_filters
21173deda866a39e2c35012555129186a02a8589
8c322c058c4f30d0d974d166a3835048b16b6c2b
refs/heads/master
2020-12-30T16:42:21.516030
2017-05-11T19:38:05
2017-05-11T19:38:05
91,016,553
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_tags_filters.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensu...
[ "sergey.yarlov@gmail.com" ]
sergey.yarlov@gmail.com
7a70e37bd90d04a63f4cea13bc3e08d087329089
eb233a6b92272551c2cde6a6224309a1a0e4aa5d
/hw2.py
676123ef5539690fc9725f8bd18d71d297b5eccf
[]
no_license
Shaffness/MOOC
3166a2c0ba117cf37620ef619090ba063a5e6a64
6f96fd3f271c0289e0fea8416a64d895aa6227cb
refs/heads/master
2021-01-22T18:23:30.087781
2013-01-23T05:47:10
2013-01-23T05:47:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,283
py
# Name: # Section: # hw2.py import math import random ##### Template for Homework 2, exercises 2.0 - 2.5 ###### # ********** Exercise 2.0 ********** #def f1(x): #print x + 1 #def f2(x): #return x + 1 # ********** Exercise 2.1 ********** # Define your function here ##### YOUR CODE HERE ##### # Test C...
[ "shaffness@gmail.com" ]
shaffness@gmail.com
1be1ec307c50e6ef52656b9e3538ccc058c592ac
4b10079ac910236407197036ea62424acda78e67
/src/functional/integrate.py
fe756dfdd77b7cfe7bcbac9ecf0a1eb5001b2bfa
[]
no_license
ApproximateIdentity/toric-geometry
00ad1f48d4d7397693fb278c6d404c100cfe91f3
96fb692f452fac77f847f38a7996840316185aa7
refs/heads/master
2016-09-05T18:35:11.080874
2013-10-15T18:49:44
2013-10-15T18:58:45
8,103,445
1
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
import numpy as np """ Module for performing one-dimensional integration of functions over lines in the plane and two-dimensional integration of functions over triangles in the plane. """ def integrate_over_line(function, point1, point2, weight): """ Integrate function on line connecting point1 and point2 in ...
[ "tomnyberg@gmail.com" ]
tomnyberg@gmail.com
eb8fe070e3a867286b5d2e21e6c47c4732356667
fc9f76219a24aa42ab1956b2a694c8fb9598d7fb
/aggregator/__main__.py
df640e64d2d3478c1d123fb1cfc12d2b793771d1
[]
no_license
ddddanil/Twitter-aggregator
1268346858fdd71b8ebcc8a79cb8213d72c5a696
32b89a8f2938646f4ab0cb54fe8372d62013940b
refs/heads/master
2020-03-23T02:16:15.751448
2018-11-11T10:59:24
2018-11-11T10:59:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
import aggregator if __name__ == '__main__': aggregator.run()
[ "ddddanil5555@gmail.com" ]
ddddanil5555@gmail.com
c7c18f75fb3bc71f446c84bfd819daa8ed450b6c
b8f567dec1e4ea7d1a0a0f13ee69da54fbc92007
/Becirspahic_Vu_Projet_3I003/projet.py
bfa25358a5fa2b814ed0a881770fd07c8af6f0ca
[]
no_license
lucas-becirspahic/Projet-3I003
ab6d7a19dca1f5fcae96ec47abb8fea640167f4c
14cf15619e3e7ae331ea6906e51ac054b03046c7
refs/heads/master
2022-11-05T19:17:11.341266
2016-11-29T10:23:57
2016-11-29T10:23:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,694
py
import numpy as np import os import time def lire_sequence(fichier): #Prend un fichier de sequence et retournes les informations dans une liste os.chdir('test') f = open(fichier,'r') sequence = f.read() L = sequence.splitlines() L2 = [] L2.append(int(L[0])-1) L2.append(int(L...
[ "lucas.becirspahic@gmail.com" ]
lucas.becirspahic@gmail.com
5458c00abefc90c5e86e96c23e85ec44f42d4888
275e6b72725f7b1ba2ea4044576e910aa762a90b
/fairy_admin/consts.py
33d8d8b8b95bdb51069529790913c09383312781
[ "MIT" ]
permissive
lvqier/fairy-admin
8cb48e06d3ee07be016619f5747e3d7948cb2d1a
50e3d0b2ddcfbd6411280b538f46b57895a5d4f8
refs/heads/master
2022-12-28T14:57:56.231926
2020-10-19T04:41:34
2020-10-19T04:41:34
269,516,756
2
0
null
null
null
null
UTF-8
Python
false
false
27
py
ICON_TYPE_LAYUI = 'layui'
[ "lvqier@gmail.com" ]
lvqier@gmail.com
f1e11c6efcccffbc11034b491fdeffdbfae345e7
766a464418cd0c20c7145bb915b0b3ac4d25eef2
/assignment1/q4_sentiment.py
b9545cc98f8fe829b08a83abe3d8c118c660e739
[ "MIT" ]
permissive
hsuehkuan-lu/CS224n
87df6e9423c0a642d4e0ccabe1a09d7d8ed77e9c
3a2656a2beec90351dd30892bb93a4ced3e317d3
refs/heads/master
2021-06-22T21:01:17.545829
2017-08-30T07:04:37
2017-08-30T07:04:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,383
py
#!/usr/bin/env python import argparse import numpy as np import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt import itertools from utils.treebank import StanfordSentiment import utils.glove as glove from q3_sgd import load_saved_params, sgd # We will use sklearn here because it will run faster t...
[ "s810142000@gmail.com" ]
s810142000@gmail.com
4d46883388743ad40c6cb0b94e13697d43c2e85e
1917390edbf52de085904807db123db43d3e33fe
/src/UIPyPoke_V1.py
672cdb492bac1b2099d8a8e73a55c1c78d94fb2b
[]
no_license
pypokeepsi/pypokeEPSI
2118c3a9867320bdb966063461d3dd019784dcd2
da3249d224588fc17f1a211d6d5de700e995387c
refs/heads/master
2020-12-31T08:34:20.720406
2020-02-07T21:17:17
2020-02-07T21:17:17
238,954,474
0
0
null
null
null
null
UTF-8
Python
false
false
6,910
py
# -*- coding: utf-8 -*- # pip install pygame # pip install requests # pip install Pillow import pygame # Import de Pygame from pygame.locals import * # Import des constante de Pygame from PlayerBean import * from BusinessObject import * from DecorBean import * from constants import * from BoardBean import *...
[ "pokepy.epsi@gmail.com" ]
pokepy.epsi@gmail.com
4bb8b0780a5201a1980cb69452c8b8f2c61da459
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetcodePythonProject_with_solution/leetcode_0251_0300/LeetCode267_PalindromePermutationII.py
7eb884ace9316c39ff70b0dccc72912b26e0fe52
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,300
py
''' Created on Mar 4, 2017 @author: MT ''' c_ Solution(o.. ___ generatePalindromes s """ :type s: str :rtype: List[str] """ __ n.. s: r.. F.. hashmap # dict ___ c __ s: hashmap[c] hashmap.g.. c, 0)+1 odd 0 oddVal '' __...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
5ae54bf51ca435aa198dba38e25276c4a9d0187b
6db774426c625318ca6c9e8476d5580acb657406
/Server/DistanceCalculus.py
8a40ea8fad99d893c4c23edb0992f63fae16ffda
[ "MIT" ]
permissive
JohnQ00/Redes-de-Computadores-2020.E
effdf805dde57f6d8efa5badd22dc2af530219b6
485c627d7b9b5ddf7c020994d0b92fb4e002d592
refs/heads/main
2023-02-25T15:35:24.003140
2021-01-26T23:31:11
2021-01-26T23:31:11
325,644,045
2
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
import math import CommandContentAnalysis LATITUDE = 0 LONGITUDE = 1 pointLocation = [] userLocation = [] def computeDistanceBtwTwoPoints(commandContentFromClient): deattachCoordinatesFromCommand(commandContentFromClient) R = 6371e+03 a1 = float(userLocation[LATITUDE]) * 0.01745 a2 = f...
[ "jddcp@ic.ufal.br" ]
jddcp@ic.ufal.br
dbde107f0330c69a833f6db2ef1e5dbda25ea6fd
8cd4244afbfcdfaed02f94a7cd387b9e2a1b8e99
/plot_dataset_distribution.py
846c398a1ac80791b3f7141ebb81298845328946
[]
no_license
Jumabek/darknet_scripts
7c67519ec547c5de93989d7c07a3380991c8677b
e8779c99d3975e90181fdfa58096f9333625103c
refs/heads/master
2023-08-17T06:43:11.811856
2023-08-09T08:32:08
2023-08-09T08:32:08
88,107,367
232
101
null
null
null
null
UTF-8
Python
false
false
2,651
py
import argparse import sys import matplotlib.pyplot as plt import re def main(argv): parser = argparse.ArgumentParser() parser.add_argument( "log_file", help = "Log file" ) parser.add_argument( "begin_iter", type=int, help = "begin iteration of the selction" ...
[ "jumabek4044@gmail.com" ]
jumabek4044@gmail.com
4e0b179d63994ebafad9f799301fab6966b8fb41
582f3987622fff91fe230fe21388391332f6c2c1
/CS410_corpus_analysis/urls.py
eb452a106e7d8534122065e262cc79862192dbe8
[]
no_license
liuxingzhi/410_corpus_analysis
531fe536a2f390c19f84a2a2c934f4b4f69af151
7e4ee42462f395d304930bff6c170c4a52732e33
refs/heads/master
2020-04-30T03:41:17.256200
2019-03-19T20:50:18
2019-03-19T20:50:18
176,593,081
1
0
null
null
null
null
UTF-8
Python
false
false
763
py
"""CS410_corpus_analysis URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home...
[ "liuxingzhi99@gmail.com" ]
liuxingzhi99@gmail.com
4e526ea0462fc0d261dfadf31ab4d6c4f15d22fd
91b2e6f8958116f63b59f8eef36792e4980f3b64
/public/views.py
728dd99ffe42e1eac6d6a8dbb529968a29d4cf4d
[]
no_license
GFDRR/togo-hydromet
1c9843c92413c83cd87c8185d5206bd826e2ae49
23ffc71062af77140a10082ea17d8a15ff29cba7
refs/heads/master
2020-12-05T07:41:06.582212
2016-10-02T01:18:24
2016-10-02T01:18:24
66,287,775
0
0
null
null
null
null
UTF-8
Python
false
false
1,843
py
from django.shortcuts import render from base.models import Limite from hydromet.models import Observation, TypeObservation import datetime # Create your views here. def home(request): return render(request, "public/index.html", {'menu_active':'accueil'}) def faq(request): return render(request, "public/faq...
[ "jbjeanniton@gmail.com" ]
jbjeanniton@gmail.com
bad1e29c37412683dd58365eafcbcd74b4880f6c
409bf7ecc4867cd05397910a352eec40d1f7c5cc
/webapp/views.py
58bfad3512e2bed2ac0bba8e262b401cf74b1a7f
[]
no_license
neerakara/flowmri_anomaly_detection
562243b80ca3279cce7ab87cc266d8d7eb7fb50d
b8f73e4fc26c0ccb5c6986293d8156866da6afed
refs/heads/master
2023-02-24T08:57:27.215318
2021-01-21T12:58:22
2021-01-21T12:58:22
331,095,617
1
2
null
null
null
null
UTF-8
Python
false
false
13,374
py
# ================================================================================= # ============== GENERAL PACKAGE IMPORTS ========================================== # ================================================================================= import streamlit as st import numpy as np from matplotlib import py...
[ "nkarani@bmicdl05.ee.ethz.ch" ]
nkarani@bmicdl05.ee.ethz.ch
fd684d4c84c6c3984eb1a685f35188b2f7a3ddab
8198dd21a5fb2ca0717c013b52b29f8c82ba23b6
/companies/migrations/0021_planettrade.py
2ac30341c3194cb192a8422c414fb1d6da018aae
[]
no_license
Code-Institute-Submissions/Project3GI
3f3ecdaeb3ceaca1addf9e2a5739d0bbf870b554
841d94b45bf12c5ef709b5283218e261cecbdfa3
refs/heads/master
2021-05-06T11:31:12.896386
2017-12-14T16:24:04
2017-12-14T16:24:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-29 22:54 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('elements', '0004_remove_element_state'), ('planets'...
[ "kaiforward123@gmail.com" ]
kaiforward123@gmail.com
fef7075450aca2c04944bb00ee40accebf37dd37
8614075dcfe31c1d0713fdb18c113ec809d7f94a
/src/pillow_Ex3.py
29ff74123ba1c88f4af020b5e05357e9912c5a6a
[]
no_license
WK-Hanelso/OpenCV_Python_Study
c09c29e8dbed0e40353759b501584aeb0a2836e9
998bc8fc4fff9e919b915d496e9704c26d50df2a
refs/heads/main
2023-01-06T04:58:50.961387
2020-11-08T13:14:22
2020-11-08T13:14:22
309,922,664
0
1
null
null
null
null
UTF-8
Python
false
false
361
py
import cv2 import os from matplotlib import pyplot as plt import numpy as np from PIL import Image path = "../data/lena.jpg" if os.path.isfile( path ) == False: print("no File : {}".format( path ) ) else: im = Image.open( path ) # 512 x 512 ==> (100, 100 ) 부터 ( 350, 350 )까지 자르겠다. img2 = im.crop( ( 100, 100, ...
[ "WK.Hanelso@gmail.com" ]
WK.Hanelso@gmail.com
8c4806347acb72ef523f3175c888be5acca9cb89
171eac414ecb009625589c458dbcc781357ec6ac
/src/tf_lookup.py
12b70f433e2525d00a3b8d85e26d128edad3eb40
[]
no_license
ArdooTala/MRAC_II
5c1097d7298d7c5a35e35ac1f1f1ca1df874ad89
98217e8c9c3faefdf1d1121527faba0a02c25446
refs/heads/master
2020-04-30T17:48:51.697030
2019-03-25T12:18:49
2019-03-25T12:18:49
176,990,988
0
0
null
null
null
null
UTF-8
Python
false
false
1,405
py
#!/usr/bin/env python import rospy import math import tf import geometry_msgs.msg from my_pcl_tutorial.srv import lookup_transform, lookup_transformResponse def publish_transform(req): resp = geometry_msgs.msg.Transform() global trans, rot if not trans or not rot: resp.translation.x = 0 ...
[ "ardeshir.talaei@iaac.net" ]
ardeshir.talaei@iaac.net
6bc0af0da81e1a2cd64e3d4481d534efd803e07f
5e6d2fc17546a6a82cedbcce3907cfd3436b9c78
/model_view/carla09interface.py
7558570439fcaa3472ff8486a290682206b7f457
[ "MIT" ]
permissive
mvpcom/coiltraine
f93caf84c49257942864fc84467ea8a65bf5115f
e292a7a6fcd7e7eaa07db97abb8dfc0bb2fe01d4
refs/heads/master
2020-05-04T17:39:26.886672
2019-04-01T19:29:53
2019-04-01T19:29:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,586
py
#!/usr/bin/env python # Copyright (c) 2018 Intel Labs. # authors: German Ros (german.ros@intel.com) # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ Example of automatic vehicle control from client side. """ from __future__ import print_fu...
[ "felipe.alcm@gmail.com" ]
felipe.alcm@gmail.com
e1e8cf45de30ac4330949a7e0c546429ddf05100
65d7b57c143471ce45e9d8c2c95cca8060524ae9
/tests/ast/utils.py
111680086434fa8e2f0129774914fafaf835b10f
[]
no_license
Feuermurmel/insatiable
14fcbfdcef17f8646cadd68074828deef605b292
bb2cecf5e0339711fa3ed15e6e146a2a8038a23e
refs/heads/master
2021-04-09T02:23:05.759106
2020-04-02T06:45:30
2020-04-02T06:45:57
248,829,204
0
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
import io import textwrap from insatiable.ast import insat_module_from_string, solve_program """ Piece of code which is prepended to source strings executed using a `Runner` instance. """ _default_preamble = textwrap.dedent( """ from insatiable import invariant """) class Runner: def __init__(self...
[ "michi.schwarz@gmail.com" ]
michi.schwarz@gmail.com
b0dbf5e42e638b6fb59b0f3090f4b951b9b0cf4c
dc1003ed0cb7e87ffff7c4f4f8f3b102f14b37d2
/lcm-types/python/rpc_data_t.py
b73b552eb6e1f0744510ebba90f1cc633bd1e07c
[ "MIT" ]
permissive
slovak194/cheetah-software-change
4cd67376fd9d5952e6916189cb6704f12456b79f
e33ada2dc1ba6638ba82cd2801169883b6e27ef2
refs/heads/master
2022-12-08T11:32:18.443177
2020-09-07T11:43:48
2020-09-07T11:43:48
295,845,799
23
7
MIT
2020-09-15T20:48:22
2020-09-15T20:48:21
null
UTF-8
Python
false
false
3,158
py
"""LCM type definitions This file automatically generated by lcm. DO NOT MODIFY BY HAND!!!! """ try: import cStringIO.StringIO as BytesIO except ImportError: from io import BytesIO import struct class rpc_data_t(object): __slots__ = ["cpu_opt_time_microseconds", "t_sent", "time_start", "dt_pred", "x_opt",...
[ "18813176186@163.com" ]
18813176186@163.com
925473a9a77e6b67dae81f28bf969444a8707a84
9b26a68cc9eae57c57bfa4956a0c51eb43886b20
/src/100example/计算.py
a6c8be7f4a53fcc79c723ca8d4b71899551c3095
[]
no_license
0helloword/pytest
c2189e107e32deb7de28a33898f27ea5d827696a
5e502d5517789969bc8d54c74811f7a0abc9826c
refs/heads/master
2022-02-20T11:43:16.864081
2019-09-28T09:22:00
2019-09-28T09:22:00
108,489,436
0
1
null
null
null
null
UTF-8
Python
false
false
497
py
# -*-coding:UTF-8 -*- # 编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n def fn1(n): sum=0.5 for i in range(2,n-1): sum+=1.0/(2*i) return sum def fn2(n): sum=1.0 for i in range(2,n): sum+=1.0/(2*i-1) return sum if __name__=='__main__'...
[ "lily@qq.com" ]
lily@qq.com
86d265bada8bcb529827848cfa3c51061cb27a86
7fe8b4beaaadf5e0a25cd24d24cc65cdff0cfd5f
/settings_database.py
3eebd03fff1d962afc0134487b4f26e405f878a8
[]
no_license
Autographic/ECAce-Social-Network-Django-Project
045d2f286771bb9f1c8ac58ec807f727ead84ae7
fbedb67a5668236616f1336ee6a5c3d113cced1f
refs/heads/master
2020-04-22T17:35:52.394800
2010-10-11T01:14:23
2010-10-11T01:14:23
939,337
6
7
null
null
null
null
UTF-8
Python
false
false
1,128
py
# On deployment servers, compile this into .pyc bytecode and then delete this file from the server. DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'django_ecace', # Or path to database file if using sqlite3. 'USER': 'Django', ...
[ "murray@autographic.ca" ]
murray@autographic.ca
dde296e68061bf793ebae88e8e5ce397eb1d48f3
1ca44966a970f5508db0b9bb2139d526ec38375c
/myvenv/Scripts/django-admin.py
3b72ccad6b0e3522a5ab0038e3cc5fb7b476e611
[]
no_license
Sylwiawroclaw/my-first-blog
5ece66ff5991937afac2ea3599c3ae958006e476
57747607922565e10e092e55ef935baa18f2b382
refs/heads/master
2021-03-16T05:32:33.865143
2017-09-17T13:06:59
2017-09-17T13:06:59
103,750,669
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
#!c:\users\syl\djangogirls\myvenv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "s.kaczynska@gmail.com" ]
s.kaczynska@gmail.com
c6c4c60ce230296cb5f32158bb469529260d7ab9
27adc658d25f802836ec687890a9a42e48a0b008
/test/test_socket.py
931a3a946c439fb3611fe791f67b3b9a4aed8ff0
[ "MIT" ]
permissive
amreyesp/ProgrammingExercises
3ae9aaedf4414e016441c7df448a35c6c4b6703d
30e2e90f6215f7e894049c68a20c4c52c9e810f2
refs/heads/master
2020-05-21T11:46:40.735917
2019-08-17T00:20:15
2019-08-17T00:20:15
186,038,752
0
1
MIT
2019-08-17T00:20:16
2019-05-10T18:45:43
Python
UTF-8
Python
false
false
1,479
py
import unittest # Can't use from... import directly since the file is into another folder import os, sys from os.path import dirname, join, abspath sys.path.insert(0, abspath(join(dirname(__file__), '..'))) from warmup.sockMerchant import Sockbag class TestSockMerchant(unittest.TestCase): def setUp(self): ...
[ "amreyesp@unal.edu.co" ]
amreyesp@unal.edu.co
adb3ccb55823e4829114f3cc68e591f19e2a578c
4f27972c79164d14189af5590ef12a942dc272f4
/django-chat/bin/easy_install-3.7
61b850a2f36c04775a85de50da01afeb0d073439
[]
no_license
pranavchandran/Twilio-chat-app-Django
f6794ec070ff5ba26d2954f2a7b6e755beb4871d
f4bf80169da1736dcc623bec863571750b5b645a
refs/heads/master
2022-04-23T15:39:46.676364
2020-04-26T06:25:49
2020-04-26T06:25:49
258,872,112
0
0
null
null
null
null
UTF-8
Python
false
false
259
7
#!/root/Twilio_chat_app/django-chat/bin/python3 # -*- 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())
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8781240496b75cfa9949ab3821b09c2373247f49
474f0b113874eaba98ff1d3b9d261785fd1bcf20
/input.py
6e44619d4f4f34b9a19e71825c8f8e9a8655e732
[]
no_license
Jhade-12/Algoritmos
c67babd0f732698f2ecedef017818a8239dd835d
1c3efe4694ddbb2322dd5143b0bb8c6a6a3d5a0c
refs/heads/master
2022-11-30T17:52:26.396770
2020-08-04T21:48:21
2020-08-04T21:48:21
285,107,207
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 19 12:19:08 2020 @author: Carolina Chacha """ nombre=input("Ingrese su nombre:") print("Hola"+nombre+"!") edad=input("Ingrese su edad:") print("Usted es mayor de edad")
[ "noreply@github.com" ]
Jhade-12.noreply@github.com
a022eb5e489e2a4530153056338f2cfdf0beadc3
d65905c77db5a343510ecddd3ddbe2f486eb3712
/frist/venv/Scripts/easy_install-script.py
b2540c3b9139063dd10a636059446791e42a1ae4
[]
no_license
zihang-sir/Python-learning
8080169ca7faa4ace34ab748ea3e6b8b89f075ed
abccca325c052a7f971009f0dc115a5b84fde7c9
refs/heads/master
2022-07-18T18:19:29.159020
2020-05-17T02:23:39
2020-05-17T02:23:39
264,566,189
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
#!D:\PycharmProjects\frist\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', s...
[ "2590238508@qq.com" ]
2590238508@qq.com
33e2c1876ce638d0c36466c9a6b797df753c1728
db78f2d86f9b95185f69b2005f427de83cde027f
/rllib/algorithms/ddppo/ddppo.py
3d44ddf3aa78a3a6a3ed2d18fdb993b805db0820
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
stjordanis/ray
7fb2a6ae3e9972667e11d087631fed10206243b2
251903bc49b5a29a8185e0fa58d67c64fe2fc076
refs/heads/master
2022-10-20T11:30:06.433849
2022-10-07T00:04:30
2022-10-07T00:04:30
155,250,718
0
1
Apache-2.0
2018-10-29T17:11:48
2018-10-29T17:11:47
null
UTF-8
Python
false
false
15,340
py
""" Decentralized Distributed PPO (DD-PPO) ====================================== Unlike APPO or PPO, learning is no longer done centralized in the trainer process. Instead, gradients are computed remotely on each rollout worker and all-reduced to sync them at each mini-batch. This allows each worker's GPU to be used ...
[ "noreply@github.com" ]
stjordanis.noreply@github.com
e1bc49ed85e5bb0cfc5af63b951e49303440825c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_fabric.py
7724162fb73cb9d18ee8f4fa556a8f9a6d142792
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
#calss header class _FABRIC(): def __init__(self,): self.name = "FABRIC" self.definitions = [u'cloth or material for making clothes, covering furniture, etc.: ', u'the structure or parts of something: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'noun...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
99d65d9cae37388c18afdd60c0043432afd51ae8
190e3f19e9efdc3cfb740f06890f0c81338d4a00
/django_rest_framework_jwt_service/authapi/urls.py
047b517f3b6bd94036b818887f5a9a9e43f345f1
[]
no_license
dwasinge/python-examples
cea98c1a7ce1aeea897e0974a05dcd40c1b5a761
7de432e1a16148816e17e326e792cce0d7b778a8
refs/heads/master
2022-06-12T11:36:34.735616
2019-05-17T18:01:43
2019-05-17T18:01:43
183,306,692
0
0
null
2022-05-25T02:55:37
2019-04-24T21:05:03
Python
UTF-8
Python
false
false
458
py
from django.contrib import admin from django.urls import path from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView, TokenVerifyView urlpatterns = [ path('admin/', admin.site.urls), path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'), path('api/token/refre...
[ "derekwasinger@gmail.com" ]
derekwasinger@gmail.com
b8c31002ff29918333d1ad986361cbcccf5157d3
5ef6fef4fa3303ae7cf86cb51a360cd2e138eed8
/djosid/owais/urls.py
0b5033f8f32e18f95ead2bad16480ff43b41cd87
[]
no_license
oaws/traces
30f17588e248df92d69be76fe0ea3fda5039e8f7
7af31755bfa9533cee680dfdafdeba86d0761a5b
refs/heads/master
2021-01-10T05:51:46.596511
2016-03-09T10:34:50
2016-03-09T10:34:50
50,479,244
2
0
null
null
null
null
UTF-8
Python
false
false
271
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^tapi/$', views.tapi, name='tapi'), url(r'^sentiment/$', views.sentiment, name='sentiment'), url(r'^twsent/$', views.twsent, name='twsent'), ]
[ "o1siddiq@eng.ucsd.edu" ]
o1siddiq@eng.ucsd.edu
344b543d065d99cd99b9ac0f752a692af6918893
f8a2c68b11ae957fc050d433ffb5f9416f544412
/workforce/models.py
6add94c22893d0871e7ec52c079c632c6582efb4
[]
no_license
Pratyush-Ranjan/Revival-workforce
e3ba109d2a9866693f1f2130b1fccaba470991ef
7d734f19b1899eb8a180bc0ad4daab874189c0c3
refs/heads/master
2022-09-09T15:00:46.899698
2020-06-01T13:56:34
2020-06-01T13:56:34
267,110,715
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
from django.db import models from phonenumber_field.modelfields import PhoneNumberField from django.core.validators import RegexValidator from django.contrib.auth.models import User # Create your models here. class Worker(models.Model): created_by = models.ForeignKey(User, on_delete=models.CASCADE) Firstname ...
[ "pratyushr1102@gmail.com" ]
pratyushr1102@gmail.com
1b7da6e7b93dbe36cab0158bdf70fbf5995a188e
0b4a1a820f041b5815f8ccf6c7af4aa852defa18
/Assignment3_Hiroyuki_Takechi_v3_2.py
fee9fa76a5edf9da8a5055c81c715dc19b10b6ff
[]
no_license
HiroTestStudent/FoundationsAlgorithm
a1d06981c7a1c1f9552ab33c8318b63a44b70645
2b46552e12baa0fb3e6592c3295afb88f43a5ac1
refs/heads/main
2023-04-07T03:08:51.584168
2017-09-02T23:27:55
2017-09-02T23:27:55
98,485,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
def RPN(list): operator = { '+': (lambda x, y: x + y), '-': (lambda x, y: x - y), '*': (lambda x, y: x * y), '/': (lambda x, y: float(x) / y), '^': (lambda x, y: x**y) } #lambda function is same as def func()...return... stack = [] print("Reverse polish...
[ "noreply@github.com" ]
HiroTestStudent.noreply@github.com
1da6961ea61a17733f3abc317ecfe02a0884f86d
e8ce105158f31fca90f4780c99d2f6d173bb6fc8
/logitech/python/print_gamepad_events.py
6861680da557634eb4bbc2120836c954b9b3b671
[]
no_license
altdillon/gamepads
64bb4d5346ab2b7558e3d09c6d84bac69069074e
8a4d2530cf114d3d1f9d146e7b239a1bbdccf6ff
refs/heads/master
2020-03-25T02:51:41.076535
2018-08-30T19:39:40
2018-08-30T19:39:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
import evdev devices = [evdev.InputDevice(fn) for fn in evdev.list_devices()] for device in devices: print(device.fn, device.name, device.phys) if device.name == 'Logitech Gamepad F710' or device.name == 'Logitech Gamepad F310': gamePad = evdev.InputDevice(device.fn) break print("\nPrinting gamepad ev...
[ "willydlw@comcast.net" ]
willydlw@comcast.net
e060829d5eeceae6fbda8687a15f0c4cef8dfed9
48e5c0d6d0f0f7df541320dfa292c6cdbd0c95ef
/face/reinforcement.py
c09f3343f8853396e560fe1d4206e7d3cd2f545f
[]
no_license
1036225283/python
9f9d5ba4c7aab64775b2441f7e85bd5ade7d1857
bb3e0afab316fe66a06910d9d6e34e7589ec8849
refs/heads/master
2021-06-20T13:07:15.970486
2021-02-20T16:53:32
2021-02-20T16:53:32
182,051,139
0
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
import argparse import gym import numpy as np from itertools import count import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.distributions import Categorical parser = argparse.ArgumentParser(description="PyTorch REINFORCE example") parser.add_argument( "--ga...
[ "id512@126.com" ]
id512@126.com
17956f8a76b27625ae9c59cc168ae9465b2c8132
7aac3a94a2c89d5308c91f128b61b15dc151c1c5
/transaction/migrations/0004_auto_20190610_1206.py
cf67bc81b01c34a9feb92d44c0c27299ccfee9de
[]
no_license
le91081/ntub-bank
5bcab6da8c4baf7da0669fb1cb6e59521cba82f6
837920f39fefaf73b6c465545b69ef8b50d0f84e
refs/heads/master
2022-01-20T23:09:19.204609
2019-07-11T03:13:15
2019-07-11T03:13:15
192,041,850
0
0
null
null
null
null
UTF-8
Python
false
false
2,347
py
# Generated by Django 2.1.5 on 2019-06-10 04:06 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('transaction', '0003_auto_20190306_0921'), ] operations = [ migrations.AddField( model_name='transa...
[ "le91081@gmail.com" ]
le91081@gmail.com
7f7a6f9c7742a5194e1742b4cc7b1027ba18f376
190d4a07ad5fb63f41d5e4f4109f2bebc1cac42b
/deliveryProject/urls.py
2b0a41aced44d3511a8575ac169799cb52815cd3
[]
no_license
free-elephant/lotte_delivery
e609f9c04628fa209657832608544491b08b53d7
895362e2004e11466f12aea24e253823ce5ce1bd
refs/heads/main
2023-01-07T15:33:53.148603
2020-11-11T16:41:08
2020-11-11T16:41:08
302,403,544
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
"""deliveryProject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "dmsql8811@likelion.org" ]
dmsql8811@likelion.org
aac295e682fa65a2b929d9c6ba03b1a1214edb86
3f30e20234a3ee9859e33151ffe133976acbed84
/bouncing.py
4ab9d00ac28846e550d2d147ccb318606055fe2d
[]
no_license
moren126/Cannibara_pygame
da106212e716d41811bf5c239e18ae0962500448
8e6c3a8a4a161c5205df0f23429cdc215483c018
refs/heads/master
2021-09-12T08:11:29.037375
2018-04-15T12:17:34
2018-04-15T12:17:34
58,326,882
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
import math class Bouncing: def getBounceAmount(currentBounce, bounceRate, bounceHeight): return int(math.sin( (math.pi / float(bounceRate)) * currentBounce ) * bounceHeight)
[ "moren126@gmail.com" ]
moren126@gmail.com
08dd16a04d522d79231d7e110566c6d21e0c04cf
85f05e8b8ed2423cb27e4629cd8234ccd8fed863
/CNN articles/analysisCNNpt3.py
8065b0677d22b16611b73b7df8f42abf3ad4a441
[]
no_license
tcphw5/cnnDataAnalysis
68697662e06b9665219c458816f4e408dbbebb4c
815bc46050c5ab4c80fd50f9a65c06439ca119e9
refs/heads/master
2021-01-22T03:22:24.014464
2017-03-14T02:45:03
2017-03-14T02:45:03
81,117,214
0
0
null
null
null
null
UTF-8
Python
false
false
7,145
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ analysis of CNN articles pt3 creates data matrix using feature word counts for each article. performs euclidean, cosine, and jaccard similarity comparisons for all pairs and outputs results for each in 4 different files (two different jaccard methods) Created on Fri...
[ "tcphw5@mst.edu" ]
tcphw5@mst.edu
b3ae1b3571fb6cc24db89a01cebc3991e5fb44b6
1f3e98e3bb36765f869ca3177a47c53ce302ec70
/test/output/015.py
8ceac4155dabef3ee37859068674f763078552a8
[ "MIT" ]
permissive
EliRibble/pyfmt
d73dec1061e93a28ad738139edf523e1678d0e19
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
refs/heads/master
2020-04-01T10:57:18.521463
2019-05-24T21:39:18
2019-05-24T21:39:18
153,139,803
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
def main(): "This is my main function with a docstring" print("hello, world")
[ "eli@authentise.com" ]
eli@authentise.com
8d5009ce816763e3bb1af0d327dd020dd585b8fd
69ecadf9fbf54e179e394bf6456d19d2935b537c
/BlogSite/emp_data/accounts/views.py
25a4e1c58f973c5414cc4125473348b4c91cbc6a
[]
no_license
yogeshwar852/Blog_site
37e485bcebd5a8b4622cbe7a44a3a944238bf2e3
da775c6efb5e79dfeba2b57cf824f97016a79e6a
refs/heads/master
2022-07-28T13:49:49.189450
2020-05-23T14:16:39
2020-05-23T14:16:39
266,348,892
1
0
null
null
null
null
UTF-8
Python
false
false
5,402
py
from django.shortcuts import render, redirect from django.http import HttpResponse from .forms import LoginForm, RegisterForm, OrderForm, blog_form from django.contrib.auth import authenticate, login, logout, get_user_model from django.contrib.auth.decorators import login_required from django.views import View from .mo...
[ "yogeshwar2345@gmail.com" ]
yogeshwar2345@gmail.com
2acbcec4c838117b3673c02356e48d8b82519f5d
50cf81f17eb4421f19ea2e612c7577466428038f
/tictactoe_v3_game_object.py
068e3f33ece28cacf6d291613fc3c6e9a3db12b9
[]
no_license
alexjh/pycon-2017-immutable-programming
eb0dd9639f1e6d825601d8356830083f89c18bc0
57e9f031450bae4ee867fc554de52d909c5bcc0f
refs/heads/master
2020-03-28T14:34:11.495909
2017-05-19T17:54:05
2017-05-19T17:54:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,028
py
import sys from enum import Enum class Player(Enum): X = "X" O = "O" NA = " " def next_player(self): next_players = { self.X: self.O, self.O: self.X, } return next_players[self] # STORAGE-START class Board(): def __init__(self): self.board...
[ "cale@edx.org" ]
cale@edx.org
6b1582e43a0deb05b2488ae4cf00d720bb4d14db
4110d4e839a62c3f1fe366388414503f3ca4b29a
/runQMC.py
b943b075083cffac0a21175164d55a5ba69942fe
[]
no_license
liangjj/QMC2
87ba921ad77a22ce49e251ab869c0b7e85bbdbc7
e087ceb4f593ad80d5549fe4edb0dd3094bdc485
refs/heads/master
2021-01-18T13:32:09.125405
2013-05-15T18:33:57
2013-05-15T18:33:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,554
py
# -*- coding: utf-8 -*- """ Created on Fri Oct 5 16:29:12 2012 @author: jorgehog """ import sys, os, re, shutil, subprocess from os.path import join as pjoin from pyLibQMC import paths, misc, add_date, parseCML try: from PySide.QtCore import * from PySide.QtGui import * except: print "Unable to detect ...
[ "jorgen_da_mad@hotmail.com" ]
jorgen_da_mad@hotmail.com
f2cf5f4311deba44ee8cfe36eca086116bc332be
52a4d282f6ecaf3e68d798798099d2286a9daa4f
/old3/numbo2.py
44be6e199b6400b033adb0b337e04f795d2eafd8
[ "MIT" ]
permissive
bkovitz/FARGish
f0d1c05f5caf9901f520c8665d35780502b67dcc
3dbf99d44a6e43ae4d9bba32272e0d618ee4aa21
refs/heads/master
2023-07-10T15:20:57.479172
2023-06-25T19:06:33
2023-06-25T19:06:33
124,162,924
5
1
null
null
null
null
UTF-8
Python
false
false
14,803
py
# numbo2.py -- Run this to run Numbo from numble import Numble, prompt_for_numble from PortGraph import PortGraph, NodeAndValue, pg, pn, Node, Tag, CouldMake from numbonodes import * from watcher import Watcher, Response, TagWith, TagWith2 from exc import * from util import nice_object_repr, reseed from log import Sho...
[ "bkovitz@indiana.edu" ]
bkovitz@indiana.edu
7d4f4600a6217e261d11d61bdabc4372a99121fa
3e756ba509ffa34883b630367dff30cdaaf3c700
/bids/_version.py
f0dec58ba03cd8378469c991fdd1f4fb659b7283
[ "MIT" ]
permissive
KirstieJane/pybids
f762dace46dfd77e4c11db41f4fb629481c040b4
4d4115311bf4d7042bfef23007b8e8a33972d88e
refs/heads/master
2020-03-25T16:30:37.297450
2018-08-15T20:56:12
2018-08-15T20:56:12
143,933,959
0
0
MIT
2018-08-15T20:55:46
2018-08-07T22:42:18
Python
UTF-8
Python
false
false
18,441
py
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains t...
[ "markiewicz@stanford.edu" ]
markiewicz@stanford.edu
8517999511ddf1f87947460d42422daea1e63a88
4cb026529c45d2cf89a4fd0733aab7a29b878ae9
/manage.py
991a2d6937d5a0a4a651f8937bce9534bd9fa764
[]
no_license
rgrace-nucloudglobal/django-tut2
e85ca761885d1bda8d671a749c0186bb6c23a285
d202a1a96515a05c71161d66a628c9d0d8edf9a5
refs/heads/master
2021-01-23T02:28:54.483683
2015-04-10T15:13:11
2015-04-10T15:13:11
32,018,175
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_tut2_1.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "rgrace@nucloudglobal.com" ]
rgrace@nucloudglobal.com
60c68aaa67711e136db4e6036109a3b57ca6c9ec
f8919adf9409bacd9c93ca81d68515b84af499bf
/kutotike/forum/forms.py
09d0b0fa5f7b57c28912e5bd7f3756bf2cf0e7fb
[ "MIT" ]
permissive
SeavantUUz/Kutoto
34c7ecd5a4969b2f4ddf124aa4ce9091b1660257
cb52fdb5901a1a7ab4be3554a244b01ae55aeac7
refs/heads/master
2021-01-20T11:25:22.401971
2013-09-04T17:57:48
2013-09-04T17:57:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,941
py
#coding:utf-8 from django import forms from models import Topic,Post class PostForm(forms.ModelForm): content = forms.CharField(label=u'内容',widget = forms.Textarea(attrs={'cols':'95','rows':'14'})) subject = forms.CharField(label=u'主题',widget = forms.TextInput(attrs={'size':'80'})) class Meta: # u...
[ "axdiaoqi220@gmail.com" ]
axdiaoqi220@gmail.com
d57c4e83d2fd851d24d18360d749398d515aa031
faa1eb1b0ae7f948dd2c01ac7adb6888f969535e
/stackoverflow/dist.py
a2ad8a54cf0fed965ca4e0e24e248d8d2d86252b
[]
no_license
NivethaSukumar/2IMP25Assigment2
bc46379f0d0cb1d10c8174942e904d45fe381ef9
9c9a1684e679e8161d3662abbec33c050bf0cff5
refs/heads/master
2021-01-19T04:05:12.026834
2016-04-01T21:30:04
2016-04-01T21:30:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
import sys import numpy as np import matplotlib.mlab as mlab import matplotlib.pyplot as plt scores = {-1:[], 0:[], 1:[]} favorites = {-1:[], 0:[], 1:[]} viewcounts = {-1:[], 0:[], 1:[]} responsetimes = {-1:[], 0:[], 1:[]} with open(sys.argv[1]) as f: f.readline() # skip header #out = { # -1: open(sys.argv[2]+"ngt...
[ "huibdonkers@aol.com" ]
huibdonkers@aol.com
a2b4951fe78637842457fb4ddfb7d1c77db204c6
0fffc52bd4914aec937223ac609ad85ee3528f5b
/b.py
9d887de214e9f207b42cf909bbb1e195e0de4340
[]
no_license
xiaogaogaoxiao/Dual-MINE-based-Neural-Secure-Communications-under-Wiretap-Channel
a3b94d1508091b1f33c57e67634a5d420109ccfa
bc71429dde0d41602558f422a5fce842d0d2e6df
refs/heads/main
2023-02-02T13:18:12.472732
2020-12-15T09:08:33
2020-12-15T09:08:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,277
py
# -*- coding: utf-8 -*- # %%在web_wiretap上改成一个个mine,尝试实现44.pdf import numpy as np % matplotlib inline import matplotlib as mpl import matplotlib.pyplot as plt mpl.rc('axes', labelsize=14) mpl.rc('xtick', labelsize=12) mpl.rc('ytick', labelsize=12) import tensorflow as tf from tensorflow import keras from sklearn.prepro...
[ "noreply@github.com" ]
xiaogaogaoxiao.noreply@github.com
898d79427da1080c64e5fe9aa40f7d508af1fd50
331c68a764a859f5e3cec02a3d7805def3c074ad
/3_NLP_in_TF/week1/tokenizer.py
5074dab22a160f1c06c0dc6320744f846307b8e8
[]
no_license
he44/TensorFlow-in-Practice-Specialization
a7e10f7c36c5571f49d1877617a0aa1f3baba24b
85c51ae464a102d1c52015bbb4afbac334a996d8
refs/heads/master
2022-12-11T18:41:32.665672
2020-09-06T18:34:08
2020-09-06T18:34:08
271,959,318
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
from tensorflow.keras.preprocessing.text import Tokenizer from tensorflow.keras.preprocessing.sequence import pad_sequences sentences = [ 'I love my dog', 'I love my cat', 'You love my dog!', 'Do you think my dog is amazing?' ] tokenizer = Tokenizer(num_words = 100, oov_token = '<OOV>') tokenizer.fit_...
[ "he44@illinois.edu" ]
he44@illinois.edu
552d6d9f9e97d9b2a05812c8be6d8e0c1b02722e
569bd2e02797e9c6db7580903eda935f40c6689b
/Graduation/ResNet50.py
3b5083b4b1538ce3d08559e36d51851c1bfc0f30
[]
no_license
paradisees/test
e82743f6be8ad44cfdae229aed083d67cced587b
494d7fb7da5442b370003069a6c38ad1eb60c489
refs/heads/master
2020-03-24T00:59:54.260217
2019-05-17T03:12:39
2019-05-17T03:12:39
142,318,286
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
import numpy as np np.random.seed(1337) # for reproducibility from keras.datasets import mnist from keras.utils import np_utils from keras.models import Sequential from keras.layers import Dense, Activation, Convolution2D, MaxPooling2D, Flatten from keras.optimizers import Adam import csv from sklearn import cross_va...
[ "544953793@qq.com" ]
544953793@qq.com
14be66141de91f60942e28a49f4db4fa063705f6
814f8b85dd6435b3bb3fdebf2f193912aa145a62
/image_detection/dataprovider/coco.py
9a53d5ef03610c1c393346ada0caea061dd49e00
[ "Apache-2.0" ]
permissive
jacke121/pycharm
480df86258ee918de25b76a4156e9e6b9d355df7
b9b2963cf0c5028f622f41413f52f1b5cbde28a1
refs/heads/master
2020-03-18T16:35:25.579992
2018-01-01T02:30:58
2018-01-01T02:30:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,543
py
""" Mask R-CNN Configurations and data loading code for MS COCO. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Written by Waleed Abdulla """ import os import numpy as np from pycocotools import mask as maskUtils from pycocotools.coco import COCO from image_detection.da...
[ "614047311@qq.com" ]
614047311@qq.com
d4ce6176a6cb0471c257ea5b90b815041f4793a3
172c8aae168eb02bb31a20d65d93f41469b9dda4
/app/sessions/models.py
4dcecc9d8065d996574bc00999941abb00b7c2e5
[]
no_license
crook/ylinux
a1d8e107db10c43a444a241726d50bcac21c8b33
ff713e93de13f09e43db44ad3d664e37550a587d
refs/heads/master
2021-01-15T18:36:39.530662
2011-09-15T15:24:56
2011-09-15T15:24:56
1,594,730
0
1
null
null
null
null
UTF-8
Python
false
false
2,779
py
# coding: utf-8 import base64 import cPickle as pickle from django.db import models from django.utils.translation import ugettext_lazy as _ from django.conf import settings from django.utils.hashcompat import md5_constructor class SessionManager(models.Manager): def encode(self, session_dict): """ ...
[ "lijian.gnu@gmail.com" ]
lijian.gnu@gmail.com
ecd90d221ff126e587e28cc59ab5fb067d41cf0b
730a1cc82a3a0d83731a71a00efe208be20dea34
/HW4/q3.py
ee51158fe8ec89d81acd9e35ba56dc9e4564c004
[]
no_license
kavindukk/671
2c244c0178b2c6a9785d39b0defdd9159692fdda
85a0430ccf7d433fd76dea4b0ef26d5d607eb49b
refs/heads/master
2023-01-13T12:41:23.809315
2020-11-17T04:45:13
2020-11-17T04:45:13
298,199,372
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
import matplotlib.pyplot as plt import numpy as np x = np.array([2,2.5,3.5,9]) y = np.array([-4.2,-5.2, 1, 24.3]) plt.scatter(x,y) plt.show() y = np.array([-4.2,-5.2,1,24.3]).reshape(4,1) A = np.transpose(np.array([[2,2.5,3.5,9],[1,1,1,1]])) C = np.linalg.inv(np.transpose(A)@A)@np.transpose(A)@y w = np.diag(np.array...
[ "kavindukusal@gmail.com" ]
kavindukusal@gmail.com
e4a503c66e8828d68c6177a95e492fe18239076e
f3a419d6b0269a7b81f8987df66f16f8e49b7b05
/Assignment 1 - Procedural Programming/Python Challenges (1-30)/Challenge 14.py
50622bf4da23c16a4efba624514bf046ce0eb1b8
[]
no_license
JacProsser/college
a66e4438d4d30fd0594858015d4ce273c12e93a1
404ddeef443a5c0aea1279b733c3a3cc696c92c1
refs/heads/master
2023-05-11T21:43:56.373703
2021-05-27T23:09:05
2021-05-27T23:09:05
331,118,500
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
#importing packages import os import colorama from colorama import Fore, Back, Style import time def neg_pos(): #clears the console screen os.system("cls") #printing "welcome message" saying what the program is and who it is made by print(Fore.GREEN+"Positive " + Fore.RESET+ ...
[ "jacleighp@gmail.com" ]
jacleighp@gmail.com
94e5688d93183477b858406f89c6ee8bbbf6e61b
12973e0d2282dba3308203b245f14d85cf4fe327
/main.py
3bea783322eb9e63b9f8b8e4a496a6ad019cfb34
[]
no_license
caokun88/test
7169ac2beb0278ae17d3a07820a5e6858c00c8c2
bb2a0740d26330c190c6aca273a3ac6ff39a1851
refs/heads/master
2020-04-03T09:53:27.603422
2019-06-19T06:47:50
2019-06-19T06:50:23
70,319,369
2
0
null
null
null
null
UTF-8
Python
false
false
17
py
# coding=utf8 #
[ "caokun@abde.me" ]
caokun@abde.me
86b3a100f5232280903eb94235df61abd23d272d
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/abc/abc088/D/answers/110009_yaketake08.py
32f950f23fbb82136eea52bda1c37edd816dcd29
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
from collections import deque H, W = map(int, input().split()) S = [input() for i in range(H)] C = sum(s.count('.') for s in S) dd = ((-1, 0), (0, -1), (1, 0), (0, 1)) que = deque([(0, 0, 0)]) used = {(0, 0)} res = None while que: s, t, cost = que.popleft() if s == H-1 and t == W-1: res = cost ...
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
c849a6a671a133b40bbb2220c7e3c78e16d51f91
c55b6e97e4a5b9f49e08d29cc67ba4d8b9f209be
/blog/posts/migrations/0002_category.py
56e3eb2884eba579b8c9d902b769f8009bb70f36
[]
no_license
anjc24/DjangoBlog
b9ccecf9ade3fbeb0fc3b75ae21180d5f1dac0be
bf68f1aaff61c13ba0883a6f47f66f8ebe68677e
refs/heads/master
2023-03-08T00:42:18.771377
2021-02-07T11:17:40
2021-02-07T11:17:40
336,767,114
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
# Generated by Django 3.1.2 on 2021-01-31 07:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0001_initial'), ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', m...
[ "anjc24@gmail.com" ]
anjc24@gmail.com
d4a57e1efdf8fba90f9c9935cd56106f3d920af4
fa7a3a39ec129ed6163913fb8d8e999e05f8d6a1
/load_database.py
35634138db2b21fa0139a6dbbedcae5d8c97324a
[ "Apache-2.0" ]
permissive
LSX-UniWue/airankings
b1304bf07173697f540d2570baef9132ab630dc8
e489ddd42e88b878d617e2c3da6d097997b5cd77
refs/heads/main
2023-01-06T09:06:27.022391
2020-10-26T16:38:16
2020-10-26T16:38:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
import os from app.databases.create_sqlitedb import process_article_authors, create_new_db, process_authors, process_url, \ process_countries basedir = os.path.abspath(os.path.dirname(__file__)) DATA_PATH = os.path.join(basedir, 'data') def create_db(reset: bool) -> None: """ Creates the database locally...
[ "tobias-koopmann@t-online.de" ]
tobias-koopmann@t-online.de
472c36498fcc0d14bb0c5695ca12270a071a80b5
1fab5980c58302532ef5260cba6c71621b6b434c
/src/gpslib/gpsbase.py
94fc84814085090256686f6726c902230a2f2fbb
[ "LicenseRef-scancode-philippe-de-muyter" ]
permissive
psla/pygpslog
d4c094cf26154eb8503c80ab4803138184ac3e53
86ea61ad443ea996c3c1b744f53aac65f0d27b7b
refs/heads/master
2020-05-07T05:53:34.183454
2009-03-30T03:47:45
2009-03-30T03:47:45
37,174,037
0
0
null
null
null
null
UTF-8
Python
false
false
2,618
py
import sys, traceback if not sys.platform.startswith("symbian"): callgate = lambda f: f else: import e32 #@UnresolvedImport callgate = e32.ao_callgate class Satellite(tuple): def __init__(self, t): self = t def __str__(self): return "<Sat%02d:%s(%03d,%02d,%02d)>" %\ (self.prn,...
[ "johler@ac97095f-ae47-0410-9732-21da4afb212a" ]
johler@ac97095f-ae47-0410-9732-21da4afb212a
126a831750821861721117db1f501c23572cb8cc
60a9d9836289e66b3ce666537818f88b981410cb
/lanzou/gui/workers/desc.py
4f996a17f63b4849e957d23ff6a473939a4d5c85
[ "MIT" ]
permissive
LindongZhang/lanzou-gui
d46b955e6e4c861a4d47f14c6327b1da4e8f20f0
340a6f13c321b38e7c648971eef339a06dc6b509
refs/heads/master
2022-11-16T03:05:08.637721
2020-07-17T07:46:47
2020-07-17T07:46:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,763
py
from PyQt5.QtCore import QThread, pyqtSignal, QMutex from lanzou.api import LanZouCloud from lanzou.gui.models import DlJob from lanzou.debug import logger class DescPwdFetcher(QThread): '''获取描述与提取码 线程''' desc = pyqtSignal(object) tasks = pyqtSignal(object) msg = pyqtSignal(object, object) def _...
[ "rachpt@126.com" ]
rachpt@126.com
9f62901f704c51d5882027a37acc07bc1ef4ffe9
6978c74b4ec37f7d8fbc926fe7c64f5bab3cea03
/population_growth/solution.py
0cd9c4cfa059b6889f2c7509d9776e2e86ac52ca
[]
no_license
jiwaideng/Python_Excercises
bee0a9937876cb9de5fb34130c4a4fe2831fcc4e
1d10a974134e30766f30321a94e603420ae95fa8
refs/heads/master
2021-06-03T17:03:22.783144
2020-03-14T23:21:00
2020-03-14T23:21:00
22,205,413
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
def pop_growth_years(population0, percent, external, population_goal): pass
[ "RFmind@gmail.com" ]
RFmind@gmail.com
028a0acd086696982c7ace51fa889c9900f45838
36c7a2d939c77ef4f2529a7224aa0e858a14a539
/Course3/3.1.1 tokenizer padding.py
1f5f07e40c79b8cdacda8ed2bc9dd2b4d91e2a7f
[]
no_license
Letian-Wang/Tensorflow-in-Practice
1e9d885e2b6898e8b25538d51c7800d1b597c133
9e0d01f67037966ddca84af373ba20b7625bf9c6
refs/heads/master
2022-09-25T17:03:31.203277
2020-06-07T04:45:09
2020-06-07T04:45:09
266,936,650
0
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
import csv from tensorflow.keras.preprocessing.text import Tokenizer from tensorflow.keras.preprocessing.sequence import pad_sequences from os import getcwd stopwords = [ "a", "about", "above", "after", "again", "against", "all", "am", "an", "and", "any", "are", "as", "at", "be", "because", "been", "before", "being", ...
[ "wangletian1995@126.com" ]
wangletian1995@126.com
fc5552b6650db41ad9715cad42bd04c10f989bf7
7105ac4165ba59946f3a41e59413559f3a6e6345
/NickNamer2.py
1bd51cc4218b0b6b22352787e0ff241efc43a799
[]
no_license
Homeschool-Prof/NickNamer
713bf1cec050f85fb2c5c5b362b33accd47e5879
ecd5cb0e210df2e638e696f5b9bfb701ee4b133d
refs/heads/master
2023-05-28T12:02:12.542392
2021-06-10T23:25:08
2021-06-10T23:25:08
360,327,980
0
0
null
null
null
null
UTF-8
Python
false
false
3,647
py
""" Created on Sun Mar 7 10:19:40 2021 @author: Jared """ import random import time nick = "Nick-namer" def playfunc(n): if n[0].lower() == "y" or n.lower() == "sure" or n[0:2].lower() == "ok" or n == "k": return True else: return False def name_generator(name): xlist =...
[ "noreply@github.com" ]
Homeschool-Prof.noreply@github.com
ed132aceeb3103a5d51dc2f45bd3d3493f8b3209
c9b3d4c6a1da222d6b2fd60dec9406078dc4532b
/problems/p047.py
8d93b2a265d7c84ed0ead16121ff53b1ddf53247
[]
no_license
pbhuss/ProjectEuler
e9e9ab33c40243e11658765ddbe2df4dd4adca94
ba28074d87d4df9b4e67d1b37903114b8664973a
refs/heads/master
2021-01-02T09:09:37.524229
2020-05-10T20:33:19
2020-05-10T20:33:19
11,676,061
1
0
null
null
null
null
UTF-8
Python
false
false
413
py
from util.factorizer import Factorizer def main(): factorizer = Factorizer() i = 1 while True: passed = True for j in range(4): factorizer.set(i + j) if len(factorizer.prime_factors) != 4: passed = False i = i + j + 1 ...
[ "pbhuss@users.noreply.github.com" ]
pbhuss@users.noreply.github.com
641474351377896482c80b7995fb09f8b4eccfbb
1332a47f99dbc133d63572c901c8c6fd14d54216
/data/migrations/0006_boardmember.py
aa9fd1d6446115e146cc0a7930db01d7950c736c
[]
no_license
AdvaithD/openvc
74d55c56dc982f29ce8675f50397a4fd543ca5ad
c79f9fcc5ab3520571ddcba592bf90ce0c2ad75e
refs/heads/master
2021-05-11T10:01:58.559879
2017-06-29T06:20:24
2017-06-29T06:20:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-15 06:41 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('data', '0005_auto_20170213_0628'), ] operations = ...
[ "daniel.young.chen@gmail.com" ]
daniel.young.chen@gmail.com
7ae4b6788913a99af23e7b726a8ae782030a2e4d
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/apimanagement/v20201201/identity_provider.py
b1acaed84d265ad83ae36a0aab2246fc3b69367f
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,324
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
865415566b98a1c05f7d1d898805193a86c5500b
fc5734ad9b0dc154b3a36ec2f5d848b3d693473f
/solutions/Sorting/sorted_squared_array.py
0888ee84af5e9385007e5c1d41b4df849fa40c11
[ "MIT" ]
permissive
aimdarx/data-structures-and-algorithms
8e51ec2144b6e0c413bc7ef0c46aba749fd70a99
1659887b843c5d20ee84a24df152fb4f763db757
refs/heads/master
2023-08-28T12:00:33.073788
2021-11-07T08:31:28
2021-11-07T08:31:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
""" Sorted Squared Array: Write a function that takes in a non-empty array of integers that are sorted in ascending order and returns a new array of the same length with the squares of the original integers also sorted in ascending order. Sample Input array = [1, 2, 3, 5, 6, 8, 9] Sample Output [1, 4, 9, ...
[ "noreply@github.com" ]
aimdarx.noreply@github.com
6cc54713a01e35f5ce4192865ee3621205a0c220
b41f4862d181c8ee6f67ecd1d78915f97bb823a9
/1.py
acd0208d175f8ac9c7a5b28c03b3508ab07b0f62
[]
no_license
kevin201700/xmw-py
14c35c0e9025fb4bfe1e5cf2737b9b13541e6fcb
f5fd2003559944a244703fef1f5c80d70a592b62
refs/heads/master
2020-04-23T09:42:58.601765
2019-03-03T07:09:50
2019-03-03T07:09:50
171,078,361
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
print()#输出 打印 显示 input()#输入 int()#字符串转数字 str()#数字转字符串 max(1, 2)#取最大值 min(1, 2)#取最小值 while True:#无限循环-Ctrl-c停止 break import random print(random.randint(1, 6)) print(random.randint(1, 10)) no = random.randint(1, 3) if no == 1: print("李") elif no == 2: print("铭") elif no == 3: print("昊")...
[ "noreply@github.com" ]
kevin201700.noreply@github.com
eff476ba64bb4a8984fdedac5c955cb62c348baf
c44773b4cb5874b5ff23fb373c47bbd258c01122
/feature.py
f249eb6c2d50724110ee7fb42eb72df1d8e89a3a
[]
no_license
QIANSUMORRIS/music_classification
d47833504d56248a2fd0abff943bc8f9b1e4a1ad
d2a86cd72931a54205cccea3f92101b91ddce901
refs/heads/master
2020-04-17T13:43:03.946888
2019-01-20T05:39:26
2019-01-20T05:39:26
166,627,307
0
0
null
null
null
null
UTF-8
Python
false
false
5,169
py
#coding:utf-8 import pandas as pd import numpy as np import glob#搜索歌单路径 from pydub.audio_segment import AudioSegment from scipy.io import wavfile from python_speech_features import mfcc import os#.remove("") import sys import time#计算程序运行时间 def 获取歌单():#extract_label '''获取歌单,为正反向字典制作做准备''' data = ...
[ "noreply@github.com" ]
QIANSUMORRIS.noreply@github.com
3995cd1c749d21484f3975e03db76b9099784aaf
ce090c0b862d7e5023c1e75bcd0147be559cbe42
/gpu/datasets/visualization.py
4d98542ef1137fac9bb7651b3dcfe2ad95072e8c
[]
no_license
zhf97/-
0a4b981ffd18222f67fbfda7ca5e7695b07b114e
db4538162ca43804a114c610675a43487247e5f3
refs/heads/master
2020-03-28T16:38:02.374942
2018-09-21T00:21:06
2018-09-21T00:21:06
148,714,433
0
0
null
null
null
null
UTF-8
Python
false
false
4,856
py
# Copyright 2017 Paul Balanca. 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...
[ "zhanghanfei@bupt.edu.cn" ]
zhanghanfei@bupt.edu.cn
eb90897bad8acf580d3b3aa5b5aa4baab6916a84
68a32523accac405bad9a08a234ca179a227d3ef
/microcephalus7/categories/sorted/1030.my.py
072e32a6d3945004d6ca5de58a41bddebbd56522
[]
no_license
plan-bug/LeetCode-Challenge
592880327a64c23f3b1cd4efc8266e44d936872c
a2508bcb739ed1a095a2e40009fd5e8162fb97c1
refs/heads/master
2023-06-12T12:08:28.545925
2021-06-30T03:24:52
2021-06-30T03:24:52
302,037,168
2
1
null
null
null
null
UTF-8
Python
false
false
307
py
from typing import List class Solution: def allCellsDistOrder(self, R: int, C: int, r0: int, c0: int) -> List[List[int]]: return sorted([[i, j] for i in range(R) for j in range(C)], key=lambda x: abs(x[0]-r0)+abs(x[1]-c0)) solution = Solution() print(solution.allCellsDistOrder(3, 3, 0, 0))
[ "microcephalus7@gmail.com" ]
microcephalus7@gmail.com
1c0aff5c64da52c30ddd843abca2540a53e75f87
cb80b5e522206531cd896f6fb9c3cefd36ae65b7
/TA Assignments/BookInventoryProject/Classes/Book.py
1815f1ad6256e803fa64bf5288d1f53ad23bbf8d
[]
no_license
arkaanashadi/Intro-to-Program
125a205340e4220e4e957ed66bd86533c6ecb9e8
82709432d6664d774914ec60eb5422b8a868c648
refs/heads/master
2021-07-25T07:18:51.366264
2017-11-06T16:59:17
2017-11-06T16:59:17
104,049,794
0
0
null
null
null
null
UTF-8
Python
false
false
2,684
py
from Classes.People import * class Book(Person): def __init__(self, book_name, price, quantity, name, email): Person.__init__(self, name, email) self.book = {book_name: [price, quantity, name, email]} # To add a new book def addbook(self): z = 1 while z == 1: bo...
[ "Arkaan@201.local" ]
Arkaan@201.local
118254693c99654d16814aa2639e8e69b5458bf9
bab4cd655ff608ec0a8eeaf7322706e3e16ec97a
/meteos/hacking/checks.py
dcb379d24ed31cd0f2ac86b8e9b6a5b7222562bd
[ "Apache-2.0" ]
permissive
nec-openstack/meteos
a44e141173195411505fb01118802af853679187
2581b6d46fb93782b45ffaeaa6c6e86d3ac39e86
refs/heads/master
2021-01-01T16:06:01.011376
2016-12-30T05:22:58
2016-12-30T05:25:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,103
py
# Copyright (c) 2012, Cloudscaling # 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...
[ "h-eguchi@az.jp.nec.com" ]
h-eguchi@az.jp.nec.com
302c181cd04762479c9d0a40d76bc4af20ed9476
48bb20840728c76cc60d4307091ad1655d8f272d
/19/tube_line.py
6cebf818265df6f73e438d77d1bdd8016438cb9c
[]
no_license
maciej1711/advent_of_code_2017
099c9b9670a666d62705674f063ebed3ff1b9dfd
90d282e70b416d121a57e1322fae8634e84695d6
refs/heads/master
2021-05-06T19:50:33.943647
2018-01-01T17:53:52
2018-01-01T17:53:52
112,204,102
0
0
null
null
null
null
UTF-8
Python
false
false
4,023
py
import argparse """ --- Day 19: A Series of Tubes --- Somehow, a network packet got lost and ended up here. It's trying to follow a routing diagram (your puzzle input), but it's confused about where to go. Its starting point is just off the top of the diagram. Lines (drawn with |, -, and +) show the path it needs to ...
[ "maciej1711@gmail.com" ]
maciej1711@gmail.com
ff3173ebdf6fb989ac364793c51ab45426ede9d4
b0e2f1af00d17e2a43aa53d66d87138e533d29b1
/taller_python/verb_2.py
395c2dd1badba2aca278839e2f2e781b946afbf2
[]
no_license
omaryahir/talleres
febefdf9e216e693e2f71e8ba220f54c7e412b82
97325ac998fa01ecf59fefdd04ab0f7aea588fac
refs/heads/master
2023-08-09T10:00:19.932019
2023-08-06T18:25:29
2023-08-06T18:25:29
27,613,096
0
0
null
2023-03-07T15:37:30
2014-12-05T22:32:49
Java
UTF-8
Python
false
false
326
py
# -*- coding: utf-8 -*- # Util: Using verbs verb = raw_input("Escriba el verbo:") pronom = ["Yo", "Tú", "Él", "Nosotros", "Vosotros", "Ellos"] endverb = { "Yo": "o", "Tú": "as", "Él": "a", "Nosotros": "amos", "Vosotros": "áis", "Ellos": "an", } for i in pronom: print "%s %s%s" % (i, verb[0:-2], endverb[i]) ...
[ "omaryahir@gmail.com" ]
omaryahir@gmail.com
b8f55db3ada6255465fbec6a0aa3639b6fbd0034
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/python/keras/layers/preprocessing/category_crossing_test.py
e65bccb591549ddc002d2cb2a341a37a2c98c2c2
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
graphcore/tensorflow
c1669b489be0e045b3ec856b311b3139858de196
085b20a4b6287eff8c0b792425d52422ab8cbab3
refs/heads/r2.6/sdk-release-3.2
2023-07-06T06:23:53.857743
2023-03-14T13:04:04
2023-03-14T13:48:43
162,717,602
84
17
Apache-2.0
2023-03-25T01:13:37
2018-12-21T13:30:38
C++
UTF-8
Python
false
false
12,093
py
# Copyright 2020 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 required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
f385805e2c5f1652e7e4adef313a585b6d1f11b2
7ad214c1526a78efad1135782f27deb8e89f8c79
/datastructures.py
e34d38a5ad2dfebc8ba6f48210bc85cce6b5c7a4
[]
no_license
nandhinisundar/tasks-in-python
b06263d11100dbdbb84bdc851c3bc67c39e6569c
afca1719c854e6c27a1c10beb1f3794e23bdd4fa
refs/heads/master
2020-06-12T18:35:11.958024
2014-02-01T07:54:32
2014-02-01T07:54:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
laptop=['hp','dell'] laptop.insert(1,'apple') top=laptop[0]; print(laptop) dict={'@':01,'&':02,'$':03} print(dict['$']) for i in dict: print(i) class Queue: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] def enqueue(self, item): self.items.i...
[ "nandhinismp@gmail.com" ]
nandhinismp@gmail.com
43b0e8549baf6c24455339466857943413e7ada1
3445a24ad3adc9d97243149263997cffbc73462c
/witch.py
eac493c9b2db4a9aad8f645d925806ee3313c775
[]
no_license
theboisloth/Hero_Game
8ef39b55dcf8c60ab482b911c40466a5d320e2df
d31cbfb40c5640ccdb7142254f12294ca8bff454
refs/heads/workspace
2020-09-27T02:53:47.117651
2019-12-23T22:58:28
2019-12-23T22:58:28
226,410,168
0
0
null
2019-12-09T22:43:03
2019-12-06T21:02:40
Python
UTF-8
Python
false
false
1,774
py
import random #Spider has no crit chance #Damage ranges DMGPOTION_DAMAGE_RANGE = ((3, 15), (10, 25), (15, 30)) HEALTH_POTION_HEALRATE_RANGE = (20, 50, 70) MISS_CHANCE_RANGE = (15, 10, 2) MISS_CHANCE = 0 HEALTH_RANGE = (150, 200, 300) health = 0 def configure_difficulty(difficultyLevel): global health, MISS_CHA...
[ "58494561+theboisloth@users.noreply.github.com" ]
58494561+theboisloth@users.noreply.github.com
540d3b41388deaea5f13f11f55e8176a2be8c642
5d603620eb0d375444b3a2dda221b3a870b90d6f
/Code/Computerome-scripts/Initiation-runs/computerome_human_runs/com_x24.py
f2e9ad9b6b372d0d87b1325301170de16c88f24c
[]
no_license
rudolfsberzins/Master-Thesis-Proper
5b6abd7f79dbe8e393880a048a6cbaa80170d182
a5175a601a640346ba05709a9d968f16262a8a6f
refs/heads/master
2021-01-20T17:04:08.573738
2017-07-10T12:11:27
2017-07-10T12:11:27
90,861,461
1
0
null
null
null
null
UTF-8
Python
false
false
464
py
from parse_and_prepare import ProteinProteinInteractionClassifier as PPIC import time def main(): files = ['Medline', 'x24', 'human_entities.tsv', '9606.protein.actions.v10.txt'] clf = PPIC(files, full_sen_set=True) clf.prepare() st = time.time() clf.produce_p...
[ "rudolfs.berzins.bio@gmail.com" ]
rudolfs.berzins.bio@gmail.com
91f67c31ec8205f699c3cfdcabcf7f0562f6a183
bc3b4b145b357ef84a314368adb2085eca4de238
/Code/Implement and design a machine learning hierarchy wrapper for SimpleML/test/radius_neighbors_classifier.py
37eff54980c327cffff710090409f6495b201b2b
[]
no_license
s6fikass/semanticweblab2020-2021
378f93bb49b0e548c94e6bcb9a664ab2569d6765
74aa540658d5c8fb69dd21cd5243f521cfbff773
refs/heads/master
2023-03-12T00:48:03.942474
2021-03-03T10:30:26
2021-03-03T10:30:26
287,037,128
0
4
null
null
null
null
UTF-8
Python
false
false
165
py
from MLalgorithms.Classification._RadiusNeighborsClassifier import RadiusNeighborsClassifier adapterObj = RadiusNeighborsClassifier() print(adapterObj.model)
[ "s6fikass@uni-bonn.de" ]
s6fikass@uni-bonn.de
5dfd1d11e0a074deb3af2c62f26538b2db577407
afb1de3d0d81351a172065cd9378c0a3fb5b01a0
/apps/article/views.py
4c7e36858be1e64353d316d937f06be9b8927b56
[]
no_license
xiaobaidog/flaskblog
dcd3f9ddf6a4c7672b226d3a57201700f842cc24
b144a1d74862dfcb9568751352385bd5486ca39c
refs/heads/master
2023-08-01T22:42:30.810532
2021-09-14T10:59:48
2021-09-14T10:59:48
406,329,499
0
0
null
null
null
null
UTF-8
Python
false
false
2,126
py
from flask import Blueprint, request, g, redirect, url_for, render_template, jsonify, session from apps.article.models import Article, Article_type, Comment from apps.user.models import User from exts import db article_bp1 = Blueprint('article', __name__, url_prefix='/article') @article_bp1.route('/publish', method...
[ "2830286249@qq.com" ]
2830286249@qq.com
e290b8f6f14e45efc53d4a06e11715ea55807ed8
0bcf62bfc63ee07eb0bf2389aeb48adf9370bc7b
/计算Debye公式.py
b26885d93886910c9619da837670f6245f958ace
[]
no_license
deyiwang89/icip-
78050dc9adc91df73cdf6fbe45316c9db172015d
08d4aaf671d7cad660b01e3194673cbbb67be045
refs/heads/master
2021-07-07T05:34:45.351803
2020-12-18T12:47:03
2020-12-18T12:47:03
214,578,273
0
0
null
null
null
null
UTF-8
Python
false
false
4,279
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 4 21:49:37 2020 @author: deyiwang 计算黄海海水介电系数及趋肤深度 数据来源: @article{doi:10.1002/2013JC009716, author = {Gentemann, Chelle L.}, title = {Three way validation of MODIS and AMSR-E sea surface temperatures}, journal = {Journal of Geophysical Research: Oceans}, vo...
[ "noreply@github.com" ]
deyiwang89.noreply@github.com
4d494d88c78979a20f69a736e465dfa549f4207c
4995d355b6a900a23789eebb2f5be93e52bbe71f
/patent1_patent2_format.py
2a27f206d1bf294c66cc2c265899663c30a4ebfb
[]
no_license
bioinfonerd-forks/patent_similarity
3324b913cf1246e5fd53ac16c3813ad98978d670
8785d423adacb9c5996759826ea92fedaec3e858
refs/heads/master
2021-10-21T15:00:40.613134
2019-03-04T15:25:33
2019-03-04T15:25:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,600
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt import gensim ,re from gensim.models import Word2Vec import scipy import nltk #nltk.download('all') from nltk.tokenize import sent_tokenize, word_tokenize import warnings import sklearn patent = pd.ExcelFile("D:\python patent...
[ "noreply@github.com" ]
bioinfonerd-forks.noreply@github.com
182e53c415ea4d2abfcfad2ca1e3f7a8c75a613a
32c8b6a398d9fb57fdb0ba5f1a646a7dea031243
/apidemo/apidemo/asgi.py
9146400c18849caf330299f7c54356b43a5ec656
[]
no_license
jungzi1/starting-django-ninja
33dc55f125c0a0acbecc2f5a2f191b7a67eeddf1
14ebbe604f09cfd2d75c708a6b07e4f545b06968
refs/heads/main
2023-08-13T21:14:09.775583
2021-09-09T02:45:47
2021-09-09T02:45:47
394,198,162
1
1
null
2021-09-09T02:45:48
2021-08-09T07:44:37
Python
UTF-8
Python
false
false
391
py
""" ASGI config for apidemo project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTI...
[ "glenn.adoc.co.kr" ]
glenn.adoc.co.kr
48b3186232131cc6084d986e6ea0414886129852
1ef1b1725dea963e85a994b3dc142493d5e666ca
/libraries/botbuilder-core/botbuilder/core/property_manager.py
0cd2097e05cdd85fbdcc7dab0796869219979b18
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
zigri2612/botbuilder-python
dcdcb11de07e622ab583040a08f0a4fa2148f211
bcc85a49f1426ccf682205566fd03937ee6d315c
refs/heads/master
2020-05-30T06:25:45.821948
2019-05-30T18:45:57
2019-05-30T18:45:57
189,578,996
1
0
MIT
2019-05-31T10:55:13
2019-05-31T10:55:12
null
UTF-8
Python
false
false
296
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from botbuilder.core.state_property_accessor import StatePropertyAccessor class PropertyManager: def create_property(self, name: str) -> StatePropertyAccessor: raise NotImplementedError()
[ "daveta@microsoft.com" ]
daveta@microsoft.com
496fe63eaaec2a6c9f59ccd40c6e657ae7938071
fca45d0b019591bee60506b34f3efe6c83d3d2e7
/learn/异常/venv/Scripts/pip-script.py
9191449e9b4583ac4f86a31f862f25faba7a993a
[]
no_license
xiebohust/python_study
a064ccd1c2fcf88b89ffe6eba1e67a910b90941d
43c9c21c0957725fd68db2c9dc296be145816b7a
refs/heads/master
2020-04-17T14:43:42.608303
2019-01-22T11:36:41
2019-01-22T11:36:41
166,669,118
0
0
null
null
null
null
GB18030
Python
false
false
429
py
#!D:\王凯日常文件\python学习\异常\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "623270307@qq.com" ]
623270307@qq.com
33685a79cfc8760240f3475afbdc52775642465a
381715a929464f54bcb0efe90d9aab71389c674b
/merg_tab.py
648e1bed63859bff5dbfeee8689d174b1c8c2963
[]
no_license
vodaka/tasklist
57112817914119f19222937c1d9eb31f4ba3264b
0aaca09b20b3bd0d94039fe1d3ffdd098cc84342
refs/heads/master
2018-10-12T10:42:50.991755
2018-07-30T15:17:26
2018-07-30T15:17:26
120,844,681
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
#_*_coding:utf-8_*_ #!/usr/bin/env python import MySQLdb print "Hello" tag_db = MySQLdb.connect(host='',user='taguser',passwd='',db='tag') tag_cur = tag_db.cursor() table = '' query = """select * from '%s'""" % table command = tag_cur.execute(query) results = command.fetchall() new_db = MySQLdb.connect(host='',user='t...
[ "noreply@github.com" ]
vodaka.noreply@github.com
fcba713699f94c88579d774bda8c84f47a9ce9a3
11f3da9453f163267270898ab5f382d44f341092
/18.py
86a6fafce2b72ce12b93d282228fae993e913f6a
[]
no_license
kamaligeetha/kamali
69a3d88a4ede10c5d439f045a39b91a5d609211c
0f2f66055a933f6f3fb48c5213386b65484617c8
refs/heads/master
2022-02-21T14:22:14.508227
2019-08-13T15:06:23
2019-08-13T15:06:23
197,889,882
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
T=int(input()) Z=0 while(T>0): Z=Z+T T=T-1 print (Z)
[ "noreply@github.com" ]
kamaligeetha.noreply@github.com
53c5d1728d6dc8f98296429eff92e96e1e176886
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/GEM_REGISTER/YW_GEM_REGISTERMM_SZXJ_125.py
ffeb59ffd84c5131b9d5b74c90f8c02aedebc691
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,115
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
2770bb73349ea9405b76506d34cb7da1f6770c5c
cf2b7e9cd23a6e2c3c6db2442d61e0858c120ac0
/Programmers/level_1/Caesar_code.py
ffdb710b2938e92835596b74a5395ace58124fbe
[]
no_license
gendo7985/Coding-Practice
76af6b9f093d912ba6f35d38595a28c2aef90368
f47522c045e43b7e69c9113d8e91fbfba59d42b0
refs/heads/main
2023-06-29T22:36:12.990225
2021-08-08T10:02:41
2021-08-09T11:32:03
344,347,998
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
# 시저 암호 def solution(s, n): Al = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" al = Al.lower() ans = "" for i in s: if i in Al: ans += Al[(Al.find(i) + n) % 26] elif i in al: ans += al[(al.find(i) + n) % 26] else: ans += i return ans
[ "p_geondo@snu.ac.kr" ]
p_geondo@snu.ac.kr
6f7fa703a3d335412f1aa71f1ac2579429aceae7
6dc87080ea1c8a9f9c4040cac74c7cc3133ef9b6
/merge/check.py
93574faf3e0f67895bff074e2990499458ed022f
[]
no_license
yujiex/GSA
7f8f14a720527c1046ef908868e1904949bab7dc
c7589a2ac5251b83f4764694ad382dc2c50cbeff
refs/heads/master
2021-04-12T12:28:57.877344
2016-08-24T16:16:36
2016-08-24T16:16:36
63,968,411
0
0
null
null
null
null
UTF-8
Python
false
false
15,215
py
import sqlite3 import pandas as pd import numpy as np import os import glob import util_io as uo import seaborn as sns import pylab as P import matplotlib.pyplot as plt from datetime import datetime import util_io as uo import get_building_set as gbs homedir = os.getcwd() + '/csv_FY/' inputdir = os.getcwd() + '/input/...
[ "shenqing1225@gmail.com" ]
shenqing1225@gmail.com
ce9f82915adf5fb078b7ced89cda0ad7104e391c
55437294354f90e6f2f7a6b26380deff7e998b5f
/pure_python_bot/bh_bot.py
b0e8cd1b3c2649d55731daa9b4cf189617bfe19e
[]
no_license
ArezKhalimi/bh_bot
b16c66d5de078fef7a79ce61fc9c8135f3e5d0e7
ff8b22edc8f9897b6a08d1f84522d8c0ba83d128
refs/heads/master
2021-04-26T22:13:20.187076
2018-03-18T13:36:05
2018-03-18T13:39:25
124,044,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
import datetime import redis as redis_cli from celery import Celery from bohdata_bot_handler import BotHandler from commands_handler import CommandsHandler from conf import TOKEN from tasks import setup_morning_greetings_task greet_bot = BotHandler(TOKEN) now = datetime.datetime.now() redis = redis_cli.StrictRedis(...
[ "iarezik@gmail.com" ]
iarezik@gmail.com
892fb1fc141c001c947124e03a0a0caf940fcaa7
9ceb42efc09343384a94819ead57d93ca66941f7
/src/create_installer.py
c347e3f3976467dc0d845122e0260a24c661d3fc
[ "Apache-2.0" ]
permissive
MichaelMueller/ReportGenerator
ac4ac86e539b8db0fa5e6adc1650655f0dd05f1d
a6048a1d468ed6e0954d077a8c4a7242e93f760d
refs/heads/master
2023-03-01T02:05:11.702673
2021-02-12T15:54:25
2021-02-12T15:54:25
300,152,453
2
0
null
null
null
null
UTF-8
Python
false
false
468
py
import argparse import api import logging # args parser = argparse.ArgumentParser( description='Create the installer package') parser.add_argument('--log_level', type=int, default=logging.INFO, help='log level (CRITICAL = 50, ERROR = 40, WARNING = 30, INFO = 20, DEBUG = 10, NOTSET = 0') parser....
[ "mueller@mbits.info" ]
mueller@mbits.info
f588e9be580fd1c3ef63ffece4dcb5a5e1318295
018c806a7f50f57fdf42c0eb420ac16a9e11a6d8
/CriptografiaRSA.py
e38c06908431860121e5242a053739fb8acdb5ea
[]
no_license
EliasNsilva/Proj.-Matemetica-Discreta-
c8f4b9994d31da855d2ac19245d29f20ab99e0a5
f05c7551630bea518a803f897f35ca4376712841
refs/heads/main
2023-01-27T18:47:06.596496
2020-12-10T19:48:22
2020-12-10T19:48:22
318,914,293
2
0
null
null
null
null
UTF-8
Python
false
false
6,489
py
import math import time #Funções para gerar a barra de progresso def progress_bar(done): print("\rProcessando: [{0:50s}] {1:.1f}%".format('#' * int(done * 50), done * 100),end='') def barra(): for n in range(4): progress_bar(n/3) time.sleep(1) print('\n') ##############################...
[ "noreply@github.com" ]
EliasNsilva.noreply@github.com
437c9fdc441a3a084229aa33308be50ebe5252b2
7cfcb03428d74fb2a4bb9df7d3c9362ef8a039a3
/backend/src/api.py
b96284105725c809adb771962fcf730a785ed357
[]
no_license
GirgisDev/FSND-coffee-shop
c6245663ce39139ecc7becfd12a837a94e5f4e13
1e47959b0e7de85222a305d42d4ff33849e3677c
refs/heads/master
2022-12-28T16:40:07.814736
2020-09-18T11:16:17
2020-09-18T11:16:17
294,894,231
0
0
null
null
null
null
UTF-8
Python
false
false
3,292
py
import os from flask import Flask, request, jsonify, abort from sqlalchemy import exc import json from flask_cors import CORS from .database.models import db_drop_and_create_all, setup_db, Drink from .auth.auth import AuthError, requires_auth app = Flask(__name__) setup_db(app) CORS(app, resources={r"/drinks/*": {"or...
[ "girgis.developer@yahoo.com" ]
girgis.developer@yahoo.com
29849a811d9934c85fc499f8d31c539927f44233
b566804cdb2c3e2cf2a01e1fe182ac03b586f82e
/Code.py
af7bc1b71ab88dc80890a03050faa432ec5f757b
[]
no_license
Lawrence-Ludwig/Madlibs-Game
c6d86e5f38c771a142f975617f92edb1ae5aa83a
b40ca6d17be524fd366fd5a86d77552ac4b8556e
refs/heads/main
2023-03-03T10:16:08.364826
2021-02-02T02:27:03
2021-02-02T02:27:03
334,721,498
0
0
null
2021-02-02T01:15:00
2021-01-31T18:01:38
Python
UTF-8
Python
false
false
2,907
py
""" Created on Fri Jan 29 15:24:59 2021 @author: Lawrence Ludwig """ #imports import sys from time import sleep def title_screen(): # Startup stuff print('Commands:') print('Type H to help') print('Type S to start') print('Type C for Credits') print('exit to end ') print(...
[ "noreply@github.com" ]
Lawrence-Ludwig.noreply@github.com
09ea444e77a1910f19cb483ffead052b3451e3fd
e863403b7bfbde49db52c6f28e33671edbb95476
/00ll/2016.09.10/2016.10.09/getUML.py
aa3f8dde669f1e8b20b34b6843129581d517a381
[]
no_license
tamily-duoy/pyfile
0f846c3b97d4b09f528fc4c1181ba9d3aa6b4275
dc06a84986a788f438dd974c297142601561e537
refs/heads/master
2020-03-29T17:58:17.683220
2018-09-25T01:03:36
2018-09-25T02:14:50
150,188,259
0
0
null
null
null
null
UTF-8
Python
false
false
2,678
py
# -*-coding:utf8-*- import re import string import sys import os import urllib import urllib2 from bs4 import BeautifulSoup import requests from lxml import etree reload(sys) sys.setdefaultencoding('utf-8') if (len(sys.argv) >= 2): user_id = (int)(sys.argv[1]) else: user_id = (int)(raw_input(u"请输入user_id: "))...
[ "2737239753@qq.com" ]
2737239753@qq.com
487433600f46fadfeed63e6b41b3cacbe470ddf3
60f918408832ec2937f4686462f4d2912fdb7831
/wxy_miniBound.py
7d78c0131bd7e1e7eec13db38d41302d8b89e344
[]
no_license
Wang-Xiaoyu2021/ComputeScripts
c98a72aaf90afe049f18d6ddfe4bc5962436697c
92969a4a5082084b03178b40f3aada24ed1cbd58
refs/heads/master
2022-06-04T16:20:49.702786
2019-11-07T11:40:24
2019-11-07T11:40:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,204
py
#!/usr/bin/env python #coding=utf-8 import numpy as np #import matplotlib as mpl #from matplotlib import cm import matplotlib.pyplot as plt import math import os #import pylab as pl from pathlib import Path class Distance(): def __init__(self): self.path = os.getcwd(); def getElementi...
[ "1205661200@qq.com" ]
1205661200@qq.com
a612fd9add8ad1af1f89db458b5c3c8c2f9c46e3
794f447ac5e406ae9fdfb3d6141debf403e6f0a4
/server/users/models.py
3b3880a75a9b8bba586653648280e13de1a572f3
[]
no_license
8hourmakers/whynot
1b10c439a71db51c4b7a12af21012a4bbca539cd
7977794859eaf1e8bc03db41ae34ea3e94846ac8
refs/heads/master
2021-01-22T08:52:42.831054
2017-09-10T07:31:36
2017-09-10T07:31:36
92,640,053
0
0
null
2017-06-25T06:46:29
2017-05-28T04:35:48
JavaScript
UTF-8
Python
false
false
1,091
py
from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import PermissionsMixin from django.contrib.auth.base_user import AbstractBaseUser from django.utils.translation import ugettext_lazy as _ from .managers import UserManager class User(AbstractBaseUser, PermissionsMix...
[ "bdh931101@gmail.com" ]
bdh931101@gmail.com