blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
2f5d50aa374a21f93f5594a1485922e1760a08ff
e33e4fd0a750376125957ecab3f10ed0f3ee889b
/ACT/packaged_apps/farewells/app.py
4952840b6b07a930ba01f55e1481d292f50e3b5b
[]
no_license
neerajms1/MMLUpdates
7d95a43cb4bf1e7183e5d887c1c78b6d904d9327
7485b79066d53af82b43bea91f7a917aac083373
refs/heads/master
2022-04-06T03:08:57.282153
2020-02-28T00:09:11
2020-02-28T00:09:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,028
py
#!/usr/bin/python3 import rospy import geometry_msgs import time import sys import os import numpy as np import curses import cv2 import miro2 as miro import mml import random from datetime import datetime from cv_bridge import CvBridge, CvBridgeError from sensor_msgs.msg import CompressedImage ######################...
[ "all00132@gmail.com" ]
all00132@gmail.com
3d0e68dbc8652344c39ff3dd0237b94abcd633b8
1bbc57f2823f035a28179ac10d3d2a2414c57129
/main.py
de219bcca0b538c721140683f35871315714f6a2
[]
no_license
shashank2043/zoomautologin
2b44dd902c1c829f252a9ce130d749bcefa35a90
55ffe06c1a3445365e447f9d02a72c174fc40b4c
refs/heads/main
2023-05-12T12:00:29.933607
2021-05-06T17:11:29
2021-05-06T17:11:29
364,951,733
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import schedule #pip install schedule import time import webbrowser #pip install pywhatkit def open_link(link): webbrowser.open(link) def classone(): open_link('Zoom link') print('Opening...') def classtwo(): open_link('Another zoom link') print('Opening...') def classthree(): ...
[ "noreply@github.com" ]
noreply@github.com
79ba2577fcaceca179c1a325377f6431a58f4b35
c21faf85627b1cfd96494aac73cc40e5f11ebb46
/results/test_493.py
99c59e55336937519e7b0be46fe1bf943072d26a
[]
no_license
ekkya/Cyclomatic-Complexity
d02c61e009087e7d51738e60605875741532b878
172db2efdd974f5abad964e335552aec974b47cb
refs/heads/master
2021-08-28T17:13:14.718314
2017-12-12T22:04:13
2017-12-12T22:04:13
112,042,202
0
1
null
null
null
null
UTF-8
Python
false
false
26,546
py
# Script Name : osinfo.py # Author : Craig Richards # Created : 5th April 2012 # Last Modified : # Version : 1.0 # Modifications : # Description : Displays some information about the OS you are running this script on import platform profile = [ platform.architecture(), platform.dist(), platform.libc...
[ "ekkya@tcd.ie" ]
ekkya@tcd.ie
45db51e7b815934ce09e02643904239397422470
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/sklearn/externals/joblib/disk.py
56b6fcc6e11c358e17de25c0a80e8b29c5e5b103
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:3d0a5346f8b6ea081d787ef43f9520d3be4604ea7341ac86e5950a80c51c19d4 size 3938
[ "Nqk180998!" ]
Nqk180998!
d5778be7d85fc4bd898845b67be6e04539e54fd0
a5af73a980c08eef311cda1a27645f57dc07e0eb
/formApp/templatetags/my_extras.py
01796028288dc2c86b336e3dfbfc5c09aab23b48
[]
no_license
pritamSarkar123/django2020-pracTwo
c38ef08537cd48d884a6d75eef67277c38ad49d0
84e32249bc5c7d0ba89cd0e1070fee05e2523183
refs/heads/master
2022-07-08T21:02:21.124866
2020-05-15T04:39:23
2020-05-15T04:39:23
264,003,427
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from django import template register = template.Library() @register.filter(name='cut') def cut(value, arg): """ cuts all the values same as args """ return value.replace(arg, '')
[ "pritamsarkar84208220@gmail.com" ]
pritamsarkar84208220@gmail.com
9ac7bebd5d84e6883afbcafe11cab88b74024d70
4dfc5222d3ebfd68fc6712f14ab90a302086c625
/src/weatherpy/main.py
1ba8d0c903b824c2cf37b8fe54c39fca2b409739
[ "MIT" ]
permissive
gle-bellier/weather-spotify
52ab537ab3edd4d8858fd928802afbab2950fc63
681146a4d0116a696c80e86d48a5b95a2f06ebc6
refs/heads/master
2023-08-12T22:22:05.831839
2021-10-17T23:02:17
2021-10-17T23:02:17
416,787,277
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
import os from pprint import pprint import pandas as pd import numpy as np import seaborn as sns import spotipy from spotipy.oauth2 import SpotifyOAuth from weatherpy.infos import SPOTIPY_REDIRECT_URL, SPOTIPY_CLIENT_SECRET, SPOTIPY_CLIENT_ID, WEATHER_API_KEY from weatherpy.weather import Weather from weatherpy.play...
[ "glebellier@protonmail.com" ]
glebellier@protonmail.com
45a3de2385c5bb0e77f6e3f913a5e766c392cf7a
7b15c40c00ba2008024979d0e520a922bc2f8229
/1st_try/144_Binary_Tree_Preorder_Traversal_1st_try.py
ac7a9b6c27275d70ef87a3427e2ff0de3860a3c6
[]
no_license
axd8911/Leetcode
aa9875a5b55c7d5e961d9a3ea55823d06eb08a88
1c6cab14f4dac4f3f29f1b5ce13bb5289724fdb4
refs/heads/master
2022-07-07T12:59:38.251218
2021-06-22T06:27:05
2021-06-22T06:27:05
173,857,144
0
1
null
2022-06-22T01:22:30
2019-03-05T02:23:42
Python
UTF-8
Python
false
false
1,143
py
''' 98.6% ''' #Iteration # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def preorderTraversal(self, root: TreeNode) -> List[int]: output = [] node = [root] ...
[ "noreply@github.com" ]
noreply@github.com
988d6ea26da9922fa02984746738cf65a1c6117f
c8767efdaa4554c21b644e75a838488dd705670f
/generate.py
d7d8bde9bb6de5da41783842beea4467d69e95a9
[]
no_license
garlontas/buttons
36451489b01dbf775d688b1c9b86d7966c5195e7
5490ab433a62a67b3b8bfe1af76a7a7a4ded507f
refs/heads/main
2023-06-24T08:43:45.315946
2021-05-19T13:58:21
2021-05-19T13:58:21
368,829,395
1
0
null
2021-07-23T14:18:05
2021-05-19T10:25:42
Python
UTF-8
Python
false
false
595
py
import os if __name__ == "__main__": with open("README.md", "a") as readme: for i in os.listdir("buttons/150x44/"): mdline = "[![Button](https://raw.githubusercontent.com/garlontas/buttons/main/buttons/150x44/{0})](https://github.com/garlontas/buttons#svg-buttons)".format(i) readme....
[ "stefan.garlonta@gmail.com" ]
stefan.garlonta@gmail.com
e97b22133de8154a10a062cd7a9804c4b2e0ce3c
d9257c051591b63533fe53d5e6996689d3a93c50
/ocean_lib/ocean/ocean_auth.py
d6dfa779bcfb2334876b5d6a83cd12e1f3183c70
[ "Apache-2.0" ]
permissive
PosthumanMarket/Posthuman.py
87e79fa826d50584b9cb2d722afa359aa6026e46
66538c29bfeb1c31199629b68bc10cc36caa3376
refs/heads/master
2023-08-26T06:35:47.866562
2021-06-06T18:51:34
2021-06-06T18:51:34
346,468,458
6
1
Apache-2.0
2021-06-05T02:03:27
2021-03-10T19:27:37
Python
UTF-8
Python
false
false
4,131
py
"""Ocean module.""" # Copyright 2018 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 import logging from datetime import datetime from ocean_lib.config_provider import ConfigProvider from ocean_lib.web3_internal.utils import add_ethereum_prefix_and_hash_msg from ocean_lib.web3_internal.web3_provider...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
3118ab8ac531211cda0b14cde8ae8f6880225d37
a8ad6a79fbc558f2fd7546ed1b42adc010b2ccd2
/day7/part2.py
6b4d45c520524b9fa02fa0c25c7430a90164f917
[]
no_license
ChrisWilliamson123/advent-of-code-2018
a9c85c7b4a370fff9d03c9d3a21c9990e5870784
37c820075accaef33544ad405bfa47bb181b0393
refs/heads/master
2020-04-09T07:40:42.794307
2018-12-24T16:29:01
2018-12-24T16:29:01
160,165,817
0
0
null
null
null
null
UTF-8
Python
false
false
2,922
py
import re class Instruction: def __init__(self, id): self.id = id self.complete = False self.next = [] self.previous = [] def __repr__(self): return 'Node {0}'.format(self.id) get_steps = lambda i: re.findall('step ([a-z])', i, re.IGNORECASE) def parse_instructions(instructions): return l...
[ "chris.williamson@bbc.co.uk" ]
chris.williamson@bbc.co.uk
47057d9275b82dbfea7d0349e2bd1350c848700a
25404f4cfb9be3e6f1b3fe31a1554459eb200813
/my_redis/why_use_redis/count_realtime_users.py
fa7fa21aaed3c6586f1802c58a13f2b7ef57700f
[]
no_license
nightimero/annal_report_test
1c6eb4b71482f870c753f5084212afd071929f57
7bbc76ba703527ba8f4b84fbdb94fd57b37b9887
refs/heads/master
2021-09-06T21:18:59.534963
2018-02-11T15:31:21
2018-02-11T15:31:21
103,259,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
# -*- coding:utf-8 -*- # todo: http://www.cnblogs.com/clover-siyecao/p/5600078.html # todo: http://debugo.com/python-redis/ # todo: http://flask.pocoo.org/snippets/71/ # todo: https://www.google.com/search?q=python+redis+应用 以后需要搜索加上 应用 2字,更实例。 import time from redis import Redis from datetime import datetime ONLINE_LA...
[ "chenxiang@aiknown.com" ]
chenxiang@aiknown.com
c31fafcfa861f77c9537ff1f1e3933137c3f86ef
fd93bcad4d40e92389e504a5eee6a4cb685ad403
/arg_pars.py
d55962047ed0246d7272e7b47e351de629341b89
[]
no_license
jrkoval/python_class
3da121a55522817115d20852e59a073fa28c14a2
d3ae1901783e6b5e13ca66ab0fa032a5305b755e
refs/heads/master
2021-01-13T15:44:50.706420
2016-12-20T00:49:31
2016-12-20T00:49:31
76,908,539
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
import argparse parser = argparse.ArgumentParser() parser.add_argument('-p', '-principal', type=int, dest='principal', default=120, help="principal amount") parser.add_argument('-r', '-rate', type=int, dest='rate', default=2, help="rate amount") parser.add_argument('-t', '-time', type=int, dest='time', default=3, hel...
[ "jrkoval@verizon.net" ]
jrkoval@verizon.net
711cefb769cd45c7c7eeb1f3fd16261e874de724
39061868a71b4a650afe42a38011225b32a9f375
/petl_join.py
2d5cbd267287710578b3961e83e1d81a04cf8f23
[]
no_license
pcalg/petl_examples
ad16f9c0d2d899e51081ac4e24eb0a399cfe857d
2c41b398198e8582245be911aee231bb1217f5c5
refs/heads/main
2023-07-10T21:06:40.861814
2021-08-17T18:10:44
2021-08-17T18:10:44
389,159,669
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
import petl as etl def conv_game_type(game_type): mapping = {"A": "Action", "R": "RPG", "S": "Simulation"} return mapping[game_type] def convert_date(dt): dt_parts = dt.split('-') return f"{dt_parts[2]}{dt_parts[1]}{dt_parts[0]}" # read in the data files table_scores = etl.fromcsv('inputfiles\playe...
[ "pcalgra@hotmail.com" ]
pcalgra@hotmail.com
48168d4ee1ba9c5390d4058ed3fbe9b827386801
c6431cdf572dd10f0f4d45839e6081124b246f90
/code/lc297.py
1bf7215362b793eb944544a277e85f8c3b4e766e
[]
no_license
bendanwwww/myleetcode
1ec0285ea19a213bc629e0e12fb8748146e26d3d
427846d2ad1578135ef92fd6549235f104f68998
refs/heads/master
2021-09-27T19:36:40.111456
2021-09-24T03:11:32
2021-09-24T03:11:32
232,493,899
2
0
null
null
null
null
UTF-8
Python
false
false
3,916
py
""" 序列化是将一个数据结构或者对象转换为连续的比特位的操作,进而可以将转换后的数据存储在一个文件或者内存中,同时也可以通过网络传输到另一个计算机环境,采取相反方式重构得到原数据。 请设计一个算法来实现二叉树的序列化与反序列化。这里不限定你的序列 / 反序列化算法执行逻辑,你只需要保证一个二叉树可以被序列化为一个字符串并且将这个字符串反序列化为原始的树结构。 示例:  你可以将以下二叉树: 1 / \ 2 3 / \ 4 5 序列化为 "[1,2,3,null,null,4,5]" 提示: 这与 LeetCode 目前使用的方式一致,详情请参阅 LeetCode 序列化二叉树的格式。...
[ "461806307@qq.com" ]
461806307@qq.com
82a0f27f65a9a64367ad0cf1f0a812f67fac0806
c729ae114468205172c38d4d1f59e5f0aeae7392
/mysite/settings.py
e8b8b7d7db37bf4c81f9a257ec3fa78c2856c3a7
[]
no_license
dixinL/project-django2.0.2
01ee88c53ca9d89ddc5305ec54a83d7b88e86775
04a4c5c9b94bcf2728e94efa9a5207e8a3f12a67
refs/heads/master
2020-03-12T05:26:45.074293
2018-05-10T04:26:27
2018-05-10T04:26:27
130,463,393
0
0
null
2018-04-21T10:29:15
2018-04-21T10:29:14
null
UTF-8
Python
false
false
3,316
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "hankwang.whc@gmail.com" ]
hankwang.whc@gmail.com
d121c64d1fa8ef682e458a4e8d3720c682562491
2797512fe45ef277b02516971aef75883353a667
/ETL.py
518d85d03ffc93934974ca6f873476c8086bf3cb
[]
no_license
tariq452/Project-Data-Lake
e6143b9de9b59a44bb4ac42d10ce93393edeff70
daa1960dd57fcf9ab26576d39e45dd7d653d4633
refs/heads/master
2020-05-30T09:03:59.866665
2019-06-08T21:35:19
2019-06-08T21:35:19
189,633,029
0
0
null
null
null
null
UTF-8
Python
false
false
5,784
py
import configparser from datetime import datetime import os from pyspark.sql import SparkSession from pyspark.sql.functions import udf, col from pyspark.sql.functions import year, month, dayofmonth, hour, weekofyear, date_format, to_date, monotonically_increasing_id from pyspark.sql.types import TimestampType im...
[ "noreply@github.com" ]
noreply@github.com
eb71f9fda07238edeb7f9e6079adae8d1fec019d
fbd9230e027f4f873dbd1f2f92fc2c20dd92f57e
/pemilu19_2/pemilu19/read.py
3d1a638271055392f76c7db65193370716be8878
[]
no_license
siwictyas/Sentiment-Analysis-Presidential-Ellection
6f92635342d1394a3115045fa8e430b29492c34d
e8b11b400f1a6f28f9e5da492db828d7197ea94b
refs/heads/master
2023-05-01T00:36:55.331871
2021-05-17T04:19:56
2021-05-17T04:19:56
225,304,525
0
0
null
null
null
null
UTF-8
Python
false
false
17,090
py
import pandas data_01 = pandas.read_csv("sentimen_j.csv") data_02 = pandas.read_csv("sentimen_p.csv") #01------------------------------------------------------------------------------------- jumlah_01 = len(data_01); positif_01 = len(data_01[data_01.sentimen=="positif"]); negatif_01 = len(data_01[data_01.sentimen=="n...
[ "siwictyas@gmail.com" ]
siwictyas@gmail.com
760e321ec7910024275f26a915d068b8be302954
c4d3ef434d1449294ba8b83a94a121253a2cfb48
/venv/bin/pyi-makespec
e2a8680ba7a9843507073b31ddcff95feb4d3149
[ "Apache-2.0" ]
permissive
RITCHIEHuang/qt-process
d7b6e2ecff220b3bb0e27b2a24b9c52981ae5b25
e701a2992aa4690d1a5d79d741bf2339ca890ac4
refs/heads/master
2020-05-03T20:40:10.050494
2019-04-01T15:37:54
2019-04-01T15:37:54
178,807,657
0
1
null
2019-04-01T15:37:55
2019-04-01T07:20:48
Python
UTF-8
Python
false
false
444
#!/Users/ritchiehuang/PycharmProjects/qt-process/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'PyInstaller==3.4','console_scripts','pyi-makespec' __requires__ = 'PyInstaller==3.4' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)...
[ "ritchiehuang@promote.cache-dns.local" ]
ritchiehuang@promote.cache-dns.local
0a650ceeb275d12744cd1f6e1f34c15f6c3dc912
28143f320b905997b48dca079a1b226be087756d
/interface/ui-tkinter-geometry/geometry-pack.py
36938eefbd86e52ac74d8ff0dda4458deb853336
[]
no_license
linuxfor/Python3Learning
0d0ca37d97987252af31d4937647dc5204a97005
a97a84d1f6feca54fd552458e169f60e3e2aa33a
refs/heads/master
2021-01-20T11:19:07.227235
2016-12-05T17:21:15
2016-12-05T17:21:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
#!/usr/bin/python # -*- coding: utf-8 -*- from tkinter import * root = Tk() frame = Frame(root) # demo of side and fill options Label(frame, text='Pack Demo of side and fill').pack() Button(frame, text='A').pack(side=LEFT, fill=Y) Button(frame, text='B').pack(side=TOP, fill=X) Button(frame, text='C').pack(side=RIG...
[ "shellever@163.com" ]
shellever@163.com
f436f502fb70879b18f8c8fbe6b87cdcf5e97054
598d9669ddf43e380ae306d120d0b20cf14f1f46
/pyHomeEnv/bin/rst2xetex.py
ff537f3f43da02e0053ff7e0e235f60fea9f3176
[]
no_license
piotrek204/pyHome
4737fcab20fe4041595e76873e66e9dfb4a40128
7e3160466210bae9f436cb476c5850c3d0b044e2
refs/heads/master
2022-12-13T14:28:17.332597
2019-01-28T16:20:02
2019-01-28T16:20:02
165,508,628
0
0
null
2021-06-01T23:20:48
2019-01-13T13:29:50
Python
UTF-8
Python
false
false
904
py
#!/home/piotrek/piotro/pyHome/pyHomeEnv/bin/python3 # $Id: rst2xetex.py 7847 2015-03-17 17:30:47Z milde $ # Author: Guenter Milde # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Lua/XeLaTeX code. """ try: import locale locale.setloca...
[ "piotr@sznapka.pl" ]
piotr@sznapka.pl
f3767eaf83ee7afc2f14b3755b237dcea3de3fcb
bf9d6b1ce9b034df2a034ff93f526638720d359f
/accounts/migrations/0004_auto_20170808_0547.py
c1f288ce918585ca8463578033cdb7e088121853
[]
no_license
toluwanicareer/lms
fc2b1c2c8b728826180f27f461cec5ea95adbd59
41de904043d951843ed748d6bf2cffc98462f99d
refs/heads/master
2021-07-09T13:58:46.986986
2017-09-28T05:59:50
2017-09-28T05:59:50
105,106,347
2
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-08 04:47 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "abiodun.toluwanii@gmail.com" ]
abiodun.toluwanii@gmail.com
dde1d864729d8a7a7ee994af187a0e7f107f71c0
3e67c4bae98b79bf63af31426c26a0fa7009d6db
/RoboAdvisor/lambda_function.py
7c1d1c3f7081fad41467837506b92aeca5ee13cf
[]
no_license
jaimebunay/unit13-challenge
b626e53e6238018eedfaf2715f483553ebe56a5e
f586f76509e0f9a68651fcb97d0050eda0a2bcc5
refs/heads/master
2021-05-17T17:14:10.410841
2020-03-29T01:46:44
2020-03-29T01:46:44
250,890,444
0
0
null
null
null
null
UTF-8
Python
false
false
6,996
py
### Required Libraries ### from datetime import datetime from dateutil.relativedelta import relativedelta ### Functionality Helper Functions ### def parse_int(n): """ Securely converts a non-integer value to integer. """ try: return int(n) except ValueError: return float("nan") de...
[ "jaimebunay@live.com" ]
jaimebunay@live.com
7935933f35aaf7e7a319161b183a63d533874cd1
40ee6afef285f9d4f564897a5efccec499b30c06
/src/ClubKitApi/clubkit/clubs/migrations/0003_auto_20190130_1624.py
60523136eca8e71dd5be261dd0fb00839e9262f3
[]
no_license
wardc96/ClubKit
3df86016b7182b9bf31cbb4f73826ab6d7c1bc4b
e7dfdeff59e71fa8f676141eb0e25dc1f9467e4d
refs/heads/master
2022-12-12T08:32:07.066243
2019-08-25T21:17:54
2019-08-25T21:17:54
168,528,992
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
# Generated by Django 2.1 on 2019-01-30 16:24 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('clubs', '0002_clubpackages_clubposts'), ] operations = [ migrations.AddField( ...
[ "“gavin.boyle8@mail.dcu.ie”" ]
“gavin.boyle8@mail.dcu.ie”
f5d861f17bcb5ad989d97762d7c44d64dbf6d866
64d7e9256111696a6a76e101e5208b5263737375
/SwissKnife/datasets/mouse.py
1d9bd65682add7099457ce0ae80c16f654fd2479
[ "MIT" ]
permissive
nachonacho2/SIPEC
790d15ca9985e1af66307ad53e1ca9146ea4cbae
0bfb4cb23840610f69f2bf2c8dddcfb8643eeedc
refs/heads/main
2023-01-14T03:51:07.842256
2020-11-11T18:12:09
2020-11-11T18:12:09
316,876,055
1
0
MIT
2020-11-29T04:33:03
2020-11-29T04:33:02
null
UTF-8
Python
false
false
4,741
py
### preprocessing ### keypoint extraction ### mask extraction ### identification import pandas as pd import numpy as np from tqdm import tqdm from glob import glob from SwissKnife.utils import extractCOM, maskedImg, loadVideo def path_for_file(paths, filename): for path in paths: if filename in path: ...
[ "markusm2342@gmail.com" ]
markusm2342@gmail.com
920161499a4cf4c446d45b18fcb6db08eade2df5
2fca7c23946b99e254b657c634d554a976b422d5
/picamera_docs.py
254ea7ff2c87b6551abcc0cabeeb323fca28c193
[]
no_license
Anik-Patel/PiCam-Server
15585b0f40a21926189a58f5e1a5dbe865d8fd37
9a3e88d3722445ce5ab439266f2dfff8d43e58d5
refs/heads/master
2021-01-03T09:04:40.517791
2020-02-12T12:52:07
2020-02-12T12:52:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,073
py
# See it here at: # https://picamera.readthedocs.io/en/release-1.13/recipes2.html#web-streaming import io import picamera import logging import socketserver from threading import Condition from http import server PAGE="""\ <html> <head> <title>picamera MJPEG streaming demo</title> </head> <body> <h1>PiCamera MJPEG St...
[ "noreply@github.com" ]
noreply@github.com
1a87098b5778693118cd1fceb949f83280ad6522
86cd22354f2431087c9b3ff06188f071afb3eb72
/303. Range Sum Query - Immutable.py
9e03003960005a1405337679ed4909cbb8a57337
[]
no_license
tlxxzj/leetcode
0c072a74d7e61ef4700388122f2270e46c4ac22e
06dbf4f5b505a6a41e0d93367eedd231b611a84b
refs/heads/master
2023-08-31T11:04:34.585532
2023-08-31T08:25:51
2023-08-31T08:25:51
94,386,828
2
0
null
null
null
null
UTF-8
Python
false
false
459
py
class NumArray: def __init__(self, nums: List[int]): n = len(nums) self._sum = [0] * (n+1) self._sum[0] = nums[0] for i in range(1, n): self._sum[i] = self._sum[i-1] + nums[i] def sumRange(self, left: int, right: int) -> int: return self._sum[right] - self._...
[ "noreply@github.com" ]
noreply@github.com
bb453aac45d7eb13daf5a663deb490b08f3eb81f
3c74f8403bcda4f23b52ddc7cccc9b513668f387
/pagerank_mapper.py
e4e42e61742fc3853a5b4c07f706a225ca173f64
[]
no_license
Antszz/SearchEngine
0aa9bfff3df9141b30a3e3bd4dbd9c205adfb2ce
66da7456c7e5c529a8fc83a920adae5e69767b73
refs/heads/master
2023-08-15T23:12:43.476568
2021-10-18T16:15:08
2021-10-18T16:15:08
416,904,287
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
#!/usr/bin/env python from sys import stdin index = {} for line in stdin: row = line.rstrip('\n').split() if row[0] in index: index[row[0]].append(row[1]) else: index[row[0]] = [row[1]] for word in index: postings_list = ["%s" % (doc_id) ...
[ "esanchez.h25@gmail.com" ]
esanchez.h25@gmail.com
d258891162c9d1b814d812e57bf432c8819117b9
6e4805ad47f8ce244bff23b83fd6e679b200935f
/Session Based Nearest Neighbour/dump_ranking.py
f54a769b472fec4263b4ff82c7e0e7e202d60f3d
[]
no_license
Dwijesh522/Million-Playlist-Dataset-Challenge
1b286e143a06fef1879af22f4498a96a1dd30460
c94a8cb03558474604d6dc4f05fd923b0ca3f874
refs/heads/master
2023-04-22T02:56:41.371388
2021-05-12T13:03:20
2021-05-12T13:03:20
321,734,483
0
0
null
null
null
null
UTF-8
Python
false
false
3,882
py
""" This file dumps <=top500 tracks for each qpid. command line arguments: 1) pairwise_similarity.json : {qpid : {pid : sim(qpid, pid)}} 2) challenge_set_filtered.npy : {qpid : numpy.ndarray(track_uri)} 3) pid_vectors : directory path to {pid : {track_uri : tfidf}} outfile: 1) recommendati...
[ "iddwijesh@gmail.com" ]
iddwijesh@gmail.com
dcd336548a0441e2da97d87c3d7fe4acf89333ba
b5e4c4e3abb7f87bfd70ecd912810e2562cecdc5
/section6/venv/Lib/encodings/cp856.py
82a2816233075e676cbdfa68ce0b10b47978a778
[]
no_license
chandshilpa/flaskapi
a89822707dc02f9c588af04f1f33f82a55b627b3
5f229d59d155e68e026566919d292c831ea00ed4
refs/heads/master
2022-12-09T10:59:14.563256
2019-01-08T17:33:46
2019-01-08T17:33:46
164,698,842
0
1
null
2022-12-07T16:24:53
2019-01-08T17:21:32
Python
UTF-8
Python
false
false
11,586
py
""" Python Character Mapping Codec cp856 generated from 'MAPPINGS/VENDORS/MISC/CP856.TXT' with gencodec.py. """ # " import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self, input, errors="strict"): return codecs.charmap_encode(input, errors, encoding_table) def decode(self, input,...
[ "chandsandeep700@gmail.com" ]
chandsandeep700@gmail.com
241dbe000202aeb9a0334f9897c4c0523a1eeff4
39cb03c6ac27876a2e60720f552617a8ab91a653
/WindowDriver.py
321048d1e447d5a7279e3452936d56d34787b3a2
[]
no_license
thomas1400/spending-app
136d9d93ff31fcd3e7e3d6a23ea8e3c36dd444a1
2c7c7d7c00c495b2912d2b959362dd66ee70ab39
refs/heads/master
2020-08-08T10:52:02.274629
2019-10-24T15:15:25
2019-10-24T15:15:25
213,815,518
0
0
null
null
null
null
UTF-8
Python
false
false
3,469
py
import sys from PyQt5.QtWidgets import (QMainWindow, QApplication, QAction, qApp, QMessageBox, QTabWidget, QWidget, QVBoxLayout, QHBoxLayout, QPushButton, QSizePolicy, QInputDialog, QFileDialog, QLineEdit, QLabel) from PyQt5.QtGui import QIcon from PyQt5.QtGui i...
[ "thomasowens2000@gmail.com" ]
thomasowens2000@gmail.com
7098496e694caf7e0ba7d12cfbbffcdaa27deaf1
1cc868f3beebd9b875f2d5a1c533a06875800db7
/Python/Cisco_pyATS/pyats_env/lib/python3.6/site-packages/genie/tests/conf/base/test_api.py
4d06d61e16034e32f22cac629a67e2a2092630af
[]
no_license
Saby2002/arinsnetwork_Automation
4dc2b933deefe9317f73143e5998aa3749f518d7
f77ab7f2e849a6ca5247f7b3eb171a4362a7423b
refs/heads/master
2023-06-25T21:44:18.783505
2021-07-26T19:09:56
2021-07-26T19:09:56
389,741,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import os import unittest from genie.conf.base.device import Device from genie.conf.base.api import ExtendApis from genie.tests.conf.base.dummy_api import package_path class TestApi(unittest.TestCase): def setUp(self): self.device = Device(name='aDevice', os='iosxe', custom={...
[ "arin@arinsnetwork.com" ]
arin@arinsnetwork.com
85f5812869de84dbd6f57201893027cc63538c68
98c0629c0b48a9264f2685e7d4c6dea88e29d79d
/tst/test/rdklib_evaluator_test.py
100cdbcbacece7ee92885b621b1a34d45011ff86
[ "Apache-2.0" ]
permissive
VijayaD/aws-config-rdklib
3bed742b8c05bab91c3b621d7cbc4d96852db923
ff454ba6e2874c5b44f04d12f309133ead5c05cc
refs/heads/master
2021-03-06T18:54:59.022835
2020-03-09T21:38:58
2020-03-09T21:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,356
py
import json import unittest from mock import patch, MagicMock import botocore from rdklib import InvalidParametersError CODE = __import__('evaluator') CLIENT_FACTORY = MagicMock() CONFIG_CLIENT_MOCK = MagicMock() def mock_get_client(client_name, *args, **kwargs): return CONFIG_CLIENT_MOCK @patch.object(CLIENT_F...
[ "chauyu@38f9d34e87fa.ant.amazon.com" ]
chauyu@38f9d34e87fa.ant.amazon.com
a9653bac25a130ba5bde2ab89a8ffe8020aef001
9246bd87b89a6efe8d8db903dcd55c83b5a764c7
/Python-for-Everybody-Learn-Python-3/Section 3: Introduction to Python debugger/debbuging.py
c5093d0a444247b722da272ea944fdd64b02db32
[]
no_license
rahulsingh50/Machine-Learning-Deep-Learning-Notes-And-Practice
b870351d9227c1c4da4d48c378fe015015861357
ca982953a864b1cad08cc8bcfe9930775b1f6bd0
refs/heads/master
2023-01-05T06:34:48.870303
2020-11-03T16:37:22
2020-11-03T16:37:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
def add_numbers(number1, number2): return number1 + number2 def main(): first_number = int(input("Enter the first Number:")) second_number = int(input("Enter the second Number:")) sum_of_numbers = add_numbers(first_number, second_number) print("Sum of two number is :", sum_of_numbers) if __name_...
[ "rsembedded@gmail.com" ]
rsembedded@gmail.com
1c5a6b732f8b3b71d5f22a5564bcde3bd8ae4ce6
348bd616afd274425ad9737964f37d0b13583310
/docs/source/conf.py
0f22d1d4e0dc4ed7d10c0bfe6756e0cbb8a1d009
[]
no_license
whitews/ReFlow
d2062ab03b62c82e250599557a29e86f61e51957
27bd33ac3824de6234952d56cbb66b0e77f076a1
refs/heads/master
2020-12-25T16:58:41.540154
2019-05-01T16:40:53
2019-05-01T16:40:53
7,260,054
4
2
null
2015-05-15T13:50:24
2012-12-20T15:44:52
JavaScript
UTF-8
Python
false
false
7,898
py
# -*- coding: utf-8 -*- # # ReFlow documentation build configuration file, created by # sphinx-quickstart on Wed Jan 23 19:50:53 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All ...
[ "whitews@gmail.com" ]
whitews@gmail.com
9696d02ad73428f82038093538bcf4a2c818d6af
36941e5b312af8371f89c34ee53ff5b4d2853452
/coinwars/ai.py
9d7cba2ef6346d03a9687dec1c799fb1d2b87add
[]
no_license
geluso/ascii_coinwars
edcb856ea22cec37b2f65231d7402d9213bfb57b
8eeb9d79577ac5065aa5883de28b31057e33161f
refs/heads/master
2021-10-27T15:25:09.867277
2019-04-18T00:22:31
2019-04-18T00:22:31
108,067,392
0
0
null
2019-03-27T18:21:33
2017-10-24T02:33:43
Python
UTF-8
Python
false
false
3,811
py
import math import random import time from player import Player from coin import Coin from penny import Penny from nickel import Nickel from dime import Dime from dollar import Dollar class AIPlayer(Player): # ai_difficulty represents an index in a list # the list is moves the AI has simulated and scored. ...
[ "stevegeluso@gmail.com" ]
stevegeluso@gmail.com
0d8826680ffaece42ba1b49fbf16f2383ee54d82
4dd937497e056b75cb8cf06d5fa7677d2591a665
/project/src/apps/staticpages/models.py
ca22823086bfaa89d9927549148f2dca32f39bf9
[]
no_license
IceTegliaf/DeloTvoe
9c1cefe5dcd6c86065211d388d9e1f071fd6efac
a8a000f01424dd36e811e60dc91985f713d88ca8
refs/heads/master
2021-01-22T03:29:36.226473
2012-07-25T07:02:28
2012-07-25T07:02:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,534
py
# -*- coding: utf-8 -*- from django.db import models from django.utils.translation import ugettext_lazy as _ from pytils import translit #from apps.staticpages.ping import ping from django.template.loader import render_to_string __all__ = ('Page', ) # Create your models here. class Page(models.Model): t...
[ "pavel@bitrain.ru" ]
pavel@bitrain.ru
790c8001438612cf828ff06a77f816b85679c454
cc3183762d9f7a7c27c0e2e0f9b1263990402e22
/setup.py
0a85b20623d9919c688990075d5747efd26a0948
[]
no_license
kichiSu/dct-coefficient-decoder
45c8dbbc1ea6a6000908c607e01067ac00eef068
fb3f211e76206f15eb99bcf818ae3ee8ddfa0f6c
refs/heads/master
2023-01-18T22:01:53.527894
2020-11-23T15:57:56
2020-11-23T15:57:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
from distutils.core import setup, Extension from distutils.sysconfig import get_config_vars from Cython.Distutils import build_ext from Cython.Build import cythonize import numpy as np import os # Remove the -Wstrict-prototypes flag from the OPT environment variable as it does not make sense when compiling C++ sources...
[ "benedikt.lorch@fau.de" ]
benedikt.lorch@fau.de
83fc7c2c499a2ed500e6c82fc0357b2679f43877
0f7ba4d823a9189289234c9f3fbf74949ad872d1
/lab12-13/sqs_application/server.py
a9ede2af1a986313c4ca49fdacf723c7e68578fc
[ "MIT" ]
permissive
seanjennings/Cloud-Computing
a8009a41ab3f77599f1d5320d7bcda5f4bfdbc3b
b65ab26a6cd0fb6abbf6cf9d28c804f09bab9323
refs/heads/master
2021-01-10T04:55:06.919735
2016-02-20T20:53:41
2016-02-20T20:53:41
52,174,537
0
0
null
null
null
null
UTF-8
Python
false
false
3,966
py
import json from subprocess import Popen, PIPE from tempfile import mkdtemp from werkzeug import secure_filename import urllib2 import os import boto.sqs import boto.sqs.queue from boto.sqs.message import Message from boto.sqs.connection import SQSConnection from boto.exception import SQSError import sys from flask imp...
[ "Seán Jennings" ]
Seán Jennings
b173f68c5c45adaaeffd0c75d7eebf3022350c31
d177addc1830153404c71fa115a5584f94a392c3
/N1539_KthMissingPositiveNumber.py
ec2a85adf987c4c2c541611169e916af013faa56
[]
no_license
zerghua/leetcode-python
38a84452f60a360e991edf90c8156de03a949000
02726da394971ef02616a038dadc126c6ff260de
refs/heads/master
2022-10-25T11:36:22.712564
2022-10-02T19:56:52
2022-10-02T19:56:52
61,502,010
2
1
null
null
null
null
UTF-8
Python
false
false
1,298
py
# # Create by Hua on 4/3/22. # """ Given an array arr of positive integers sorted in a strictly increasing order, and an integer k. Find the kth positive integer that is missing from this array. Example 1: Input: arr = [2,3,4,7,11], k = 5 Output: 9 Explanation: The missing positive integers are [1,5,6,8,9,10,12,1...
[ "zerghua@gmail.com" ]
zerghua@gmail.com
90fb74b13024c09330c8663ca6889fdcac67595e
cd74f9b16cc5c5da2bb23e9136865c7f9c16c62a
/env/lib/python3.7/site-packages/ffprobe/ffprobe.py
ef5d1fb2d19057b7a7990cd686494bc93ec305db
[ "MIT" ]
permissive
geethika-choudary/voice-rec
3d00e2d3791f07e3f060e10a1069b5768429729b
7525e8ec84498b7920da3134ee2a7d8eed8b464e
refs/heads/master
2022-12-10T18:54:21.017321
2019-06-20T06:45:22
2019-06-20T06:45:22
189,205,440
0
0
MIT
2022-12-08T05:11:03
2019-05-29T10:40:01
Python
UTF-8
Python
false
false
5,251
py
#!/usr/bin/python # Filename: ffprobe.py """ Python wrapper for ffprobe command line tool. ffprobe must exist in the path. """ version='0.5' import subprocess import re import sys import os import platform class FFProbe: """ FFProbe wraps the ffprobe command and pulls the data into an object fo...
[ "drstrange.fintechinnov@gmail.com" ]
drstrange.fintechinnov@gmail.com
5861757ab60ac91da6924f3128379df729d4bff5
a7ff3b8343e3d1afd76d40399aeca51ad26a00de
/models/synthesis_prior.py
04df30d4788fe960b1c0d2fd5a271f9e9081127e
[ "MIT" ]
permissive
dovedx/iclr_17_compression
268a9460c37c567ef6dd0725dab6c56b18017b4e
bce72bc53f5c5f5da14a54a51eedde5eb8d0c39c
refs/heads/master
2022-07-19T12:58:17.901994
2020-05-20T05:43:13
2020-05-20T05:43:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,760
py
#!/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 from .basics import * import pickle import os import codecs from .analysis import Analysis_net from .analysis_prior import Analysis_prior_net from .synthesis import Synthesis_net class Synthesis_prior_net(nn.Module): ''' Decode synthesis prio...
[ "liujiaheng@buaa.edu.cn" ]
liujiaheng@buaa.edu.cn
6dda735973843fc024a8df33d34e73f91d69ac52
2c009b88509cc332d10b189ea0e85da4dffa8ae3
/upw/wsgi.py
47a33262c2a44d2d0d8dc7bdb0e756e7d474c409
[]
no_license
EsraelDawit-a/customer-2-customer-ERDiagram
496edd84ab4d913cf3301f7366216b1db9d56e48
2bb0d6029d964bbf57192335dec73af9b0353aa6
refs/heads/main
2023-06-10T08:27:42.782197
2021-07-04T09:47:23
2021-07-04T09:47:23
382,781,643
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for upw project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "34979331+Yohanes-Fikru@users.noreply.github.com" ]
34979331+Yohanes-Fikru@users.noreply.github.com
0bd0e61169f722be50330d7d6c9ae7df23b2ae94
311622b570c1d0c3f9d5ad3be737d5a71a4f54e9
/lesson2_1_step5.py
feeed3dea2c148732db024a4a6db58097047f59b
[]
no_license
JuliaKirillova/stepik_course
dedfe511389e641759ff96d2af67f31495fd14ae
6b297f499271f9c359236778c7462694bd417a9f
refs/heads/main
2023-01-13T03:46:01.764635
2020-11-18T10:39:51
2020-11-18T10:39:51
311,353,030
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
from selenium import webdriver import time import math def calc(x): return str(math.log(abs(12 * math.sin(int(x))))) try: link = "http://suninjuly.github.io/math.html" browser = webdriver.Chrome() browser.get(link) # Ваш код, который заполняет обязательные поля x_element = browser.find_elemen...
[ "panic_motion@mail.ru" ]
panic_motion@mail.ru
1b23fdfefe98cdb16237c9a8fce5c05ba9c22fc7
8975cbc2c7ca707594a54fa72caa15da0260da42
/Python/Mqtt Add Data in Database/mqtt_subscribe_and_send_to_database.py
b40c25e9185b0894425fee48ad98d5f3ba2e64e3
[]
no_license
nikunjramani/SmartFarming
3dda5c31df0bcbecca61a86c9ef59566fdb724f4
a4f169a060c23c586aada58cd7b21f0a455aae22
refs/heads/master
2023-02-14T14:50:34.045826
2021-01-08T10:55:17
2021-01-08T10:55:17
285,259,576
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
import paho.mqtt.client as mqtt import mysql.connector from datetime import datetime now = datetime.now() formatted_date = now.strftime('%Y-%m-%d %H:%M:%S') mydb = mysql.connector.connect(host="localhost",user="root",passwd="",database="id4111561_nikkat") i=0 moisture='' humidity='' temprature='' smoke=''...
[ "nikunjramani7624@gmail.com" ]
nikunjramani7624@gmail.com
4ccfa5197371f459165525a71f4c2316f630eb74
ef07fc15870e495e9899e00f6275150b74ed7c35
/venv/Scripts/reverse-script.py
315aab0b4e8b35586f5ecaa5c8b9c058adf817cc
[]
no_license
riyapatel09/CrossMedia
d1def5ec3a6dd10dd7daef89fb712ee9b6003af5
013e5143c03acca2221b77e7430d377abfcecde6
refs/heads/master
2020-07-26T15:55:22.648886
2019-09-16T04:01:14
2019-09-16T04:01:14
195,485,688
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
#!E:\gre1\Project-Internship\Networking_Site\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'reverse==0.1.0','console_scripts','reverse' __requires__ = 'reverse==0.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ...
[ "riyapatel9796@gmail.com" ]
riyapatel9796@gmail.com
6d856f492bd4e381bfaf4ac7158cb061c4a9f63b
6b9084d234c87d7597f97ec95808e13f599bf9a1
/Dataset/MOT/Seed/PathTrack.py
593c78a035dd677424dfafa90338eb09be91d69b
[]
no_license
LitingLin/ubiquitous-happiness
4b46234ce0cb29c4d27b00ec5a60d3eeb52c26fc
aae2d764e136ca4a36c054212b361dd7e8b22cba
refs/heads/main
2023-07-13T19:51:32.227633
2021-08-03T16:02:03
2021-08-03T16:02:03
316,664,903
1
0
null
null
null
null
UTF-8
Python
false
false
649
py
# https://www.trace.ethz.ch/publications/2017/pathtrack/index.html from Dataset.Base.factory_seed import BaseSeed from Dataset.Type.data_split import DataSplit class PathTrack_Seed(BaseSeed): def __init__(self, root_path: str=None, data_split: DataSplit=DataSplit.Training | DataSplit.Validation): name = ...
[ "linliting06@live.com" ]
linliting06@live.com
e17f103ae156e872b0a44a08596ea39bfe1862c7
a65b9da47784328a42403d624b053988699142e1
/scripts/utils.py
988526302a8a541f8cf425e76213611004bd7641
[ "MIT" ]
permissive
nessie2013/electricitymap-contrib
23ef566d65073bb33514ceb9e7d762d64171f44c
f9323b8e53f8a4f0e9710c0c6857989d9fec1b1b
refs/heads/patch-1
2023-03-07T04:23:56.636025
2022-10-24T21:52:14
2022-10-24T21:52:14
240,559,373
0
0
MIT
2023-03-01T06:08:38
2020-02-14T17:06:34
Python
UTF-8
Python
false
false
1,506
py
import json import pathlib import subprocess from os import PathLike, listdir, path from typing import Dict, Union ROOT_PATH = pathlib.Path(__file__).parent.parent LOCALES_FOLDER_PATH = ROOT_PATH / "web/public/locales/" LOCALE_FILE_PATHS = [ LOCALES_FOLDER_PATH / f for f in listdir(LOCALES_FOLDER_PATH) if ...
[ "noreply@github.com" ]
noreply@github.com
59d5ea7e0dc7934fd926c89aa4185298cc0a4025
88612b135cf7cd2a6ce3dd0abfe7bb6fefda27c6
/venv/Scripts/easy_install-3.7-script.py
b0874e92dad98fe25f743627ea5e554539db2f4c
[]
no_license
mikedillender/Engr100CustomProj
6fffcece038c903fc11f406968e21366c769a33b
94b8a8bc13ce0eb99556205a287a2770cc652e8e
refs/heads/main
2023-01-21T14:25:04.207692
2020-12-03T00:07:52
2020-12-03T00:07:52
315,820,716
0
0
null
2020-12-02T23:37:44
2020-11-25T03:40:51
Python
UTF-8
Python
false
false
462
py
#!B:\Libraries\Programming\Engr100CustomProj\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\...
[ "dillemic000@gmail.com" ]
dillemic000@gmail.com
4d3594b9004760d27b1faada8e0ff655af2bf69a
3dcc77e06e2373fc38e12af832dd0309c43ff4b9
/models/__init__.py
29f77e50e2e7ce91c3179c150e42ad846b6ab42e
[]
no_license
gqgonzales/daily-journal-server
559364bec0e6245432216fab728a3cb4a88ed472
3cd1ca60c65f9f683f226c13d51259191209b5e3
refs/heads/main
2023-06-23T10:49:31.508599
2021-07-23T16:28:03
2021-07-23T16:28:03
388,212,989
0
0
null
2021-07-23T16:28:04
2021-07-21T18:39:03
Python
UTF-8
Python
false
false
48
py
from .mood import Mood from .entry import Entry
[ "gq.gonzales1@gmail.com" ]
gq.gonzales1@gmail.com
322a27659e9eecd9f6d9d9c4a8365ae5818f3292
5197a9512f6ef0c95de67e60abbc9d6e11ecc053
/2014/territoriali/trovaparola/gen/generatore.py
6b8d296926cad64d68609263819e76413e3bcbd0
[]
no_license
Carlovan/oii
02865f72f6af9e07f37e65a0472211400acab4d8
c92aeafaf117fa2b7d656d6ade50f2914d0d6084
refs/heads/master
2021-01-21T19:20:17.078391
2015-04-16T16:42:05
2015-04-16T16:42:05
34,003,002
0
0
null
2015-04-15T15:40:50
2015-04-15T15:40:49
null
UTF-8
Python
false
false
1,546
py
#!/usr/bin/env python2 from limiti import * usage="""Generatore per "trovaparola" scritto da Giulio Carlassare. Parametri: * R (numero di righe) * C (numero di colonne) Constraint: * 2 <= R, C <= %d """ % MAX from sys import argv, exit, stderr import os from numpy.random import random, randint, seed as nseed from ...
[ "giulio.carlassare@gmail.com" ]
giulio.carlassare@gmail.com
822300387b2b7eb7aea27340a79fa9178ab4e601
3611c1dbace4f938b4e5c02b0f94f512828ab061
/webscraping/testConnect_BeautifulSoup.py
75ad90222bd69314f51ea52a667e5f3e87f919e2
[]
no_license
compagnon/py
2b7b1247823f465fa47b18c85d9bb2b7c93a0467
388849dcdd16836fa6909536f9cbd9c7050c488e
refs/heads/master
2022-12-07T01:00:10.365544
2022-11-15T08:26:59
2022-11-15T08:26:59
211,052,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
import os import csv import requests import re import json import requests from bs4 import BeautifulSoup from urllib.request import Request, urlopen from urllib.parse import urlencode from urllib.error import URLError, HTTPError def getHiddenValue(html,htmlInstruction,valueLen): begin = html.find(htmlInstruction...
[ "gcompagnon@outlook.com" ]
gcompagnon@outlook.com
569c935f894d9cb44a0048f69866a8cafa8ba176
ecebefec65cc55b305419a689660eb8e2ea04fef
/abrtuner/web/html/receive/myscript.py
70d57440a840a7c84a54df9209e1233c937222d6
[]
no_license
generlist/ABRTuner
4ab1d6d5e5201a7953d4565ca4574307a35513c3
baea8fab155a71c185e74121a8f014e6ad889308
refs/heads/master
2020-05-26T01:09:29.712879
2018-08-03T23:40:01
2018-08-03T23:40:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
from mod_python import apache import logging import datetime logging.basicConfig(level=logging.INFO, format='%(asctime)-15s %(message)s', filename='/tmp/myscript.log', filemode='a+') log = logging.getLogger('myscript') def handler(req): #ts = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S') ...
[ "ysnam727@gmail.com" ]
ysnam727@gmail.com
4f56e6665110bb50afcfad478ddd605eaf21e59c
976efd2cf265ff8e5549edbaeaef4c12233117c5
/reprounzip-vagrant/reprounzip/unpackers/vagrant/__init__.py
604927aeea5fae4552017827640ca323e40a05db
[ "BSD-3-Clause" ]
permissive
koconne8/reprozip
30c0e522012ebfe5d476d8ba32ad90253f99ebb1
c655a7a52670085329dc4fc0f3a8818aaab60196
refs/heads/master
2021-01-09T06:52:19.125710
2016-05-11T03:53:48
2016-05-11T03:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,359
py
# Copyright (C) 2014-2016 New York University # This file is part of ReproZip which is released under the Revised BSD License # See file LICENSE for full license details. """Vagrant plugin for reprounzip. This files contains the 'vagrant' unpacker, which builds a Vagrant template from a reprozip pack. That template c...
[ "remirampin@gmail.com" ]
remirampin@gmail.com
a5003d4c876e37391a79ae7a53cda77ecbc59458
8f4f82dfcd567ad449ec10ed9f4deebb6b523456
/app/config/urls.py
ebedfd9005347d696beace252e2dca6226c30857
[ "MIT" ]
permissive
nikhiljohn10/django-api-template
65b7e7fc3f92ad3d3026249ed02fd72e6022baf2
097241f394570c62b9f5bd6024bccd41259cbd07
refs/heads/main
2022-12-29T22:00:41.468157
2020-10-11T20:20:19
2020-10-11T20:20:19
301,350,304
0
0
MIT
2020-10-11T20:20:20
2020-10-05T09:05:00
Python
UTF-8
Python
false
false
450
py
from django.contrib import admin from django.urls import path, include, re_path from django.views.generic import RedirectView from django.conf import settings from django.conf.urls.static import static urlpatterns = [ re_path(r'^(api/)?$', RedirectView.as_view(url='/'+settings.API_ROOT_URL)), path(settings.API_ROOT_...
[ "nikhiljohn1010@gmail.com" ]
nikhiljohn1010@gmail.com
6f6c5d6466a24fd7427a8aa6a86c1f3333c88960
b1226816c5d3f1fc408f7d5f29b4fc331e7ae84e
/clinicals/clinicalsApp/migrations/0001_initial.py
066ef14e1472737b95019d0a23c3e1428926b29a
[]
no_license
SachinDangayach/Learn_Django
4d2c05a2632654807e99fed310f7bc9f43de3924
dc273d69c73f8abb39c3aadf084c208cc9f13d8b
refs/heads/master
2023-02-23T12:44:10.260177
2021-01-22T10:03:32
2021-01-22T10:03:32
325,766,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
# Generated by Django 3.1.4 on 2020-12-30 17:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Patient', fields=[ ...
[ "Sachin_Dangayach@amat.com" ]
Sachin_Dangayach@amat.com
493325b68e5cee35062e2a15547d5355bb645658
3365e4d4fc67bbefe4e8c755af289c535437c6f4
/.history/src/core/dialogs/swimmer_dialog_20170810151903.py
4281b0f5b05eac3a5ee208c260614a79152a8016
[]
no_license
kiranhegde/OncoPlotter
f3ab9cdf193e87c7be78b16501ad295ac8f7d2f1
b79ac6aa9c6c2ca8173bc8992ba3230aa3880636
refs/heads/master
2021-05-21T16:23:45.087035
2017-09-07T01:13:16
2017-09-07T01:13:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,751
py
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar import matplotlib.pyplot as plt from PyQt5.QtWidgets import (QApplication, QDialog, QWidget, QPushButton, QVBoxLayout, QTreeWidget, QTreeWidgetItem) ...
[ "ngoyal95@terpmail.umd.edu" ]
ngoyal95@terpmail.umd.edu
d8e36ab8e266c14995b50c51bb59ee0e78643a61
f9f5e154deff734c2c08e903cbec1cde245cb7d8
/networks/discriminator.py
cc67ebb3bdef665986d4b4543f2cd18df95467e7
[]
no_license
Cold-Winter/First-Order-Motion-TensorFlow
4452ea4dfbfcd3ced007c0c0add7c4be38d3c1b6
7a201ab377c18853384bbaf4722ebe81696a3a9a
refs/heads/main
2023-05-01T16:58:25.208153
2021-05-21T02:00:58
2021-05-21T02:00:58
342,788,531
0
0
null
null
null
null
UTF-8
Python
false
false
2,517
py
import tensorflow as tf from tensorflow.keras import layers from utils.util import keypoints_to_gaussian from utils.blocks import DownBlock2d from utils.blocks import DownBlock2dWoadv from utils.blocks import Conv2DSpectralNorm class Discriminator(tf.keras.Model): def __init__(self): super(Discriminator, self)...
[ "lyndon.leeseu@outlook.com" ]
lyndon.leeseu@outlook.com
3095707d0fd46be66dd4cba60697331cad3d4d77
5b57fa09b08e72ccb10de1bf341b556c00b4be42
/Server/src/pyticas_tetres/da/incident_iris.py
46a5025a883e4a2eedf26a6be2d1dd3019d017ac
[]
no_license
mnit-rtmc/tetres
6f331e463f90e1608c6e47d72c232e3f6b8d5d33
4935d82ffe5f51284f08749b27f48491a62d9968
refs/heads/master
2022-10-02T02:45:13.860004
2021-12-08T23:14:51
2021-12-08T23:14:51
200,887,049
3
6
null
2022-09-16T18:07:46
2019-08-06T16:25:02
Python
UTF-8
Python
false
false
3,784
py
# -*- coding: utf-8 -*- __author__ = 'Chongmyung Park (chongmyung.park@gmail.com)' import datetime from sqlalchemy import and_ from pyticas_tetres.da.base import DataAccessBase from pyticas_tetres.db.iris import model, conn from pyticas_tetres.ttypes import IrisIncidentInfo class IrisIncidentDataAccess(object): ...
[ "beau1eth@tmsdev5.dot.state.mn.us" ]
beau1eth@tmsdev5.dot.state.mn.us
d597b449f467b33efe4c031f322385021fc0ba50
e8c28df0519dc50a4fa29d755d98c0ab02f44dbd
/src/models/conv_to_fc_net.py
ad22a079fb3105976b3cb9b7970be38cf728d948
[]
no_license
jweinstein2/multiagent
ef0ef7994c8be64b935cb03039bd530ca15a29a1
2a796f6fd3790cd2b47b978584e23f478ccf1000
refs/heads/master
2022-04-17T06:11:01.010889
2020-04-17T16:16:08
2020-04-17T16:16:08
256,551,441
0
0
null
2020-04-17T16:13:40
2020-04-17T16:13:39
null
UTF-8
Python
false
false
1,509
py
# Model initially implemented by Eugene Vinitsky # https://github.com/eugenevinitsky/sequential_social_dilemma_games # https://arxiv.org/pdf/1810.08647.pdf, # INTRINSIC SOCIAL MOTIVATION VIA CAUSAL # INFLUENCE IN MULTI-AGENT RL import tensorflow as tf from ray.rllib.models.misc import normc_initializer, flatten from...
[ "" ]
0b718f7b6341b76e76c9f34c4f7c235b1aa929a3
9188240fdde1ed8d713c7cd29d85b0872bae9de8
/python/glow/hail/tests/test_from_matrix_table.py
21120c8b35f6a00671c589863dc887ef9cbda7fe
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
permissive
haptixx/glow
2fd706ee89f7986f48f93aa2e009ef4f140974a7
fc749e2ab2c29356b6c9d5073ed751b9e4bd57ae
refs/heads/master
2023-07-16T20:58:35.677050
2021-08-25T02:15:26
2021-08-25T02:15:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,574
py
# Copyright 2019 The Glow Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "noreply@github.com" ]
noreply@github.com
7011b6072fa08d260abfd552796672a04b84dc10
50985af7bf314867f521d460b0b0097223b3fc3b
/src/shakespeare.py
6f899fe503a5cc1fd78e6b852807ebb44bcb5948
[]
no_license
Usajid/731_Assign2
2117f999325a8a288bd5e1d8b3edbbe99732d946
c5afed9634b70e3966cbe0026bfdc26d0acbaebc
refs/heads/master
2020-09-09T08:32:54.707604
2019-11-13T08:16:32
2019-11-13T08:16:32
221,400,611
0
0
null
null
null
null
UTF-8
Python
false
false
7,121
py
#!/usr/bin/env python # coding: utf-8 # # To Be or Not To Be (EECS-731- Assignment # 02) # --- # In[16]: get_ipython().run_cell_magic('time', '', '\nimport matplotlib.pyplot as plt\nimport seaborn as sns\nimport pandas as pd\nimport numpy as np\n\n# modules for classification\nfrom sklearn.feature_extraction.text i...
[ "noreply@github.com" ]
noreply@github.com
2522e89c1fe901139ac8e21c52965a3e871b725b
30172cf8c7eca2eb5a825b96ed276ba68c746e9f
/regression/prepare_rf_model_cv.py
2eda2c41ff9d7b70d0963620dcbd9cb7c7d47568
[]
no_license
masseyr/deciduous
272451928b0d0cf76aede4d4889a224e87a49c3d
0d2cbb7381f856a7e720419e661b53e633da39b9
refs/heads/master
2021-05-26T05:16:30.208263
2019-12-11T00:25:40
2020-06-09T00:25:40
127,552,187
0
0
null
null
null
null
UTF-8
Python
false
false
9,517
py
from modules import * import multiprocessing from sys import argv import sys import time """ This script initializes and fits training data to prepare models. The data is pre prepared using analysis_initiate.py. The RF models are then pickled and saved for later use. In addition this script also generates outputs by c...
[ "rm885@nau.edu" ]
rm885@nau.edu
74e46aad7ac7b3bb567a94d06956738aec8593d3
cf76726b0d6a1559b56b91236585d90c04abfa3a
/egenværdi.py
d8aee9b6c814a22a1b3d197e7ca52115d6ee8341
[]
no_license
Thrun12/LAscripts
a6ab12167b4f8e954f089454d8a8d2c8d1402b0b
81ce0f1e0d760d6c3e3a7402799fac06ace0dab4
refs/heads/master
2020-05-31T16:43:34.232824
2019-06-05T12:39:30
2019-06-05T12:39:30
190,388,182
0
0
null
2019-06-05T12:13:26
2019-06-05T12:13:26
null
UTF-8
Python
false
false
1,099
py
from sympy import * A=Matrix([[3,-2],[1,0]]) def singleNicePrint(x): pprint(x, use_unicode=True) def egenvalue(m: Matrix): """ !!Hvis du skal finde egenværdier til en lineæroperator!! !!fortæller def 12.25 og prop 12.26 at du kan bruge !! !!matrixræpresentationen : v[L]v og finde egenværdier !!...
[ "lassebramer@gmail.com" ]
lassebramer@gmail.com
11a9f9e8643e7ba1328b22c66b041082086d59a7
003a42681089d15179093123cd1e3336efdfbee6
/restapi/migrations/0003_auto_20201003_1536.py
344c38ae4d032d88641f935b5fada716b47066dd
[]
no_license
maryshermila/MusicApp
9f41bb80927d1f57e2a6b9f9f25f56ea5fba0570
0326de9de3cfbbbf1a01322e8ac89523a6ce9248
refs/heads/master
2022-12-30T22:06:11.984732
2020-10-05T14:05:42
2020-10-05T14:05:42
301,428,354
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
# Generated by Django 3.0.1 on 2020-10-03 15:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('restapi', '0002_auto_20201003_1520'), ] operations = [ migrations.AlterField( model_name='songrating', name='five_st...
[ "maryshermila@Marys-MacBook-Pro.local" ]
maryshermila@Marys-MacBook-Pro.local
88ba28f4224e81fd42e056b98539df863ec6a582
94205bf458481c6637f77c920648c14455740ff1
/MayaScripts/toMaya.py
98b51fedc28e03a81435b2a04782d964bf9d5af0
[]
no_license
aterzis/MayaScripts
a21e2f9e792b68d386d463865886d587e9f48594
f6fdbc621aa629cd0d5d5b57eda4a9f7140354b3
refs/heads/master
2020-05-22T14:31:34.145089
2015-02-07T11:35:23
2015-02-07T11:35:23
30,452,168
0
0
null
null
null
null
UTF-8
Python
false
false
2,585
py
import sys, os, socket from platform import system as myOs def toMaya(filePath,selection): host='localhost' port=6001 pythonOrMel="mel" extension=".mel" try: maya=socket.socket(socket.AF_INET, socket.SOCK_STREAM) maya.connect((host, port)) #mel or python? ...
[ "arthur@arthurterzis.net" ]
arthur@arthurterzis.net
2985796aeabba795cee6bc0545dc1b8dccd3bb60
d80092f0b62c13003d71876dc8dc8373394d61a8
/__init__.py
3dba8e9955d3191575350a7ac853758a43fa95a3
[]
no_license
epzt/msta
6c7fa5f1774f97ade398822f2754e37f2c4a7a64
3d3381d23f68c190731342b89783f6e7c1f28329
refs/heads/master
2022-10-03T06:57:51.399689
2022-10-02T20:28:18
2022-10-02T20:28:18
164,415,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
# -*- coding: utf-8 -*- """ /*************************************************************************** msta A QGIS plugin Mutli-Sediment Trend Analysis Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/ ------------------- ...
[ "emmanuel.poizot@lecnam.net" ]
emmanuel.poizot@lecnam.net
8435336b2ee38b4e84e4eb32c876daf76087e758
9e12f81814b24aa54acccb80fcaf3bf688bd984a
/Sync/gd_content.py
6f490877871e22d468c939fc1a6946b17c879d33
[]
no_license
wangtaihong/mov
76793050cdece48894be6433dd407cc918c0bbb3
8d394ca9c8c2906a585e58b85f974f68664629d3
refs/heads/master
2020-03-19T20:02:52.626127
2018-07-16T02:40:52
2018-07-16T02:40:52
136,885,627
1
0
null
null
null
null
UTF-8
Python
false
false
6,864
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2018-04-25 16:59:37 # @Author : taihong (taihong.wang@androidmov.com) # @Link : # @Version : $Id$ import os import re import sys import threading reload(sys) sys.setdefaultencoding('utf8') import json sys.path.append('../') import config sys.path.append('...
[ "wangtaihong8@163.com" ]
wangtaihong8@163.com
457e46f4a82f788befde7522705091b6415fb88b
1003337afcc7ba24d5e89cef426f099279daa4d1
/utests/test_model_basic.py
e7e066a05e85d4e4f9b1f6ec99131a71c7bcd6b3
[]
no_license
Priscillesg/UdemyFlaskAppUTest
a44ac89f88e98eb93d1da4379e15c7782cedee57
9e51934ccda8bf45d7752022f2b26cdece00ed5e
refs/heads/master
2023-04-13T09:06:28.484507
2020-06-14T19:21:27
2020-06-14T19:21:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
import unittest from main.models import User from datetime import datetime, timedelta class TestModel1(unittest.TestCase): email = "mymail.com.cc" passwd = "password123" @classmethod def setUpClass(cls): cls.usr = User(cls.email, cls.passwd) @classmethod def tearDownClass(cls): ...
[ "kss@comms.com" ]
kss@comms.com
cbe3fd472cfd4e3b1a36a101db19cb3b3a53d24e
66922ca6fce9d61269c48e7fd40514bcbdc546e9
/pset1/problem1.py
7a9307bd73a5dd58eca4be1093d351174c168fc5
[]
no_license
holdercp/mit-6.00.1x
70107131e269dc27322fa723ec4029ae00cd64bc
a2800a9895a65dee56b9adea104eeec4bc37f7ae
refs/heads/master
2020-06-11T02:40:43.428402
2019-07-23T23:06:52
2019-07-23T23:06:52
193,828,859
1
0
null
null
null
null
UTF-8
Python
false
false
210
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ s = "azcbobobegghakl" vowels = "aeiou" vowelSum = 0 for vowel in vowels: vowelSum += s.count(vowel) print(vowelSum)
[ "chrispholder@gmail.com" ]
chrispholder@gmail.com
8eb1706733f9174ae3ac1d394d9e96607060f60a
d6a2700214a72906ff6d46cb33f3b5c0125586c2
/tests/test_date_utils.py
b6bee3c2d381f42d2b29ddeecbcf83d48fa1470b
[]
no_license
povilasb/timesheet-gen
e56602e9e36fc47899cfaa794c56da08d6c1d783
22eb7bcbe036d2739021a21c6dcbc40792f8cf21
refs/heads/master
2020-03-26T16:28:45.092137
2019-04-20T06:30:43
2019-04-20T06:30:43
145,104,540
2
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
from hamcrest import assert_that, is_, contains import pytest from timesheet_gen.date_utils import Date, Week, Month def describe_Date(): def describe_next_week(): @pytest.mark.parametrize('curr_day,next_week', [ ('2018-03-01', '2018-03-05'), ('2018-03-05', '2018-03-12'), ...
[ "balciunas90@gmail.com" ]
balciunas90@gmail.com
75565b4e4f3520375386cf6faaf8f0755753e4f6
362765585815165ca3625895d4a675600efdb518
/orchestrator.py
67e314397be339554e940e42475881ae9f5046a7
[]
no_license
obulpathi/notifications
00e7decd479685d10e815b9ada7b1f774862f0f9
131b784d5e40310cdfc98587e0ceaff4cca4cf03
refs/heads/master
2021-03-12T20:23:05.143662
2014-07-08T18:58:44
2014-07-08T18:58:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
import os import sys from jinja2 import Environment, FileSystemLoader, meta def render(sense, action): env = Environment(loader=FileSystemLoader('/src/templates/sense')) template_source = env.loader.get_source(env, sense+'.py')[0] parsed_content = env.parse(template_source) vars = meta.find_undeclared...
[ "obulpathi@gmail.com" ]
obulpathi@gmail.com
23d33841e9d67c86892cea31144d4f386b3a2320
7702b41273069e57d30effb1ea8a1c1e54b19dec
/website/settings.py
b897def2da3a81d09660bbaf8f8375100bad088b
[]
no_license
gurucharan511/chromatic
84cacb7df709806b7129b64c2e1160a69f8adc4a
38de358f3db565ae6cb47f361b8c42edf17c5915
refs/heads/master
2020-03-08T02:41:30.402694
2018-04-04T06:58:05
2018-04-04T06:58:05
125,883,197
0
0
null
null
null
null
UTF-8
Python
false
false
3,448
py
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'rha7*we-io_dbhnf$k)%wum_i=-fct9+n^j+@5j9p*$z01lzj1' # SECURITY WARNING: don't run w...
[ "gurucharan511@gmail.com" ]
gurucharan511@gmail.com
d600cc034a7b0f5920a0d111948dad015073c300
bd201b85f21dd615b2d4fd2d7059ed642915e47a
/python/sample_20131208.py
200fd4edc2b2a742c84ff364402078c18f038f15
[]
no_license
h2sp/dev
fadc24997f2c0b6eb9d972973d64643c97ad29ee
0d02a6bd2d5501e89499e1ae8e82ad015508de94
refs/heads/master
2021-01-23T05:45:26.980798
2014-03-22T07:22:00
2014-03-22T07:22:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
#-- encoding:utf-8 --# def main(): """ サンプルプログラムのメイン関数 """ n = 0 for i in range(1, 500): if i % 3 == 0: print("%sは3の倍数です" % i) n = n + 1 else: print("%sは3の倍数ではありません" % i) print("3の倍数は、%s個あります" % n) if __name__ == "__main__": """ Pyt...
[ "htwosp@gmail.com" ]
htwosp@gmail.com
e29d1f69414faa0011a43b09160f52221f61fe38
a88f27a67aabf0d78965ea9de37cc2d4ffa422c8
/tools/int_to_jpn.py
87756204fc7bd73025263f2ae0812625da83b3a2
[]
no_license
S-LaKeith/conan
0b067009b402ff6a464056beed23fda95dca02c3
c0a05f1b3088a5e58fd3043666dc8bf7c3901463
refs/heads/master
2023-08-14T15:42:12.206273
2021-10-08T07:18:31
2021-10-08T07:18:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
import json import requests from selectolax.parser import HTMLParser r = requests.get("https://www.detectiveconanworld.com/wiki/Anime") doc = HTMLParser(r.text) def ranges(s): return sum(((list(range(*[int(j) + k for k,j in enumerate(i.split('-'))])) if '-' in i else [int(i)]) for i in s.split(',')), [])...
[ "evauwu@riseup.net" ]
evauwu@riseup.net
efceeff605e430f707a59bce0b1a138df83b201d
4ca9ea17cd2ea7dfb45d335efa7261657d405d87
/avitoparse/items.py
7fc3f3a3d0c99a21f8b34d8f2bccfc325b9d257e
[]
no_license
Nafanjia/GB_data_mining
5f89dec8f8450ce9bc6a689060d2801b88d8fd71
eadc2688deb38f74c3f5fdce146be9b79f789ae0
refs/heads/master
2020-06-20T02:26:31.131766
2020-02-08T18:07:22
2020-02-08T18:07:22
196,959,384
0
0
null
2020-02-08T18:18:51
2019-07-15T08:40:29
Python
UTF-8
Python
false
false
1,889
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy from scrapy.loader.processors import MapCompose, TakeFirst def cleaner_photo(values): if values[:2] == '//': return f'https:{values}' r...
[ "noreply@github.com" ]
noreply@github.com
48cf5900dc9a034879b345bbe717725c202043c4
c023ede46a2fc296c17b789a9c1633e5872209eb
/venv/upe/manage.py
cd2a1a1711d3841d6b9013ea92d737f6d4368c82
[]
no_license
thiagosoara/upe
059785b057afa6405041572bb08526391515d0b4
a0f7550b07e16c1ffa960a058c9524d6e1c883c9
refs/heads/master
2020-06-10T18:22:30.337299
2019-06-25T12:39:48
2019-06-25T12:39:48
193,704,859
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'upe.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you ...
[ "thiagosoara@gmail.com" ]
thiagosoara@gmail.com
f6613b94c9e9d8ee741d57e5cd2f3e1165564490
f4f181f2c970a163801b4202fc8d6c92a4e8113d
/google-cloud-sdk/lib/googlecloudsdk/command_lib/compute/ssh_utils.py
f61e082ca4e2e06461cb227e69749734f27b9406
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Sorsly/subtle
7732a6cb910f5e2f4eed1ac0d3b5979001582340
718e79a3e04f1f57f39b6ebe90dec9e028e88d40
refs/heads/master
2021-05-24T01:21:39.218495
2017-10-28T01:33:58
2017-10-28T01:33:58
83,103,372
0
1
MIT
2020-07-25T11:21:05
2017-02-25T03:33:07
Python
UTF-8
Python
false
false
23,694
py
# Copyright 2016 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...
[ "han300@purdue.edu" ]
han300@purdue.edu
8168c774358cecad1c3c9c3aec878fe3b4d72778
3b9a242f2d7df732f5f7dc29027f73bd8773e71d
/sandboxes/ecl/statgraber/statistics/disckstats.py
2c00f55e25279e8617b6a501411343614a9735c5
[]
no_license
skubliy/scratches
8d0c15b30d7f60cf7f82382148d6a18f658609b4
813be4487bb82e76c4e26b85f357e6d1b0910a34
refs/heads/master
2021-01-16T23:21:33.071813
2016-07-13T19:31:58
2016-07-13T19:31:58
59,788,158
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
#!/usr/bin/env python # encoding: utf-8 ''' Created on Jul 1, 2015 statistics.blockio -- TODO: shortdesc statistics.blockio TODO: is a description It defines blockio @author: Serguei Koubli @copyright: Serguei Koubli. All rights reserved. @license: TODO: license @contact: SergueiKoubli@gmail.com @deffield...
[ "skubliy@gmail.com" ]
skubliy@gmail.com
8411b98d81b21d32c6ec667cb3b0e86c6a62ef44
ad3bcc3ebcf3d860d0a59955d19a9be27f1f9c69
/dicttest.py
ae5198a4d318154e0e2235c2fac9d49bf0f60be2
[]
no_license
turash104/Yelp-Recommender-
21dae5b01ddd0ee449d38d6f08f7df6569e472a2
a60a77410982a2481c3b0985a16b2c5105b370ae
refs/heads/master
2021-09-04T03:15:48.302898
2017-12-01T21:10:37
2017-12-01T21:10:37
117,502,914
0
0
null
null
null
null
UTF-8
Python
false
false
9
py
d= {} d{}
[ "turash_mosharraf@sfu.ca" ]
turash_mosharraf@sfu.ca
11c869ecd5e826427cc7d523ecdbb29f056a4b97
0ddcfcbfc3faa81c79e320c34c35a972dab86498
/tests/test_summary_ranges.py
c75bf5a290b7f94b3f204aa5c8f8d1d2a2f4a90a
[]
no_license
IvanWoo/coding-interview-questions
3311da45895ac4f3c394b22530079c79a9215a1c
1312305b199b65a11804a000432ebe28d1fba87e
refs/heads/master
2023-08-09T19:46:28.278111
2023-06-21T01:47:07
2023-06-21T01:47:07
135,307,912
0
0
null
2023-07-20T12:14:38
2018-05-29T14:24:43
Python
UTF-8
Python
false
false
329
py
import pytest from puzzles.summary_ranges import summary_ranges @pytest.mark.parametrize( "nums, expected", [ ([0, 1, 2, 4, 5, 7], ["0->2", "4->5", "7"]), ([0, 2, 3, 4, 6, 8, 9], ["0", "2->4", "6", "8->9"]), ], ) def test_summary_ranges(nums, expected): assert summary_ranges(nums) == ...
[ "tyivanwu@gmail.com" ]
tyivanwu@gmail.com
d824974c9d32252bdf8b81863bf3632db476ff0c
72cb836871c7853bef3f5715fb2725b2934548a0
/DjangoUniversity/Classes/classApp/migrations/0001_initial.py
e3a6d3f06284760446ab2138604f4585b3a5e0c3
[]
no_license
jerry-nol/Python-Projects-
bf902e4fb69e2ee2a719fe79fbbbee71261acffe
7d17e645c18b0d5e8c0f7757233204f924d75096
refs/heads/main
2023-04-11T09:32:00.650858
2021-04-25T21:51:13
2021-04-25T21:51:13
328,837,937
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
# Generated by Django 3.1.7 on 2021-03-04 23:34 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='djangoClasses', fields=[ ...
[ "newyork_14@live.com" ]
newyork_14@live.com
6772610f7bb6e8d700abf17a81f88a0944424b97
2852f3e48f7efcb5f00f509d49b38ac25fd99091
/tests.py
14efd945973db22e6bc7cd3034a4835d8967ef84
[]
no_license
eflagg/ClassAmass
5ead34915c18b7ac51fcdd5d29a185bd0690ea5a
53c02ae9d71a8736ef4633df02e1dd526e5e96bb
refs/heads/master
2020-12-26T07:22:28.275779
2016-09-22T20:59:36
2016-09-22T20:59:36
65,230,407
1
1
null
null
null
null
UTF-8
Python
false
false
9,208
py
from server import app, get_language_count import unittest from model import db, connect_to_db, Course, example_data from helpers import get_user_by_email, get_user_by_session, is_favorited, is_taken, is_enrolled class FlaskTests(unittest.TestCase): def setUp(self): """Set up by creating fake client.""" ...
[ "eflagg5@gmail.com" ]
eflagg5@gmail.com
ee9d86b56492a9281eeb62c4a4d3d898ad8fac08
db121846c8a25618da6fb90666c18430c2d8c97a
/src/tweets/models.py
34c245589a25c9012faaef6e88b24f5d68f0cc02
[]
no_license
richardhsieh18/djangoTweetme
8d6d37ff592f3abd80da74d4c58f23207fec172e
cf0411d1df7c4ad79b36f71a3f5f96ee6518c14b
refs/heads/master
2020-06-30T08:52:03.792566
2019-08-26T06:36:21
2019-08-26T06:36:21
200,784,301
0
0
null
null
null
null
UTF-8
Python
false
false
2,858
py
import re from django.conf import settings from django.urls import reverse from django.core.exceptions import ValidationError from django.db import models from django.db.models.signals import post_save from django.utils import timezone from hashtags.signals import parsed_hashtags from .validators import validate_conte...
[ "starengram@gmail.com" ]
starengram@gmail.com
0b7d56f9ef5cd6cf1367714166ecbb3a9e351bec
e61383943eefd767f997c28579f3e22145941ebc
/application/the_eye/models.py
b9620e443c0b2fef879141388c171e38a4196407
[]
no_license
fernandotelles/ca-code-assignment
3ee267a1c2e6575cc264211b65c62a61340f6458
b5a728647350d91a3225bffb3e7b15f1eacd0499
refs/heads/main
2023-07-17T09:35:22.627036
2021-09-01T00:27:22
2021-09-01T00:27:22
396,857,710
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
from django.db import models import uuid # Create your models here. class Event(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) session_id = models.UUIDField() category = models.CharField(max_length=40) name = models.CharField(max_length=40) data = model...
[ "fernandotalves@gmail.com" ]
fernandotalves@gmail.com
86c48de933b8b65243e5681268294ec23e4ad5e0
33f8752eec25d8a621a0bf920455cc1b1e209a2c
/bvspca/core/migrations/0026_auto_20180306_0943.py
c65bd86609b5849793470d97febaab15b5d4ea04
[ "MIT" ]
permissive
nfletton/bvspca
196d2a381a9e0cacf6ac4156ecee5c785e7d14a9
4f4bceb96ace010f1d4c273c44da4f0ab5ea7f6f
refs/heads/master
2023-07-06T12:03:15.037161
2023-06-29T16:59:16
2023-06-29T16:59:16
98,236,678
16
3
MIT
2023-03-21T12:55:02
2017-07-24T21:31:29
Python
UTF-8
Python
false
false
847
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-03-06 16:43 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0025_auto_20180202_1214'), ] operations = [ migrations.AlterField( ...
[ "nigel@thebluehut.com" ]
nigel@thebluehut.com
1252894bbc2a8443c571bc7d8c3dfc7f34290c28
fafde4b09e56cadbe893c09ae1dfb52a745ae45a
/0x03-python-data_structures/0-print_list_integer.py
72437fda223c519c834d47e5b084b819c6cca790
[]
no_license
MCavigli/holbertonschool-higher_level_programming
2120c6c3018c86215d221c6fffec1957ca1d0f48
c3408521683f03214813839b7eed03fee083081e
refs/heads/master
2022-07-12T20:59:12.732979
2022-06-17T05:21:01
2022-06-17T05:21:01
461,013,788
3
7
null
null
null
null
UTF-8
Python
false
false
111
py
#!/usr/bin/python3 def print_list_integer(my_list=[]): for i in my_list: print('{:d}'.format(i))
[ "mcavigli@gmail.com" ]
mcavigli@gmail.com
accc82f441ea51a73813ec2cb7dbc086e252d603
cf9494e7953c91d786e003bfbcd9f6ad93126c7f
/widgets_entry2.py
4879d321a74e5d54581585dbc09c16bb798c330e
[]
no_license
utisz86/TkinterTutorial
7fd318e631f6e1a858083c3c157fa68a60bcc85a
32030494ac3035d442a432bf6b389b6ff7e1c537
refs/heads/master
2022-11-26T06:36:47.959218
2020-07-07T22:10:33
2020-07-07T22:10:33
277,841,542
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
import tkinter as tk window = tk.Tk() # create a Label and an Entry widget label = tk.Label(text="Name") entry = tk.Entry() # visible label.pack() entry.pack() entry.insert(0,"mi?") name = entry.get() print(name) window.mainloop()
[ "soma.kormanik@outlook.com" ]
soma.kormanik@outlook.com
2fab2bee4ac6948cf332cd44a621eb9d9886938d
d734df2a2ee329592004b612d0086e79c3415cd0
/mysite1/migrations/migre/0005_commentaire.py
538007dc6f5568cbe9cd07e455252d3c1abfda2a
[]
no_license
pascal0101/site_web
ed115a678b65c4e106d6aab032cbfcd4b1bdd800
ef2239af8f4a9d0b1e31e051d8674a3a8c252571
refs/heads/master
2021-01-04T20:59:23.281561
2020-03-02T20:47:33
2020-03-02T20:47:33
240,757,540
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
# Generated by Django 3.0.3 on 2020-02-23 20:06 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('mysite1', '0004_image_image_path'), ] operations = [ migrations.CreateModel( ...
[ "pascaldaf2016@gmail.com" ]
pascaldaf2016@gmail.com
d42ef757a051d40d7530a7f2572b8993b596c56e
34210f699a80638ea4cbde05bceeb52e5316de4c
/random_forest.py
fd0690e751286bd2d2f89d32fea372535f308b36
[]
no_license
huangjundashuaige/dm_project2
04e9dd2053d0485e52ec9a60e90b32aed99d7a34
9cdfffdcb481a609dfddbc8f557cbee19175e75e
refs/heads/master
2020-06-18T19:34:52.263836
2019-07-14T05:44:19
2019-07-14T05:44:19
196,421,307
0
0
null
null
null
null
UTF-8
Python
false
false
2,205
py
import numpy as np from decision_tree import Decision_tree from mpi4py import MPI import numpy as np import os from functools import reduce import time import json from cache import Cache from read_file import read_length from read_file import read_csv comm = MPI.COMM_WORLD rank = comm.Get_rank() world_size = comm.Ge...
[ "715817451@qq.com" ]
715817451@qq.com
6737c706349be12bf895cf042ba1ac204f9b239a
91e87d6aab16e5a5f98237b138a95b1d2680923e
/blog2/posts/context_processors.py
0c7f1b8c265736587fbc4a1459e77acfc8b663db
[]
no_license
nafisaISRAIL/django_blog
22a1554db65564771dceb084e659e1dbe75aa476
d2a67bc94acd38044418fc0f1b3ad0026f9ce1ee
refs/heads/master
2020-12-30T11:16:01.928567
2017-05-17T07:51:24
2017-05-17T07:51:24
91,547,049
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# -*- coding:utf-8 -*- from blog2.posts.models import Category def categories(request): return { 'categories': Category.objects.all() }
[ "nafisa_ordo@mail.ru" ]
nafisa_ordo@mail.ru
713f28f0d9bf19d6b7273319084e1c03d467c1f0
561b8e87bb0e806399bf3dd9f26e62407c45c868
/ex31.py
ec4c824a1eeb0391f3310123f5db37a61de10eff
[]
no_license
abhijeetvhotkar/pythonBook
d1049f4dde1c5c61f53ee2ddd2010cfb4489628f
866fad9a3bf5c3d4879019191a395d4a28e64f6f
refs/heads/master
2021-09-10T02:49:34.168759
2018-03-20T19:45:07
2018-03-20T19:45:07
109,789,933
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
print("""You enter a dark room with two doors. Do you go through door #1 or door #2?""") door = input("> ") if door == "1": print("There's a giant bear here eating a cheese cake.") print("What do you do?") print("1. Take the cake") print("2. Scream at the bear") bear = input("> ") if bear ==...
[ "abhijeetvhotkar@gmail.com" ]
abhijeetvhotkar@gmail.com
3933ec1fd97d722f5292bc31f1a94483cfcf3809
1fdc846f4e5b7bda56e8740b859c8340d9b5141a
/sfepy/fem/region.py
4984860518fb2a1df5196debf2fd39474ed6f272
[ "BSD-3-Clause" ]
permissive
olivierverdier/sfepy
b824fdab7d91e137a371c277901fbb807b316b02
83aefb7b33ea17f4acb83388ba8bc7314c77616c
refs/heads/master
2021-01-18T05:39:13.127137
2010-10-25T13:13:18
2010-10-25T17:31:37
1,022,869
1
0
null
null
null
null
UTF-8
Python
false
false
19,130
py
from sfepy.base.base import * _depends = re.compile( 'r\.([a-zA-Z_0-9]+)' ).findall def get_parents(selector): """Given a region selector, return names of regions it is based on.""" parents = _depends(selector) return parents def get_dependency_graph(region_defs): """Return a dependency graph and a ...
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
535268bab86addff45ad4349f708df0310b4627d
d5c1f39f619e49be02238bbd9c327103ee0c6199
/vai/plugins/commands/Time/Time.py
4ed8dc22387aae6b3ff5563e24423513b64af622
[]
no_license
CRY-D/vai
520d35ef1b32de2e4058f64a73cd1b9da9b2e313
7e6981690209e8ccd9a6e6f64d2f2a6c7426ef3f
refs/heads/master
2023-07-06T18:24:43.884669
2021-07-20T09:40:48
2021-07-20T09:40:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
from vai import sdk import time class TimePlugin(sdk.CommandPlugin): def name(self): """ To be reimplement in the plugin """ return "Time" def keyword(self): return "time" def execute(self, command_line): sdk.statusBar().setMessage(time.asctime(), 3000)
[ "stefano.borini@gmail.com" ]
stefano.borini@gmail.com
d5187343e32d580e0519bab53048baf32a92847f
902497a34c892f042b15db10837f3f5676fbd0a3
/bin/edit-spell-dict
9036efc994e879193d0926e903fc63b9bf02882c
[]
no_license
74th/dotfiles
30428fd02e3335244534ed95c88cd2c5a8652361
3cbdc187c1c527d411bb1e947773a526f708cdbd
refs/heads/master
2023-07-25T02:49:53.274681
2023-07-15T08:58:34
2023-07-15T08:58:34
41,480,184
6
0
null
null
null
null
UTF-8
Python
false
false
265
#!/usr/bin/python3 import os import sys import invoke c = invoke.Context() p = os.path.expanduser("~/ghq/github.com/74th/mycheatsheets/CodeSpellChecker/") f = c.run(f"ls -1 {p} | peco").stdout.strip() if not f: sys.exit(1) f = c.run(f"vi {p}/{f}", pty=True)
[ "site@74th.tech" ]
site@74th.tech
a92cf26f1a32f5310a6fd92cc58e170a078f87a2
7f52d0e7b886437ad8a220581ae6fe959b1c6646
/Scrapper/WebScraping.py
9aaea885485d2854823c0fc6ba1fc46e1e954c7b
[]
no_license
ThayseSantos/security-tools-with-python
4d37ddcbd91ca19457b10ee64390b8bc153046be
b0317ef7b98f05e9584d4cda37d545d662cd55a2
refs/heads/master
2023-07-26T10:03:13.494678
2021-09-09T15:02:28
2021-09-09T15:02:28
402,457,362
2
0
null
null
null
null
UTF-8
Python
false
false
547
py
# PROGRAMA DE ANÁLISE - WEB SCRAPING # from bs4 import BeautifulSoup import requests #Objeto site recebe o conteudo da requisicao http: site = requests.get('https://www.climatempo.com.br/').content #Objeto soup baixa o html do site: soup = BeautifulSoup(site, 'html.parser') #Transforma o html em string print(soup.p...
[ "snts.thayse@gmail.com" ]
snts.thayse@gmail.com
571e0e5523e33785effe24788a676fe6168f8d50
bad70ead3032b754e84b1e346f22dfe302f1780a
/real-time-crawler/Python/GetNotifierIPList.py
03fc49aec4c63b7ac8cc34dc72173a70082ac7cf
[]
no_license
Ryouku/product-integrations
c17a3d73bf4c47dea3ee4faf6ee4564bf98560b2
2213a7c50f6d64ebe1580c38370a098f2ba2bf21
refs/heads/master
2023-07-30T06:25:59.072048
2021-05-05T11:59:25
2021-05-05T11:59:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
import requests from pprint import pprint # Get response from the callback IPs endpoint. response = requests.request( method='GET', url='https://data.oxylabs.io/v1/info/callbacker_ips', auth=('user', 'pass1'), ) # Print prettified JSON response to stdout. pprint(response.json())
[ "nedas@oxylabs.io" ]
nedas@oxylabs.io
019609165e27c097de122c42e88fd2e7d9ab2312
ef82b0a0d5642ac0bb23a1702c75387b351d92fd
/migrations/versions/74870c5d9e87_users_and_posts.py
5fe28ea9b34ec7795cf7d2c0c3096da2e7a933df
[]
no_license
ChristopherCampos/Buddy
36286aa9eba99caee06c6294fcde877248fb9146
f270608bc2cd30588771944c4e9606ae4d8d7788
refs/heads/development
2022-12-24T05:50:33.718552
2020-09-18T11:17:01
2020-09-18T11:17:01
282,841,507
1
0
null
2020-09-18T11:17:02
2020-07-27T08:42:39
Python
UTF-8
Python
false
false
1,250
py
"""Users and Posts Revision ID: 74870c5d9e87 Revises: Create Date: 2020-07-27 10:28:40.164948 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '74870c5d9e87' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto ge...
[ "chris.acampos@yahoo.com" ]
chris.acampos@yahoo.com
45aca59783a82f8aebeef1769d251a6c7c1aea2f
1186e0f758d930960aeb5319200ca50e09ff1d35
/build/lib/cplvm/lm.py
5d6ea254cd9fc48a55c71f271f202ac3c7edc685
[ "MIT" ]
permissive
ethanweinberger/cplvm
c182ee3a960f20ce2975cec5492ec5b1f434dd71
f4bbcfc4b2e9a9cec7d01eb5f7ff3a169d6e3ff6
refs/heads/main
2023-06-17T15:23:15.604291
2021-07-07T12:04:57
2021-07-07T12:04:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,771
py
import functools import warnings import matplotlib.pyplot as plt import numpy as np import seaborn as sns import tensorflow.compat.v2 as tf import tensorflow_probability as tfp from tensorflow_probability import distributions as tfd from tensorflow_probability import bijectors as tfb from scipy.stats import multiv...
[ "ajones788@gmail.com" ]
ajones788@gmail.com
63dcf295b14fca00d7e5231a26fdd7a84c460561
da70033169c120079ad73947d0c2723d724cf62c
/Update_Model.py
a16c9a52a865e696a8d87b491c6a10cfceee9785
[]
no_license
Krishnachaitanya-learn/ExpressionBasedMusicPlayer
8c7b139248031e5cca6e53f733b7e329b7ac0eb2
e72cd9dd951b8bd2a81031dd3e4ac62a6ec638cb
refs/heads/main
2023-09-05T21:03:16.105383
2021-11-08T15:24:25
2021-11-08T15:24:25
425,890,538
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
import numpy as np import glob import random import cv2 fishface = cv2.face.FisherFaceRecognizer_create() data={} def update(emotions): run_recognizer(emotions) print("Saving model...") fishface.save("model.xml") print("Model saved!!") def make_sets(emotions): training_data=[] training_label=...
[ "krishnachaitanyayerrapatruni@gmail.com" ]
krishnachaitanyayerrapatruni@gmail.com
d3f017952c1aa372ac9272676b274e1426c071fe
545095004814e8a851d22ba3f906511f724f3dda
/day7_161120/HomeWork/core/classes_class.py
01ac681c9aee339b79f24a6e3a3647ebf63177d2
[]
no_license
wayde-P/python_study
38ceb92bac9cee9973cfeac2934680ce82c46372
cf2b4fca203af52be7199d82b35b206877fcae86
refs/heads/master
2020-07-30T20:35:22.268453
2017-10-31T08:20:39
2017-10-31T08:20:39
73,622,079
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
import sys import os basedir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(basedir) from core import operate_DB class classes(object): def __init__(self): self.OPerate_DB = operate_DB.Operate("%s/db/classes.json" % basedir) def crete_class(self, name, address, course)...
[ "w2341078@163.com" ]
w2341078@163.com