blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
8529c4d89d04af95f46471657da82dd417d6a547
14cfa53b1c8cc66aafdb98cac75a36d5722c154d
/macropy/macros2/linq_test.py
17f6a87f2bdb9a635fc195baa1000aa3d50cde68
[ "MIT" ]
permissive
pcn/macropy
c77a8060c4ac0304595fce895c5fac8f986db660
50f4a446137009d509647918a4aaef797cf86fde
refs/heads/master
2021-01-23T22:58:06.214611
2013-05-17T16:39:48
2013-05-17T16:39:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,803
py
import unittest import ast from sqlalchemy import * from macropy.macros2.linq import macros, sql, generate_schema from macropy.core.lift import macros, q from macropy.core import unparse_ast engine = create_engine("sqlite://") for line in open("macropy/macros2/world.sql").read().split(";"): engine.execute(line.s...
[ "haoyi.sg@gmail.com" ]
haoyi.sg@gmail.com
aa2536a426997227f7cf8edd5029dff9147bf8c3
3dc0a83108f679693680b2206fbc02794bfd60db
/my_orm/connection.py
db5478a803fca6d0e4db93f4c63e5c7bd87701f2
[]
no_license
konstantink/my_orm
f05707c246174544851ce1a307dbcb39ab56b20a
129517e31d6e0ab2047a81e6d41a84b1148443bb
refs/heads/master
2021-01-25T04:52:51.420941
2014-05-23T14:02:50
2014-05-23T14:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,215
py
# coding=UTF-8 __author__ = 'Konstantin Kolesnikov' __all__ = [ 'Connect' 'Connection' ] import MySQLdb from threading import Lock from collections import OrderedDict import exc from utils import url from dialect import MySQLDialect from schema import Table def Connect(url_or_connection_str): return D...
[ "kkolesnikov@cloudfabriq.com" ]
kkolesnikov@cloudfabriq.com
ee3b7bc569657a8761ba1f5af621babb8858a748
d315013ea0319acc99c61739ef088280af985cce
/pybullet_commander/seed/motion_controller/action_client/trajectory_client.py
6cef1fd0b5a813b16a36542740be161bfaa7ffa2
[]
no_license
keithczq/GenerAL
4225b5b55cae05e1aed7162c36de5234112e05a1
b1f6edda3730aff1ccf4c700ad1b6aa8aae28561
refs/heads/master
2020-08-22T01:57:37.360044
2019-10-05T20:26:31
2019-10-05T20:26:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,865
py
#!/usr/bin/env python import roslib roslib.load_manifest('my_seed_hand') import rospy import actionlib from std_msgs.msg import Float64 import trajectory_msgs.msg import control_msgs.msg from trajectory_msgs.msg import JointTrajectoryPoint from control_msgs.msg import JointTrajectoryAction, JointTrajectoryGoal, Fol...
[ "bw2505@columbia.edu" ]
bw2505@columbia.edu
df906205242e3af906038e8471ab76f050b4287d
f32b6eae17f934dfa63afc7313b391b17f2ef341
/yablist/urls.py
cdc1c835f2726ec54b3b620aac4d21f7ba50f145
[]
no_license
kecheon/yablist
a787afd00764d877915dfbc8ea3641c220cd0db0
87793b1f1f793218d7a1a52ad3e1faf540e4713b
refs/heads/master
2021-01-19T23:52:52.620201
2017-04-22T11:01:36
2017-04-22T11:01:36
88,383,048
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals from cms.sitemaps import CMSSitemap from django.conf import settings from django.conf.urls import include, url from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django.contrib.sitemaps.v...
[ "kecheon@gmail.com" ]
kecheon@gmail.com
3d2c8cc7522515264d580dead675cb73e30e403c
c847cccec0b2c76a43410560171f3c04342230ea
/Assignment_8/Codes/Assignemnt_8.py
a71db774b75a72639347b1c304ef65bd1765093f
[]
no_license
harshal9876/AI5002
f036c2d5792c68e46b0d2aeaa0c220a09ca91d17
c80dbe3ab529eb9e1de5c840c2302ac6c8588378
refs/heads/main
2023-05-27T16:32:13.197913
2021-06-11T08:19:24
2021-06-11T08:19:24
330,556,897
0
0
null
null
null
null
UTF-8
Python
false
false
1,762
py
#Importing Libraries from itertools import product import matplotlib.pyplot as plt import random import numpy as np #defining the imput list and sum number A = [2,3,4,5] B = [11,12,13,14,15] sum_of_numbers = 16 #Printing the defination list and sum print("Set A : ",A) print("Set B : ",B) print("The sum of number...
[ "noreply@github.com" ]
noreply@github.com
fa611b722e584ef32b46a909fb2174b6a2f44f20
ddc7eddc26ed0a3cdb7211f6433bfe640520d5c4
/Logs_V2.py
8d484e8aa81e3b7b089719aabb523177dd12988d
[]
no_license
jalonsomoya/FSCLogs
cd0d9ec87958fa20055b57ef9da94af57bc0384a
322d59363d0c4955a86764162f1b243c979b91e7
refs/heads/master
2023-05-15T07:39:52.550841
2021-06-14T15:56:38
2021-06-14T15:56:38
224,914,767
0
0
null
null
null
null
UTF-8
Python
false
false
4,515
py
# import re import os date_regex = r"\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}:\d{3}" print("Seleccionar fecha de fichero") dia = input() print(f"Seleccionando LOG del día {dia}") # Seleccionar fichero, editar saltos línea y añadir | después del timestamp with open(f"FSC_{dia}.log", mode="r") as file, \ open(f...
[ "noreply@github.com" ]
noreply@github.com
3104940f614f3c56b589278168265e32531b6f4e
077f0c03539713eeafa0ada37c5da4e751043bc2
/2018_11_14_if2.py
ce95c79cd740c7326182b449bbe0149a41420f8e
[]
no_license
LucyLu66/Python
d9906e17a124cceb4eed1cac577e4d53b5744907
87cdeb7dc41a0c192067978d62a113b22b72e09e
refs/heads/master
2020-04-08T18:15:01.210099
2018-12-06T03:29:22
2018-12-06T03:29:22
159,600,016
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
print('x的坐标是:') x = int(input()) print('y的坐标是:') y = int(input()) if x >= 0: if y >= 0: print('1') else: print('4') else: if y >= 0: print('2') else: print('3')
[ "742045862@qq.com" ]
742045862@qq.com
fa05df649d1afd51f85a10abf64dbe5a2752cbd2
6e4ea04d30fec41f96736c9df34712c9407c7c08
/src/load_result.py
dc524252263958359649726a3ed59ceaf2e3ee2c
[]
no_license
sohj94/dl_study
b4e4ee44437487943fc6b83f05ec7f8cbd669091
46be7c4424ae0c79f92cc8375be7f39645ba34c8
refs/heads/master
2023-05-30T09:42:29.577469
2021-05-12T13:55:52
2021-05-12T13:55:52
366,718,444
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
import sys, os sys.path.append(os.pardir) import matplotlib.pyplot as plt import pandas as pd import numpy as np result_prefix = "../data/result/hw1_result_" dataset = "cifar-10" result = pd.read_csv(result_prefix + dataset + ".csv") x = [i for i in range(3,16)] y = [i for i in range(10,151,10)] Z = np.array([list(r...
[ "sohj94@gmail.com" ]
sohj94@gmail.com
3834d2f63b37fe0144610139d1c1926b6c9f87fe
6fd98e4c558bcf54778259443a383395cb80b7ec
/spam_detector2.py
5c73c41f0ff89b8f79db3cd31a100095c10ad24e
[]
no_license
rexroy73/Data_Science_Portfolio
06c78791480df8f84e8766763b33984b31e5d257
1194349972c1c5f7db7e84302b36361ec49e7f3c
refs/heads/master
2020-03-20T08:58:24.391461
2018-07-15T17:34:08
2018-07-15T17:34:08
137,324,408
0
0
null
2018-06-28T12:56:38
2018-06-14T07:47:28
Python
UTF-8
Python
false
false
1,866
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 6 17:58:51 2018 @author: Prashita """ import numpy as np import pandas as pd from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer from sklearn.model_selection import train_test_split from sklearn.naive_bayes import MultinomialNB from ...
[ "noreply@github.com" ]
noreply@github.com
79fef6f5b8dff739ef7ca47053d1fc5c9aaf55e6
7c63a96fad4257f4959ffeba0868059fc96566fb
/py/m_lutz-learning_py-5_ed/code/part_04-functions_and_generators/ch_19-advanced_function_topics/02-function_objects_attributes_and_annotations/main.py
0bca586be2664c40e3c2988e354046e63bcffc58
[ "MIT" ]
permissive
ordinary-developer/education
b426148f5690f48e0ed4853adfc3740bd038b72c
526e5cf86f90eab68063bb7c75744226f2c54b8d
refs/heads/master
2023-08-31T14:42:37.237690
2023-08-30T18:15:18
2023-08-30T18:15:18
91,232,306
8
0
null
null
null
null
UTF-8
Python
false
false
1,879
py
def example1(): def echo(message): print(message) echo('Direct call') x = echo x('Indirect call') def example2(): def echo(message): print(message) def indirect(func, arg): func(arg) indirect(echo, 'Argument call!') def example3(): def echo(message): ...
[ "merely.ordinary.developer@gmail.com" ]
merely.ordinary.developer@gmail.com
914ab4d119e7873fa52ac0ebec095a05c277d6d5
2b8d346e473e8b7907e513e8f854d8809345f770
/testqt.py
c297eccddf4ffd4380e3a915e84d1ccf7f23bf95
[]
no_license
hasikill/MyTools
612fdd49eced56b33e3c6515645fe079f3781886
166c4486211e7ec8849980eda659d62cc4f0b777
refs/heads/master
2021-01-09T14:57:55.854870
2020-02-23T01:51:06
2020-02-23T01:51:06
242,346,170
0
0
null
null
null
null
UTF-8
Python
false
false
3,878
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created by: PyQt5 UI code generator 5.13.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("F...
[ "1030431200@qq.com" ]
1030431200@qq.com
21973496d5c2032f23e1b49f0db9e3c502244292
7f4fb112bc9ab2b90f5f2248f43285ce9ac2e0a0
/src/igem/neutronics/air/container/borosilicate-glass-backfill/5cm/25wt/plot_all.in.one_cask.thickness_dose.rate_t4045_surface.py
68b7c9364abc28d207af46f51a75a3f08c2773ac
[]
no_license
TheDoctorRAB/plot
dd3b5134c91c8fa7032fcc077c5427b26a80e49d
ed6746d511222c03e79f93548fe3ecd4286bf7b1
refs/heads/master
2021-07-11T10:21:19.347531
2020-07-16T17:13:15
2020-07-16T17:13:15
20,462,189
0
0
null
null
null
null
UTF-8
Python
false
false
6,317
py
######################################################################## # R.A.Borrelli # @TheDoctorRAB # rev.11.March.2015 ######################################################################## # # Plot routine # All in one file, with no separate control input, lib files # Plot data is contained in a separate data f...
[ "borrelli@localhost.localdomain" ]
borrelli@localhost.localdomain
bebc6754c64f50b46ea8c84eecd1c17543a374a9
9e4fc18f267f49e1efeb69f2e95e4c4a00ce8ce6
/3_FirstMissingInt.py
f2412817e3b1e609ce1a1904bf693211225e701b
[]
no_license
cookiewho/IPS_Workshop_2020
1de50e80abbedafeb48f7907ffca8461d2d2bd4a
4dda2febb7dfa6645042e8e7a6d1138465ad12cf
refs/heads/master
2022-12-25T02:59:16.436013
2020-10-09T17:31:31
2020-10-09T17:31:31
284,307,980
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
def first_missing_positive_integer(integers): integers.sort() count = 1 for y in integers: if y == count: count += 1 return count
[ "dinkwho@gmail.com" ]
dinkwho@gmail.com
6fadfdde9b58209e5e269e51592bc9d834e2bad9
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/surface/app/firewall_rules/list.py
ff81b7ae1ab5630533a0f34061862bc99572334e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
1,320
py
# Copyright 2017 Google Inc. 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 ag...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
c6ea1a2aa909321e07d092139bc6d5316b1fb494
91d45a7ff2a178be2c9e44e34a7994a26b54ac40
/main/api/v1/views.py
e1a0ffa5157ec83955ac002facf737b032e3dc12
[]
no_license
Dima070585/Project1
32f50d6b4afda60729abab0cbc13ba18897d23bf
d3d714f124d13a871c19d6489ded1ff0c912ae3c
refs/heads/master
2023-09-05T05:53:34.567882
2021-10-19T07:31:54
2021-10-19T07:31:54
418,823,990
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
from rest_framework import generics from main.models import Project, Post from .serializers import ProjectsListSerializers, ProjectDetailSerializer, PostListSerializers from django_filters.rest_framework import DjangoFilterBackend from rest_framework.filters import OrderingFilter class ProjectList(generics.ListAPIVie...
[ "dima_patapchik@mail.ru" ]
dima_patapchik@mail.ru
d6463a63f7d0c66597f783150a1f4296ad3d44ff
cdac2e950dd226a30f176ba430d8a8bb2d42cb3d
/Open cv project/Opencv2/Opencv Tutorial2.py
f0ea677c4b3612862ee9751bf5cdb0801a182ef1
[]
no_license
Chidalu567/computervision
27d9b2f60f70e831793c7402c6a77a3279762d8e
c9a044faafa9a1bf96dcc436acf730deb8f802fb
refs/heads/master
2023-04-16T13:23:15.907989
2021-04-29T06:16:24
2021-04-29T06:16:24
362,702,186
1
0
null
null
null
null
UTF-8
Python
false
false
848
py
import cv2 # #===>Image reading in cv2 # img=cv2.imread('chidalu.jpg',cv2.IMREAD_COLOR); #image read in normal color # #===>Showing image in cv2 # cv2.namedWindow('image',cv2.WINDOW_NORMAL); #create a normal named window # cv2.imshow('image',img); #show image in window # cv2.waitKey(0); #wait for key # cv2.d...
[ "chifortune567@gmail.com" ]
chifortune567@gmail.com
d327409777969d2f94af518e7c12543f7e21b2f8
bb9d905d607b933da98157508980eb9a763e30d4
/06Deep Learning/01Introduction to Neural Networks/03Backpropagation in Neural Networks/09Updating the Weights and Biases - V/temp.py
f80261da9ef80ae26bec0da70f820e9db7c4be6b
[ "Apache-2.0" ]
permissive
talk2sunil83/UpgradLearning
92243af00b838c31143eed3fb17d4abd3b331ec0
70c4f993c68ce5030e9df0edd15004bbb9fc71e7
refs/heads/main
2023-06-16T05:02:13.194572
2021-07-08T07:52:08
2021-07-08T07:52:08
330,149,933
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
# %% from scipy.special import expit as sigmoid # %% z2 = [2, 1, 3, -1] # %% h2 = sigmoid(z2) h2 # %% sp = h2*(1-h2) sp # %%
[ "sunil.yadav@tavant.com" ]
sunil.yadav@tavant.com
97f0d0f83671adfdd78f491940ac6a031eca6beb
3286ba182095b43248d4c61f6d0b73267b845b99
/hashes/sdbm.py
f80941306a743d126221c3f76363b41263a16dac
[ "MIT" ]
permissive
arnabdas95/Python
8e045607bd6f1c8d85497a487bce08a15949198b
8062d282451f8cce8162a2915a69f245a598c279
refs/heads/master
2022-11-05T11:48:10.214443
2020-06-16T06:00:06
2020-06-16T06:00:06
272,621,970
0
0
null
2020-06-16T05:57:02
2020-06-16T05:57:01
null
UTF-8
Python
false
false
1,322
py
""" This algorithm was created for sdbm (a public-domain reimplementation of ndbm) database library. It was found to do well in scrambling bits, causing better distribution of the keys and fewer splits. It also happens to be a good general hashing function with good distribution. The actual function (ps...
[ "noreply@github.com" ]
noreply@github.com
dfa0fb7a21b30452a69930bf0078f16429b27b99
e04ee246bc9912b617747a17df055e8f28d63c80
/antiphishme/tests/functional/server/server_test.py
0ade4c572dacf900709c65127869cd46ba4150ba
[ "MIT" ]
permissive
wang-zifu/AntiPhishMe-backend
1c94c102b68054c61028cfb2ee8a7e319f12ea93
bde8a6fe381142ccd0481ab33a1fce5a92c6bfbc
refs/heads/master
2022-09-24T07:36:56.071541
2020-05-28T15:42:04
2020-05-28T15:42:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,573
py
import json import connexion import pytest import allure from antiphishme.src.config import ( connexion_app, BASE_PATH, SWAGGER_DIR, arguments, AUTH_API_KEY, SQLALCHEMY_DATABASE_URI, SQLALCHEMY_TRACK_MODIFICATIONS ) from antiphishme.tests.test_helpers import ( data_to_json, inf...
[ "arek.maruszczak@gmail.com" ]
arek.maruszczak@gmail.com
6ffdcc18cb1bf282c53853d5f0eb94e16793dca8
08ce1ea8fd6933a9aa560c22019e8ef515a18a4e
/main.py
803627607dd1d1f344ca8b48a42a215247b60e88
[]
no_license
GarrettCrippen/simple_weight_tracker
f6acfbe20230bc4d22923c02febfdcbbbd84bb1a
58bae3e633a111a58d0ea7ae2617b9f9985192d4
refs/heads/master
2023-07-15T12:57:02.946203
2021-08-17T20:16:55
2021-08-17T20:16:55
397,079,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
import tkinter as tk from chester import * from tkinter import ttk from tkinter import * # this is the function called when the button is clicked def btnClickFunction(): weight= getInputBoxValue() name = getListboxValue() try: entryToCell(name[0],weight.strip()) except: pass # this is...
[ "garrettcrippen@gmail.com" ]
garrettcrippen@gmail.com
29d8b2ee8e8f1f47332de7af743588638a015d9e
d3df22e32e7c85f47568fe7c939649225c9ff039
/zdl/utils/env/__init__.py
ba0815b4beb33c26be708725d2bd7e98ff2b173f
[]
no_license
ZDL-Git/PyZDL
6b8465eac25676dd59e36ba875b1bc3750ae18e2
c45cc92b9bb282e90505cdfefb07630dd5ba6c39
refs/heads/master
2023-07-10T11:54:09.352014
2021-08-26T08:26:46
2021-08-26T08:26:46
297,308,061
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
__all__ = ['colab', 'gpu', 'installer', 'require', 'terminal']
[ "zdl_daily@163.com" ]
zdl_daily@163.com
d28ab348d995c645b1a5372bfdc608e1e20db8f9
3921913ed746e6043cd8c43eb94d65445ed6c196
/apps/category/migrations/0003_remove_category_posts.py
be6104f0d455058be275f2b3eb492b494457d0b9
[]
no_license
IvesCostaBr/api-cerberus-blog
84063d90a302cabbe99ffc76fbd2f644f22d39e0
e9b29aec157970096dd730b19d61c276f7f4fcf4
refs/heads/master
2023-05-31T16:40:53.177068
2021-07-11T23:22:04
2021-07-11T23:22:04
384,473,706
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# Generated by Django 3.2.5 on 2021-07-10 22:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('category', '0002_alter_category_posts'), ] operations = [ migrations.RemoveField( model_name='category', name='posts', ...
[ "ivespauiniam@gmail.com" ]
ivespauiniam@gmail.com
e684a9df73e8e7fe660c66dd6a3bee79327335ef
f90e182e26ce86788decbe3df2b8b4803ddfaa30
/lists/views.py
0a4218685cb80961e3f686a467eccc699b7517a6
[]
no_license
junshoong/django-tdd-tutorial
cd4585965c480c65c8831307f7cd8996543871f6
d17bfcd277b3da51f1abbb65f230a6a4e8ac2422
refs/heads/master
2021-05-30T21:11:55.268051
2016-02-07T14:37:19
2016-02-07T14:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
from django.core.exceptions import ValidationError from django.http import HttpResponse from django.shortcuts import redirect, render from lists.forms import ItemForm, EMPTY_LIST_ERROR, ExistingListItemForm from lists.models import Item, List def home_page(request): return render(request, 'home.html', {'form':Item...
[ "kandinell@gmail.com" ]
kandinell@gmail.com
0a0e748bf4dc8a09b493a3fef0134605cf2b296f
08ca506a56125836ef0a428c03ba9398f679a30a
/src/python/run_email_data.py
6a62b954d8fb516f7a790ee0d5b4b4fb2f32368e
[]
no_license
mohak29/LSH-community-detection-modified
21af0490309e6c3554fed394097ff0a2bd88d971
71787456a2067a47e95e9e434d5aa5dd548378b2
refs/heads/master
2023-01-30T02:01:51.675726
2020-12-10T21:37:17
2020-12-10T21:37:17
320,394,570
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
""" A script to run the end-to-end process for the public email data. Added for reproducibility - the code is not to be executed end-to-end in production """ from generate_hashes import generate_hashes import pandas as pd from LSH import build_LSH_table from run_experiments import run_email_experiments if __name__ ==...
[ "ben.chamberlain@asos.com" ]
ben.chamberlain@asos.com
c8f46ddc437f6d5d9d6b882cbb6b00671a84b092
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/FCOS/configs/fcos/fcos_r101_caffe_fpn_gn-head_4x4_2x_coco.py
6632b0c9991468cf0ac99408e8d56050e37b2cf1
[ "Apache-2.0", "GPL-1.0-or-later", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
158
py
_base_ = ['./fcos_r50_caffe_fpn_gn-head_4x4_2x_coco.py'] model = dict( pretrained='open-mmlab://detectron/resnet101_caffe', backbone=dict(depth=101))
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
1e813b81714f94e01345cacadcea1dd494ce7b85
0bf87446836443105f83f2959906ce229a6754a8
/Faculty_Portal/Faculty_Portal/faculty/migrations/0021_auto_20171116_1550.py
9f5066acfe272bb369f554932445ee357a1cd0ce
[]
no_license
Daman98/Faculty-Portal
e41e9eef2e70adeb561871390708f256e48f12b6
6d8f6203dee448d18dbd99f07361e7543ef37431
refs/heads/master
2021-09-02T16:54:04.889613
2018-01-03T18:01:33
2018-01-03T18:01:33
110,006,595
1
2
null
null
null
null
UTF-8
Python
false
false
506
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-16 15:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('faculty', '0020_honor'), ] operations = [ migrations.AlterField( ...
[ "daman@iitg.ernet.in" ]
daman@iitg.ernet.in
89db1dff84377ac70faea753b40331041a064b81
8019dd4da01ff03872a23cb415d934b84fee4610
/Terrain.py
d33081e724e094da06ce98fbb3a6d7323eea2473
[]
no_license
DanielPepper2/grid-tactics
6b0055a24b04663c16a1e61dbde37b7cfc6460dc
940cb7bfbce07a0eb37b039945f3f2d52eced3f6
refs/heads/master
2020-04-09T21:46:30.776901
2018-12-06T03:10:27
2018-12-06T03:10:27
160,609,150
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
class Terrain(object): def __init__(self): pass #------------------------------ class Tree(Terrain): def __init__(self): self.bonus_def = 1 self.obstruct = False #------------------------------- class Water(Terrain): def __init__(self): self.bonus_def = 0 self.obs...
[ "45108103+DanielPepper2@users.noreply.github.com" ]
45108103+DanielPepper2@users.noreply.github.com
55254b14cca54a9d023f381cf47289d08f4441d3
a80fe2dac09c6dad11f8d894d110dd378eadc5fa
/tests/infra/sample/repository_test.py
be21cfd5411c0cb8f7653c2fdff65092e163b79b
[]
no_license
zoripong/flask-service-template
a0df4fed5686b94d1cab02d01c056bece821f87f
2b08f0094f15ee91cba116b505b22b7a599ce1ac
refs/heads/main
2023-06-01T12:26:38.332068
2021-06-12T09:13:43
2021-06-12T09:13:43
376,184,781
0
0
null
2021-06-12T09:13:44
2021-06-12T02:24:55
Python
UTF-8
Python
false
false
1,374
py
import uuid from app.domain.sample.model import Sample from app.orm import Session from app.usecases.sample.service import SampleRepository def test_get_samples( fx_session: Session, fx_sample_repository: SampleRepository, ): repository = fx_sample_repository result = repository.get_samples() ass...
[ "devuri404@gmail.com" ]
devuri404@gmail.com
677698db8e086156e51250aa2f54543a01f4ac72
eb46920d34db41c09781047967e457c856c93127
/ej5.py
5f23e80289c0d5a5fff059d732aa0397a99dcb46
[]
no_license
Campachino1/Practica2
de4571758a2935ec02d21c971aa2289ca7d425c3
82a5d1d295b629f8604e87e36644dcf4c657efe3
refs/heads/main
2023-04-13T17:39:37.868812
2021-04-02T00:43:43
2021-04-02T00:43:43
353,861,168
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
texto = input('ingrese una frase: ').lower() palabra_clave= input('ingrese una palabra: ').lower() texto = texto.lower() texto_md = texto.split(' ') cant = 0 for palabra in texto_md: if (palabra.startswith(palabra_clave))or(palabra.endswith(palabra_clave)): cant = cant + 1 print(f'la cantidad de veces que s...
[ "TherYack472@gmail.com" ]
TherYack472@gmail.com
239684968bd40f9c9afb05e428da15fdc4f35129
9eedf20381b82a564b1ffe68170594905e1ff4c1
/getpic.py
16523a804279fdd1fd0ae0bbed75978410f86e37
[ "MIT" ]
permissive
dljgs1/autoFGO
e83ae4ae90946997b0ab0ab1f5bcdd49c66f4b29
04e3225071dd0353bec9f605bd72264ea3141026
refs/heads/master
2021-05-12T10:21:48.471778
2018-01-13T15:08:13
2018-01-13T15:08:13
117,352,104
3
0
null
null
null
null
UTF-8
Python
false
false
4,675
py
import os import cv2 import threading from numpy import * from tkinter import * from PIL import Image, ImageTk tk = Tk() canvas = Canvas(width=200,height=100) canvas.pack() def pull_screenshot(): os.system('adb shell screencap -p /sdcard/buffer.bmp') os.system('adb pull /sdcard/buffer.bmp .') def tob...
[ "906348668@qq.com" ]
906348668@qq.com
b8435c3dcba554c90e0b1a8928dd03061ed1c4af
0dd204c00398c2b30ba9b9799cc659b82467f0d8
/data_structs.py
86ea807d78ee79bcc03065fc71f9157fd447db89
[]
no_license
language-allocation-enpc/prod_back_end
5c462cd18e94fbf31dc3266ef1507d0fd6740e37
aef1d976a787911c59751b2f9eb2f75e50c8b02e
refs/heads/master
2020-05-27T23:17:15.966556
2019-05-27T12:32:30
2019-05-27T12:32:30
188,817,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
import random as rd class course(): def __init__(self, id=-1, name='', language='', creneaux =[], min_students=0, max_students=0): self.min_students = min_students self.max_students = max_students self.id = id self.language = language self.name = name self.creneaux ...
[ "noreply@github.com" ]
noreply@github.com
ceb7331d835a00793f1292ae071acf4826f5e8f2
3236e67432b531fca18bba5bf83c8633f78353c9
/News-Summarizer/drivertemp.py
13ccadc1f5b2f9b38b82c817dd557925f4dc9e66
[ "MIT" ]
permissive
deeplearningcomplete/BadriNarayanan_BE_Finalyear_Project
4335185b120183455d8b70512d0f9f1b3cdc15c5
af61279912d8c95816d7e85ab983daa3f6891ee8
refs/heads/master
2023-02-15T12:06:31.671121
2021-01-14T06:43:21
2021-01-14T06:43:21
329,494,301
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
# driver.py # Luke Reichold - CSCI 4930 import colors import sys import os from summarize import Summarizer argentina_articles = ["argentina/argentina-guardian.txt", "argentina/argentina-nyt.txt"] china_articles = ["china/china-cnn.txt", "china/china-nyt.txt"] climate_articles = ["climate/climate-npr.txt", "climate/cl...
[ "karthikkannan@gmail.com" ]
karthikkannan@gmail.com
97da1f6f1c92e18786ea36593372ef77064b724b
40e7c8036a426902bb3ee6032759fa3302d8f410
/tp-3/experimental.py
0da3909d56d34b7ed7dc065bec91d3e27ea27bac
[]
no_license
mbfaria/sistemas-nebulosos
7e50be0000109be6093da468f594a059abc2a78b
96582b90ca482c10df1bf64d30f8b6481bfc9b3f
refs/heads/master
2023-08-06T19:38:35.198691
2021-09-10T00:32:36
2021-09-10T00:32:36
404,906,521
2
0
null
null
null
null
UTF-8
Python
false
false
6,032
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ ANFIS in torch: some simple functions to supply data and plot results. @author: James Power <james.power@mu.ie> Apr 12 18:13:10 2019 """ import matplotlib.pyplot as plt import torch import torch.nn.functional as F dtype = torch.float class TwoLayerNet(torc...
[ "matheus.brito000@gmail.com" ]
matheus.brito000@gmail.com
78012c88511b9e73dce08afc9a5ffa17d68f4a4b
9fb15a998915669f0503a85ce2c73e4a4d15e9f7
/billing/integrations/pay_pal_integration.py
959801e47da27beeb7c373a949cbf1774d5525aa
[ "BSD-3-Clause" ]
permissive
jimpurbrick/merchant
5c563c96d2bc80665ce0ab446035135eb3cc0beb
b28936b2c7ea15c8347e55da625d4ba82695dac3
refs/heads/master
2021-01-17T05:58:10.225947
2012-03-26T20:44:50
2012-03-27T10:52:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
from billing import Integration from django.conf import settings from paypal.standard.conf import POSTBACK_ENDPOINT, SANDBOX_POSTBACK_ENDPOINT from django.conf.urls.defaults import patterns, include from paypal.standard.ipn.signals import payment_was_flagged, payment_was_successful from billing.signals import transacti...
[ "thejaswi.puthraya@gmail.com" ]
thejaswi.puthraya@gmail.com
b111f7dd30c725ef68b07755ce01b29a36ba5062
76c608ef4de508c2765f11266d1e022b4a4ec5b6
/notebook_app/views.py
be2536612ed0f12f2634eb01df07a36f9fd0a035
[]
no_license
18rahul/Notebook
845cde428c695bf2395230ba57e65bc63b673b10
33d80685cba1085972285b197cddd5ca3764e4a9
refs/heads/main
2023-08-21T17:47:13.602458
2021-09-08T11:13:30
2021-09-08T11:13:30
404,317,016
0
0
null
null
null
null
UTF-8
Python
false
false
4,378
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from notebook_app.forms import CreateNoteForm, CreateTodoForm, EditTodoForm, EditNoteForm, UserRegistrationForm from notebook_app.models import Todo, Note def create_note(request): if request.user.is_authentica...
[ "rahul.kathait011@gmail.com" ]
rahul.kathait011@gmail.com
dda77cef180fb87236ac8dfd16fb943c9b60effa
bc9d121bad61ae9cac672617c87575aa779c317f
/avaliacao/avaliacao2/avaliacao2ex4.py
bc048369d01e7c976d2360d20d17da7883746a11
[]
no_license
Armindo123/prog1
70467d948096ad01a678de515d7611c40d9a7867
b6beb79a8fdb354ccb505e92735436680af071e1
refs/heads/master
2021-04-03T08:24:16.476179
2018-08-06T21:31:31
2018-08-06T21:31:31
125,064,931
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
#verificar se o numero e divisivel por 3 e 5 ao mesmo tempo numero = int(input("Introduza um numero inteiro: ")) if numero%3 == 0 and numero%5 == 0: print("{} e simultaneamente divisivel por 3 e 5".format(numero)) else: print("{} nao e simultaneamente divisivel por 3 e 5".format(numero))
[ "l.l_c@live.com.pt" ]
l.l_c@live.com.pt
d12162bc15d57743ceaa186b06598df673f1ed5a
dc3d32ed1b3131d35d6ec715ae1091a682a4d623
/Data-Driven-Microservices/main/ClientRead/linereader.py
192984a650e62f1d3551eab59c9e9805e72c569a
[]
no_license
Michael-O-Keeffe/Public-Code
cc1d2b365212a1fc5c5e3dfc5f71e64d8cc5997f
f3935237ebb461f10f0f5b5a31afd753e9266b6b
refs/heads/master
2021-09-23T07:28:50.085185
2021-09-22T12:20:04
2021-09-22T12:20:04
208,252,196
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
from random import randint import time import codecs def get_lines(): # data = open("ClientRead/ToTheLighthouse.txt") data_input_stream = codecs.open("ClientRead/ToTheLighthouse.txt", "r", encoding='utf-8') file_lines = data_input_stream.readlines() size_of_data = len(file_lines) for i in ...
[ "noreply@github.com" ]
noreply@github.com
696444d70297bd368cc8acfa944e74db0258efd5
567c54ba9176581a5d5e1ae65212a6e87a604f0b
/wsgi/pico/pico_blog/cms_app.py
1ca91c9a1bd5f04d8311a3c1f68506c5058b467a
[]
no_license
andrewidya/pico
e0641433e1e63ab865fe65924c32c687c75b8d83
4a0e8ff885601004aa92ba05d204e3fe6bd90731
refs/heads/master
2021-01-10T13:46:20.543152
2015-12-08T13:14:40
2015-12-08T13:14:40
45,040,768
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool from django.utils.translation import ugettext_lazy as _ from pico_blog.menu import CategoryMenu class PicoBlogApp(CMSApp): name = _("Blog Application") urls = ['pico_blog.urls'] app_name = 'pico_blog' menus = [CategoryMenu] apphook_pool.reg...
[ "andrywidyaputra@gmail.com" ]
andrywidyaputra@gmail.com
25b2cee59912a6f76e74a5851cb644a1a4cf3a69
bcff9ef2f71fc18175cce492763b0e54fcf2943a
/Testing/Exercises/vehicle/test/test_vehicle.py
37a6460330f22d89bf185cd10671f9b92b10b061
[ "MIT" ]
permissive
geodimitrov/Python-OOP-SoftUni
c077c03530c7b499d6e5401313e50f318062a061
f1c6718c878b618b3ab3f174cd4d187bd178940b
refs/heads/main
2023-04-08T12:55:34.108490
2021-04-12T09:00:51
2021-04-12T09:00:51
342,348,751
1
0
null
null
null
null
UTF-8
Python
false
false
1,705
py
import unittest from project.vehicle import Vehicle class VehicleTests(unittest.TestCase): def setUp(self): self.vehicle = Vehicle(50, 100) def test_vehicle_init__expect_initialization(self): self.assertEqual(50, self.vehicle.fuel) self.assertEqual(50, self.vehicle.capacity) ...
[ "geo.dimitrov@yahoo.com" ]
geo.dimitrov@yahoo.com
c310969b920dc12a8b95c596e49bfff4f00bb239
326cdb197d3df311d189642a51a575fb4d7fbe38
/directioncounter.py
22f105988f4209dec096df05e25af1ecd17b1092
[]
no_license
sarwes/python-project-2019-2020-
6bf7ec0564556c3a9c5533b3a5d0508b6f4f2f36
34791465cb4160d1991db3891174ce1b5b6b13d0
refs/heads/master
2023-01-28T11:44:18.831441
2020-12-08T08:07:55
2020-12-08T08:07:55
254,576,999
0
0
null
null
null
null
UTF-8
Python
false
false
2,358
py
import numpy as np class DirectionCounter: def __init__(self, directionMode, X, Y): self.X = X self.Y = Y self.directionMode = directionMode self.totalUp = 0 self.totalDown = 0 self.totalRight = 0 s...
[ "noreply@github.com" ]
noreply@github.com
c493d0af0665ae3e5afafb9518ef0d50a111c57f
dc6fec9f205f264943c504f72ab9db0a837ac6bd
/generate_sentences_from_templates.py
cb6daad498ee4d262773ed6464a14391f1f1c3c8
[]
no_license
jagol/XWEAT
b7536bc93042d3f3731ecea9138b3f8c209ecefc
d0c19aae337f0b952b7f0bd67aa41a0ddcf1f01f
refs/heads/master
2022-12-08T10:51:28.093370
2020-08-27T15:25:19
2020-08-27T15:25:19
273,503,535
0
0
null
2020-06-19T13:42:18
2020-06-19T13:42:18
null
UTF-8
Python
false
false
1,088
py
import os def generate_cmds_names(data_dir, exec_dir): cmds = [] os.chdir(data_dir) name_files = [fn for fn in os.listdir() if fn.endswith('_names.txt')] os.chdir(exec_dir) name_file_dict = {nf: [] for nf in name_files} for nf in name_file_dict: fn = nf[:-4] sent_fn = fn + '_se...
[ "janisgoldzycher@mailbox.org" ]
janisgoldzycher@mailbox.org
a59e76a8402c6f58836ecd05bd6ac2f1c90e2336
d560de760fb101b1221e2ef55f21f61a0fa1ee82
/lesson6/loop.py
433c02ffea3477181b5fbd6780132e9db06465f3
[]
no_license
hamidch97/itstep
e1bb9f2fe6eb4cea67c6b09ff506434206dc9f4c
65206e87b35eb5bceedeb874b2f879dd969fe2c4
refs/heads/master
2023-05-11T03:08:03.460110
2021-06-01T21:26:58
2021-06-01T21:26:58
334,538,174
2
0
null
null
null
null
UTF-8
Python
false
false
91
py
for i in range(1, 200): if i % 5 == 0: print(i) if i == 115: break
[ "hamid.rhk97@gmail.com" ]
hamid.rhk97@gmail.com
8b64ca1a519d1c6df6c658821fcdb4173750b95f
f89812f0c9c8393bb9ab1d807b4a6052105841c7
/myTool/findCheckTool.py
045b14b1e92fc6cceef4b85241d49e91ac0d2521
[]
no_license
forestdan/cyGetData
58ae70027d7739b97af0ce91d36a680ad1cfd885
6f5cdb3d72f85edceb26a3028ca57c7e62889bfe
refs/heads/master
2020-12-27T15:51:14.455557
2020-11-06T07:03:21
2020-11-06T07:03:21
237,958,508
0
1
null
2020-11-06T07:03:22
2020-02-03T12:21:12
Python
UTF-8
Python
false
false
262
py
# -*- coding: utf-8 -*- import re def checkPatternList(pattern, str): return re.compile(pattern).findall(str) def findPattern(pattern, str): textList = checkPatternList(pattern, str) if len(textList) == 0: return None return textList[0]
[ "danruixuan19910622@gmail.com" ]
danruixuan19910622@gmail.com
e2207eb632375240c9d6fe38f28ae9443f3d0d78
ea989ff714319408be9b9039199481c45e722dd6
/RMRB raw/generate the correct count for 2007_2016.py
0e393ed226e902705bfb989e87310d330b2f2393
[ "MIT" ]
permissive
DingqianL/China-Economic-Policy-Uncertainty
b8c7219bcc2243c4bda735227c2529a9a391949c
aa7305226028db60fb7fcb36b47f262e53e1deb5
refs/heads/master
2023-07-11T12:02:35.638502
2023-07-01T15:00:45
2023-07-01T15:00:45
273,489,634
1
1
null
null
null
null
UTF-8
Python
false
false
1,201
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 9 08:48:50 2021 @author: dingq """ import os import pandas as pd path = r'C:\Users\dingq\Documents\200_academic\220_Academic_My dissertation\225_data_txt\RMRB_compelete\2007_2016' os.chdir(path) files = os.listdir(path) files = [f for f in files if f.endswit...
[ "noreply@github.com" ]
noreply@github.com
e86b7178023c984c678439147625a2ed9059ccd6
cdbe9863537de099b9aaa0ab93bc86d153aaf8ee
/modules/config.py
c86d21a1b502123be0323cba37a7dc22cc2a8fd5
[]
no_license
sina-yeganeh/kid-keeper
fdaa010d5cd51754553871ccae37d7d8e9467bce
2df065b623cb7ba75b7c6ade678fa02d170a8303
refs/heads/main
2023-06-12T13:44:16.822928
2021-07-14T17:01:41
2021-07-14T17:01:41
358,829,646
10
1
null
2021-07-14T17:01:42
2021-04-17T08:51:20
Python
UTF-8
Python
false
false
154
py
import json def load_config_data(config_file_path: str): with open(config_file_path, 'r') as config_file: return json.load(config_file_path)
[ "mohammadiashkan1384@gmail.com" ]
mohammadiashkan1384@gmail.com
f701bd5a7d50e7129fc3a405947514721a873363
1b38fb5610ce6c4d2c99dcb0ba5a07fd22db8e79
/large_margin_softmax.py
08a4a2f0005a458074747229bbd21eafe152184c
[ "MIT" ]
permissive
doublefish20170305/pytorch-loss
4189f842632fb5d82541d704755c287f69084d0a
a981ceeb0aeef6aab3ec72e5518acbb875a2b6f1
refs/heads/master
2022-11-17T10:53:42.108472
2020-07-12T03:10:45
2020-07-12T03:10:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,969
py
import torch import torch.nn as nn import torch.nn.functional as F ''' proposed in the BMVC2019 paper: [Large Margin in Softmax Cross-Entropy Loss link to paper](https://staff.aist.go.jp/takumi.kobayashi/publication/2019/BMVC2019.pdf) ''' ## # version 1: use torch.autograd class LargeMarginSoftmaxV1(nn.Module): ...
[ "867153576@qq.com" ]
867153576@qq.com
fe6d549cbe5b5d077471254ce96978572ea454e2
bfedc524fa369b3e253bd3bf718a9dc2e263c0ca
/setup.py
2d438ff913233cfd32feb375eaa57241492b6981
[]
no_license
proycon/wikiente
567025fb112f7413cab3ffd4244561331a98fc20
f0e6e458fb9bb61326fd0be09d0ef4da62f88eda
refs/heads/master
2020-05-31T19:23:37.879300
2019-08-06T10:43:52
2019-08-06T10:43:52
190,455,175
1
0
null
null
null
null
UTF-8
Python
false
false
1,271
py
#! /usr/bin/env python # -*- coding: utf8 -*- from __future__ import print_function import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname),'r',encoding='utf-8').read() setup( name = "WikiEnte", version = "0.2.1", #also edit in __init__.py a...
[ "proycon@anaproy.nl" ]
proycon@anaproy.nl
cd6c0d5c6a80c1456e572db67cae0d1e6cc506b0
f22321e1b285bc112472be3665ad6944ffad471c
/src/test/test_visit.py
10afe0fd457784ad448bb231c0b9ff86619fbc72
[]
no_license
stephen-bartell/py-find-home
83e0d64aa274b45af0747ba25d70be619ed0642d
7dba07500b64da71bf944e167fae553760d6766f
refs/heads/master
2021-01-22T21:27:49.658186
2017-03-19T17:12:26
2017-03-19T17:12:26
85,433,013
0
0
null
null
null
null
UTF-8
Python
false
false
1,873
py
from unittest import TestCase from src import Visit import datetime class VisitTestCase(TestCase): def test_full_window(self): twelve_hours = 43200 visit = Visit(None, None, '3/17/2017 20:00:00', '3/18/2017 08:00:00') self.assertEqual(visit.get_applicable_duration(), twelve_hours) d...
[ "stephen.bartell@sdvi.com" ]
stephen.bartell@sdvi.com
0d1b00e03c7a24c45fcda6601e7f86eef93f7208
d2d58e85775965d2cfbcb296f98b10936fc060ed
/main.py
36e066e401f6963f465b612b249c4c91b3684e4d
[]
no_license
ChrisY0910/Python-Proj-by-Hackermans
2cd67b27f9d2598994f0d449ba561ab300eae999
031e45f940ff5c7290344e02098dc73024294b2e
refs/heads/master
2023-08-25T09:20:48.734241
2021-10-14T00:59:42
2021-10-14T00:59:42
416,944,600
0
0
null
null
null
null
UTF-8
Python
false
false
8,311
py
#Game Menu import time import random import math import turtle t = turtle.Screen() t.bgcolor('black') turtle.speed(0) for i in range (20): for colurs in ['red', 'cyan', 'green', 'turquoise']: turtle.color(colurs) turtle.circle(100) turtle.left(10) print("Welcome to Hackerman's Minigames!\n") print("1...
[ "50881233+ChrisY0910@users.noreply.github.com" ]
50881233+ChrisY0910@users.noreply.github.com
11c8dee9d67029a97d8822180a40112a671a3477
1fcaed157c853449172423e91faa3e4afb669bd4
/Parliament.py
a7cc836abc81bc7bfe885dab7ebf49937367ad93
[]
no_license
hplisiecki/Parliament
a4ccf53f1acd90c8104eb00903a105b55261676e
316c7a43c5ec315d55750a7888298c67b605421a
refs/heads/main
2023-03-14T08:17:24.607531
2021-03-04T18:39:14
2021-03-04T18:39:14
330,198,114
0
0
null
null
null
null
UTF-8
Python
false
false
17,901
py
from selenium import webdriver from bs4 import BeautifulSoup import re import requests import sys import pdfminer import urllib import fitz from io import StringIO from io import BytesIO from pdfminer.layout import LAParams from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.pdfpage impo...
[ "noreply@github.com" ]
noreply@github.com
56d20081ed42a3a0a4df7ef1c8a4aa8e92591758
8d45129798941128a51e26754892f551ee570365
/main.py
36805be109a378233c6c11f4a24b9f2235864955
[]
no_license
lyimeng/Machine-Learning
215a47fa4fe3abbd2384ca2406df865e12f90c5d
e9c1805a7bc02dc1a8158f0cf124b0941b1c2e3f
refs/heads/main
2023-04-12T02:07:19.573991
2021-04-22T13:14:25
2021-04-22T13:14:25
360,523,585
0
0
null
null
null
null
UTF-8
Python
false
false
4,817
py
from build_dataset import build_dataset from pyimagesearch import config from extract_features import extract_features from shutil import move,rmtree,make_archive from train import train import numpy as np import shutil import os import time # initialize the path to the *original* input directory of ima...
[ "noreply@github.com" ]
noreply@github.com
cd10d8c80e65a59e8a288cb9b795509c3864b1c0
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scripts/Whatsapp Automation/whatsapp_attachment.py
ccdb8123b93491e448914e300a00a0c852f81d37
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:d121775ff8916c1d15d64101a4aa7195719f75e69ad16c9e45b21a9a863dd354 size 719
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
c61187564431a8316c2ea92e0e799f63e8e7d109
e8ef621a0c3a7b602c261cb81feb11e676f12517
/python-tdd/python_tdd/lists/views.py
42c380fc6ef7540d034bf516daef49d6cc96109f
[]
no_license
hwshim0810/studyData
3f32ab80de2e6c3714bce6cb18bad7537de07350
0f71f0750ecd77e71a7652a368d51faed9dadc69
refs/heads/master
2021-01-11T15:59:52.534627
2018-03-16T14:39:04
2018-03-16T14:39:04
79,977,759
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
from django.shortcuts import render, redirect from django.core.exceptions import ValidationError from lists.models import Item, List from lists.forms import ItemForm def index(request): return render(request, 'lists/index.html', {'form': ItemForm}) def view_list(request, list_id): list_ = List.objects.get(...
[ "shim.hw0810@gmail.com" ]
shim.hw0810@gmail.com
ec400a4b47d9e265b8637a811cbf97d821d30418
be493cd376e50985a4b5312bbae5cc4e8fb970bb
/trading_src/aml_experiments/BoolingerB/boolingerB_entry.py
673ec33845fbf100cd48a1d3f642ece40d590156
[]
no_license
RGuseynov/Trading_AML
5b850153f11aa1f4c9bddc6a02a08efc3558ff38
f7e215c0e76f4491f13e525544020f041823f5d7
refs/heads/master
2023-01-20T07:09:20.384354
2020-11-28T21:10:49
2020-11-28T21:10:49
287,303,844
0
1
null
null
null
null
UTF-8
Python
false
false
2,098
py
import azureml.core from azureml.core import Environment, Experiment from azureml.core.conda_dependencies import CondaDependencies from azureml.train.estimator import Estimator from azureml.core import Model from azureml.core import Workspace, Datastore, Dataset from azureml.core.compute import ComputeTarget, AmlComput...
[ "rustam.guseynov@exakis-nelite.com" ]
rustam.guseynov@exakis-nelite.com
5694f64e95738675e7ab87398f94d54ae3f259d9
627746e4afafcf7342bba114e089ffe7c7c754b3
/webroot/Pj/mysite/mysite/polls/migrations/0003_userprofile_image.py
60719e1586e61fc554100fc560439c96b2ab76f9
[ "Apache-2.0" ]
permissive
dinhkute/Incisive-AIESEC
168855f7076181112aa8b1dcbf3818f07ba6cb91
b83db81f09596d05e4bbb6362fab7af931b63e9f
refs/heads/development
2021-01-17T18:09:16.183698
2017-08-16T16:22:51
2017-08-16T16:22:51
95,542,240
0
0
null
2017-06-28T15:39:29
2017-06-27T09:35:52
Python
UTF-8
Python
false
false
490
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-10 15:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0002_userprofile'), ] operations = [ migrations.AddF...
[ "noreply@github.com" ]
noreply@github.com
671ab89816e4b7577c1598aa39e51fa871991b44
e7809b43b36b16a1602224ae7ebb4ca15d1003c8
/userTransfer_API/views.py
589733352eafbbd0b936df58e459b0974e9d707f
[]
no_license
dinaelgamal/BankingSystem
9b1cf41fa460545b51a7c48080e5860d7aec1df2
d0aef584b308b5e7d599a955ae8e9dbd1c3caf3f
refs/heads/master
2023-05-26T21:32:02.969212
2021-06-08T13:04:50
2021-06-08T13:04:50
375,007,660
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
from rest_framework.views import APIView from rest_framework.response import Response from .serializers import * from userBalance_API.models import userInfo from rest_framework import status class userTransferAPIView(APIView): def post(self, request): amount = request.data['transferAmount'] currenc...
[ "dina_elgamal52@yahoo.com" ]
dina_elgamal52@yahoo.com
08a114c60dd9db78443445fbbeb7fe8d1e476e47
12937dce57bb50eda8540351e02992c59281487c
/kaleido/commands/compound.py
4d252397c7a93d92f34d5224fab4aefccf3265d2
[]
no_license
esameth/kaleido
7902a1c87f4f1e7e886561dd3ec9ffd03fae4679
b985936f483da52740d7eadf2910be0787cd0136
refs/heads/main
2023-03-31T03:16:27.123229
2021-03-31T06:54:18
2021-03-31T06:54:18
352,113,691
0
0
null
null
null
null
UTF-8
Python
false
false
4,451
py
import sys from kaleido.plates import Plate from kaleido.compounds import Compound from kaleido.commands.well import del_well, valid_plate_well from kaleido.command import Command, FileCommand from kaleido.utils.util import write_file, exists ###########################################################################...
[ "esameth1@gmail.com" ]
esameth1@gmail.com
5066d36c7f4b1717e5413e09403d6a2fff022a9e
e273bf149407743b0e1458d35b081fbc1797199a
/users/alina/coherence_code/coherence_practice.py
cae8b7c601591703e8054bc3bc49d6bef4885669
[]
no_license
smerdis/megavista
dad2a8e5ed1df72f8a7345bfda86d86cb3ca19cb
fa9ca02b5a3aa72937d7253d97bcfc7143b27390
refs/heads/master
2021-01-18T23:52:32.710292
2017-06-29T20:47:04
2017-06-29T20:47:04
87,128,497
0
0
null
2017-04-03T22:56:33
2017-04-03T22:56:33
null
UTF-8
Python
false
false
6,438
py
# Changed on 1/28/11 import numpy as np import matplotlib.pyplot as plt import scipy.stats as stats import pickle import datetime import vista_utils as tsv # Get it at: https://github.com/arokem/vista_utils from nitime.fmri.io import time_series_from_file as load_nii import nitime.timeseries as ts import nitime.viz ...
[ "alinalib@gmail.com" ]
alinalib@gmail.com
2e13581230ed203e620ba514738fbb9d866670e3
f7cdfe407d0d33892d9d8769abfb553479b9c305
/COMP1_Summer_2014_SkelProg_Python32Pub0.0.0_version2.py
dc49c80a84340819d5426cdbe1f929f46db29669
[]
no_license
HarryVines/Preliminary-Tasks-2014
4969b71d8c2003cedd14de9c32c6d49bde41b0c1
a6e5a196842a4cba5df17d1e9a1f68a8813b48fa
refs/heads/master
2021-01-23T14:05:04.442079
2015-03-23T11:14:42
2015-03-23T11:14:42
32,727,397
0
0
null
null
null
null
UTF-8
Python
false
false
7,188
py
# Skeleton Program code for the AQA COMP1 Summer 2014 examination # this code should be used in conjunction with the Preliminary Material # written by the AQA Programmer Team # developed in the Python 3.2 programming environment # version 2 edited 06/03/2014 from datetime import * import random NO_OF_RECENT_SC...
[ "44550@PC004150.coll.lr.local" ]
44550@PC004150.coll.lr.local
28b08ff13cf7bac0a4f3d1d0baa8ea71fd191be3
2654bbd5700e5153311f8e6064bee6cbbabe62fa
/qiita/client.py
40844343b72157d2d131182d961e86ab7814be71
[ "BSD-3-Clause" ]
permissive
heavenshell/py-qiita
0a2017fde51f64b8443ba2602e11d9396ffdd3a3
f39ac0dee0d7e499634fd861b06f9603eeaf2abf
refs/heads/master
2020-04-05T23:05:52.437425
2012-10-22T11:07:15
2012-10-22T11:07:15
6,228,366
4
2
NOASSERTION
2018-10-30T13:16:04
2012-10-15T14:30:22
Python
UTF-8
Python
false
false
3,308
py
# -*- coding: utf-8 -*- """ qiita.client ~~~~~~~~~~~~ Python wrapper for Qiita API v1. :copyright: (c) 2012 Shinya Ohyanagi, All rights reserved. :license: BSD, see LICENSE for more details. """ import requests from . import json from .exceptions import on_complte class Client(object): ROOT...
[ "heavenshell.jp@gmail.com" ]
heavenshell.jp@gmail.com
ec82224f8f674e04c2d12394464bbe2513bf8ad9
90a1f47fd8b73de2f132a90d38709f0d6e354609
/node_modules/fsevents/build/config.gypi
aa77c1f8d50d8fabacfe7608ac183bda2bee8ccf
[ "MIT" ]
permissive
db630401865/gridsome-lagou
75e96f0d9186fddd33b76ca70bdfc923d968309b
3b79b792d831473a299b234f2a75b7988f34ba02
refs/heads/master
2023-07-10T09:06:14.814873
2021-08-20T04:46:28
2021-08-20T04:46:28
398,157,521
0
0
null
null
null
null
UTF-8
Python
false
false
3,480
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "dcheck_always_on": 0, "debug_nghttp2":...
[ "bo.dong@bangcle.com" ]
bo.dong@bangcle.com
fe2b27a045824950873461d3f99af2bb57118106
4e353bf7035eec30e5ad861e119b03c5cafc762d
/QtGui/QPrintPreviewWidget.py
076aefa669f30053247e57c1fbe3f1006f686646
[]
no_license
daym/PyQt4-Stubs
fb79f54d5c9a7fdb42e5f2506d11aa1181f3b7d5
57d880c0d453641e31e1e846be4087865fe793a9
refs/heads/master
2022-02-11T16:47:31.128023
2017-10-06T15:32:21
2017-10-06T15:32:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,154
py
# encoding: utf-8 # module PyQt4.QtGui # from C:\Python27\lib\site-packages\PyQt4\QtGui.pyd # by generator 1.145 # no doc # imports import PyQt4.QtCore as __PyQt4_QtCore from QWidget import QWidget class QPrintPreviewWidget(QWidget): """ QPrintPreviewWidget(QPrinter, QWidget parent=None, Qt.Wi...
[ "thekewlstore@gmail.com" ]
thekewlstore@gmail.com
29a513a97699bac4ada9d6548a4147dce1385c6c
921bb79da08d149569668e7334124992eff1aadd
/python/migrationDataReportHelper.py
ad24e7f2193b5ccc1fb4407d59462c6e6af1a993
[]
no_license
apaladino/sideprojects
56b839bf12fd499e4430bd63338d552063a0eb55
b15d7d69bd4acf8c38815875d3dba35b5452e881
refs/heads/master
2023-08-31T15:03:51.302741
2020-12-06T16:48:32
2020-12-06T16:48:32
12,347,334
0
0
null
2022-12-16T01:34:15
2013-08-24T17:52:33
PHP
UTF-8
Python
false
false
2,784
py
#! /usr/bin/env python import sys import urllib2 import json ##### MigrationHelper ##### ##### Pulls migration related data from the migration service via rest api and ##### ##### converts to a CSV file. ##### apiPath="/Service/migration/migrationStatus?migrationStatus={0}&migrationSta...
[ "andy_paladino@yahoo.com" ]
andy_paladino@yahoo.com
85f0210572674ceb5890fddb8804e79065b97528
096731a4209054fb5aa5be7568b22d5b8360cce4
/mercury_ml/h2o/containers.py
f475499b15f1d619d48dfd3ae20e644459845473
[ "MIT" ]
permissive
gabrieloexle/mercury-ml
7787ef571b7e7272a53b07a4cc44b84503fe050f
cc663f84a26ee66ae105bbfc0cd1cbd5629031cd
refs/heads/master
2020-04-29T03:39:56.491866
2019-03-25T07:14:04
2019-03-25T07:14:04
175,818,972
0
0
NOASSERTION
2019-03-15T12:47:20
2019-03-15T12:47:19
null
UTF-8
Python
false
false
2,442
py
""" Simple IoC containers that provide direct access to various H2O providers """ class ModelDefinitions: from h2o.estimators.deeplearning import H2OAutoEncoderEstimator from h2o.estimators.deeplearning import H2ODeepLearningEstimator from h2o.estimators.deepwater import H2ODeepWaterEstimator from h2...
[ "Karl.Schriek@alexanderthamm.com" ]
Karl.Schriek@alexanderthamm.com
c49cf311e1d75d682fef09ca91874244e34aeb60
b3db0c8aac2eb3cb098c9b4e811747684617534e
/flask_app/main.py
ddec340dd46a0568092f4a572dec7830b2291ecf
[]
no_license
solashirai/FoodRec
814c58431c134a1e561414dbfe2c64f842cd53fd
a14fcf2cafaf26c5bb6396485a16052c6925aa6f
refs/heads/master
2023-04-07T04:40:13.249868
2021-04-19T02:29:36
2021-04-19T02:29:36
359,238,418
0
0
null
null
null
null
UTF-8
Python
false
false
8,133
py
from flask import Flask, request, abort import rdflib from food_rec.services.food import ( RemoteGraphFoodKgQueryService, LocalGraphFoodKgQueryService, RecipeEmbeddingService, ) from food_rec.services.user import ( RemoteGraphUserKgQueryService, LocalGraphUserKgQueryService, ) from food_rec.services...
[ "solashakashirai@gmail.com" ]
solashakashirai@gmail.com
5efb8685aa7ad459083c04a11139c79ec492517f
bc4b756a5aa0c3966513fc1067228adc08790907
/tp03_ex03.py
b8cd7ebc161b28deb4bd467e6b103710ecd6b985
[]
no_license
rafatahmedrs/rafatahmed
b3cffd35dc30e04c7897b79359e6e43f7ce44433
92e3ece8f4269ba02c8f0bfc83f7ed930273e7d4
refs/heads/master
2020-07-28T06:57:14.390124
2019-11-24T22:33:07
2019-11-24T22:33:07
209,344,739
0
0
null
null
null
null
UTF-8
Python
false
false
3,267
py
import math ### Copiez votre code de l'exercice précédent # Fonctions def initialisation_lapins() -> int: """ :return: # qui retournera un int # sans parametère, # représentant le nombre de lapins saisi par l’utilisateur """ lapins_dep: int = 0 while lapins_dep < CONDITION_LAPIN: ...
[ "noreply@github.com" ]
noreply@github.com
9c3344e9685c08ce36ce59615225678df3a850bd
193bf5d7c825e5958f0cccf83a8c353cbaa5faba
/mlchain/cli/prepare.py
d0c4e0a577f18606fd18aa4b3e5e6aeec4e75e4e
[ "MIT" ]
permissive
phamngoclinh96/mlchain-public-dev
057c4d2a86cfdd42e5b33bf020308a0b6e2cd144
56f7e4ebb54821a980f044390fc20cb5f93693f7
refs/heads/master
2022-11-29T13:48:16.354938
2020-08-12T07:08:54
2020-08-12T07:08:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
import click import os import sys from mlchain import logger op_config = click.option("--config", "-c", default=None, help="file json or yaml") @click.command("prepare", short_help="Download files from object storage to local.") @op_config @click.option('--force/--no-force', default=False) def prepare_command(config...
[ "55957585+atrung2901@users.noreply.github.com" ]
55957585+atrung2901@users.noreply.github.com
bdd07269231526dfe07be10f50f71430bc1eeeab
f36e69f4385185150558843ee26379cd88723e24
/passing_the_parcel/serverclient.py
b12a7fa0a9ec1919ca7aa604b8ede5dec4a45268
[]
no_license
ayush268/ACA_Project
896ad6ef3b478641ad1b9b793f56fe86d87e13a1
c0c3fc85afd15ec900544e42748b123d61f52ca0
refs/heads/master
2021-01-19T12:32:58.781439
2017-11-10T04:33:10
2017-11-10T04:33:10
82,320,125
0
0
null
null
null
null
UTF-8
Python
false
false
2,338
py
#!/usr/bin/env python2 import zmq,sys,random # importing modules Max = 10**7 # Setting max number (for random generation) def server(): # ZeroMQ Context context = zmq.Context() # ...
[ "ayushb268@gmail.com" ]
ayushb268@gmail.com
ae758187bb319dd9076db7cc30189ce91b587bba
08aa99127532716e3439be3c7aaea14ba4ebbe38
/clinic/PreModel_Encoder_CRF/dataloader_utils.py
dd3a1bc5474aac03044c7d0f957f1150d6892288
[]
no_license
DaserIF/ccks_ner
2a8ca4469a5a3dcfefd15a3daf9a938bf3a59500
2c72021b371c80e95b62c1a42e7e5dc557296332
refs/heads/master
2022-12-28T10:59:13.535283
2020-10-15T12:07:12
2020-10-15T12:07:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,025
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """dataloader.py utils""" import re def split_text(text, max_len, split_pat=r'([,。]”?)', greedy=False): """文本分片 将超过长度的文本分片成多段满足最大长度要求的最长连续子文本 约束条件:1)每个子文本最大长度不超过max_len; 2)所有的子文本的合集要能覆盖原始文本。 Arguments: text {str} -- 原始文本 max_...
[ "hengyi0919@qq.com" ]
hengyi0919@qq.com
6cdc4a60bec700acdb6e1a866de2e1df63ae5908
dfaa71f8064d3d0773941cf14ab86ff57ff67284
/part31_part32/contact/forms.py
2f16b203257459d2405c31b667ec9a24549a61bd
[ "Apache-2.0" ]
permissive
yllew36/WellyGI
e94c5000ff3a7f2fd7316d22ad166fbf7916ea23
7d53fac4c81bb994f61b22761e5ac7e48994ade4
refs/heads/master
2020-09-05T15:49:37.386078
2019-11-15T08:16:59
2019-11-15T08:16:59
220,148,061
1
0
null
null
null
null
UTF-8
Python
false
false
680
py
from django import forms class ContactForm(forms.Form): nama = forms.CharField(max_length=255, required=True) email = forms.EmailField(label='Alamat Email',initial='example@gmail.com') Pilihan = ( ('P', 'Pria'), ('W', 'Wanita'), ) jenis_kelamin = forms.ChoiceField( widget=forms.RadioSelect, choic...
[ "yllew36@gmail.com" ]
yllew36@gmail.com
c4867da0de6f4149234dd8abc1c301ca4fe9c440
e51ef1f2505a4d97c7ec8209dd1f124b6fbf8826
/enrichment_analysis/kegg_analysis/OriTerKeggScrape.py
53dec3325ed825954049f8c0eafaddf545104af1
[]
no_license
izaak-coleman/KoremRotation
ddee3d9184d10328c529008a7a85dbdde7c295e4
42784610107f69496fe71f135485d885ba1ec038
refs/heads/master
2020-05-04T17:42:13.773883
2019-06-16T05:34:12
2019-06-16T05:34:12
179,322,187
0
0
null
null
null
null
UTF-8
Python
false
false
6,044
py
import sys import os import urllib.request import collections import re from subprocess import Popen, PIPE import gzip import KeggNames kn = KeggNames.keggnames # Use my NCBI API key to set server/second server access <= 10 os.environ["NCBI_API_KEY"] = "f4142f101db95406745385d940b13c37ab07" # Make data struct to st...
[ "thenameisizaak@gmail.com" ]
thenameisizaak@gmail.com
217874844c539b95323467ba4a4af14e88e57b2b
32617b06437120912e7eb23fcf79b8fbae4f94e8
/DP/3. Longest Substring Without Repeating Characters.py
f2efbffba394b6fdf425c8876344921c394a5d8f
[ "MIT" ]
permissive
xli1110/LC
e537c3bbc40d480dd9426ce515ad4a9464fcb7ce
3c18b8809c5a21a62903060eef659654e0595036
refs/heads/main
2023-06-03T03:28:26.573215
2021-06-21T07:34:38
2021-06-21T07:34:38
351,021,807
2
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
class Solution: def lengthOfLongestSubstring(self, s: str) -> int: """ loop: if dic consists of char: # use the SMALLER to iterate if i - dic[char] <= dp[i - 1]: dp[i] = i - dic[char] else: dp[i] = dp...
[ "lixuyang05@meituan.com" ]
lixuyang05@meituan.com
870e15f0faa34be390ad5258327d88781bb1831f
bf5935cecf1b65461b1de9a67a013f0b03c3d1d0
/boutique/migrations/0041_remove_product_gender.py
c1da06f004ff15a49e902dda6e25be493916489f
[]
no_license
meriemay/Shop
53287aab6382163e6069130c8e5304ed7ffd0e3b
f5d44193e030c4ef9b5cf27896754767beaee3ef
refs/heads/master
2021-01-18T17:50:49.688779
2017-08-29T14:34:34
2017-08-29T14:34:34
100,497,878
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-21 20:42 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('boutique', '0040_product_gender'), ] operations = [ migrations.RemoveField( ...
[ "you@example.com" ]
you@example.com
99a61140b450e7d909ba4008b6398761c693d5d1
ce7eb9e245787df912c9991e8be1d22369e88dfa
/despace.py
155a02b82bfbdc646c8a44b8003987868fc0b47d
[]
no_license
ForgottenUmbrella/misc-python
80d0fc97c33a863fc7138fc2ee272fb305958ca9
99bc8784b97218759f86656ee49b5a4100431d39
refs/heads/master
2020-06-25T07:59:42.992701
2019-01-08T07:11:10
2019-01-08T07:11:10
96,966,675
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
#!/usr/bin/env python3 import sys def remove_chars(text, chars): """Return `text` with all `chars` removed""" new_text = "".join([char for char in text if char not in chars]) return new_text def main(text): """Print and return despaced `text`.""" despaced = remove_chars(text, ' ') print(desp...
[ "regretfulumbrella@gmail.com" ]
regretfulumbrella@gmail.com
0a5faa27aaff6e0df9efc8434f5fd9fcd50c805c
0221baccb984a9412c59ddf8faeb8882d7ff91ea
/predict_nuber_of_clusters.py
e0c29ecf5c218b97ec0a31e45f8c1b0523ce0b59
[]
no_license
roysgitprojects/Unsupervised-Learning-Middle-Project
095e511843e526ace8389dbde28231dad6440c5c
45a3e10c7e1c7de788940b98578301365d965422
refs/heads/main
2023-02-14T20:21:07.497837
2021-01-07T09:21:15
2021-01-07T09:21:15
327,015,402
0
0
null
null
null
null
UTF-8
Python
false
false
4,007
py
import numpy as np from sklearn.cluster import KMeans, AgglomerativeClustering from sklearn.metrics import silhouette_score, silhouette_samples import matplotlib.pyplot as plt import matplotlib.cm as cm from yellowbrick.cluster import KElbowVisualizer import clustering def perform_elbow_method(points, ...
[ "noreply@github.com" ]
noreply@github.com
62c0121b37951ff165e2f0c7a7fa47b6dc1ec980
bc2742cac4347eb8652295a0d4aeb8633eea7c1b
/tests/layers/connections/test_connections_basic.py
1c0996b19decffb44a73adbda978bd60ee85ad64
[ "MIT" ]
permissive
temp3rr0r/neupy
933648658cc2a5e85e0fc3955de0a3de65ea97c1
f36071f5f46bf79ffd18485acca941db578656e8
refs/heads/master
2023-05-25T09:55:10.654122
2018-12-17T16:56:30
2018-12-17T16:56:30
163,117,180
0
0
MIT
2023-05-22T21:44:38
2018-12-25T23:24:17
Python
UTF-8
Python
false
false
4,433
py
import numpy as np from neupy import layers, algorithms from neupy.utils import asfloat from base import BaseTestCase class ConnectionsTestCase(BaseTestCase): def test_connection_initializations(self): possible_connections = ( (2, 3, 1), # as a list [layers.Input(2),...
[ "mail@itdxer.com" ]
mail@itdxer.com
7d8cd2c126385050c66363fa4a92a053fa6ef9b3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03096/s328164681.py
831bf64bddd7e866af446ff2b39f600d31c60135
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
import sys DBG = not True R = 1000000007 MAXN = 200000 n = int(input()) c = [] for i in range(n): c.append(int(input())) tot = 1 s = [0] * (MAXN+1) for i in range(n): if i > 0 and c[i] == c[i-1]: continue x = s[c[i]] tot = (tot + x) % R s[c[i]] = tot if DBG: print("i {} sci {} t...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
90b7225eaba6669d66568ab1341e99ac26bae5a5
e53d0217591a2dbbef1a5c6c126e14d2990e556b
/preprocessor/case_insensitive.py
60f23c25528af34e6dafff0d83b057e7c4d86f5d
[]
no_license
wikty/EmailFilter
ee4a0f918bb74418a4e1f608f351be25cb903f8c
eb47aa1ff736ec6663b668540fb09df0e6b2ca38
refs/heads/master
2020-03-28T15:30:36.691360
2018-09-13T08:01:03
2018-09-13T08:01:03
148,601,700
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
def lowercase(tokens): if isinstance(tokens, list): return [str(token).lower() for token in tokens] else: return str(tokens).lower() def uppercase(tokens): if isinstance(tokens, list): return [str(token).upper() for token in tokens] else: return str(tokens).upper()
[ "xiaowenbin_999@163.com" ]
xiaowenbin_999@163.com
7dda66d9812ab3a69b95ce0766814ca54af5f977
4631cb70c5af6530e2e493abbc34cedfcb82917d
/gallery/settings.py
a07394397d1d64023b1e7ba3605b318fc5e5ab7b
[]
no_license
nimomaina/Gallery
e8d55cd7cda3ab17aae9f75db2e34854391c2fe1
959181666c4996793800f59912063de925c0435e
refs/heads/master
2020-04-26T16:43:59.042466
2019-03-05T07:22:44
2019-03-05T07:22:44
173,689,709
0
0
null
null
null
null
UTF-8
Python
false
false
4,277
py
""" Django settings for gallery project. Generated by 'django-admin startproject' using Django 1.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os i...
[ "nimomaina.nm@gmail.com" ]
nimomaina.nm@gmail.com
3ca2c8aa7dd8e24c800b0e1dbee3e0bc4b3b4fb8
7c20132b8f5b4171e31bd4f837faf5d39a108325
/setup.py
4e42151e833c137be1fbd1c49fcaea3db677bf05
[ "MIT" ]
permissive
holzenburg/feedshare
c52b7c22ed84a438dbfa409df34c6ab4cf270d40
44e9bfb7d92ed0707b6dd196ead4387bf8cfb588
refs/heads/master
2020-06-09T00:50:19.704167
2014-01-20T11:04:58
2014-01-20T11:04:58
15,700,850
10
0
null
2014-01-13T20:41:24
2014-01-07T09:55:56
Python
UTF-8
Python
false
false
739
py
#!/usr/bin/env python from setuptools import setup, find_packages modules = ['feedshare', 'feedshare.feedlists', 'feedshare.feedlists.management.commands'] setup( name='feedshare', version='0.1', description='Feedshare is a service to share and discover OPML feed lists.', author='Arne Holzenburg', ...
[ "arne@holzenburg.de" ]
arne@holzenburg.de
d706aa526770897cc82119a2a3456d0f25856e57
1b8d87b37cc6de4b0ffaedf0d5dc3877888865c3
/fhirclient/r4models/capabilitystatement.py
d55536a775c0d53de8ef439c27d3deb87fedfc6d
[]
no_license
Healthedata1/Flask-Alerts-Sender
d222e689de01daaa59d51aea2054d538db231cf9
0637cb1bb2c8af18243fce3aecc09723c2fdd155
refs/heads/master
2022-12-12T14:14:04.708052
2021-05-05T20:52:49
2021-05-05T20:52:49
231,147,534
1
0
null
2022-12-08T03:22:29
2019-12-31T21:20:13
Python
UTF-8
Python
false
false
32,417
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.0-a53ec6ee1b (http://hl7.org/fhir/StructureDefinition/CapabilityStatement) on 2019-05-07. # 2019, SMART Health IT. from . import domainresource class CapabilityStatement(domainresource.DomainResource): """ A statement of system...
[ "ehaas@healthedatainc.com" ]
ehaas@healthedatainc.com
10507fc27f02ecbc999f476510c291359068d676
b3c25afc2a98058d7e9a62b4fa5b6446b83b7a7a
/lists/migrations/0004_auto__add_tag.py
37d91b05731cd76c29ca9f404510759cae670220
[]
no_license
JamieHouston/writenow
ecece5645498140438acd853e28c006f9b20390e
01b677f845cbf7bed88756135c66a4d56eefa6c5
refs/heads/master
2020-04-10T19:07:31.989209
2016-02-11T20:23:45
2016-02-11T20:23:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,061
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Tag' db.create_table('lists_tag', ( ('id', self.gf('django.db.mode...
[ "foresterh@gmail.com" ]
foresterh@gmail.com
a282d934624251ee6e01358a9696051017535156
c8bc10d384213ed237a7dbb8e8c7ee8fbe512943
/modelos/test_tevi.py
9e480fd7ab04e66340c2d858d11c723ce09de7b0
[ "MIT" ]
permissive
Chrpob/heroku-telegram-bot
b1b61282d7cd4c5c501129dd232815d5ee3b8a4e
ddaa9000110b0154899217ad826ec5a57252781e
refs/heads/master
2022-12-10T06:10:34.750496
2022-12-07T17:06:40
2022-12-07T17:06:40
272,638,725
0
0
MIT
2020-06-16T07:25:42
2020-06-16T07:25:42
null
UTF-8
Python
false
false
6,202
py
import unittest from modelos.tevi import Tevi, SOBRESALIENTE, MUY_BUENO, NORMAL, RETRASO_LEVE, RETRASO_GRAVE, PUNTAJE_NO_VALIDO class TestTevi(unittest.TestCase): def test_edad_2(self): sobresaliente = Tevi(2, 28, 0) muy_bueno = Tevi(2, 20, 0) normal = Tevi(2, 12, 0) retraso_leve =...
[ "noreply@github.com" ]
noreply@github.com
e44f46b75fe459dad587808cbc884b17e55f1608
d86bbb7c8208544d7e72e85977181aaa0e5ffebc
/db_builder.py
acb7378a466f0be51c25c4b3ce73840ca100bdeb
[]
no_license
mkorsun/softdev09
a86b0b26dbc5eba555f5e01ddb9021a3891f7a8e
72811c7b621e35005cc25ecf48cc6a152b5b76e9
refs/heads/master
2021-05-16T00:36:29.009838
2017-10-16T03:06:03
2017-10-16T03:06:03
106,951,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
import sqlite3 #enable control of an sqlite database import csv #facilitates CSV I/O f="discobandit.db" db = sqlite3.connect(f) #open if f exists, otherwise create c = db.cursor() #facilitate db ops #========================================================== #INSERT YOUR POPULATE CODE IN THIS ZONE ...
[ "mkorsun@stuy.edu" ]
mkorsun@stuy.edu
abe7634daecdbe2256328e69b4ffb6349957b8ba
3f8c5bfd081113b40eb84aa1fa2ef80bfc610037
/day1.py
bb39f44bf4462349f7db557715a872b1705fc06d
[]
no_license
jameswmccarty/AdventOfCode2018
a0991e9565b4f5ae445c82718408aef0082e029e
3b5ab6dc3e5dbe9ab13b22eb1448c80e028085ee
refs/heads/master
2020-04-09T05:53:22.476567
2019-09-24T01:09:55
2019-09-24T01:09:55
160,085,173
0
0
null
null
null
null
UTF-8
Python
false
false
4,469
py
#/usr/bin/python """ --- Day 1: Chronal Calibration --- "We've detected some temporal anomalies," one of Santa's Elves at the Temporal Anomaly Research and Detection Instrument Station tells you. She sounded pretty worried when she called you down here. "At 500-year intervals into the past, someone has been ch...
[ "noreply@github.com" ]
noreply@github.com
427e0c9be36970d1d2ba4c227186f2349e58426f
071c2ffac0b0787019629ff70dcce24cf155d8f7
/figures/eulerian/vorticity.py
1c2e5cd658d5669c10e4a432b52fcd9a0b7dbeb4
[]
no_license
lento234/masterthesis
b988584c7cd2f892a71f08178fb5736eb842f153
3c0a545689e48a7fba654df4beeb5577791c3494
refs/heads/master
2022-01-29T12:19:46.560119
2019-03-04T12:55:09
2019-03-04T12:55:09
170,147,819
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
from dolfin import * ... # Define Function spaces # $X$ : scalar-valued vorticity function space $W$ X = FunctionSpace(mesh, 'CG', 1) # 1st order, Continuous-Galerkin # Define the trial and test function omega = TrialFunction(X) # vorticity $\omega{\in}X$ v = TestFunction(X) # test function $v{\in}\hat{X}$ ......
[ "lento.manickathan@gmail.com" ]
lento.manickathan@gmail.com
e4f2a36f22cfc0d05557339b78ff8aec893c37d2
6c2789299717c3b06d0eba30b890bbe51b4cd747
/Analyses/ATLAS_2013_CONF_2013_024/stopL.py
ddb8e9ee49d2fe4c61185870d462332870176ba0
[]
no_license
kazuki-sakurai/Atom-validation
950e2b38d0d45b2c7e1f03d11cab358fde29f7c9
fb1bfa0f0c8723a7017908425b627ee44b6e93b2
refs/heads/master
2020-05-19T21:34:49.913654
2014-11-21T16:41:17
2014-11-21T16:41:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
#! /usr/bin/env python __author__ = "Kazuki Sakurai <kazuki.sakurai@kcl.ac.uk>" __version__ = "0.1" import sys import os from math import * sys.path.append('../..') from functions import * if __name__ == '__main__': vname = 'stopL' table_name = '$\\tilde t_L \\tilde t_L^* \\to t \\tilde \\chi_1^0 \\bar t ...
[ "kazuki.sakurai.1225@gmail.com" ]
kazuki.sakurai.1225@gmail.com
b8bae4340b91c89e849766232d9e80bba2a41190
5eb1c64ccb0c08ca824f6928e7366855750f5aea
/FSD/Game/board.py
c421d5408a4526f1d1e443de7107d64196c898f4
[]
no_license
morettimatheus/python
5878fe87560f11e6e76e64a25a79c465a663997f
39b72083ff013bd3115ebb2f22d5ef03cc0f1fb3
refs/heads/master
2021-01-10T18:42:09.922932
2014-12-13T15:05:15
2014-12-13T15:05:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
import pygame from constants import * class Board: def __init__(self, rows, screen): #constructor of our Board class self.rows = rows self.screen = screen def draw(self, rows, screen): screen.fill(BOARDBG) #color defined inside constants.py pygame.draw.rect(screen, WHITE, [0, 0...
[ "matheusmoretti.rangel@gmail.com" ]
matheusmoretti.rangel@gmail.com
11b350cddf884a86a75e6b5d92a4c66d9da4e589
2f728f0465b6716b2e42a2566f9d852e6443ff3c
/Dealer.py
c39d771bd88a7ede482c8fe60b6705531eca0782
[]
no_license
galievaregina/teorver
234e3950df75e4aeacab778ae3c6d01582f05840
f69edbe503c8c428fbc4d850b24825ed716f8f63
refs/heads/master
2023-08-02T11:02:42.017404
2021-08-31T21:21:32
2021-08-31T21:21:32
413,718,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
import random from pai_gow.Pack import Pack from pai_gow.Cards import Card, Cards class Dealer: pack = [] def __init__(self): self.pack = make_pack() def make_pack(): pack = [] for value in Cards.CardsValue: if value == Cards.CardsValue.JOKER: pack.append(Card(Cards.Ca...
[ "regina-galieva-1996@mail.ru" ]
regina-galieva-1996@mail.ru
a16ef578a5a77d9e0548389b49308faad495c2a8
93a6f1393b055f417efb6186da674e77e91963d1
/data/build_errorchecker_data.py
0802b74b1cba0a4e82e97b2052e03a957f5111fe
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
shiccai/Image2Katex
c287ecb202b528d525a38cfd83f782685d951255
15959177375c946ab963c8d891566569c55ddf60
refs/heads/updata200412
2023-03-16T11:04:37.440186
2020-04-11T07:38:54
2020-04-11T07:38:54
576,804,063
1
0
NOASSERTION
2022-12-11T02:57:05
2022-12-11T02:57:04
null
UTF-8
Python
false
false
18,206
py
''' File: generate_sequence.py Project: utils File Created: Monday, 24th December 2018 12:23:26 pm Author: xiaofeng (sxf1052566766@163.com) ----- Last Modified: Monday, 24th December 2018 12:23:37 pm Modified By: xiaofeng (sxf1052566766@163.com>) ----- 2018.06 - 2018 Latex Math, Latex Math ''' from __future__ import...
[ "sxf1052566766@163.com " ]
sxf1052566766@163.com 
138debdadb0b507ae49ebdb3aba050fcc43976fd
8da2d814ebe7b4393e04502e880a892307698688
/lib/python2.7/site-packages/riak/tests/test_kv.py
7db30a081269b3359feccad29c2339fc5d5b30e8
[]
no_license
Eduardo-Baranowski/riakConnectPython27Django1e11e24RiakStartadoNoDocker
3c1eb94e0b6ef40eb5a6f92d1988d87410986fa1
7a5638e98f9499b0acc15d20a969ebb7ced9b175
refs/heads/master
2022-12-12T02:41:09.692829
2019-10-16T22:42:05
2019-10-16T22:42:05
213,001,267
0
1
null
null
null
null
UTF-8
Python
false
false
28,107
py
# -*- coding: utf-8 -*- import copy import os import sys import unittest from six import string_types, PY2, PY3 from time import sleep from riak import ConflictError, RiakBucket, RiakError from riak.resolver import default_resolver, last_written_resolver from riak.tests import RUN_KV, RUN_RESOLVE, PROTOCOL from riak.t...
[ "eduardobaranowski@gmail.com" ]
eduardobaranowski@gmail.com
e28873a44c9771e1144a08da8c57c43ff1837ea2
e181d0db8473f4aec034a5084ae5fb7a54185369
/fractal.py
4fcbcb8611d84cc273cc3ae67fb6d9507a124d7c
[ "MIT" ]
permissive
mdhender/sweep3d
5ebfa302548129cf19a0fadc9d4ba26bbfde010f
7c48690f2b7d3fdf7ae6c809b5e75cf560c42260
refs/heads/master
2023-06-22T03:26:57.610205
2019-07-09T17:29:11
2019-07-09T17:29:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
from exportmesh import * from vector import * from sys import argv def moreFaces(v1,v2,v3,factor): m = (1./3)*(v1+v2+v3) a = v2-v1 b = v3-v1 c = v3-v2 h = factor * math.sqrt(6)/3. * (a.norm()+b.norm()+c.norm()) / 3. v4 = m + h * a.cross(b).normalize() return [ (v1,v2,v4), (v2,v3,...
[ "arpruss@gmail.com" ]
arpruss@gmail.com
a0946f334eae002ed01c9a1bcfd6ca48c8db193f
9e683d53295b8d4165ab75c4d15b702103514b44
/S7/S7-T2.py
8e345681bdee8626c8948df40ac4a11bdb9385b7
[]
no_license
pliniusblah/Pyhton_IME
551d9d56f2b5243ab151a9167156b1889d280e75
0fe82ee50e280c2afd026fc047632a70a389b46a
refs/heads/master
2020-05-09T20:15:45.369153
2019-04-16T01:49:36
2019-04-16T01:49:36
181,400,622
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
largura = int(input("digite a largura: ")) altura = int(input("digite a altura: ")) n = largura m = altura while altura > 0: while largura > 0: if(altura == 1 or altura == m or largura == 1 or largura == n) : print("#", end = "") else: print("", end = " ") largura -= 1 print() largura = ...
[ "pliniosb@gmail.com" ]
pliniosb@gmail.com
590e08af70b7e6b7a851d92b857c3db5ca05e813
e5d0eaa6f7a958e47d69c6bcbebf40e0f7cf81b7
/PlentyReads/mybooks/filters.py
da8b4ea17493abd73d8fb735687f4227ca07ab50
[]
no_license
TarunVasarla/Plenty-reads
ae9bce417e1803165b15433afa4aa9f2d3f099c9
3d3389d37a62d402ee212e30a794fc3d6fbb9dd1
refs/heads/master
2021-01-10T15:09:31.183190
2015-12-01T11:45:10
2015-12-01T11:45:10
46,712,282
1
0
null
null
null
null
UTF-8
Python
false
false
323
py
import django_filters from .models import Book class BookListFilter(django_filters.FilterSet): # book_fltr = django_filters.CharFilter('Book__bookname') Book.objects.filter(name__icontains=search_word) class Meta: model = Book fields = ['bookname', 'AuthorName', 'preface','genre','uploadBook...
[ "YOUR EMAIL ADDRESS" ]
YOUR EMAIL ADDRESS
e0560da82733d1d3672f233e22996a9fca97de01
1fd8fcb30456db588602c9a5539fdac45a92a556
/BlenderSetup.py
de79f8b196d9e662059f9f05cf24a798238dde89
[]
no_license
derkling/BlenderRender
f7cd33feb6be1281cbccf62279564ba5855abcb6
2a4289e8c433814a8d12a3e7f30aa3645f633735
refs/heads/master
2021-01-22T14:32:47.336706
2014-06-07T15:43:16
2014-06-07T16:08:40
20,596,860
3
0
null
null
null
null
UTF-8
Python
false
false
4,828
py
import bpy ################################################################################ ### Render Configuration ################################################################################ # GPU vs CPU rendering use_gpu = 0 # Cameras to render, list of camera names # cameras = [ 'Camera1’, ‘Cam...
[ "derkling@gmail.com" ]
derkling@gmail.com
19cdd4b74a624831790377e5ae12bfa50fd6b0b8
5cc954e27fd924da0f6f44e7d58691d612a77f80
/coremltools/converters/mil/frontend/tensorflow/ssa_passes/expand_tf_lstm.py
a61b58650ffd75934658eae62b4940ce7caea054
[ "BSD-3-Clause" ]
permissive
1duo/coremltools
e25f1a8423ec368bf1e7dabfaa36e77952578e79
37e619d99bf603d2cb9ea0839fa3ebe649996b0a
refs/heads/master
2021-07-15T08:48:51.930217
2020-07-27T20:58:33
2020-07-27T20:58:33
203,466,876
2
0
BSD-3-Clause
2020-07-22T00:05:02
2019-08-20T22:59:50
Python
UTF-8
Python
false
false
7,628
py
# -*- coding: utf-8 -*- # Copyright (c) 2020, Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can be # found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause from __future__ import print_function as _ from __future__ import division a...
[ "noreply@github.com" ]
noreply@github.com
5180bca50c9e7748a9f12aec748b56b3b43d2f5a
0e0db8614de0dcfe9828c27e8e39e19493c32ffe
/sentamil/st_letters/tamil.py
95a5fc7b9bb0cf6e57570303f4ad3815cda3716d
[]
no_license
ThaniThamizhAkarathiKalanjiyam/sentamil
a9d1ad61efe998e698e6714dd2c2bea2860be86b
a9cc2db1c5293bdd82877d15c4c87d1089163010
refs/heads/master
2020-05-07T12:16:10.059570
2019-04-13T08:53:13
2019-04-13T08:53:13
180,497,053
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
#------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: muthukumaran # # Created: 13/04/2019 # Copyright: (c) muthukumaran 2019 # Licence: <your licence> #----------------------------------------------------------------------...
[ "36300247+ThaniThamizhAkarathiKalanjiyam@users.noreply.github.com" ]
36300247+ThaniThamizhAkarathiKalanjiyam@users.noreply.github.com
fea8a58ab7cfc7c12913b7468cac25c0b22b66fa
372cf5a2df14f580e49687493eef28021bc55b11
/backend/main.py
6677926de6e461447e36e41766095eeae3ab3c42
[]
no_license
Yousefkh97/currency_swap
949c00c3c03d229ad6365bf93536a937b0c1002d
6f4dd932616ac6ea559524e0dd39f5981a5091b1
refs/heads/main
2023-02-21T04:12:07.155765
2021-01-22T17:34:49
2021-01-22T17:34:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,279
py
import flask from flask import Flask, render_template, request, jsonify, url_for import requests from datetime import datetime import urllib, json import urllib.request import socket from pip._internal import req from werkzeug.utils import redirect # the url that get the data of currncy from api_key = "85aa5a4fb3533fb...
[ "mohamed.galia@mail.huji.ac.il" ]
mohamed.galia@mail.huji.ac.il
696156339b2b19e269fdf76ca9a328bb30f18bd9
72b1d38b3ed41fdfe8559e36e202e04fee11e488
/learn-doc/python学习/python_code/gevent_01.py
fe5a2bd7c5bdc311467803f40310ce7f2e5d1ccd
[]
no_license
tinyjjlin/learn_repo
d71b8b546e4021dd4f79f4d925a8b6f0d1e6bf23
7fd9e3b851ea2bc26c210d1ec4813d5df08c7458
refs/heads/master
2023-06-21T06:44:26.543676
2019-08-19T02:18:07
2019-08-19T02:18:07
155,843,556
0
0
null
2023-06-13T22:49:51
2018-11-02T09:28:02
Java
UTF-8
Python
false
false
236
py
import gevent ''' python 语法重点 ''' def test1(): print(1, 2) gevent.sleep(0) print(3, 4) def test2(): print(5, 6) gevent.sleep(0) print(7, 8) gevent.joinall([gevent.spawn(test1), gevent.spawn(test2)])
[ "tinyjjlin@163.com" ]
tinyjjlin@163.com
3c20ba9a793c6ee0255c31afea623e1f38b6ff90
62f0134d18b956076312a66c364389a0d70284ad
/tools/libari/setup.py
bc23ec24f23d7a0c42eb671284080a9f29726490
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
tomputer22/aristoteles
d145420b116eed8753e0eb09e465cff6b878c06c
ecf66cbfde1f019adfc5ed8b29e9a90ee11c9018
refs/heads/master
2023-07-14T19:33:09.479131
2021-09-06T16:26:28
2021-09-06T16:26:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
from setuptools import setup import os VERSION = "0.1" def get_long_description(): with open( os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md"), encoding="utf8", ) as fp: return fp.read() setup( name="libari", description="Create custom ARI packets.", l...
[ "git@saibotk.de" ]
git@saibotk.de