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
69d86fa62f83e5039a98dc34c4e0e97e473f8332
fb29cb7c89e13b780a88c1cc6b3321c8c5502660
/src/price_bot.py
168460e5c0a77f64df1238ffda863355db07c6db
[ "MIT" ]
permissive
GrantGyo/price-bots
d3e86f23647de6a4e23cb69422c7fe6d6a0d1497
9acf60c43602827bff00bd7c52c8843928ad0693
refs/heads/main
2023-04-29T09:08:24.280291
2021-05-07T20:38:15
2021-05-07T20:38:15
366,849,878
0
0
MIT
2021-05-12T20:48:22
2021-05-12T20:48:21
null
UTF-8
Python
false
false
4,965
py
import discord from discord.ext import commands, tasks import json import logging import math import os import requests from web3 import Web3 logging.basicConfig( # filename="price_bots_log.txt", # filemode='a', # format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s', # datefmt='%H:%M:%S', ...
[ "brooks.o.taylor@vanderbilt.edu" ]
brooks.o.taylor@vanderbilt.edu
1b1ab8d341f276998b7fe7972480130557b03e29
9a486a87e028303a551fbd0d1e1b6b650387ea14
/theirFTP/dialog.py
22451a7c7acef19c44a2afb4c160e39357e40610
[]
no_license
shanlihou/pythonFunc
7b8e7064fddd4522e492c915c086cc6c5abc6eec
646920256551ccd8335446dd4fe11aa4b9916f64
refs/heads/master
2022-08-24T20:33:12.287464
2022-07-21T12:00:10
2022-07-21T12:00:10
24,311,639
3
0
null
null
null
null
UTF-8
Python
false
false
7,125
py
#!/usr/bin/env python # --*--codig: utf8 --*-- from PyQt4 import QtGui from PyQt4 import QtCore class LoginDialog(QtGui.QDialog): def __init__(self, parent=None): super(self.__class__, self).__init__(parent) import os, pwd self.setFixedSize(400, 250) self.nameLabel = QtGui.QLabel...
[ "shanlihou@gmail.com" ]
shanlihou@gmail.com
ec337e201edcf48b3fffffa27c23f2e8ea0559f6
8692807f1dfa8c18c61df07cfafbbd27d4e66fba
/LONG-CHALLENGE/KS2.sol.py
0d98e4ffbadbeb3ac519a48ce9c13e026385864f
[]
no_license
sharmakajal0/codechef_problems
00381e9bf1996b859e46f087c2ffafd9d7a10ef1
0b979029e0a821f47fbdd6f9c624daee785a02e7
refs/heads/master
2020-05-29T15:04:40.459979
2020-03-29T08:44:53
2020-03-29T08:44:53
189,212,028
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
#!/usr/bin/env python '''Module for guddu on a date''' ## # Question URL: https://www.codechef.com/problems/KS2 ## def guddu_date(int_n): '''Function for guddu on a date''' if int_n == 0: return 0 return int_n % 10 + guddu_date(int(int_n/10)) for _ in range(int(input())): N = int(input()) ...
[ "sharma.kajal.sitm@gmail.com" ]
sharma.kajal.sitm@gmail.com
90704fc15f04198d0d1ef2795230f270ec8abd5d
43953b9520b7530abe1c14eda182ffffbef71a8e
/Ecommerce/migrations/0026_auto_20200627_2359.py
44b2f50d3c570d2d537485614bf054e03ff332e2
[ "MIT" ]
permissive
aryanshridhar/Ecommerce-Website
66277d830f3c9f506721d1e9eab557c5edf2d665
c582659e9b530555b9715ede7bb774c39f101c7e
refs/heads/master
2021-09-23T01:08:02.834766
2021-04-08T18:50:18
2021-04-23T10:17:39
240,899,510
1
0
MIT
2021-09-22T18:36:16
2020-02-16T13:48:59
Python
UTF-8
Python
false
false
774
py
# Generated by Django 3.0.6 on 2020-06-27 18:29 import datetime from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('Ecommerce', '0025_auto_20200625_2207'), ] operations = [ ...
[ "aryanshridhar7@gmail.com" ]
aryanshridhar7@gmail.com
47c1bb886155817b9c0b06a4a8b8af8b78921ed6
95f349340866c4b5a50284444b361a180fb709b4
/scripts/get_price_history_commsec.py
fb0cfafd652359b113c74244155daa0f4ec2f806
[]
no_license
rs77/asx-historical-data
16bc943f8852d09431bc218954ca0613e679ab8c
59dd6ac50e3ead1970544092d96d3ab4d0b0d271
refs/heads/master
2022-11-30T12:08:23.948552
2020-08-10T01:18:02
2020-08-10T01:18:02
257,584,156
2
0
null
null
null
null
UTF-8
Python
false
false
3,848
py
import os import time import glob import csv from selenium import webdriver from selenium.webdriver import Chrome from datetime import date, datetime, timedelta from decimal import Decimal from re import sub from selenium.webdriver.chrome.webdriver import WebDriver from selenium.webdriver.common.keys import Keys from s...
[ "rdsheehy@gmail.com" ]
rdsheehy@gmail.com
b0e033ccb4cffc961d51689e54991791e4bc3538
7f7b54bc1206413c33cb2089feec92defa199d53
/bootstrapFileInput-master/ConDoc.py
f1be4979cfbd82efc68deb75ddd4e541e9b52572
[ "Apache-2.0" ]
permissive
lazyleonliu/leonhub
baaf4c0b1ad21a5e6d8889b335330548bdc49c11
4418cc0783cf624e87742436db69d17468424a1c
refs/heads/master
2020-07-07T06:20:34.494057
2020-03-12T13:01:18
2020-03-12T13:01:18
203,276,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
import os from win32com import client as wc import docx import pythoncom # 在传入的doc文件的路径下另存为一个docx文件 def con_doc_to_docx(file_paths): print(file_paths) pythoncom.CoInitialize() for i in range(len(file_paths)): file = os.path.splitext(file_paths[i]) # print(file[1]) if file[1] == u'...
[ "lazyleonliu@163.com" ]
lazyleonliu@163.com
b659f4d8d6022539e9581d123b757cf416a3d853
104b4048116140b2cae29e59ce40c1ca668e63f9
/sample_2/views.py
7cf4da40cbe9e2d1bba9474e845cde1e93c883e5
[]
no_license
daseulll/django_apiserver
fe20045778071e790b0395db6443e386d2074183
05cce3841bb4f8ce166f7db926dd1f37dd822b30
refs/heads/master
2020-05-24T18:49:06.405320
2019-05-30T13:36:42
2019-05-30T13:36:42
187,417,086
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
from rest_framework import generics from rest_framework import viewsets from django.contrib.auth import get_user_model from .models import Post from .serializers import PostSerializer, UserSerializer class PostViewSet(viewsets.ModelViewSet): queryset = Post.objects.all() serializer_class = PostSerializ...
[ "nldaseul@gmail.com" ]
nldaseul@gmail.com
86033eb1b28f20d89bb1c08fbd7ce49732b99078
592f4fd54b16f3daaa64756fef86dd240114ce61
/tello_controler.py
715abaa1d12fb7623e37980ddaea8cb3461f1fb7
[]
no_license
mediof/ustria
5d9c8ece6322e9406b3daa5b2e58ea09d2bbcff0
32c753fe1118efcdf345c49aaca957606969d9e4
refs/heads/master
2020-11-24T15:35:14.215999
2019-12-15T17:00:23
2019-12-15T17:00:23
228,218,719
0
0
null
null
null
null
UTF-8
Python
false
false
2,299
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Dec 5 16:26:10 2019 @author: mioooo """ # Import the necessary modules import socket import threading import time import sys # IP and port of Tello tello_address = ('192.168.10.1', 8889) # IP and port of local computer local_address = ('', 9000) #...
[ "noreply@github.com" ]
mediof.noreply@github.com
1d85d8c7fd0dee6f91dc943e60d126aa7f3dc2b0
30e2407d44083cf5fa3737f56d40c32c9df31bf8
/exp_7/yolov3/yolov3-bcl/demo/image_demo.py
c879fb0e9e956af9870029d0f10569a1ae6eacd8
[ "MIT" ]
permissive
gzq942560379/ICSE
1179c8189df574f14bd2389c93d1510bb0489743
ca433ec5fa022c5b31cdf47730ffaee070dea9ca
refs/heads/master
2023-05-08T11:09:41.648880
2021-06-03T03:19:11
2021-06-03T03:19:11
351,345,412
5
3
null
null
null
null
UTF-8
Python
false
false
7,651
py
#! /usr/bin/env python # coding=utf-8 #================================================================ # Copyright (C) 2019 * Ltd. All rights reserved. # # Editor : VIM # File name : image_demo.py # Author : YunYang1994 # Created date: 2019-01-20 16:06:06 # Description : # #====================...
[ "gzq9425@qq.com" ]
gzq9425@qq.com
eca3b02401d05b883dc124ec52126e7992f8c9d1
2827d7a837eb29c3cb07793ab6d3d5a753e18669
/alipay/aop/api/request/KoubeiMarketingCampaignUserAssetQueryRequest.py
c460199126ea5d80aab58502068482b17b78da94
[ "Apache-2.0" ]
permissive
shaobenbin/alipay-sdk-python
22e809b8f5096bec57d2bb25414f64bdc87fa8b3
5232ad74dff2e8a6e0e7646ab3318feefa07a37d
refs/heads/master
2020-03-21T04:51:39.935692
2018-06-21T07:03:31
2018-06-21T07:03:31
138,131,022
0
0
null
2018-06-21T06:50:24
2018-06-21T06:50:24
null
UTF-8
Python
false
false
4,022
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.KoubeiMarketingCampaignUserAssetQueryModel import KoubeiMarketingCampaignUserAssetQueryModel class KoubeiMarketingCampaignUserAssetQ...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
8acf44e9129a645e1a87abb871519789cdf160bb
0588e908e8a7a7b87367c036c3df407d88b38700
/src/tor/src/test/test_rebind.py
232b2003265ab7d1e20eb4298260217e1c85095e
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-maxmind-odl", "Autoconf-exception-generic", "NCSA", "OpenSSL", "GPL-2.0-or-later", "ISC", "BSD-2-Clause" ]
permissive
ShroudProtocol/ShroudX
d4f06ef262b28aeb115f1ebbd9432e1744829ab0
369c800cbf4a50f4a7cd01f5c155833f1ade3093
refs/heads/master
2023-04-23T05:12:02.347418
2021-05-04T20:28:55
2021-05-04T20:28:55
302,146,008
2
4
MIT
2020-12-07T10:18:21
2020-10-07T19:56:30
C
UTF-8
Python
false
false
4,511
py
from __future__ import print_function import errno import logging import os import random import socket import subprocess import sys import time LOG_TIMEOUT = 60.0 LOG_WAIT = 0.1 def fail(msg): logging.error('FAIL') sys.exit(msg) def skip(msg): logging.warning('SKIP: {}'.format(msg)) sys.exit(77) d...
[ "edgar.keek@gmail.com" ]
edgar.keek@gmail.com
79934e61d08159229edad81ddfe11a4c0569514f
252298818f8aa1e3b1ee1fbce884ca0e7a0370a4
/store/migrations/0012_auto_20191112_1037.py
8306ad3bc0482ba18045292644a390e3871d2819
[]
no_license
zxj17815/wechat_store
3484d5ce474a62fa2bdfae8173dea7e91bb42515
0e8296ede62d4cc968b343a3203ba97e1b7b1afc
refs/heads/master
2023-05-28T20:09:15.843318
2020-04-03T07:42:53
2020-04-03T07:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
# Generated by Django 2.2.3 on 2019-11-12 02:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0011_auto_20191112_0826'), ] operations = [ migrations.AlterField( model_name='activeporduct', name='featur...
[ "597952291@qq.com" ]
597952291@qq.com
2530779610ba3004120af9f0722ad14dfd0f4070
3909266b59ae80e38ea89e232f2741b1e6175739
/dictionaries_functions/dictionaries_functions.py
0dc59d42f69a4fa7362264b28be5c8a5c2a4c1f6
[]
no_license
Bardonkle/learntocode
a48cdc78cff57167125b4abbd1b188ad56243f82
51870aa9b96d1761848ae01f510318e87a80250d
refs/heads/master
2023-04-18T17:39:53.030558
2021-05-08T02:40:33
2021-05-08T02:40:33
359,315,940
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
# dictionary is a way to store key-value pairs # a record in a dictionary looks like "key": "value" # where key is the key to the record, and value can be any type from pprint import pprint my_dict = { "juice": "a tasty drink", "apple": "a fruit thats grows on trees" } my_value = my_dict["juice"] print(my_...
[ "ryan.agharaad@gmail.com" ]
ryan.agharaad@gmail.com
4892a9180da0063bd2762dc3b65d9533e8a3fbd7
90d2aa164829fc1f9c26e22d912c1e690e6f74bb
/SARIMA.py
cf916e8707fbaef80d0f368c4cadd498b45b9916
[]
no_license
zied-prog/cryptomonnaies_prediction
f53ab428ec6b51e641ac38a0062a5643e600c018
616ea5224b7becbd254869c8909115eff6f8edc8
refs/heads/main
2023-07-19T16:47:09.145317
2021-09-03T12:26:12
2021-09-03T12:26:12
402,563,209
0
0
null
null
null
null
UTF-8
Python
false
false
8,014
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd import numpy as np import pandas_datareader.data as pdr import matplotlib.pyplot as plt from statsmodels.tsa.stattools import adfuller from statsmodels.tsa.seasonal import seasonal_decompose from statsmodels.tsa.arima_model import ARIMA from pandas.p...
[ "noreply@github.com" ]
zied-prog.noreply@github.com
33e2f7a6ea12e80f0db9d59c65b6ada8014c9ae8
786f29dc7be151b716433bbe14db7552a683b8af
/sort/xuanzhe.py
8835f2bc2b83302d041e5b668f28c59ecc465f87
[]
no_license
Hengle/my_test_project
bfea2e32734b921ee7ff6da8d18956a24f0ad64f
a9f30f883a7bd906c7ed346c79bc8f1fd53db11d
refs/heads/master
2023-03-22T08:36:32.102048
2021-03-08T08:10:25
2021-03-08T08:10:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
# 每次循环通过标记,只调换一个值的位置 l = [4,5,6,7,3,2,6,9,8,1] lenght = len(l) for i in range(lenght): x = i for j in range(i+1, lenght): if l[j] < l[x]: x = j l[x], l[i] = l[i], l[x] print(l) print(l)
[ "m15927260404@163.com" ]
m15927260404@163.com
a7b343baa55b765432f1cc02f7001ade630607e2
1e43fd5e134157e6f034327ffbf3e6501c67275d
/mlps/core/data/cnvrtr/functions/ExtractDomain.py
2df337b646a23da67d34de7acf0c60a346e626e6
[ "Apache-2.0" ]
permissive
sone777/automl-mlps
f15780e23142e0f3f368815678959c7954966e71
a568b272333bc22dc979ac3affc9762ac324efd8
refs/heads/main
2023-08-24T10:07:30.834883
2021-11-03T07:41:15
2021-11-03T07:41:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
# -*- coding: utf-8 -*- # Author : Seungyeon Jo # e-mail : syjo@seculayer.co.kr # Powered by Seculayer © 2018 AI-Core Team import re from mlps.core.data.cnvrtr.ConvertAbstract import ConvertAbstract class ExtractDomain(ConvertAbstract): def __init__(self, **kwargs): super().__init__(**kwargs) def ap...
[ "bmg8551@naver.com" ]
bmg8551@naver.com
4654e109eabd93199f5b40797255599c87d6d042
f0d0ea29240c53b6ce1c4b06095b528ece02fdd7
/views/purchase.py
057659a9fa45c49744f7fae684b314fc6b10d307
[]
no_license
zhifuliu/dianjing
477529ccd6159329e1bc121aeb2ff328ee499f4a
7b3f6d58f5bc0738651d8d72c9a24df4ade0ed36
refs/heads/master
2020-03-21T09:10:28.343268
2017-03-24T03:06:24
2017-03-24T03:06:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
# -*- coding: utf-8 -*- """ Author: Wang Chao <yueyoum@gmail.com> Filename: purchase Date Created: 2016-08-03 17:19 Description: """ from django.http import HttpResponse from dianjing.exception import GameException from utils.http import ProtobufResponse from config import ConfigErrorMessage from core...
[ "yueyoum@gmail.com" ]
yueyoum@gmail.com
dfa1466ec0fc43552e544cf5b6cb6fa848342685
767fb467f5948ed371d238d2672711262639838d
/collections_extended/_util.py
479d740185ff8a4b3cfa0aed13b9ac2172fdb4e2
[ "Apache-2.0" ]
permissive
aishp9/collections-extended
48a378c6cf871c40f30884d40ab7d50d77584823
917d95d43e431779c423945e117d13005ef3b0c6
refs/heads/master
2022-04-11T01:58:26.215185
2020-02-12T07:52:23
2020-02-12T07:52:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
"""util functions for collections_extended.""" from functools import wraps import textwrap import warnings __all__ = ('hash_iterable', 'deprecated') def hash_iterable(it): """Perform a O(1) memory hash of an iterable of arbitrary length. hash(tuple(it)) creates a temporary tuple containing all values from it whi...
[ "m.lenzen@gmail.com" ]
m.lenzen@gmail.com
78537f99a66e92733a53372a677967bf72e3b17b
0fa1e5c8adea10601bd0ebed0524b8f5169b663b
/3rd Class (Ziyads)/P4.Jarvis_Security_System/script1.py
533af2fc910e37b0d475b0407dbb04a16fddf9dc
[]
no_license
ivanstewart2001/projects1
1de638b665450772422eb1b5b6b935826a18fd6f
eefe3637e4c9c34712e7f85c771c64727740d91c
refs/heads/main
2022-12-26T23:41:02.084566
2020-10-14T22:17:42
2020-10-14T22:17:42
304,146,993
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
known_users = ["Brittany", "Courtney", "Geoffrey", "Sydney", "Isaiah"] while True: print("Hi my name is Jarvis") name = input("What is your name?: ").strip().capitalize() if name in known_users: print("Hello {}!".format(name)) remove = input("Would you like to be removed from the system (Y...
[ "noreply@github.com" ]
ivanstewart2001.noreply@github.com
bb67b015e755fce7523a3b6b93afea8bf06f7435
fb1aa2e8ab142b41b0621174ededf165f94b7deb
/strongdoc/proto/documentNoStore_pb2.py
ef81d528eb716d12fab94948f9dc7f281cc01881
[ "MIT" ]
permissive
overnest/strongdoc-python-sdk
382a7603bd3d6a729f8b055c527c7571d8b7a242
586d1b22be855ccf275191e12def3228bff18803
refs/heads/master
2023-07-24T08:47:37.473879
2020-06-01T20:56:50
2020-06-01T20:56:50
244,732,124
0
0
MIT
2023-07-05T21:00:37
2020-03-03T20:13:04
Python
UTF-8
Python
false
true
16,593
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: documentNoStore.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _...
[ "kathy@overnest.com" ]
kathy@overnest.com
e6a060ee16aa5e2d01c1a48b30174dda08b64f4a
377a966978c2c801f909f51a692d9856eac9b012
/skip/mahasiswa/models.py
785637eb4422193959a756e9ef0fa6f01d264f30
[ "MIT" ]
permissive
timmysutanto/Skippedia
d6e6ccf2bb3aac42fdb6197666b11a4c70e7bee4
97cd3c95c87b3bb865f8ecd71e7f9064b34f1e6a
refs/heads/master
2020-05-29T12:54:51.545179
2019-05-30T15:05:27
2019-05-30T15:05:27
189,143,566
0
0
MIT
2019-05-29T03:24:13
2019-05-29T03:24:13
null
UTF-8
Python
false
false
640
py
from django.db import models # Create your models here. class Mahasiswa(models.Model): nim = models.IntegerField(primary_key=True) nama = models.CharField(max_length=50) def __str__(self): return self.nama class Komentar(models.Model): mahasiswa = models.ForeignKey(Mahasiswa, on_delete=models...
[ "noreply@github.com" ]
timmysutanto.noreply@github.com
b61302e00f0ee1d54192e358cab62f426f900e21
2c845cbd0ee9d3f54ad47a5207f417cf5277b0b2
/rango/admin.py
54dc0227943f34cb082bd440889f033e6ccc6b9f
[]
no_license
QIANSUMORRIS/tango_with_django_project
8c7ab87fe1a985a9e7454c34db8a700daa331114
ff4d47a6e8de1bbf3f36aeb766a82eb51b437d63
refs/heads/master
2021-05-10T15:01:46.210046
2018-02-12T18:27:19
2018-02-12T18:27:19
118,533,740
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
# -*- coding: utf-8 -*- from django.contrib import admin from rango.models import Category, Page class PageAdmin(admin.ModelAdmin): # To display individual fields list_display = ('title', 'category', 'url') # prepopulated_fields = {'slug': ('title',)} admin.site.register(Category) admin.site.register(Page...
[ "2274593s@student.gla.ac.uk" ]
2274593s@student.gla.ac.uk
385d3e5cdaf7c8dfce4264669d9a57e8a7117cef
2902629c76b48ecf9c28b1bf61bb0405a9f58140
/jarvis.py
e4619b1a005f4dec27d71527fc73e7490acd735e
[]
no_license
ashish29nov/jarvis
a700ebbc765ffce6e403727db3f0031a3a210d22
a008b3cf4b2224b56114c2a86fa96f1a814532c5
refs/heads/main
2023-05-31T23:24:32.377274
2021-07-06T14:31:10
2021-07-06T14:31:10
383,497,759
0
0
null
null
null
null
UTF-8
Python
false
false
14,503
py
import pyttsx3 import requests import urllib import pyaudio import webbrowser import smtplib import random from PyDictionary import PyDictionary from googlesearch import search import ety from nltk.corpus import wordnet import speech_recognition as sr import wikipedia import datetime import time import w...
[ "noreply@github.com" ]
ashish29nov.noreply@github.com
e588db5fe9e4897d809d9053180573bd9d19e749
8d4c91a38ec51beb7c0e81f24855502a9b83f0e9
/procgen.py
3a91154f71345d85e41c3ff980c35b5f6a92c5fa
[]
no_license
Tanttinator/PythonRoguelike
74959f1eadc0b52dbda11937db1fd1699f143d7f
ca268b78311042e6e1f0cfb114c186515a8eed0c
refs/heads/master
2022-12-27T02:31:05.145858
2020-10-08T22:25:17
2020-10-08T22:25:17
287,374,755
0
0
null
null
null
null
UTF-8
Python
false
false
5,262
py
from __future__ import annotations from typing import Tuple, Iterator, List, Dict, TYPE_CHECKING import random import tcod import entity_factories from game_map import GameMap import tile_types if TYPE_CHECKING: from engine import Engine from entity import Entity max_items_by_floor = [ (1, 1), (4, ...
[ "antti.kangas99@gmail.com" ]
antti.kangas99@gmail.com
edadc48ef4cab1bc6a6b66dd2f78e28382bf8839
d653d720ec4f3e2913c50b11380755cfe79ca419
/main.py
c30d799ff2d5954c2c1bd3cb7ef2bcff14860290
[ "MIT" ]
permissive
Newbtrainee/code2vec
d324eb253fb85f673272643acbde2cad9b7f7171
dac6389bb0dc6d7fb231e10c677282a1829ea8c0
refs/heads/master
2022-12-05T20:33:18.702712
2020-08-27T10:23:25
2020-08-27T10:23:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,628
py
# -*- coding: utf8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function __author__ = "Isao Sonobe" __copyright__ = "Copyright (C) 2018 Isao Sonobe" import sys import argparse import numpy as np import torch from os import path from distutils.util import ...
[ "sonoisa@gmail.com" ]
sonoisa@gmail.com
64059b9f7d7de6483cfefce20910ddc3c734d3d4
50b928cd421d0474ba08c4a80c883e988e5ed7bf
/test/gentest_multiple/test_multiple.py
d729db09166fa3996e7c79bc99419a140c4dad85
[ "BSD-3-Clause", "MIT" ]
permissive
thirtytwobits/nunavut
41a32fab32a99b3e7368648961abafb0a4f54dcd
71fdbbc5423e898ef37a1345156132d65d866c12
refs/heads/main
2023-06-24T01:03:57.270411
2023-06-07T22:32:49
2023-06-07T22:36:42
178,792,985
0
0
null
null
null
null
UTF-8
Python
false
false
2,604
py
# # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # Copyright (C) 2018-2019 OpenCyphal Development Team <opencyphal.org> # This software is distributed under the terms of the MIT License. # import json from pathlib import Path import pytest from pydsdl import FrontendError, read_namespace ...
[ "noreply@github.com" ]
thirtytwobits.noreply@github.com
847d9ba6d4c23f31651d6b3a72144b8a339c01b0
feb35f45e015befe9f2a35348be3809e0d30229d
/Join/save_best_joins.py
61db512b6b57ce2d48b56afc1899524fafaa5906
[ "MIT" ]
permissive
csaybar/qgis-earthengine-examples
9d65bb31f74921c78edc576973a2021f3b4bb79a
ba8942683834d2847ff3246bdd1859b36e50fe44
refs/heads/master
2020-12-30T05:51:36.960385
2020-03-21T15:52:38
2020-03-21T15:52:38
238,882,033
4
0
MIT
2020-02-07T09:04:57
2020-02-07T09:04:56
null
UTF-8
Python
false
false
824
py
import ee from ee_plugin import Map # Load a primary 'collection': Landsat imagery. primary = ee.ImageCollection('LANDSAT/LC08/C01/T1_TOA') \ .filterDate('2014-04-01', '2014-06-01') \ .filterBounds(ee.Geometry.Point(-122.092, 37.42)) # Load a secondary 'collection': GRIDMET meteorological data gridmet = ee....
[ "giswqs@gmail.com" ]
giswqs@gmail.com
91a74818d7be1e945c52b732f86833c55532da7a
a5794c4ca3477ac4925ba6cb90e07cf0ffa82752
/Cwiczenia/1.py
3fe1c28b28981a3ab8c84ca2573b497ea74a27d8
[]
no_license
Rages84/python-3-formatowanie-napisow
665d760daefffa54cec2457bf449bc39b198339e
f8ed2fa80b0851683e2db467712555169b4173f3
refs/heads/master
2020-04-17T19:59:30.214550
2018-03-12T22:14:18
2018-03-12T22:14:18
166,887,035
0
0
null
2019-01-21T22:03:38
2019-01-21T22:03:38
null
UTF-8
Python
false
false
325
py
# -*- coding: utf8 -*- """ A.Utwórz nowy plik, który po podaniu przez użytkownika długości w cm będzie wyświetlał wynik w metrach i calach zaokrąglając do 4 miejsc po przecinku. B.Podobny skrypt możesz wykonać dla zamiany kg na funty. Wynik wyświetl używając dowolnego sposobu formatowania tekstu. """
[ "malgorzata.lyczywek@gmail.com" ]
malgorzata.lyczywek@gmail.com
237fcd8897a09d8a98ffa3b077e795264dd293c5
06f7ffdae684ac3cc258c45c3daabce98243f64f
/vsts/vsts/work/v4_0/models/timeline_team_data.py
6d29a511443e00f0f368a3aaab0a8af0fe282ab7
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
kenkuo/azure-devops-python-api
7dbfb35f1c9637c9db10207824dd535c4d6861e8
9ac38a97a06ee9e0ee56530de170154f6ed39c98
refs/heads/master
2020-04-03T17:47:29.526104
2018-10-25T17:46:09
2018-10-25T17:46:09
155,459,045
0
0
MIT
2018-10-30T21:32:43
2018-10-30T21:32:42
null
UTF-8
Python
false
false
4,678
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "tedchamb@microsoft.com" ]
tedchamb@microsoft.com
2d5ba96b6122f417ed8eb666b3be501b01c91d5c
36e12b65922ebbb6d95aff6cbac0777c47e24153
/runCutadapt.py
faed1060856ca3d5fd0f4201522429e23eb9a4ea
[ "MIT" ]
permissive
NailouZhang/AnalysisScripts
d0d00174f642d6722cc907f9a392084600630780
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
refs/heads/master
2023-06-06T08:14:39.064920
2021-06-22T16:46:26
2021-06-22T16:46:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
#python3 import subprocess samples = ['Ctrl.Rep1_1', 'Ctrl.Rep2_1', 'Ctrl.Rep3_1', 'KD.Rep1_1', 'KD.Rep2_1', 'KD.Rep3_1'] #adapter1 = 'GGCGGAAAGATCGCCGTGTAAGTTTGCTTCGATATCCGCATGCTA' #adapter2 = 'CCACTTATTTCATGGATACTTGGAATGGTTTCACTAGTGCGACCGCAAGAG' adapter1 = 'AGATCGGAAGAGCACACGTCTGAACTCCAGTCA' adapter2 = 'AGATCGGAAG...
[ "taliaferrojm@gmail.com" ]
taliaferrojm@gmail.com
d97b0a4b7ef7ec687bc1f711f9fa6e0cb6fc3fcd
8ff8ca93b66121492c437810181b94560b2c5334
/test_utils.py
877c867567a5d18183ef48b64fa098a2b2378d15
[]
no_license
mxscott/rna-aligner
3e7cf88b2eb07c10c5d4f2597196e063dbbeda8d
8280567b92c7b56455d3c44cc0fec6db93029115
refs/heads/master
2020-04-04T08:07:33.345061
2018-11-29T07:28:34
2018-11-29T07:28:34
155,772,129
0
0
null
null
null
null
UTF-8
Python
false
false
2,402
py
import utils import evaluation import shared from project import * from timeit import default_timer as timer toy_genome = 'AGAAGCAACCTGAGAAACGTCTTTGGGATGTGTTCATTCACTTCACAATGATGAACGTTTCTTTTGATTGAGAAGTTTGTAAGGATAACTTTTGTAGAATCTGCAAAGGGATATATGTGAGCCCCTTGATTCCTATGGCAAAATAGGAATTATCTTGAGATAAAAGCCAGACAGAAGATTTCTGAGAAACTTTTT...
[ "mscott@lexentbio.com" ]
mscott@lexentbio.com
65a768c55f088fdb2ae6ec670697a327fde4ef06
686781cbf18d2a34a3bb9c902c29f96402fbe032
/classes/inner_classes.py
21893eb0056daf80c28a1002b87586dcbb1ea9a6
[]
no_license
arvind-mocha/Python-Basics
962c4088361aee89b53f47f4d8e925b12722e0ee
6f079543b4cf69c18ed65e5b618851d24f36e716
refs/heads/main
2023-05-10T13:55:53.459362
2021-06-17T12:35:13
2021-06-17T12:35:13
343,633,921
1
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
#inner calsses are basically used when you are creating # another class but it is only useful for your previous class class student: def __init__(self,name,dept): self.name=name self.dept=dept self.lap=self.laptop("RTX 2080ti and","quad cooler") #creating object for inner class ...
[ "arvindarvind2210@.com" ]
arvindarvind2210@.com
b143b869106aa912f578f44e93da58b05ecdd5e3
d37c9b469988b66a6abb3a06aa55dea29156eeb7
/ginomypy/__init__.py
b2fe634542d871ba8aa3837e56bcc933d036f780
[ "BSD-3-Clause" ]
permissive
vppuzakov/gino-stubs-1
98f9501281be355545f941dc72e12359cd50fbc6
291b390566416103ce4c88c10521c40344645dea
refs/heads/master
2020-04-18T02:20:18.001114
2019-01-21T18:02:40
2019-01-21T18:02:40
167,158,656
0
1
BSD-3-Clause
2019-01-23T09:48:54
2019-01-23T09:48:53
null
UTF-8
Python
false
false
776
py
from typing import TYPE_CHECKING, Optional, Callable from mypy.plugin import Plugin, FunctionContext, MethodContext from mypy.types import Type from sqlmypy import column_hook if TYPE_CHECKING: from typing_extensions import Final # noqa COLUMN_NAME = 'sqlalchemy.sql.schema.Column' # type: Final class BasicGin...
[ "bryan@reigndropsfall.net" ]
bryan@reigndropsfall.net
3dfb56f12b66a8cb242eb134e51f202a71db7d0f
2581f2c98d497a6adf9bbb62730b02efea08cf80
/stubs/scales/formats_test.pyi
536e563227bf193a0e77af86c73fccd1b106b645
[]
no_license
drewp/rdfdb
1ebbb5cf892fd86f6e3c571b94a97ecd07dd7340
8c71f02f989b2de1a4921640d1ca765e6d9efdb6
refs/heads/master
2021-04-27T00:31:22.493060
2019-08-09T06:15:15
2019-08-09T06:15:15
123,776,296
0
0
null
null
null
null
UTF-8
Python
false
false
694
pyi
# Stubs for scales.formats_test (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. import unittest from typing import Any class Root: def __init__(self) -> None: ... def getChild(self, name: Any, collapsed: Any): ... class Child: countStat: Any = ... def __init__...
[ "drewp@bigasterisk.com" ]
drewp@bigasterisk.com
7069fca095f6baf2063be9bbc63196896714d52b
c00006a7faccc175420aeb6d8f0a754bd3c1fc59
/Ejecucion/SportCompanyTraining.py
93de28f2aff40f6587cf5fdc8df1d958d97d344f
[]
no_license
palomin98/PythonGS
de527f10d2fe9cdf95110a109b7e99a730789868
c24f363901f3b86c885fbe5b894e8be7652896a6
refs/heads/main
2023-03-29T06:26:56.468988
2021-03-28T00:09:35
2021-03-28T00:09:35
352,205,560
0
0
null
null
null
null
UTF-8
Python
false
false
26,603
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # sportCompanyTraining.py # # Copyright 2018 fp <fp@bachilllerato-07> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of t...
[ "rubenp98@hotmail.com" ]
rubenp98@hotmail.com
a012af3522c8bd71947b29ca99cd9d2593829514
aad87bb44c736128d4eba57427a32f0c4c5342c8
/RoGCN.py
1cb57678724ce27d74287d018b1283caef5e5dde
[]
no_license
zhouxianchen/military_project
d5efcbe29d26472fa8f11a2e0ff85f5d53ba4294
882ba4bdf8f623c1982c7859f6c698c0a16a3bf1
refs/heads/master
2023-09-02T05:53:44.992575
2021-11-22T01:35:17
2021-11-22T01:35:17
353,210,060
2
0
null
null
null
null
UTF-8
Python
false
false
9,481
py
""" (original method) This model is using the GCN with the procedure of original article. """ import time import numpy as np from copy import deepcopy import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from DeepRobust.deeprobust.graph.utils import accuracy from DeepRobust.dee...
[ "zhouxianchen@163.com" ]
zhouxianchen@163.com
5a34ada849ffd1501419485bd5be65707f1ddfb2
4fd9b2e78a989543dd9357f3e5c890e55f6da6aa
/raspi/light/blink.py
1030f3f9ba2193c16bd3a220efae8052e1d728f0
[]
no_license
zyndagj/coda-at-tacc-summer-2015
5c3b35a2525844ee71b9c4a77ab86c8da8f9934f
ebe0cbe79245995a556861beaf7443f346117abb
refs/heads/master
2023-03-16T20:35:47.903079
2015-07-31T22:57:04
2015-07-31T22:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
#!/bin/env python import RPi.GPIO as GPIO import time # blinking function def blink(pin): # Send 3.3V out of the pin GPIO.output(pin,GPIO.HIGH) # ### What do you think happens if you modify the number in time.sleep? time.sleep(1) # Set the pin to 0V GPIO.output(pin,GPIO.LOW) time.slee...
[ "jychuah@gmail.com" ]
jychuah@gmail.com
d9ba26aa4bf18f381093c342ba9d1f535b929b22
bf55dd4139f73022dc2630b60a81e6737796b6f9
/exercises/chapter02-exercises.py
8fa6e1e8cc6f7ef1bb5c046bd85bd2e5b0d3d6f4
[]
no_license
serenascalzi/python-specialization
92210cf3a11f3617be6ded5ddc83805c21e1ae14
605fd6665320adfd000a826a3ed3346db97e0bec
refs/heads/master
2020-12-29T07:26:50.993232
2020-02-05T18:10:02
2020-02-05T18:10:02
175,999,628
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
# chapter 2 # variables, expressions, and statements 5 x = 5 x + 1 # 6 # welcome program name = input('Enter your name:\n') print('Hello ', name) # pay program hours = input('Enter Hours:\n') rate = input('Enter Rate:\n') pay = float(hours) * float(rate) print('Pay:', pay) # expression values/types width = 17 heigh...
[ "serenascalzi@alumni.iu.edu" ]
serenascalzi@alumni.iu.edu
e37b015e717086548816dfe25e19163649bfdec6
9cedc2db68f2a3d65cdfb79cea39a62acaa9d9a0
/firstpython.py
9bfc477bc9425828381b24b96e3f31cd293f3d1c
[]
no_license
nadianasrin/testrepo
fd960191da67ce33d0337702331f532d2e157e53
5154861c61cf33fd1849fe7fa0460b5e896411a0
refs/heads/master
2022-12-07T19:12:46.917024
2020-09-03T09:49:44
2020-09-03T09:49:44
292,528,822
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
# Display the output print (*new python file * )
[ "noreply@github.com" ]
nadianasrin.noreply@github.com
15ff734a6e07ceccad08434f652c55eb4bd20655
d818e3a532f57f4f27db1aa9b795f82e91950371
/KPCB - Answer & Tests. Andrei Lyskov/KPCB_UnitTest.py
a08d109054d0661321a1f7583d03edbdef33a73e
[]
no_license
Andreilys/Thinkful-Data-Science
0c83420ce2abb234c681a5f3aa49feec597adfc0
de046e7e4377c562f94923e6fa1c20849bfa9037
refs/heads/master
2020-04-17T08:36:54.137529
2017-12-19T22:48:44
2017-12-19T22:48:44
67,144,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
import unittest from KPCB import hashMap # This class tests all the given methods iwthin the hashMap class class hashMapTests(unittest.TestCase): def setUp(self): newHash = hashMap(8) newHash.set("Blueberries", 5) newHash.set("Apples", 9) newHash.set("Lemons", 10) return new...
[ "andreilyskov@gmail.com" ]
andreilyskov@gmail.com
defa9d815ef1032c95ea48ccc4d79e4180de74ad
5c8346597e3690eec3939f56f233eb5fafd336bc
/test/test_search_criteria_request_dto.py
577599052c16581d540ae2942752b116df1bd679
[]
no_license
NVE/python-varsom-regobs-client
be44befd04ca07058f8b46ec69bf1659d3ee422b
8bb7fc06d2f6da36a5fa4a475d4f036ebe3cfd72
refs/heads/master
2022-12-27T19:09:54.761318
2020-06-24T08:56:15
2020-06-24T08:56:15
274,619,205
0
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
# coding: utf-8 """ RegObs API ## Introduction RegObs is a tool for collecting observations and events related to natural hazards. It is currently used by the Norwegian flood, landslide and avalanche warning service in Norway, but the data is openly available for anyone through this API. Regobs ...
[ "jorgen.kvalberg@gmail.com" ]
jorgen.kvalberg@gmail.com
8f96f5219407d27edd6ef67496357be324ace1a0
58bca29946133281eca5bf1f255b10d497ae2f13
/ros_ws/src/servo_visao/scripts/camera_node_mask.py
6324e4a8a044df3ca668f34823b351204979f09a
[]
no_license
AlexanderVieira/robotics
d3656f72f0f375d0229bef923d15d6ffe3d8750f
0c54b200ccbc702f807212cfe5c40b6ca865b16f
refs/heads/main
2023-03-31T05:15:19.378479
2021-04-09T01:53:26
2021-04-09T01:53:26
355,740,229
0
0
null
null
null
null
UTF-8
Python
false
false
3,525
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################# # # # Node to control the simulator TurtleSim. # # This node receives a goal coordinate from # # topc /goal and controls the turtle. # # ...
[ "alexander.silva@al.infnet.edu.br" ]
alexander.silva@al.infnet.edu.br
738c6fc1c3e28f68432e3d844956b5ba271481b0
fa1a84f571715bf378e13d40ab2f3682466146d4
/scripts/payment.py
defc26cd1fdbb477717eeecf0f756bc9a4293e6b
[]
no_license
Drucia/zsbd-shop
ea82c0c29633429e60ef5a8e3d75489cb42b46a3
53fc0f10d7acf5d03fa662fa00c8fbbbaf0db839
refs/heads/master
2023-02-20T13:09:49.103214
2021-01-12T18:15:59
2021-01-12T18:15:59
304,911,722
1
0
null
null
null
null
UTF-8
Python
false
false
2,319
py
import random from random import randrange import time def generateBankAccount(TYPEOFPAYMENTID): bankAccount = "" if TYPEOFPAYMENTID == 6: return "null" else: for x in range(26): number = random.randint(0,9) bankAccount += str(number) return str(bankAccount) EXECUTIONDATE = 'Select RECEIPT...
[ "ola.druciak@gmail.com" ]
ola.druciak@gmail.com
3302fe355169f3eb2ff9c8330a0bc8e88b511176
1be3db9efa7c1a087969cf0b048e43a93c1be62e
/decimal-hexadecimal.py
bc0f7f48841b09e654b62b14a01757114818e3ff
[]
no_license
Hezel254/python_projects
358fd7e37282b0e84b727bf0c962f3313e8517f6
793b6714785f432c26ea3baa23aabaaf5ffb1b82
refs/heads/master
2020-08-18T06:12:21.730600
2020-02-25T09:09:24
2020-02-25T09:09:24
215,756,648
1
1
null
null
null
null
UTF-8
Python
false
false
58
py
a = 1234 hex_a = hex(a) print(hex_a) print(int(hex_a,16))
[ "hezelandahwa@gmail.com" ]
hezelandahwa@gmail.com
dfe884cc74537bf3ab3e2f32315819705edd026e
f3494a6910d6015d11729969a29536cb6329eedb
/nova/tests/hyperv/stubs/test_hypervapi_HyperVAPITestCase_test_pause_already_paused_wmi.py
6b7d5ef9875622781467710ad2e6d145a6100fb1
[ "Apache-2.0" ]
permissive
alexpilotti/nova
2baf303fe969447aeebc686697f864c991b15825
ec7e9286877b02627276597880c9388dabe2c8d3
refs/heads/master
2021-01-16T22:07:10.512879
2013-01-07T20:36:46
2013-01-07T20:36:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
145,062
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # 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 ...
[ "ap@pilotti.it" ]
ap@pilotti.it
e6d3c90ef5eab0ca84b77fe3f6eb1ac38666898f
1fa7109fa66f01c03effd7ed1aecf4526b7bb66e
/src/trusted/validator_ragel/def_format.py
7d0dfbeb737eb0fa7f5dd939193aa6561280b031
[ "LGPL-2.0-or-later", "LicenseRef-scancode-philippe-de-muyter", "LicenseRef-scancode-intel-osl-1993", "HPND-sell-variant", "ICU", "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-generic-exception", "LGPL-2.1-or-later", "SMLNJ", "BSD-3-Clause", "GFDL-1.1-or-later", "HP-1986", "LicenseRe...
permissive
Lind-Project/native_client
2bd32d9515c561d7f60cca10d309a18059b67006
842a4f87bf9ba46914a6efe74a94d7168d33b4b2
refs/heads/main
2023-08-30T02:38:29.827132
2023-07-08T17:16:56
2023-07-08T17:16:56
11,289,145
5
4
BSD-3-Clause
2023-08-30T19:04:07
2013-07-09T17:38:40
C
UTF-8
Python
false
false
15,365
py
# Copyright (c) 2013 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. ################################################################################ # File format: # three columns separated by commas. Each line ...
[ "alexatnt@gmail.com" ]
alexatnt@gmail.com
be741d8c4d02fa61714427705c1be75f720b733a
2a7f2c4b7b88dfcbd9829c97e5fcf60644b8e48e
/HackerRank/string.py
346bbd23a74b6936c1bf15bfc67b05f006152aea
[]
no_license
Suprit5/synerzip_training
c2ce5730b99497f3a7385d1baaa8f089e8686a2f
9f44dd58e0694bb2d5c64fc578c5c563b09a177b
refs/heads/main
2023-08-23T03:25:50.810777
2021-10-22T13:37:49
2021-10-22T13:37:49
389,588,676
0
0
null
2021-08-30T08:18:01
2021-07-26T10:05:56
Jupyter Notebook
UTF-8
Python
false
false
225
py
"""Without using any string methods, try to print the following: 12345 take a number as an input and generate a string. """ if __name__ == '__main__': n = int(input()) for i in range(1,n+1): print(i,end="")
[ "suprit.salvi@excellarate.com" ]
suprit.salvi@excellarate.com
3ec9e8e8374c23ac85e08d073f049884aea233ec
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-lts/huaweicloudsdklts/v2/model/topn_requst_body.py
52832c2253e608c1695e1e8662a2ae9043c51ca3
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
9,339
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class TopnRequstBody: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute nam...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
2158b73ea96bba1e5fd97a6ecb874e61b8f23c14
9b476bc2491c132006bbd04c74e95d1924065dbd
/linenum.py
d2816d020c2da5f6c186957e99456cef78d61f0a
[]
no_license
eoinpayne/Python
6b949e78f574645aa0b151eaa8abff1c8632d2ba
5e7fa7d30da5ace3821af8d19f9885481008dfcf
refs/heads/master
2021-01-10T12:38:19.958363
2016-02-12T18:38:42
2016-02-12T18:38:42
51,600,935
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
# def pickRandomWord(fname): # wordList = [] # with open(fname) as inputfile: # for line in inputfile: # wordList.append(line.split()) # wordIndex = random.randint(0, len(wordList)-1) # word = wordList[wordIndex] # print (word) # return word def num_of_lines(fname): word...
[ "eoinpayne@gmail.com" ]
eoinpayne@gmail.com
18da2eb4f0e9777641e47be30bb0dc84f192d33b
9ba9b0ada9de96d4aa9ed554d0736e5c399eabd3
/restaurants/urls.py
c65bdc718c295cf8950fc5aeeb907f1025991994
[]
no_license
protechsumer/Restaurant-Web-App-Django-Based-
91ce46e2d13266de7827ed40d7aa348be5a9cc60
a2bcbd0b091a8296af9f8423908b9bf12a66f3f6
refs/heads/master
2020-05-16T04:15:59.856750
2019-04-28T12:50:37
2019-04-28T12:50:37
182,770,430
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
from django.conf.urls import url from restaurants.views import ( RestaurantListView, RestaurantDetailView, RestaurantCreateView, RestaurantUpdateView, ) urlpatterns = [ url(r'^create/$', RestaurantCreateView.as_view(), name='create'), #url(r'^(?P<slug>[\w-]+)/edit/$', RestaurantUpdate...
[ "noreply@github.com" ]
protechsumer.noreply@github.com
d2d05c5c0a892a0e4e15f1184c828cf5d428985b
84f7e5597c81164f471ea652c4adbc8c3eddcce1
/collectors/utils/__init__.py
4671a13cfaf40637b57635919382e28eb0ce771d
[ "MIT" ]
permissive
alvesmatheus/fala-camarada
4603e99873d1d83c3b191ef9fd45d20fdebb79ef
47015fe95422d5f71c279e47edacdd31ea3f71b8
refs/heads/main
2023-06-12T01:15:24.824164
2021-07-01T18:06:56
2021-07-01T18:06:56
338,142,237
12
0
null
null
null
null
UTF-8
Python
false
false
79
py
from collectors.utils import constants from collectors.utils import processors
[ "matheus.santos@ccc.ufcg.edu.br" ]
matheus.santos@ccc.ufcg.edu.br
941ce01d679ae8301637252f93d4fb0efcc4fea7
a7ee846bad9f41652e56bfd62df34fe8c25d334e
/lab3/lab_1.py
014668982d7669b4f0d6a16da8d4bdd1470d3a4e
[]
no_license
tuanlinh31/nguyentuanlinh-lab-C4E22
04c4650fb0ff8998121a055706c828e9f9fb8022
8ed9866ed0123ef2e69cf5919a42b0c8b303534f
refs/heads/master
2020-03-31T18:01:28.028161
2018-10-20T04:31:21
2018-10-20T04:31:21
152,443,382
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
x = int(input('your number? ')) y = int(input('your number? ')) s = x + y output = '{0} + {1} = {2}'.format(x, y, s) print(output) # r = 'your result: ' # while True: # if s == '-': # r = x -y # elif s == '+': # r = x + y # elif s == '*': # r = x * y #...
[ "nguyentuanlinh311@gmail.com" ]
nguyentuanlinh311@gmail.com
3e632daee89c023fc998b1933418819e694980a8
ba044caa8352b06c1e2e3aef52b80d1f30f8527d
/video/views.py
156feb798964369b44b59306f68ce2685d313592
[]
no_license
SkylerMcCoy/twistednation
305b82acf10bd6a322b9c42b7852f259d3662af0
f9443cfc65cf6ecec8a4a19066c9d87863901ac3
refs/heads/master
2022-11-24T17:42:36.237500
2020-06-24T20:54:10
2020-06-24T20:54:10
171,540,252
0
1
null
2022-11-22T00:19:49
2019-02-19T19:58:13
HTML
UTF-8
Python
false
false
1,950
py
# Create your views here. from django.contrib.auth.decorators import login_required from django.template import RequestContext from django.shortcuts import get_object_or_404,render_to_response from django.http import HttpResponseRedirect,HttpResponse from video.forms import UploadVideoForm from members.models import Me...
[ "skylerdmccoy@gmail.com" ]
skylerdmccoy@gmail.com
be1fe40dad651838e8247767372e2dbcc019ddcd
23f15e29dace8718d3256ea5d3fba07dc354f62e
/Problem Solving/factors.py
eb854be63fc2b7305b9a007bac85a1d1a5a68d3d
[]
no_license
ATSivapraneeth/Problem-Solving
d46fcf2981d26b3ebe011e92fa77bfd399d87778
f6530bdcf93b9109a83ea3b1d0dbfccaa5902b5b
refs/heads/master
2022-12-31T22:35:54.816576
2020-10-24T17:53:56
2020-10-24T17:53:56
306,932,966
0
0
null
2020-10-24T17:53:57
2020-10-24T17:12:36
C++
UTF-8
Python
false
false
162
py
t=int(input()) for i in range(t): n,k=map(int,input().split()) for i in range(k): for i in range(2,n+1): if(n%i==0): n+=i break print(n)
[ "noreply@github.com" ]
ATSivapraneeth.noreply@github.com
8a2f60ef854e4e5b320b224330d00405d070ddb1
116a4a2fcd3e9c3d216f96103006c707daa6001a
/HelloDjango/apps/forum/migrations/0004_facilitator_company_logo.py
d8e1060f29ed1ebd636086d4efd02d7f536c8b8a
[]
no_license
Eldar1988/a_white_birds
22d743ed1fa651062f070c0e81b7ac665be7a72a
0430d5322b3a55b6f55e9541675d6670f5d8a518
refs/heads/master
2022-12-18T20:23:26.293059
2020-09-15T04:27:59
2020-09-15T04:27:59
283,169,602
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# Generated by Django 3.0.6 on 2020-08-19 05:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('forum', '0003_auto_20200819_1117'), ] operations = [ migrations.AddField( model_name='facilitator', name='company_lo...
[ "elfarych@gmail.com" ]
elfarych@gmail.com
2f6175c493b3685c1e21524ba18a7fc9c9983405
4d08da497335139370032bd32b1250c545d7aa10
/app/modules/auth/resources.py
bfaca75be302253d8539c00412fd9cbd514c8b13
[ "MIT" ]
permissive
crivero7/flask-restplus-example
b6d4b6ee446d2676810fbeaaf35dd6181ae83f70
ff8754e1eff1989a61e2ba14e3f1c661d258d5d9
refs/heads/master
2022-12-04T16:28:48.573860
2020-08-26T15:48:36
2020-08-26T15:48:36
290,536,450
0
0
MIT
2020-08-26T15:36:38
2020-08-26T15:36:37
null
UTF-8
Python
false
false
2,050
py
# -*- coding: utf-8 -*- # app/api/auth.py from flask import request from flask_restplus import Namespace, Resource, fields from playhouse.shortcuts import model_to_dict from app.extensions.api import api from app.modules.auth import User from app.modules.api.utils import token_required ns = Namespace('auth', descrip...
[ "carrasquel@outlook.com" ]
carrasquel@outlook.com
24e2bb977b68bbf01d06f67c83eaee8d62269f70
6e3cf4b7c0fdcebcbfe8fe4e96de36057004f97b
/tut-2/main.py
af9e2989357f6021ca1aab4a9b2d4b2ce6fc66fb
[ "MIT" ]
permissive
Melikakmm/Wrapping-Cpp-using-Cython
7ff4264603c2147f96d9695699b1bf641084fcab
3ca063c75ef88515d8c888b2cf8c68f4fdb5deb9
refs/heads/master
2023-03-24T04:43:17.315118
2016-05-20T07:59:04
2016-05-20T07:59:04
589,746,469
1
0
MIT
2023-01-16T20:53:20
2023-01-16T20:53:19
null
UTF-8
Python
false
false
27
py
import test print dir(test)
[ "kuldeepbb.grewal@gmail.com" ]
kuldeepbb.grewal@gmail.com
6e3a74384f2f0981f274b6296e6136875248b06c
e4cbe721398f8757f346ca7d29fea3125343c38b
/py35_django/app01/urls.py
bb158b9a0d41de36a23922269479ff0d53869e22
[]
no_license
Rambotien/oldboy_python
da68a713e6196a5d87bb1766aa86bb9bde68266f
756c2461736250dfbdbcb5b9ec4fa27b3bd36a7a
refs/heads/master
2020-04-05T23:14:19.406352
2016-08-07T06:57:37
2016-08-07T06:57:37
64,648,556
0
1
null
null
null
null
UTF-8
Python
false
false
826
py
"""py35_django URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
[ "tech@zhiyong.wiki" ]
tech@zhiyong.wiki
5c0287582c4b41c560018b8557dec63482aa7ac7
1cbd68789158185fdeb11a7d866ede449f1359ae
/setup.py
7288987cca0b6f6aff848a1ba7b2c30aa23b9fc8
[ "Apache-2.0" ]
permissive
markusj1201/domovoi
9cf368044cb3a488624810fed3e18b16d0f2fad5
810375c2671a8e1062e487697df885edb61b9630
refs/heads/master
2020-05-12T23:51:23.638053
2019-04-15T21:07:49
2019-04-15T21:07:49
181,567,182
1
0
null
2019-04-15T21:17:25
2019-04-15T21:17:24
null
UTF-8
Python
false
false
1,322
py
#!/usr/bin/env python import glob from setuptools import setup, find_packages setup( name="domovoi", version="2.0.1", url='https://github.com/kislyuk/domovoi', license='Apache Software License', author='Andrey Kislyuk', author_email='kislyuk@gmail.com', description='AWS Lambda event handle...
[ "kislyuk@gmail.com" ]
kislyuk@gmail.com
ac261bd8487632332052246525185c82a1810cf2
cc03e0d7ceb6ca5e37c239a5c354cad36c78ade6
/worldpop/worldpop/spiders/worldpop_spider.py
b639d44966e7cc9afb5519eeaba0c9f1c8381748
[]
no_license
randypantinople/Analysis-of-Starbucks-Global-Presence
87235315e048baea7f0ead7f1ddfa48ecd915c38
5516ae5095bf07d2936c57da0704ae3af0a0bfc8
refs/heads/master
2022-11-26T09:31:03.309927
2020-08-01T16:23:05
2020-08-01T16:23:05
281,262,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,367
py
from scrapy import Spider, Request from worldpop.items import WorldpopItem class WorldpopSpider(Spider): name ='worldpop_spider' allowed_urls =["https://www.worldometers.info"] start_urls=["https://www.worldometers.info/world-population/population-by-country/"] def parse(self, response): # Fi...
[ "randypantinople@yahoo.com" ]
randypantinople@yahoo.com
223ddc86fda1894da753558ed69baa6edb4c8260
599d6aeace70c763c792ed17f61af1771b3dcc2c
/verlet.py
d79cac01c9e6428bc77093654a8baf43318faa06
[]
no_license
genjix/hypatia
b4c4dd9fce30fb267338dfdf0ceeb175da793ec9
f485454252be4543c1e829720c4d6a6b728c83b5
refs/heads/master
2021-01-13T02:22:46.163698
2010-08-14T13:59:05
2010-08-14T13:59:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
# -*- coding: utf-8 -*- # verlet acc = 0 vel = 0 pos = 0 for t in xrange(10): h = 1.0 pos = pos + vel*h + acc*(h*h)/2.0 velhalfw = vel + acc*h/2.0 acc = (t + 1) * 2 / 5.0 if acc > 2: acc = 2 vel = velhalfw + acc*h/2.0 print pos, vel, acc # euler acc = 0 vel = 0 pos = 0 for t in xr...
[ "aphidia@hotmail.com" ]
aphidia@hotmail.com
d826c57836094719e54e91ffe320500037cc1a16
2736c0baf290827edf6d2a705d18d09a3c4c674b
/openselfsup/hooks/byol_hook.py
38da543619897456aabc2c05702fd408106a0d86
[ "Apache-2.0" ]
permissive
sshaoshuai/OpenSelfSup
81beecb8c32aaa0ef069e117de6e38100b18d7af
9a579fde4e38a96fe0121b01e3a7e83492ad2217
refs/heads/master
2022-11-13T06:39:54.870887
2020-06-30T06:20:35
2020-06-30T06:20:35
276,158,957
3
0
Apache-2.0
2020-06-30T16:55:05
2020-06-30T16:55:04
null
UTF-8
Python
false
false
1,005
py
from math import cos, pi from mmcv.runner import Hook from .registry import HOOKS @HOOKS.register_module class BYOLHook(Hook): '''Hook in BYOL This hook including momentum adjustment in BYOL following: m = 1 - ( 1- m_0) * (cos(pi * k / K) + 1) / 2, k: current step, K: total steps. ''' ...
[ "xiaohangzhan@outlook.com" ]
xiaohangzhan@outlook.com
b8d4b673919a1f01295b56f407df7bf7811aa42f
85f52de727f72db30a4fc4161fc2414cd72035d8
/09day/03-创建能显示的游戏窗口.py
5aa96db723311c16838e725ab097099515b5e508
[]
no_license
ittoyou/-2-
ff7ca3bfd9428ac6f3ba5332a4c62825c5d30dcd
2c988c2f996221e86e1bbbeb9b3e96da25fe8f92
refs/heads/master
2020-03-24T16:57:05.220482
2018-07-30T08:08:59
2018-07-30T08:08:59
142,844,024
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
import pygame pygame.init() screen = pygame.display.set_mode((480, 700)) while True: pass pygame.quit()
[ "429013601@qq.com" ]
429013601@qq.com
d4347652ff9d1cefa2e6825d465cc291214c64aa
54a4bbb3ba3108b86490b2a857c45e9fde30cc03
/reducer.py
3da6f54b5e14420381a5a6e930947163c739a58b
[]
no_license
vincenre/CCHWAssignment4
ed3c7da885bd3d0187aad08a820a026e1ab26c64
ad68a338b2d98c2cc2a3a6da3e6bdcde1f09e715
refs/heads/master
2020-03-08T17:53:37.030700
2018-04-06T12:39:17
2018-04-06T12:39:17
128,280,716
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
#!/usr/bin/env python """reducer.py""" from operator import itemgetter import sys current_veh_type = None current_count = 0 veh_type = None for line in sys.stdin: line = line.strip() veh_type, count = line.split('\t',1) try: count = int(count) except ValueError: continue if c...
[ "noreply@github.com" ]
vincenre.noreply@github.com
3874fad036e0b8b3a35df5333e6d6a49b8f96684
e84c8ce302edaeff4110bccb66e71512eb10592a
/defaultparameter.py
f5492f0bb11eb419abee516645e2d3f2689cacda
[]
no_license
clumsyme/py
e0b2074ddcb34a85ae04ccbac5f30c6c83bf240d
7ad1ba11bc54973af7d9f68e9dfa814cf0a9234b
refs/heads/master
2021-01-18T01:02:04.252963
2016-08-08T13:35:56
2016-08-08T13:35:56
63,416,213
0
0
null
null
null
null
UTF-8
Python
false
false
6,775
py
# in memoize.py we see how to store calculated value to dic for later use. # now we see another feature----action of default-parameters. # and we will use this for a memoize. def foo(a=[]): a.append(5) return a # >>> foo() # [5] # >>> foo() # [5, 5] # >>> foo() # [5, 5, 5] # >>> foo() # [5, 5, 5, 5] # >>> foo...
[ "lidoyan@gmail.com" ]
lidoyan@gmail.com
da96f2e53ded82352c337a7c6dea3b0d5a72cf39
7486b3af4d4413a96b3e0bf76f776cd8605d7c05
/koalakid1/Divide Conquer/bj-1629.py
31206203867672664def46fe72833ca7d3e46927
[]
no_license
WonyJeong/algorithm-study
7146e18ec9a3d7f46910e31890768b2e37f8b9b4
dd659bf75c902800bed226d392d144b691d8e059
refs/heads/main
2023-03-31T14:38:47.365622
2021-04-02T01:35:36
2021-04-02T01:35:36
334,309,434
3
1
null
null
null
null
UTF-8
Python
false
false
142
py
import sys if __name__ == "__main__": input = sys.stdin.readline a, b, c = map(int, input().strip().split()) print(pow(a, b, c))
[ "koalakid154@gmail.com" ]
koalakid154@gmail.com
9da77659cb6cbd397e76bbdafc84a7d38d1fae1c
14e09d2b694c2005e65df016e24a49571871488c
/lab 5/exp3/nmos_earlyv.py
d3cf0c04ed2c2534a9be3f82079082950d762ec1
[]
no_license
vickymmcd/circuits-sp19
fb68e9d32f936e41186f0c86709e187118f90430
6632bf2ccceaddc1380781a431af4fda7bb99a3d
refs/heads/master
2020-04-23T03:51:31.573983
2019-05-06T19:58:38
2019-05-06T19:58:38
170,889,938
2
0
null
null
null
null
UTF-8
Python
false
false
769
py
# -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt from nmos_drain import m, b, m2, b2, m3, b3 # Isat is b # Va is b/m Va = b/m Va2 = b2/m2 Va3 = b3/m3 if __name__ == '__main__': # Setting up plot title = "nMOS Early Voltage" xLabel = "Saturation Current (A)" yLabel = "Early ...
[ "vickymmcd@gmail.com" ]
vickymmcd@gmail.com
92515175fdca1f41cc25995d701f6f07f01146e4
6c981596eb382393d9c4b72203f27d1717b9b605
/train.py
7e5d1b669f29cf94fbfd906dee881343d5d5c5ab
[]
no_license
viplix3/DL-Template
5b2d3528d3adc7e8ee25def14b410c61630be68e
3118cf6920a6aebd64fd01870284c9fb570ed62c
refs/heads/master
2020-05-15T16:24:46.643632
2019-04-20T10:00:05
2019-04-20T10:00:05
182,374,343
0
0
null
null
null
null
UTF-8
Python
false
false
10,519
py
import argparse import tensorflow as tf from tqdm import tqdm import time import os from utils.utils import draw_box from dataParser import Parser from utils import checkmate from model import model from utils.model_loss import compute_loss import numpy as np import config def get_classes(classes_path): """ Loads th...
[ "vipin.sharma2024@gmail.com" ]
vipin.sharma2024@gmail.com
6387dceef4ec0ae48b1922383fc1c74cd3f5e604
f429cce77b9e03a9bca64e0eb35b5de629b4a1d6
/data_env/bin/f2py
96f0bc6fd20632b0f1d3f50129f227db301f6fac
[]
no_license
g2ransom/data_projects
f0fbe45c6e505d06c5af220eefe696fc1b8f5a75
b815dd8a1e6882f7519ca26e532acc78faeeb349
refs/heads/master
2021-01-24T12:19:13.606364
2018-06-13T05:01:00
2018-06-13T05:01:00
123,127,941
0
0
null
null
null
null
UTF-8
Python
false
false
796
#!/Users/garrettransom/data_projects/data_env/bin/python # See http://cens.ioc.ee/projects/f2py2e/ from __future__ import division, print_function import os import sys for mode in ["g3-numpy", "2e-numeric", "2e-numarray", "2e-numpy"]: try: i = sys.argv.index("--" + mode) del sys.argv[i] bre...
[ "garrettransom@Garretts-MacBook-Pro-2.local" ]
garrettransom@Garretts-MacBook-Pro-2.local
07151f0a3f30969ce8fcd55f38e023a25c833152
a58ac1484099049a412264e0278b4712cb4c60b9
/dy_setting.py
56d3117ea6a73c700feed8c36784c31a193a72e9
[]
no_license
ongbe/douyin_spider
4018cf2c40b06c89267df5e0432d6f7912643ec9
37455b7a2c0f82b558da2cfa5d46bec238350bfd
refs/heads/master
2022-02-27T01:33:30.610386
2019-10-16T05:26:17
2019-10-16T05:26:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
# !/usr/bin/env python # coding:utf-8 # Time:2019/10/2 10:42 # write_by:QiFuMin # script_name:setting.py import random device_name = "LE67A06340179566" host = '127.0.0.1' port = 3306 user = 'root' password = '369852' database = 'douyin' charset = 'utf8' # 获取关注的人 follow_get = False # 获取更多的视频 video_ge...
[ "noreply@github.com" ]
ongbe.noreply@github.com
7c3f1c588687229ef881f5a119932c076a578cb9
5298cab4df7f3e37311f61ba408e0a5450f9aa87
/pykin/utils/urdf_utils.py
12499601876f3e5663e2b16af03eda7d4fc1bb38
[ "Python-2.0", "MIT" ]
permissive
junha-lee/pykin
d12a2263caecfdcaf1024576f96f40e0f05b2c09
8db4fa4c198f663453bca8dcbee87bf4ece0438e
refs/heads/main
2023-07-31T11:19:25.586162
2021-09-08T03:44:58
2021-09-08T03:44:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,062
py
from pykin.utils.kin_utils import convert_string_to_narray, LINK_TYPES class URDF_Link: """ Class of parsing link info described in URDF """ @staticmethod def set_visual(elem_link, link_frame): """ Set link visual """ for elem_visual in elem_link.findall('visual'):...
[ "wlseowhd12@naver.com" ]
wlseowhd12@naver.com
fa334da85eec071a23fd5a0882f13d3a076436a1
26e82c1dbe24ccec0f8e9d9bf273ffdedd3fa7bd
/Tensorrt_yolov3/test_np2cbyte.py
989af71d85c4d1d9b01c73b38269b0f831e4f42a
[ "MIT" ]
permissive
KTOC/hd_acceleration
5c74ca31ee852ace9b9e2cba83b7fa605310429f
e62c2a555c320e474c7caf16c32c34184df6f6b0
refs/heads/master
2020-09-30T08:36:03.164035
2019-05-17T03:57:14
2019-05-17T03:57:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,997
py
#!/usr/bin/python3 # *_* coding: utf-8 *_* # @Author: samon # @Email: samonsix@163.com # @IDE: PyCharm # @File: test_np2cbyte.py # @Date: 19-5-16 下午4:38 # @Descr: from ctypes import * import ctypes import numpy import cv2 dll = cdll.LoadLibrary('install/libyolov3.so') n = 100 one_R = [1 for r in range(n)] R = [one_R...
[ "scuteezxz@163.com" ]
scuteezxz@163.com
5fc45b173bbdd6e91f220b1216e3c0155e86ce4b
fe5bdd27f69f9920ccc6a620425279e6e41d5cd1
/versatileimagefield/registry.py
ac4c5316adaec4bfe2cd527cff5de151047cc652
[ "MIT" ]
permissive
derenio/django-versatileimagefield
961586546b06f9fd3614d37d1f942f236380a757
67dbd6130bb75e45fdbfdacd5a57b777f8793185
refs/heads/master
2021-01-14T14:15:31.209450
2015-07-08T13:46:07
2015-07-08T13:46:07
38,746,389
0
0
null
2015-07-08T10:00:34
2015-07-08T10:00:34
null
UTF-8
Python
false
false
7,062
py
from __future__ import unicode_literals from .datastructures import FilteredImage, SizedImage class AlreadyRegistered(Exception): pass class InvalidSizedImageSubclass(Exception): pass class InvalidFilteredImageSubclass(Exception): pass class NotRegistered(Exception): pass class UnallowedSizer...
[ "jonathan_ellenberger@wgbh.org" ]
jonathan_ellenberger@wgbh.org
d47697d3aeb18c73cd9c38bffe4ee1743e777652
289e17a9b3d0cf187f403894ebfb1007dcb1b3dc
/easy/reverse-linked-list.py
0b51f91f6ca2b9583185b136e6b108b5d7edd1d8
[]
no_license
congyingTech/Basic-Algorithm
7ddb376e49ef3b1c0d989fb1d4a4949d2d121d63
18c06a96bb14688e4a1d5fb6baf235a6b53bd3ae
refs/heads/master
2021-11-27T07:01:05.474609
2021-11-15T07:16:31
2021-11-15T07:16:31
224,206,231
10
3
null
null
null
null
UTF-8
Python
false
false
988
py
# encoding:utf-8 """ 问题描述:反转链表 解决方案:三个指针解决,pre,cur,next_node """ class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def reverseList(self, head): """ :type head: ListNode :rtype: ListNode """ if not head:...
[ "congyingTech@163.com" ]
congyingTech@163.com
800d633cac00277a169c3f3f6d2c89358f811ea0
b250ec914ed079b297d9dd19d53304b4c61f150b
/HW1/Q3_prokudin_gorskii.py
f398bc916765cf94831f6d5029b799e2c6bb22f0
[]
no_license
sahelyiyi/ImageProcessingCourse
512081f84ca7a4cbaa69fb40eca34a8c78a8f11e
bf69c8c7de6425ba2dd33cadd6448647cb0386e7
refs/heads/master
2020-09-29T01:46:43.729810
2020-03-17T10:56:04
2020-03-17T10:56:04
226,917,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,774
py
import cv2 import numpy as np from scipy import misc def _match_imgs(img1, img2, img_name=None): # img2 is fixed and we move img1 selected_sample = 500 center = 1000 common2 = img2[center:center+selected_sample, center:center+selected_sample] min_value = None min_diff_y = None min_diff_x ...
[ "sarcheshmehpours@gmail.com" ]
sarcheshmehpours@gmail.com
8c96cc9669ce9bb2b02175d643e01c8ae8f83602
697a04e866b2ac7259e912c15243fd4349b9529e
/quagga/utils/CustomDefaultDict.py
117e1940cb56dad468955c40cd36c8c1daedac30
[ "Apache-2.0" ]
permissive
sfdcmahi/quagga
23379612d50b6274af4e1bc65ab84b764e360ada
c1c50e891034742a59f0c712b5978c9f54348d1e
refs/heads/master
2021-01-18T16:08:48.731021
2016-03-02T21:32:15
2016-03-02T21:32:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from collections import defaultdict class CustomDefaultDict(defaultdict): def __missing__(self, key): if self.default_factory: self[key] = self.default_factory(key) return self[key] else: defaultdict.__missing__(self, key)
[ "sergii.gavrylov@grammarly.com" ]
sergii.gavrylov@grammarly.com
5ceb8c735fff3ee882d9df8f7f7d9db063a3fa53
addddf160a5042c199af21bcd6553a65dc56a9ce
/client/client.py
9935addc73ea8d24ddd8d4ee6c6c17f1d83cdf3d
[]
no_license
shirongzuo/cloud-code
fc122f374b49a9a7316b058bfa0cbe402c16e025
2c972cab20f273115847393d4cd5199f02e7c158
refs/heads/master
2022-12-23T16:55:38.464571
2019-05-31T01:44:54
2019-05-31T01:44:54
189,500,292
0
0
null
2022-12-22T04:59:35
2019-05-31T00:26:35
JavaScript
UTF-8
Python
false
false
415
py
from requests.exceptions import ConnectionError from socketIO_client import SocketIO def on_connect(): print 'connect' def on_new_response(*args): print args try: socket = SocketIO('127.0.0.1', 5000, wait_for_connection=False) socket.on('connect', on_connect) socket.on('new_scan', on_new_respons...
[ "shilingggg@gmail.com" ]
shilingggg@gmail.com
51ca4ac37db82fa3b82ce5951cc8b949f65b2b5d
9644567f9cd3415e6c8b1470fde72ab178bb8eb0
/flask/lib/python2.7/site-packages/whoosh/matching/mcore.py
0b61c7da0d27c7b94f4eb3280f37451c55134bde
[ "Apache-2.0" ]
permissive
Ahmad31/Web_Flask_Cassandra
01d44ee03fcb457ea3a01629f6fd29870663b8ff
76acb074fce521e904f3b2a41e6ab69571f4369e
refs/heads/master
2021-06-10T02:42:53.494515
2019-11-27T16:22:48
2019-11-27T16:22:48
88,625,344
3
1
Apache-2.0
2021-03-19T22:23:05
2017-04-18T12:59:21
Python
UTF-8
Python
false
false
18,841
py
# Copyright 2010 Matt Chaput. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the...
[ "aku.anwar.aan@gmail.com" ]
aku.anwar.aan@gmail.com
3646440113ac103a53ca422f0e1dcabcff3bbf0e
a0be404b882c9dd8b23d08052d568785b854710f
/draw.py
213f4523f056a1f4f2d00dd6e20b7c96d1acb0b8
[ "MIT" ]
permissive
mncoppola/ws30
fa3d0bf0b688e2347c2818c68c9644679d8f343a
c80f5a1ae19a13871c1fcf051cbce1e67761ec36
refs/heads/master
2020-04-14T01:09:38.110523
2015-10-19T13:16:10
2015-10-19T13:16:10
13,512,586
59
14
null
2015-10-19T13:16:11
2013-10-12T00:20:06
Python
UTF-8
Python
false
false
3,404
py
import hashlib import Image import json import sys import time import urllib import urllib2 from urlgrabber.keepalive import HTTPHandler MARGIN = 3000 urlbase = "http://scalews.withings.net/cgi-bin/" urlonce = urlbase + "once" urlsess = urlbase + "session" urlmaint = urlbase + "maint" urlassoc = urlbase + "associa...
[ "michael.n.coppola@gmail.com" ]
michael.n.coppola@gmail.com
b8880ceb3d542eb55dcfb0215fbabbb155893947
c195c6dfe6f9d270babe4641bea558b4427b6ce2
/base.py
c2d6f6d7c31bc1e0fdd97e2be020ef43bde53e51
[]
no_license
umknow/TechnicalIndex
427e9bb2184ae7eb72b52ca4796703e603db496a
b910ca3a2d652002335ed5ca90e80e7a375c7859
refs/heads/master
2020-09-01T13:16:45.781338
2019-11-01T08:00:52
2019-11-01T08:00:52
218,966,313
1
0
null
2019-11-01T10:41:29
2019-11-01T10:41:29
null
UTF-8
Python
false
false
5,698
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- """ Author: zero Email: 13256937698@163.com Date: 2018-09-20 """ from decimal import Decimal, getcontext from TechnicalIndex import WindowEvent class EMAEventWindow(WindowEvent): def __init__(self, maxLen): super(EMAEventWindow, self).__init__(maxLen) ...
[ "zb@liangplus.com" ]
zb@liangplus.com
b604234cc7badec12fbeb8430b01b3ad746d0afe
a7d8b809c96badb19c4405604a132218c0428458
/suppliers/urls.py
376d353b460ee08531eeeb3923ea5909b7607ce9
[]
no_license
nlanaro/providers
d1b29765dec71f7c2af3e43d239eb5eb2f9d4811
ec288b80ecb0aeba5c0e8662f05de8185c8cb097
refs/heads/master
2021-01-10T05:42:22.443751
2016-02-14T18:20:35
2016-02-14T18:20:35
51,680,974
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
"""suppliers URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "nlanaro@medallia.com" ]
nlanaro@medallia.com
cd04153e6967fb5fc6fed3dd5d14f9d6cfd9d578
2fdbb6ddcbad9d7d9bb28a080ca82db978f8d034
/karthus/karthus_stack.py
39904ab3952b9a5d6224840202cceeca1ea3511e
[]
no_license
jairov4/karthus
b8a36a73404d38afddb02f69dc0f382b6c1da4dc
df8298b4e6ece7949ea8d6d349a4b4494c7ac2d8
refs/heads/master
2020-11-24T15:10:26.520038
2019-12-16T18:17:29
2019-12-16T18:17:29
228,209,418
0
0
null
null
null
null
UTF-8
Python
false
false
7,574
py
from aws_cdk import core, aws_ec2 as ec2, aws_autoscaling as autoscaling, aws_logs as logs, aws_iam as iam, aws_s3 as s3 from aws_cdk import aws_autoscaling_hooktargets as as_ht, aws_sqs as sqs class KarthusStack(core.Stack): def __init__(self, scope: core.Construct, id: str, **kwargs) -> None: super()._...
[ "1904410+jairov4@users.noreply.github.com" ]
1904410+jairov4@users.noreply.github.com
1e7c11b83b084bfa789ff92f565d1102b7b56ae2
4a2b846b39a930edc39462aa6b57444de1f69c65
/__init__.py
20db3a97a96d8188c27f4cfc38ab06e6d6a988ed
[]
no_license
ivi81/eml_parser
c8b9f134dae67d0c26f45c691c6edc4484f5e6b0
3ab481d690c8923fb1add4d6acd51736237c2a4a
refs/heads/master
2020-04-01T13:05:52.573875
2018-11-21T13:23:09
2018-11-21T13:23:09
153,236,723
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
# -*- coding: utf8 -*- #!/usr/bin/python3 import sys try: from ._smtp_processor import * except Exception: sys.path.append('./') from _smtp_processor import *
[ "ppp00@inbox.ru" ]
ppp00@inbox.ru
a5a442ee8c34ff3789e5156e1baf76508b04f52f
8d65af8d08ac39d29bd899c809c6028f40a7871c
/movingFiles/main.py
32a49d2195f0a177c91e2a1b98153b122c94afe9
[]
no_license
tonyechen/python-codes
860691129da58bc6f6d125ae16de89a0ffbb617c
ab457c611806e572d155fc956ff99a55997b545d
refs/heads/main
2023-07-08T12:48:52.044742
2021-08-08T02:45:00
2021-08-08T02:45:00
394,035,660
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
import os source = "text.txt" destination = "C:\\Users\\fchen\Desktop\\folder" try: if os.path.exists(destination): print("There is already a file there") else: os.replace(source,destination) print(source + " was moved") except FileNotFoundError: print(source + " was not found")
[ "anchen082019@gmail.com" ]
anchen082019@gmail.com
bcfdd3cfd8012d73ae2debe9783cc96a1cbfd130
d149ef59f3d810dbae135e32cb0f8c6844a7b32c
/home/urls.py
3cef4f784a043530745f471a0dae52af572b30be
[]
no_license
salimdev04/schoolbook_django
915c0b6184827f838751f6a7ff32618405015966
f8aaaa69d9d2a881219ee7b87b97387f951402af
refs/heads/main
2023-02-10T08:45:40.455326
2021-01-03T12:15:27
2021-01-03T12:15:27
326,391,779
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
from django.urls import path from . import views urlpatterns = [ path("", views.index, name="index"), path('<int:year>/<int:month>/<int:day>/<slug:slug>', views.campus_detail, name='campus_detail'), path('<int:id>/<slug:slug>/', views.campus_per_pays, name='campus_per_pays'), ]
[ "salimdev@salimdevs-MacBook-Pro.local" ]
salimdev@salimdevs-MacBook-Pro.local
3e895e849c58729bfc3662d24e122fa94de6457f
1711b5ca224856b4a4dcbe08f8caaa4ba28848e3
/server/book/insert_action.py
32b88a5a6b56819a52e2984e6f9527efa29196af
[]
no_license
ktisha/ebook-service
ef041c715cc02acac9e6774965dd30baa4eacd3c
703137643c30757dac039bb56841ac87015b7daf
refs/heads/master
2016-09-10T17:19:39.942529
2013-07-03T09:20:24
2013-07-03T09:20:24
11,146,567
0
1
null
null
null
null
UTF-8
Python
false
false
8,972
py
"Insert action handler for analyzer interface" try: from hashlib import md5 except ImportError: from md5 import new as md5 import logging from django.db.models import Q from django.db import transaction from django.core.exceptions import ObjectDoesNotExist from book.models import Book, Author, AuthorAlias, B...
[ "Ekaterina.Tuzova@jetbrains.com" ]
Ekaterina.Tuzova@jetbrains.com
1bd1312ffdf3178c08caa60c547fc57c244b9015
24779d6a953061a56f357e2667e5c165f2f440c4
/src/app/controllers/dm_controllers/update_dm_message_controller.py
a705bc00afcb0987ab73f0355b04e0197cff2262
[]
no_license
jack-y-wang/slack-backend
b3ec564c6a8aaec78858b118eb5a1b88f327ba3a
9ef4bf366027c3f7f0cc63def4ab9b9816e1bde9
refs/heads/master
2023-02-10T18:26:26.726432
2021-01-12T05:35:49
2021-01-12T05:35:49
325,659,550
1
0
null
null
null
null
UTF-8
Python
false
false
602
py
from app.controllers import * from flask import request from app.dao import dms_dao class UpdateDmMessageController(Controller): def get_name(self): return "update-dm-message" def get_path(self): return "/dm-messages/<int:message_id>/" def get_methods(self): return ["POST"] ...
[ "jack.y.wang@berkeley.edu" ]
jack.y.wang@berkeley.edu
485bb1976ef3b511d0be2b4a2dfba7f4be12e3e5
974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_05_02_preview/aio/operations/_trusted_access_role_bindings_operations.py
94bb973f5c4c88ec447012d30012c415b6a64ba6
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
gaoyp830/azure-sdk-for-python
4816f04c554dcffb7510a6b7044b0c86a2dd32e1
1c66defa502b754abcc9e5afa444ca03c609342f
refs/heads/master
2022-10-20T21:33:44.281041
2022-09-29T17:03:13
2022-09-29T17:03:13
250,355,505
0
0
MIT
2020-03-26T19:42:13
2020-03-26T19:42:12
null
UTF-8
Python
false
false
19,837
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
gaoyp830.noreply@github.com
146fd114a0390327155648dcecd12e452a0ef164
4c4d60d3ffc3f0832a53ce51aa35807c905566ba
/question/migrations/0004_auto_20191028_1338.py
6fdcc41186bc3be386e8120dec5b960ef2880dab
[]
no_license
bulletmys/Techpark-Web
5a86435e42dd4367d728570b466fc99d116829af
5d081130f26ca7e50a8e0234495fc1262b40fbec
refs/heads/develop
2020-09-03T23:29:49.453358
2019-11-04T22:09:14
2019-11-04T22:09:14
219,601,440
0
1
null
2020-07-07T20:43:11
2019-11-04T21:37:23
null
UTF-8
Python
false
false
847
py
# Generated by Django 2.2.6 on 2019-10-28 13:38 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('question', '0003_auto_20191028_1249'), ] operations = [ migrations.AddField( model_name='question', ...
[ "bulletmys@yandex.ru" ]
bulletmys@yandex.ru
62a5cae3b4c092a1ae2f91940148f82ac26bcb3d
a3aeb4575855d828e9b6d1f0c445f07e3548dae5
/exercises/22_oop_basics/test_task_22_1c.py
4e6f0c9daacca13a927bce384b3b0c55fc8b618b
[]
no_license
Dimirs/python-Junior
40e70e8218d04e6e88e3d18447eaa7258949a4f0
b46001549250a312b855be108dadd8128a26fe4a
refs/heads/master
2023-08-13T08:30:14.605401
2021-10-03T17:11:57
2021-10-03T17:11:57
413,067,835
1
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
import pytest import warnings import task_22_1c import sys sys.path.append("..") from pyneng_common_functions import ( check_class_exists, check_attr_or_method, stdout_incorrect_warning, unify_topology_dict, ) # Проверка что тест вызван через pytest ..., а не python ... from _pytest.assertion.rewrite...
[ "91830963+Dimirs@users.noreply.github.com" ]
91830963+Dimirs@users.noreply.github.com
9f25c7df88e816e6c9198132c896b412b51e3d19
d38e71c3f1652e7f90464b76fe72e068e2dde299
/app/mail.py
0358e165ba8643c332de3f86851879aa886c06dd
[]
no_license
aswinashok44/mailbot
c2bf509e2627a34ab4fdb174142bd706436607c6
35e81f96532c3d093f3c33e761fdb95c2d84c105
refs/heads/master
2022-01-05T01:40:31.234792
2019-04-28T17:55:37
2019-04-28T17:55:37
179,039,873
0
0
null
null
null
null
UTF-8
Python
false
false
2,177
py
import smtplib from config import Config from threading import Thread from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText import datetime from flask import render_template from app.models import User, Courier def send_mail(sub, htmlbody, recipient): smtpserver = smtplib.SMTP(Config....
[ "aswin@am.students.amrita.edu" ]
aswin@am.students.amrita.edu
5085696c9c60e922bd5245bb522c3d1c94710bb9
90dbd6556944bc6dbafaa79aa69b794bb19f0a16
/BasicCodes/kap.py
e5a4eba716b89ee68e52c7828f12c76b0ac070c4
[]
no_license
prasadovhal/Python-Codes
e5f325818f52562462e9223ad8d04c68b9ff7022
14c42ef133d8f55de46c88d63d8a6a5657895c1c
refs/heads/master
2020-03-29T16:51:35.829910
2018-09-24T16:09:13
2018-09-24T16:09:13
149,887,454
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
def kap(n): if (n == 6174): return n lis = list(str(n)) lis.sort() small = int(lis[0])*1000 + int(lis[1])*100 + int(lis[2])*10 + int(lis[3]) big = int(lis[3])*1000 + int(lis[2])*100 + int(lis[1])*10 + int(lis[0]) diff = big - small print diff return kap(diff) n = input("enter a number : ") if(len(str(n)) =...
[ "prasadovhal99@gmail.com" ]
prasadovhal99@gmail.com
64cb3ed7a5a0361bebb47dbec37d5482848d8607
16385e10f6ad05b8147517daf2f40dbdda02617c
/etc/power_reports.conf
6593b39b0c799cebaf717078b701abafae07a532
[]
no_license
prachipainuly-rbei/devops-poc
308d6cab02c14ffd23a0998ff88d9ed0420f513a
6bc932c67bc8d93b873838ae6d9fb8d33c72234d
refs/heads/master
2020-04-18T01:26:10.152844
2019-02-01T12:25:19
2019-02-01T12:25:19
167,118,611
0
0
null
null
null
null
UTF-8
Python
false
false
1,529
conf
# -*- mode: python; coding: utf-8 -*- # $Id: power_reports.conf 181863 2018-08-08 14:17:59Z kbu $ import os # Timeout in seconds (default is 600 = 10 mins; 0 = deactivated) REPORT_SERVER_TIMEOUT = 600 # Sender information (email) REPORT_QUEUE_SENDER_EMAIL_ADDRESS = "NoReply@contact.de" REPORT_QUEUE_SENDE...
[ "PPR4COB@rbeigcn.com" ]
PPR4COB@rbeigcn.com
e336ddb6a4b6e2d055a56a59b5a4d985b61146e3
dd2df0fbb8b1ebfa674344db668f5a057f53af8b
/azbankgateways/readers/bases.py
0abc56641d8c910206a92fa8ef0df94c7968f3d0
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
joejoe-am/az-iranian-bank-gateways
cfbf7719790e85af901dd6610c026477fecc22f4
7ba5cde9b446b72da8004253e4dc67b16f681983
refs/heads/master
2023-08-18T15:25:48.398436
2021-08-14T09:46:06
2021-08-14T09:46:06
398,999,623
1
0
MIT
2021-08-23T06:41:27
2021-08-23T06:41:26
null
UTF-8
Python
false
false
935
py
import abc import six from azbankgateways.models import BankType from azbankgateways import default_settings as settings @six.add_metaclass(abc.ABCMeta) class Reader: @abc.abstractmethod def read(self, bank_type: BankType, identifier: str) -> dict: """ :param bank_type: :param iden...
[ "ali.zahedigol@gmail.com" ]
ali.zahedigol@gmail.com
5508ec98711c97111b4e5798efb2810d44e1a1d3
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/K/klausz/test_53.py
0d2daaa54ecb4c73b9d8576abdb5b37ac0820e98
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,712
py
# from @andymboyle - Andy Boyle / Pythoninquiries import scraperwiki import simplejson # retrieve a page #base_url = 'http://search.twitter.com/search.json?q=' #q = '%3A(' #options = '&rpp=100&page=' #page = 1 base_url = 'http://www.50hertz-transmission.net/cps/rde/papp/SID-60C46786-AB1F4138/apc_nextgen_inter_trm-p...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
514aafeef973d88ddf5d9fbe1fa84175d6edc409
76fa9f306b3f13bdf33efa53035196c341fbed8b
/framework/urls.py
01f0287df403fb834ade4fc177bc5354218a988f
[]
no_license
lohitha02/Blood-Bank-Management
52c0c4b6844b8c4f0413ead6118bb2fce1101515
a37edfabba40472dcb906e3d399bd02fe3ec2eb8
refs/heads/master
2020-08-18T12:39:17.408650
2019-10-17T12:03:54
2019-10-17T12:13:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
"""framework URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "pabbatiharshith@gmail.com" ]
pabbatiharshith@gmail.com
20c242ff67b4e638444744b807ad8ee971a5416d
51e8dbc7d5195586ccbf789957eaa602ae6c2d8b
/handlers.py
3741eb6b19f4801e8c776f658e1627a23ba4c7eb
[ "Apache-2.0" ]
permissive
tdudgeon/jupyter-operator
ccf7947bd7d8ab3510278d9b2f49a52efc0b3019
7bc96f69c7d55ce55fc3e594d7aeed1cfbfba707
refs/heads/main
2023-03-28T13:05:51.165164
2021-03-29T15:40:57
2021-03-29T15:40:57
331,370,421
0
1
null
null
null
null
UTF-8
Python
false
false
9,767
py
import os import random import hashlib import string import kopf import kubernetes notebook_startup = """#!/bin/bash conda init source $HOME/.bashrc if [ ! -f $HOME/.condarc ]; then cat > $HOME/.condarc << EOF envs_dirs: - $HOME/.conda/envs EOF fi if [ -d $HOME/.conda/envs/workspace ]; then echo "Activa...
[ "tdudgeon@informaticsmatters.com" ]
tdudgeon@informaticsmatters.com
109fbbf58b3ea28aba19fa9b0a7ee49c1fbcba50
fc3d5f0b29c2b9d9dee3ef358f6add12dc8c7a09
/airmozilla/comments/tests/test_views.py
98657b0393e6f981eee92062950be986ef51978a
[]
no_license
imclab/airmozilla
80ba52c8e9a4b66e44becbf92da3cce91abaff1e
b3dfa4349141be19683ab885519c0f795efd43c1
refs/heads/master
2020-04-01T17:43:24.325177
2014-05-05T20:39:44
2014-05-05T20:39:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,582
py
import calendar import json import re import uuid import mock from django.core.cache import cache from django.test import TestCase from django.contrib.auth.models import User from django.core import mail from funfactory.urlresolvers import reverse from nose.tools import eq_, ok_ from airmozilla.main.models import E...
[ "mail@peterbe.com" ]
mail@peterbe.com
ec9edf0f549af074cbca6fa62c5e4e1f8ea38e5f
869aa267b451071ad9a0982cd536c5a98d1772b8
/hooks/background_fba.py
6c0ebd45baf24ff54c1cec2f9062c4b94b47ac5b
[ "Apache-2.0" ]
permissive
kibernetika-ai/demo-zoo
d66382b063306760b87cea11331ee3e6653ce5fb
e3ff6010dc2636a44beff2a0333270a824996ed0
refs/heads/master
2021-07-24T21:10:37.780731
2020-05-07T04:20:27
2020-05-07T04:20:27
166,981,700
0
0
null
null
null
null
UTF-8
Python
false
false
9,194
py
import logging import numpy as np import cv2 import fbamatting.serving as fba from ml_serving.utils.helpers import get_param, load_image, boolean_string, predict_grpc import glob import os LOG = logging.getLogger(__name__) backgrounds = {'None': None} glob_background = None style_srv = 'styles:9000' def init_hook(...
[ "agunin@kibernetika.ai" ]
agunin@kibernetika.ai
2eb909ede4f87fb08a7d9d859c74ced6f87433c8
33e036f0a2f30cbb32434f5e1b2ae60b84d98814
/inventory/migrations/0003_auto_20210929_2050.py
d33a444ad385e0104f4dd6960d8cd1162d04595c
[]
no_license
RandyBrilliant/django-delight
ce78eced7afbcbc91876b0e1961de9d4abd576af
c68f756f1d18d34b0460a3af912e34c602856284
refs/heads/main
2023-07-31T08:36:49.771811
2021-10-08T14:36:02
2021-10-08T14:36:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
# Generated by Django 3.2.7 on 2021-09-29 13:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventory', '0002_menuitem_image'), ] operations = [ migrations.AddField( model_name='ingredient', name='slug', ...
[ "randybrilliant68@gmail.com" ]
randybrilliant68@gmail.com