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
93c32506dd7b864ec9a89b3f123aa1883ffad867
91dcb87cd550f66760f9bffdcd15d728b30c5fce
/test.py
223506dbea16c2c0b3a63618c753b4f0694d752f
[]
no_license
Tamagotono/CycleTester
835c87a1f02c23ebe979e0ccf2f6a7f03cef4e3c
c565e3868df33d74f8ddfe0f5efb508d7b45a697
refs/heads/master
2020-03-08T13:06:18.781859
2018-06-23T01:33:45
2018-06-23T01:33:45
128,149,040
0
0
null
null
null
null
UTF-8
Python
false
false
10,307
py
#import machine, display, time, import machine, _thread, math #import m5stack import utime, machine #Cycle count required imports from micropython import const import hardware_config import gc tft, btn_a, btn_b, btn_c = hardware_config.M5stack() class Relay(machine.Signal): """ Notes: Adds extra fea...
[ "tamagotono@gmail.com" ]
tamagotono@gmail.com
1f03ffd14d66533504fd6a54fb4f47985741b73e
f16f513bd487e415807a584da353f01799fc86be
/base/splider.py
c6cd1c47e8387c33c0317388575f961511e57934
[]
no_license
xfz1987/python_study
53497e4d436f0dd647ff001658a8f433941e7602
4615ae291162041d599f4e750f8958cf0e35b63e
refs/heads/master
2020-04-02T00:13:49.127764
2018-10-19T14:27:33
2018-10-19T14:27:33
130,190,038
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
import urllib import urllib.request import re def get_html(url): page = urllib.request.urlopen(url) html = page.read return html reg = r'src="(.+?\.jpg)" width' reg_img = reg.compile(reg) imglist = reg_img.findall(get_html('http://xxxx')) x = 0 # 如果imglist有100万张图片,则 需要分成4个部分来做,4*10 for img in imglist: urlli...
[ "gaozifeng001@ke.com" ]
gaozifeng001@ke.com
d294ee636acb84148e16ac385f849a18ab6a1d2d
e63f11c621ffa2c54a8bc4714c6fb0f868f902d6
/LianJia_Scrapy/item_url.py
964827b681f15e340e7a2dee5981496f848a2108
[]
no_license
aquablue1/LianJia_Scrapy
5821fd93eca796d319f408d351cc30d860a0edb4
580ced19204d5eb9614c6a8b362b2cb9eba88388
refs/heads/master
2021-05-05T22:07:14.261137
2018-01-06T05:01:43
2018-01-06T05:01:43
116,090,808
0
1
null
null
null
null
UTF-8
Python
false
false
308
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class LianjiaScrapyItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() url = scrapy.Field()
[ "94apieceofcake@gmail.com" ]
94apieceofcake@gmail.com
50fc6df7b930d2331bc283900b08c7c8a49056ab
eee30cd1c2afd38262c3d0203e228317951eb8d7
/gym_env/__init__.py
d634c5af11eab3be23d8d0419bc8aa6cfb2c83cd
[]
no_license
SaadHz/gym_env
427dbf4824d3060abf0c88b2469cec2de27e246f
8d9c04af82418f7842de75e5126e421be55a7815
refs/heads/master
2022-09-04T07:14:10.672309
2020-05-21T00:49:47
2020-05-21T00:49:47
265,711,101
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from gym.envs.registration import register register( id='env-v0', entry_point='gym_env.envs:EnvEnv', ) register( id='env-extrahard-v0', entry_point='gym_env.envs:EnvExtraHardEnv', )
[ "noreply@github.com" ]
noreply@github.com
1b6e6daf46bf32ded7ccee0ee73d5e1c97accff3
6007c6064c3adcb6787d0ab12062bffc4dc85431
/embeddings/__init__.py
5cfcf77de15f485ff04ad07895d575a8399f46b3
[]
no_license
Simon0xzx/tcl
10d30a33b498c5b82bb41522ca206962a5ac6b49
637366bdee479ffb462d228ff10a44efd34fe2f5
refs/heads/master
2023-03-12T22:37:53.504829
2021-03-05T01:59:00
2021-03-05T01:59:00
344,325,326
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from embeddings.contrastive_encoder import ContrastiveEncoder __all__ = ['ContrastiveEncoder']
[ "simon0xzx@gmail.com" ]
simon0xzx@gmail.com
fbc401f6fb472124d7e84ef8d13b3aca106c8e57
1a19f22b05d4658af821947b2ec3223480ba7c2f
/k_means.py
0469a9852accbdd0a186409687b74176e3efc58d
[]
no_license
DavilBot/ML
9de8979820ae849bedc4956d8b40934a7a8dca6a
34db7d8835553d0a1fee835b619c12e613086a39
refs/heads/master
2020-03-21T05:03:37.928654
2018-08-02T12:52:00
2018-08-02T12:52:00
138,142,229
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
import pandas as pd import numpy as np from dr import SQLConnector import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn import preprocessing import sys s = SQLConnector(host="localhost",pwd="r0b0t161",db="db_crypto",user="robot") query = "SELECT * FROM `prices1m` ORDER BY `updated_at` DESC LI...
[ "kattabekovbeknur@gmail.com" ]
kattabekovbeknur@gmail.com
28d7ed4552e9ad17858d34157706d73cae556aec
485439bbe4e0399a279abeabd91987c304efcd43
/etra/tests/test_io.py
6b865276e72ec67a6af276c93661a9dd3e2c39dc
[]
no_license
truongdo/etra
5056bd4f21814a5ee6915ba0886fd8c936d58d71
2da2a2cc11479c348584e0987931fb76e6658c20
refs/heads/master
2020-04-06T06:27:51.261467
2017-02-01T04:57:46
2017-02-01T04:57:46
72,731,844
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2016 Truong Do <truongdq54@gmail.com> # # Distributed under terms of the MIT license. """ """ from __future__ import print_function import unittest import tempfile import os import sys import numpy as np import etra.io as myio class IoTe...
[ "truongdq54@gmail.com" ]
truongdq54@gmail.com
48c2c3dca0b6a2b6c85044a00f274533db952693
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Windows/Controls/__init___parts/ContextMenuEventArgs.py
ddb3667cf2693b5c400b6c59a3043b012c6b0300
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
479
py
class ContextMenuEventArgs(RoutedEventArgs): """ Provides data for the context menu event. """ CursorLeft=property(lambda self: object(),lambda self,v: None,lambda self: None) """Gets the horizontal position of the mouse. Get: CursorLeft(self: ContextMenuEventArgs) -> float """ CursorTop=property(lambda self...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
e821be69dbcc904309be14ca117f4bbb2b7155e6
45e376ae66b78b17788b1d3575b334b2cb1d0b1c
/tests/cloudformation/checks/resource/aws/test_ECRImmutableTags.py
2bafbbce0a26573bbd0e9e83dbbd29b4d6be0c56
[ "Apache-2.0" ]
permissive
bridgecrewio/checkov
aeb8febed2ed90e61d5755f8f9d80b125362644d
e64cbd27ffb6f09c2c9f081b45b7a821a3aa1a4d
refs/heads/main
2023-08-31T06:57:21.990147
2023-08-30T23:01:47
2023-08-30T23:01:47
224,386,599
5,929
1,056
Apache-2.0
2023-09-14T20:10:23
2019-11-27T08:55:14
Python
UTF-8
Python
false
false
827
py
import os import unittest from checkov.cloudformation.checks.resource.aws.ECRImmutableTags import check from checkov.cloudformation.runner import Runner from checkov.runner_filter import RunnerFilter class TestECRImmutableTags(unittest.TestCase): def test_summary(self): runner = Runner() current...
[ "noreply@github.com" ]
noreply@github.com
caa9cb15bb5cd49e3cb59f5ace978e207c998922
db37e5eab7b60057bbc1ae153df8693f0159b02c
/examples/decoupledibpm/flapping2dRe75/run/scripts/plot_vorticity_compare_li_et_al_2015.py
63ee97afbb13882c1575b1ae99fc77dbdad3f383
[ "BSD-3-Clause" ]
permissive
stjordanis/petibm-examples
83f7212eadbc1bbfb2071d550969b252cbcfcd89
794de3613967c14750c750aed386602c988cff05
refs/heads/master
2022-04-12T20:29:33.566464
2020-02-29T22:45:39
2020-02-29T22:45:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,078
py
"""Plot the vorticity at saved time steps.""" from matplotlib import pyplot, image import numpy import pathlib import petibmpy simudir = pathlib.Path(__file__).absolute().parents[1] # simulation directory datadir = simudir / 'output' # directory with field solution files name = 'wz' # name of the variable to lo...
[ "mesnardo@gwu.edu" ]
mesnardo@gwu.edu
551b97e38f2e043bd809906f8163f999d24964e3
20b9da3b15dae444c0e9fac75fbb1073471dde28
/tests/conftest.py
c8787e2c1746c3197efb65e73dc03c683cecc429
[]
no_license
laurenvagts/tunnel-rpc
b391a93959cb09b1fe733e7fd7588e3838455352
b41c0892e186e08a9d9e9ea14bb3a3b5063253df
refs/heads/master
2020-05-15T06:26:27.588465
2019-04-18T21:19:25
2019-04-18T21:19:25
182,124,671
0
0
null
2019-04-18T16:49:41
2019-04-18T16:49:41
null
UTF-8
Python
false
false
561
py
# -*- coding: utf-8 -*- """Pytest Fixtures for Tunnel RPC. """ import pytest @pytest.fixture() def docker_api_client(): """Provides a docker-api client. """ import docker return docker.APIClient() @pytest.fixture() # pragma pylint: disable=redefined-outer-name def tunnel_container_factory(docker_...
[ "lsmith@zenoscave.com" ]
lsmith@zenoscave.com
fc52f5865ae7315907978b9cccc14a8492727c62
51395b305df5c4f6eb5b1bf9832923f4bc709ea9
/tools/convert_state.py
993b876fdea64345e854f8d029922aed087f706f
[ "Apache-2.0" ]
permissive
Tingfengguangling/ManiSkill-Learn
9cb62290ff2b9126d6b372c0de51e2b523a8d718
41df74d4025b23d7136bd597fcf8ca920f51cada
refs/heads/main
2023-08-30T23:21:46.610746
2021-10-21T05:51:33
2021-10-21T05:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,852
py
import argparse import os os.environ["D4RL_SUPPRESS_IMPORT_ERROR"] = "1" os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["MKL_NUM_THREADS"] = "1" os.environ["NUMEXPR_NUM_THREADS"] = "1" os.environ["OMP_NUM_THREADS"] = "1" import os.path as osp from multiprocessing import Process import h5py from mani_skil...
[ "z6ling@eng.ucsd.edu" ]
z6ling@eng.ucsd.edu
94c044bdea784aa5da43326d563b722a3d5c4fc6
29da2ca6def1270be13a3096685a8e5d82828dff
/CIM14/CDPSM/GIS_Connectivity/IEC61970/Core/SubGeographicalRegion.py
0030c2438ce680b5ea6c4d046032e16e4f3f5353
[ "MIT" ]
permissive
rimbendhaou/PyCIM
75eb3bcd3729b2410c03f3d5c66d6f1e05e21df3
d578bb0bf1af344342bd23344385ed9c06c2d0ee
refs/heads/master
2022-04-28T01:16:12.673867
2020-04-16T02:19:09
2020-04-16T02:19:09
256,085,381
0
0
MIT
2020-04-16T02:15:20
2020-04-16T02:08:14
null
UTF-8
Python
false
false
3,823
py
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
[ "rwl@thinker.cable.virginmedia.net" ]
rwl@thinker.cable.virginmedia.net
d2a24b502e662de76e225776017d1137001d947d
b7a29ba48a1393cae06d0de16b37968dc307760b
/tweet_slicer.py
19b12bed44eba0ea5c44b77e07ddd7e5afa9c602
[]
no_license
kkwteh/insight_project
fbf7ad8a5e5370df509859e0b37923366c643f58
bd9087ddeceaa0d22a7ef7f32f342392c3a475c7
refs/heads/master
2016-09-06T20:13:01.909486
2013-03-04T21:43:33
2013-03-04T21:43:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,165
py
#!/Users/teh/code/insight_project/ENV/bin/python import pages_getter import top_words_data import params import sys import itertools import time import twitter import pickle import re import os import string import sets import unicodedata import threading import urllib2 from Queue import Queue from collections import C...
[ "kkwteh@gmail.com" ]
kkwteh@gmail.com
d53b1fc1e1689725994bab778b7f669f9af08d11
bd1362c60313784c90013dfc9f0169e64389bf27
/scripts/feature/min_Xhour.py
0f41041b31ea7c176d8d0c2e6714c2969c296d22
[]
no_license
ForceCry/iem
391aa9daf796591909cb9d4e60e27375adfb0eab
4b0390d89e6570b99ca83a5fa9b042226e17c1ad
refs/heads/master
2020-12-24T19:04:55.517409
2013-04-09T14:25:36
2013-04-09T14:25:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# Generate some comparison data between ASOS sites, tricky, me thinks import iemdb import datetime import numpy import mx.DateTime ASOS = iemdb.connect('asos', bypass=True) acursor = ASOS.cursor() acursor.execute("SET TIME ZONE 'GMT'") maxv = 0 def get_data(year, station): global maxv data = {} acursor.e...
[ "akrherz@95f8c243-6001-0410-b151-932e6a9ed213" ]
akrherz@95f8c243-6001-0410-b151-932e6a9ed213
d38835820987626147fbbc92be11ed27bd6a29e7
fc10435144fa9ece97f0598fe7ca49f4fbac7193
/day_5/reduce_most/reduce_most.py
ecf48066b6e741d7466e736efe4baa0f08b771ca
[]
no_license
mo-tion/AdventOfCode2018
ace19f75e5009d358c6584af4b0db9796e7fb311
91c1e85c1006b0ab021b43d1ace964f2ac5a3abc
refs/heads/master
2020-04-09T04:02:25.740727
2018-12-22T17:42:00
2018-12-22T17:42:00
160,007,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
import numpy as np def react_polymer(polymer): while True: reduced = False new_polymer = "" last_char = None for i, ch in enumerate(polymer): if last_char is not None: if ch is not last_char and (ch.lower() == last_char.lower() or ch.upper() == last_char....
[ "m.eder@komastudios.com" ]
m.eder@komastudios.com
c02ce5a8423e7a07dbf65307fb26cf43f7f4e06a
5fc8acc18c9436a5cd3ffd609108a51e0a259b1d
/backend/test_app_2344_dev_2466/urls.py
4994650eadd63d8204f557dbe2b404d09a5d8a44
[]
no_license
crowdbotics-apps/test-app-2344-dev-2466
1f3677880346518cd2fb9e3a908aea3339ba78e1
eb950c673394c455d4d7eeb1ec362bc596a6f444
refs/heads/master
2023-02-09T16:02:19.128443
2020-04-08T13:20:57
2020-04-08T13:20:57
254,093,628
0
0
null
2023-01-24T01:59:00
2020-04-08T13:20:29
JavaScript
UTF-8
Python
false
false
1,947
py
"""test_app_2344_dev_2466 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='hom...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1152ab09724194cae4e2fab10d422c80f3789189
57265c1c743f5da6778d5c065e03be93d4f0c93f
/djkombu/tests/testproj/manage.py
b9066fff599f1c1260d7622099fa544098000b78
[ "BSD-3-Clause" ]
permissive
barseghyanartur/django-kombu
fb63dab46cce7048f50c5131a8edde98f0734c5e
0f7dbdbd153e7a6d9971dfbb030433a6a85dd984
refs/heads/master
2021-01-23T04:59:18.617326
2017-06-02T11:51:07
2017-06-02T11:51:07
92,947,716
0
0
null
2017-05-31T13:21:10
2017-05-31T13:21:10
null
UTF-8
Python
false
false
320
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "testproj.settings") sys.path.insert(0, os.path.join(os.getcwd(), '..', '..', '..')) from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "artur.barseghyan@gmail.com" ]
artur.barseghyan@gmail.com
66611c6c5b0fa19a5a7700b930f3d0f758de9885
3e51cf3ee20b2f81314d7f4e320a51d49b311e06
/Knights/puzzle.py
ba7d3def94182303a00a59231b6008d726bd7b0d
[]
no_license
desoto13/IntroToAI
d407ee3517355a3261fca8732b99085c13be0deb
f4239433366aab916e7d353baef07e165551a8e7
refs/heads/main
2023-03-24T06:09:38.563627
2021-03-16T09:09:16
2021-03-16T09:09:16
345,940,857
1
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
from logic import * AKnight = Symbol("A is a Knight") AKnave = Symbol("A is a Knave") BKnight = Symbol("B is a Knight") BKnave = Symbol("B is a Knave") CKnight = Symbol("C is a Knight") CKnave = Symbol("C is a Knave") # Puzzle 0 # A says "I am both a knight and a knave." knowledge0 = And(Implication(Not(And(AKnave,...
[ "mrmisa_windel@yahoo.com" ]
mrmisa_windel@yahoo.com
4530e7da967992e4e873d204c25802ea30dd670f
9afb5742e08add8800ad2086ecddd74f017ac9a5
/tests/test_errors.py
2c27177c209173f9920701ae351953c2f5064ff8
[ "BSD-2-Clause" ]
permissive
blockdiag/sphinxcontrib-actdiag
e7fac2739b7aef862f6b0dbea69548ec51960df9
8b7ec29b310e718c4510a99fd22c624adc5b19bf
refs/heads/master
2023-04-10T07:36:45.862708
2021-12-05T14:37:35
2021-12-05T14:37:35
34,159,673
1
2
NOASSERTION
2023-03-18T23:32:50
2015-04-18T09:11:37
Python
UTF-8
Python
false
false
1,992
py
# -*- coding: utf-8 -*- from mock import patch from sphinx_testing import with_app import sys import unittest class TestSphinxcontribActdiagErrors(unittest.TestCase): @with_app(srcdir='tests/docs/basic', write_docstring=True) def test_parse_error(self, app, status, warning): """ .. actdiag::...
[ "i.tkomiya@gmail.com" ]
i.tkomiya@gmail.com
bc3a16db4d19b8e9d60b28add19d1c884286d471
50c2e7facba5f0be15ed8d89ce5633cb1f698058
/test_recompressor.py
f79dc177be67572e08068f8c0afd6b4ef6b070f2
[]
no_license
Gray0Ed/ggp_thesis
59cfbd072aba059294187c134d57b9b7536886c9
d4f7aac8c47e49f687ed33721e0010ff35318083
refs/heads/master
2020-09-25T10:14:13.417641
2016-10-03T16:42:55
2016-10-03T16:42:55
67,509,252
0
0
null
null
null
null
UTF-8
Python
false
false
1,873
py
import os import sys from os.path import isfile RECOMPRESSOR_INPUTS_D = 'test/recompressor_inputs/' RECOMPRESSOR_OUTPUTS_D = 'test/recompressor_outputs/' COMMAND_CHAIN = [ ("python simplify_by_sancho.py {0} {1} >{2} 2>{3}", "simplified"), ("./rule_engine/reprinter {0} {1} >{2} 2>{3}", "first_reprinted"), ...
[ "kwasniakjanek@gmail.com" ]
kwasniakjanek@gmail.com
24d5d090979b05f93260f3915616be3065a6f89d
dabbbfda49d058a7f4006f809a5bd502a4da0f76
/kumaoche/__init__.py
f4201cf655a15066660cb808cf26fdefb4979848
[ "MIT" ]
permissive
kumak1/kumaoche
9f3f2f7e709db83e6781e86ffc3fbd9e7583fbc7
4421670bd8db5654fd33378ffe298bb8f0e12788
refs/heads/master
2021-06-27T01:33:17.403004
2021-03-27T14:06:19
2021-03-27T14:06:19
222,382,432
0
0
MIT
2021-03-27T14:06:19
2019-11-18T06:53:41
Python
UTF-8
Python
false
false
58
py
# -*- coding: utf-8 -*- from .container import Container
[ "makino@pepabo.com" ]
makino@pepabo.com
da144278f9b5122abe6a2ada6e8b937379d84335
9e643d565e38de1728eabf31304e7dcbdf3ebfdd
/Python/Django/manyToMany/apps/manyToManyApp/migrations/0001_initial.py
522b5d14fb92bd5b6297d49a27747de163be6a68
[]
no_license
joeyzoland/DojoAssignments
88dca37ad1d5b585a4af1dabc49935ef34adf6a0
0cae15aa448c490af931b41939638456456cef63
refs/heads/master
2021-01-11T17:55:13.775179
2018-09-17T07:32:12
2018-09-17T07:32:12
79,875,553
0
1
null
null
null
null
UTF-8
Python
false
false
1,308
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-23 16:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Intere...
[ "joeyzoland@gmail.com" ]
joeyzoland@gmail.com
fc3224cee8e0bbf961ab7c2a6c57029296d8cb27
c534bc4803aa6c191efc8d1562b3e1e4fb3bf689
/mustangroundup/apps.py
b9a43e621723cdfe9d828468454346bf217a47c4
[ "Apache-2.0" ]
permissive
Agentscreech/mustang-roundup
8b18be96ce2dcd763987bc843e686041f867e74d
1077ed67c7f198d2288553553f4ccac31979b055
refs/heads/master
2021-04-06T10:57:56.634956
2018-05-11T02:01:20
2018-05-11T02:01:20
124,710,693
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from django.apps import AppConfig class MustangroundupConfig(AppConfig): name = 'mustangroundup' def ready(self): from . import signals
[ "travis.walentin@gmail.com" ]
travis.walentin@gmail.com
e7d7859716360c2810a05219a324d9dfb4e0b73d
3adeb86bf163ffa3fc80d66454ca6fa884deeb25
/Temprorary/adb_tool.py
0840c4c061dcff3f553a1cc14b387694cc2d97ad
[]
no_license
SummerOcean/autoAPP
eebacdbe5fce2e3598121805f9db18a45abb7947
c6d13214190935cf111b654c14e0c4a52523c8ae
refs/heads/master
2023-03-09T05:09:52.173293
2020-12-23T12:42:40
2020-12-23T12:42:40
341,506,014
0
0
null
null
null
null
UTF-8
Python
false
false
28,399
py
# encoding: utf-8 """ # @author: 薛钦耀 # @E-mail: xueqinyao@dingtalk.com # @software: pycharm # @file: adb_tool.py # @time: 2020/3/4 18:51 # @project: ERP # @project: saleman_APP # @project: warehouse_PDA # @此模块提供:adb 工具类 """ import os import platform import re import time import utils.timetools class AdbTools(object):...
[ "xueqinyao@dingtalk.com" ]
xueqinyao@dingtalk.com
5c5b0bd6253cdaf85c6cc7a917501d4d07ad5459
7e4b2017d3530558a602944fd9dfc1f13cf4fe1c
/gameOfLife.py
992e8d8e35b55aa717edc9d174f9bf01aec9c472
[]
no_license
Dillonb/gameOfLife
5fc3ea658e1337aab7d8a53298ab1a7772e270ca
40c7dd58c0a3c4aea829be917f413e7306d914ad
refs/heads/master
2021-01-10T22:01:06.834572
2013-01-05T20:12:01
2013-01-05T20:12:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,241
py
import pygame import random import math import copy pygame.init() screensize = [800,600] screen = pygame.display.set_mode(screensize) screen.fill([255,255,255]) mainloop = True autorun = False fps = 60 generations = 0 gridsize = 60 def refreshGrid(): global grid, nextGrid, gridsize, ge...
[ "dillonbeliveau@gmail.com" ]
dillonbeliveau@gmail.com
766a9ff7a619ceeea50d1015ba64e5ec26cfc7e6
60ed2327a3ead99b0168ca361aa0bf5bbedad2ba
/morse.py
b12077c9ab67f7eebcede16944dd30bffb4b938b
[]
no_license
BatIgor/MainGit
d4e7c061b40ccf62c4aaad943bcc9c44e4f75aab
5a56c2378142cc749536a35feaeda1298c93de4a
refs/heads/master
2016-08-07T09:02:48.931723
2015-02-24T06:57:58
2015-02-24T06:57:58
25,722,216
0
1
null
null
null
null
UTF-8
Python
false
false
1,549
py
import RPi.GPIO as GPIO import time CODE = {' ': ' ', "'": '.----.', '(': '-.--.-', ')': '-.--.-', ',': '--..--', '-': '-....-', '.': '.-.-.-', '/': '-..-.', '0': '-----', '1': '.----', '2': '..---', '3': '...--', '4': '.....
[ "BatIgorIsOne@gmail.com" ]
BatIgorIsOne@gmail.com
f6e6920ed77e4cb0ea4d2e0e1a88523bff8dd0c4
f9811d17bc77392aa4d19cd454a782ae55fcebc5
/kenv/bin/twill-sh
3ce5f9bc9a2b59892c7b78a504149cf40049ff87
[ "BSD-3-Clause" ]
permissive
schiiz1/flask-kit
7416ed21ffa207c24ff547a7eb00ac6574230e4c
ec2ca2fb00ccf1e3c48028ec1b0d9da3c06d9b18
refs/heads/master
2021-01-21T00:36:09.971636
2013-09-28T18:22:01
2013-09-28T18:22:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
295
#!/home/cece/important/codes/flask/flask-kit/kenv/bin/python2 # EASY-INSTALL-ENTRY-SCRIPT: 'twill==0.9','console_scripts','twill-sh' __requires__ = 'twill==0.9' import sys from pkg_resources import load_entry_point sys.exit( load_entry_point('twill==0.9', 'console_scripts', 'twill-sh')() )
[ "dontaskcece@gmail.com" ]
dontaskcece@gmail.com
c3e36c0a497e93f9eb962d1a92c97efd69e6eb38
6163d7097ed2fb8fd2dc11e08d2c5a91ee1a882b
/Assignment1/204102311_SatyakiGhosh/(12)_complex_numbers.py
5d67153cfcb5d3a8d2bb555cb03bc78d8e25af85
[]
no_license
pankajiitg/EE524
a7f47b4e21e33bbdfdffda9a6e035e57a28540d4
7c40ed3c973082f13007db23d3a79562f682f27f
refs/heads/master
2023-01-22T16:07:37.439674
2020-10-10T17:19:15
2020-10-10T17:19:15
299,058,223
1
0
null
2020-12-04T18:10:45
2020-09-27T15:12:27
Jupyter Notebook
UTF-8
Python
false
false
1,133
py
import cmath class Complex_Numbers: def __init__(self,value): self.cmplx=value def conjugate(self): c=self.cmplx x=c.real y=c.imag return complex(x,-y) def absolute_value(self): return abs(self.cmplx) def add(self,other_no): return self.cmplx+o...
[ "noreply@github.com" ]
noreply@github.com
8e7299dd2aad37517c5c310a5577872623ee04aa
2852e55840f9b80bc0e3d37707962589ba4f6841
/unit_converter.py
989f9e31f799aa9fc038ff50f54c3d4c42ad0e32
[]
no_license
scotttgregg/full_stack_bootcamp
2d55809c36f6e88cecbf47e37d0e6f4ea6487238
db50823dec8e678361c604cf36f5fcbfcb21ca1e
refs/heads/master
2020-03-07T23:57:02.511858
2018-04-04T19:11:18
2018-04-04T19:11:18
127,794,383
0
0
null
null
null
null
UTF-8
Python
false
false
1,670
py
# # unit_converter distance = float(input("What is the distance?\n")) input_unit = input("What is the unit?\n") output_unit = input("what is the output unit?\n") def feet_to_meters(): return distance * .0348 def km_to_meters(): return distance * 1000 def mi_to_meters(): return distance * 1609.34 def m...
[ "scotttgregg@gmail.com" ]
scotttgregg@gmail.com
4deec08548750a09067311640ad0f0451de8e00c
20aa496f212f9ad4febfe48a8ab0553cf3757d95
/problems/remove_nth_node_end.py
2a0cb31b55dc023aa0e49dc42dd00af312c00923
[]
no_license
hungnb31/leetcode_practices
538c016408dbf3c97545eadcd1c106c188d0cf63
e1146d990bec25dbae2bd691317e2a948f3882c2
refs/heads/master
2023-06-02T06:11:27.899767
2021-06-14T16:33:50
2021-06-14T16:33:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, val=0, next=None): self.val = val self.next = next class Solution(object): def removeNthFromEnd(self, head, n): """ :type head: ListNode :type n: int :rtype: ListNode """ ...
[ "nbhung189@gmail.com" ]
nbhung189@gmail.com
7b8acd9d6cdc943d7c0a08b177749f2e34291015
eea113ed18deed6365ae3aa61c6d13da38ceae7e
/listelement/migrations/0001_initial.py
445c1aeacbe7fc30b3d90d57682be820cd0635ba
[]
no_license
vhalvarez/django-vue
754ddf0628a7cb14a4840a9eb2b9f2eed8cd37d6
42a136061cee59b834ff5e7220d8774113803e89
refs/heads/main
2023-08-27T19:49:50.492781
2021-11-08T15:57:24
2021-11-08T15:57:24
425,902,008
0
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
# Generated by Django 3.2.9 on 2021-11-08 15:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ...
[ "alvarez.programmer@gmail.com" ]
alvarez.programmer@gmail.com
5c9907e3fbe8731805a65d404099833b1adbf9a0
c37724c911895f27dc0a0eb0ce9344e12e1f8574
/week1.py
52531c79f410e41a60a82d3458a1d4eb8af0d7f1
[]
no_license
kelvin926/korea_univ_python_1
4dbc59695ae4dab59e629bf7bc64199814a9e399
399622d18219c53612391f49baa84e773e6ae3bf
refs/heads/master
2023-06-01T09:26:44.059294
2021-06-07T19:26:21
2021-06-07T19:26:21
350,217,411
2
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
# print("hello") # a = input('a =') # print(a) # print(input() + "을 입력하셨답니당") # a = 1 # id(a) # type(a) # age = input("나이?") # print(age) # kk = 3 # print(kk) # id(age) # id(kk) # ll = input() # print(ll) # id(ll) # c = 3 # d = 3 # print(id(c)) # print(id(d)) # import keyword # print(keyword.kwlist) # s = "python" # p...
[ "kelvin926@naver.com" ]
kelvin926@naver.com
96ef25c541ae0e163f6224cb39ae094fe2d4ecef
352adcdfe8ad0c18ea2dce50f7e910d66b04c6b5
/BuildServer/utils/normalize_packagefiles.py
5e2c1eea1fea0a19ab19cce6ea96881902bd00bf
[]
no_license
IBT-FMI/NeuroGentooProject
174a033fc0165ab87df99c5368403af9658f28b5
5985a7857e3bb702d89baaa9d8a0328a89bf5867
refs/heads/master
2021-09-21T00:44:10.657602
2018-08-17T20:07:44
2018-08-17T20:07:44
104,134,315
0
0
null
2018-01-24T12:40:53
2017-09-19T22:09:14
Shell
UTF-8
Python
false
false
541
py
#!/bin/env python3 import portage.env.config as pec import sys dict={} type=sys.argv[1] if type == "mask": type=pec.PackageMaskFile elif type == "use": type=pec.PackageUseFile elif type == "keywords": type=pec.PackageKeywordsFile elif type == "unmask": type=pecPackageMaskFile for file in sys.argv[2:]: pf=type(...
[ "schmidom@student.ethz.ch" ]
schmidom@student.ethz.ch
97be3b993b4f278ccdd868203a24902e3bcbe2bc
fff80cdaf12712704f36038479f50418253f42f3
/openbmc/common/recipes-rest/rest-api/files/node_bios.py
5541e54e2f792c8d93e5251ae2259776849425c1
[]
no_license
rudolfkopriva/Facebook
1ea0cfbc116f68ae0317332eeb9155461af5645a
56e4c6a83f992bb01849ad353004b28409e53eef
refs/heads/master
2023-02-14T01:54:36.519860
2021-01-05T02:09:26
2021-01-05T02:09:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,158
py
#!/usr/bin/env python import os.path from node import node from pal import * IOM_M2 = 1 # IOM type: M.2 IOM_IOC = 2 # IOM type: IOC PLATFORM_FILE = "/tmp/system.bin" def get_iom_type(): pal_sku_file = open(PLATFORM_FILE, "r") pal_sku = pal_sku_file.read() iom_type = int(pal_sku) & 0x3 # The IOM typ...
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
8d24cc2d78f5fd39172d51acefe72ccc68acd70a
c769535cfc2941952dd9d086bd7f2295fa37beea
/Problem Solving/Udemy/Practice 86. How to display Error message for non existed files.py
01fda31faf72751479f6a4ffd393d5934a437768
[]
no_license
kgpyi/python
8af2a3f98cc1817e9688b314f9a1e6ff774f70c2
f54363e49a7d016454b9394fdb55212c6f9ee580
refs/heads/master
2023-01-03T17:04:29.484618
2020-10-26T22:54:33
2020-10-26T22:54:33
307,523,154
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
fp = input("Enter file path: ") try: file = open(fp) except FileNotFoundError: print("Error! This file path does not exist.") else: print(file.read())
[ "hssunami@gmail.com" ]
hssunami@gmail.com
632f50ce657bd31338db5ba020bec2b0f1357596
6e155cd7444e69b719d129e9dcaed2b788d4359b
/shop/shop/celery.py
2582d795673aac826732cb8f19387b7702df0cf7
[]
no_license
tishmanoni/My-store
0ac1beb26fd4c3176f90346b23b9e9c955e90729
79bec452be871089edd6415b00bd094dc6288443
refs/heads/master
2022-12-06T05:33:21.163835
2020-08-29T19:39:45
2020-08-29T19:39:45
291,334,250
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
import os from celery import Celery # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'shop.settings') app = Celery('shop') app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks()
[ "66375712+tishmanoni@users.noreply.github.com" ]
66375712+tishmanoni@users.noreply.github.com
dcefd9f8f4a93157e0c78fb7e7a879a96c1b190a
5fe8b2e09a48b473cc28a4ba56e96075af945d07
/app_Bananapi-M2p.py
2af89937507c6029f1540089b20c073d465764e6
[ "Apache-2.0" ]
permissive
stozk/msb-client-websocket-python
bf2821593386aa02b9f53069d72ec5dae98f3335
2c5dacaa27b2a5b543ba8693ca888ddd5dc46e38
refs/heads/master
2023-04-06T18:10:30.968152
2021-04-07T19:14:32
2021-04-07T19:14:32
275,241,849
0
0
Apache-2.0
2020-06-26T20:29:16
2020-06-26T20:29:15
null
UTF-8
Python
false
false
11,372
py
# -*- coding: utf-8 -*- """ Copyright (c) 2019 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA) Authors: Daniel Stock, Matthias Stoehr Licensed under the Apache License, Version 2.0 See the file "LICENSE" for the full license governing this code. """ import datetime import threading import uuid ...
[ "daniel.stock@ipa.fraunhofer.de" ]
daniel.stock@ipa.fraunhofer.de
18266e011e33f769d47826ae713896b03fa623ed
ceecc742e744505f7a2d57c6d06eb1c145da539d
/ltsm/lstm.py
5d7c8f544e23d8265e2d2f8620df86b89c1bf930
[]
no_license
ndingibr/ltsm
b709466f5df67751c2a57c407902d4fe33b8693b
6429e40fbe1c88b459ab6b84cb96b3b10550a787
refs/heads/master
2023-03-31T18:25:55.040560
2019-06-05T09:59:41
2019-06-05T09:59:41
190,370,797
0
0
null
2023-03-24T21:55:12
2019-06-05T09:57:44
Python
UTF-8
Python
false
false
5,513
py
import os import json import datetime import pandas as pd import numpy as np import matplotlib.pyplot as plt from core.data_processor import data_processor from core.model import model from sklearn.preprocessing import MinMaxScaler from sklearn.metrics import r2_score def main(): configs = json.load(open('co...
[ "noreply@github.com" ]
noreply@github.com
b50310ac4f276484c335b80e242918ef1d820838
d29eb63a0f89ebfd195e629bf010868802845bb8
/BACKEND/i2c.py
c158535d2c342fbabb1d97495fe6b5727c0f2060
[]
no_license
corneliscasper/project
ae1ea12196f70ece0bc9da867d52af01fbc043da
c9e0151b4c190df80db0a77a4087c922f1d0ab6e
refs/heads/master
2022-11-09T04:02:11.967320
2020-06-16T14:05:19
2020-06-16T14:05:19
267,550,367
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
import smbus from time import * class i2c_device: def __init__(self, addr, port=1): self.addr = addr self.bus = smbus.SMBus(port) # Write a single command def write_cmd(self, cmd): self.bus.write_byte(self.addr, cmd) sleep(0.0001) # Write a command and argument def write_cmd_arg(self...
[ "casper.cornelis@student.howest.be" ]
casper.cornelis@student.howest.be
26dd6edfa365858aaeb16e66eb84b35a578f409b
f9abb45e40220f435630695abc5ae784cb805254
/src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/main/python/scripts/red_modules.py
144b9ec187f53dcead24605c9566a0f60eb9282f
[ "Apache-2.0" ]
permissive
Paramashiva/RED
a05386468e5854235e74f6b8e92c3281c56d72b5
bc91515284442feb37bd1db374310ccf0d654454
refs/heads/master
2020-03-24T17:45:21.659474
2018-06-18T13:56:24
2018-06-18T13:56:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,070
py
# # Copyright 2016 Nokia Solutions and Networks # Licensed under the Apache License, Version 2.0, # see license.txt file for details. # def get_modules_search_paths(): import sys import robot # Robot will add some paths to PYTHONPATH return sys.path def get_module_path(module_name): import imp ...
[ "modrz@users.noreply.github.com" ]
modrz@users.noreply.github.com
7997ca20533e73e6a379dfcf4dd3282002852b22
62e1d914fa8785136d27c7351ff95fd5d8780b82
/core/admin.py
8157a9e69a8b7d3fcd45bd5f5a620964acc1a185
[]
no_license
FernandoNici/agenda
8ba25793cfe108852ffff2a385f8704e1889f350
efc040512743e905030abd55ee10d713ab767c9f
refs/heads/master
2022-05-22T00:36:30.459064
2020-05-01T18:07:14
2020-05-01T18:07:14
258,665,308
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
from django.contrib import admin # Register your models here. from core.models import Evento class EventoAdmin(admin.ModelAdmin): list_display = ('id', 'titulo', 'data_criacao', 'data_evento') list_filter = ('titulo', 'usuario',) admin.site.register(Evento, EventoAdmin)
[ "fernando.nici@gmail.com" ]
fernando.nici@gmail.com
079530b221e8520dbec1afc70e82ce7bd75f45fa
786de89be635eb21295070a6a3452f3a7fe6712c
/CalibManager/tags/V00-00-34/src/GUIMetrology.py
4a583bd900a6318fb105b38bb6814264be14a4b0
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,961
py
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # Module GUIMetrology... # #------------------------------------------------------------------------ """Renders the main GUI for the CalibManager. This software was developed for the ...
[ "dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
dubrovin@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
4f21cc8ad151a60f883a38689c27e520a45da35f
44413721791e00e5e0d728d2063cce9d072680bc
/env/bin/jupyter-run
d9f7fbc646cb396d16e13ba97ee516a6d2e357f6
[]
no_license
andriyka/term-extraction-and-ontology-learning
5174ba52db93bc3dd22b75a41c998c5e23a3bcd5
2fa478f1f6f28949d461331f6e8348f86bd344e1
refs/heads/master
2020-03-21T19:05:07.755413
2018-07-09T16:46:58
2018-07-09T16:46:58
138,929,875
2
0
null
null
null
null
UTF-8
Python
false
false
278
#!/home/ankus/Documents/ucu/terms/ate/env/bin/python # -*- coding: utf-8 -*- import re import sys from jupyter_client.runapp import RunApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(RunApp.launch_instance())
[ "ankus@ciklum.com" ]
ankus@ciklum.com
5490642f0d814cac8828eee54583a3bcdd470589
eb5a845f144fbc4e1076deded9a8f15c3b77512f
/logic/asignacion.py
67226121f415bc3281511fddc71f096b2494fa85
[]
no_license
johncardozo/chorario
619afa8fb018e6d5cbadfac24bd5210f33151713
fbbf43a9c51312bb7a310d9106d4bfcbd4fcb692
refs/heads/master
2023-06-27T00:05:35.071031
2021-07-28T04:19:28
2021-07-28T04:19:28
392,017,423
0
0
null
null
null
null
UTF-8
Python
false
false
4,361
py
from .globales import obtener_numero_dia def asignar(lista_cursos, lista_profes): ''' Asigna los cursos a los profesores ''' # Recorre los cursos for curso in lista_cursos: # Recorre los profesores for profe in lista_profes: # Obtiene el tipo de profesor t...
[ "johncardozo@gmail.com" ]
johncardozo@gmail.com
cefc100e75066c2549e6292c5c94cabeb1551849
a2389673b5452a1920cf02df44a522ef390d2a69
/ImageLoader.py
d20c3f6a8a9c5f2f130a513d6c1627310cc7356b
[]
no_license
cbelangerstpierre/Dinosaur_T-Rex_Game
c3bf37c2209a6b614b4a9f047286be7d98888ae8
2b1eb7e0048e8558c259453617781bcf2b75e6ba
refs/heads/main
2023-06-26T18:05:53.845161
2021-07-13T18:24:39
2021-07-13T18:24:39
385,103,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
import pygame import os import MainWindow class ImageLoader: DIR_ASSETS = "assets" DIR_IMAGES = "images" # Background images BG = pygame.transform.scale( pygame.image.load(os.path.join(DIR_ASSETS, DIR_IMAGES, "white.jpg")), (MainWindow.MainWindow.WIDTH, MainWindow.MainWindow.HEIGHT) ...
[ "cedricbstpierre@yahoo.com" ]
cedricbstpierre@yahoo.com
00779cff775c9bac89ae3297326dbe31f7d95861
00eeaf221e1e62f59132d461795edabbb75d5e39
/connectivity_trial.py
765af20606667b2ecfda4c7dae3baf03fd06a60d
[]
no_license
ShivaniThakare/MusicRecommendation
dda9a64dd7a7327df3be6540834798cca7e9faa9
f6c62ca9db72d3b83dd679d346d13909fcce4c52
refs/heads/master
2023-05-04T20:30:51.132210
2021-05-15T11:02:40
2021-05-15T11:02:40
367,607,513
1
0
null
null
null
null
UTF-8
Python
false
false
10,816
py
# -*- coding: utf-8 -*- from flask import Flask, render_template, request, redirect, url_for, jsonify from flask_mysqldb import MySQL from datetime import timedelta import random import os import sys from music import Music from the_user import Myuser import numpy as np import time np.set_printoptions(threshold=sys.m...
[ "thakareshivani444@gmail.com" ]
thakareshivani444@gmail.com
e6f3d7c3ba67ddac6b6adb028bb8489957cda513
4f1cebe6cbbe9a1402e5d747ca166249e60b733c
/mysite/ehealth/consumers.py
e0e115a9974185b2664fda76e64416dd52accfc1
[]
no_license
GalaxyBound/HealthApplication
74da5c8e238654d9f9026a53692af19e3ea941e6
c800485b25cf5255229d24988a10c79351059791
refs/heads/master
2020-03-27T08:24:06.807515
2018-10-29T02:20:55
2018-10-29T02:20:55
146,250,710
2
0
null
2018-10-29T02:20:56
2018-08-27T05:28:18
JavaScript
UTF-8
Python
false
false
806
py
from channels.generic.websocket import WebsocketConsumer import json from asgiref.sync import async_to_sync class VitalsConsumer(WebsocketConsumer): def connect(self): async_to_sync(self.channel_layer.group_add)( 'vitals', self.channel_name ) self.accept() def d...
[ "josh@infinx.com.au" ]
josh@infinx.com.au
f5e51b2d85c0f977f3d3f7c2ae50bde80a6b674a
61ac84c86d086e630cbe3a81e9930f71b1198329
/python/z3/z3.py
70dcb158ef1afa09c4feee02e6d59d4746fb87fd
[]
no_license
rosstex/516project
8c3f8b2edf6a54e73b9d40465da7e1d91ae92b21
e3bac97d9ee33124c8ef6a3eb01bb15fca0478ea
refs/heads/master
2020-04-07T10:53:49.211809
2019-01-15T21:59:44
2019-01-15T21:59:44
158,304,522
1
0
null
null
null
null
UTF-8
Python
false
false
303,889
py
############################################ # Copyright (c) 2012 Microsoft Corporation # # Z3 Python interface # # Author: Leonardo de Moura (leonardo) ############################################ """Z3 is a high performance theorem prover developed at Microsoft Research. Z3 is used in many applications such as: so...
[ "rapt@cs.princeton.edu" ]
rapt@cs.princeton.edu
c45cf427c9cf9cbc40a8acfde513ec9d8c16e029
b469cadf70bd6286d5c18847f033990ca88910d1
/mes_from_cpmd/cal_cube_from_wan_for_dens.py
09b4b7d3552f06f0fe3205d4c8e3a3fcccc4f9fe
[]
no_license
chdressler/MES_from_cpmd
bf2ef68b19af147342ee9422a6d96452f6c93344
a70d31b9fa2a63b6a39811d74e30be76f4eefaf8
refs/heads/master
2023-08-25T10:48:16.153154
2021-11-09T15:04:54
2021-11-09T15:04:54
388,055,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,214
py
import numpy as np import ipdb from mes_from_cpmd.misc import git_control import numpy as np import os import sys import argparse import subprocess def main(): print("command line:") print(sys.argv) git_control.get_git_version() parser = argparse.ArgumentParser('converts CPMD DENSITY...
[ "christian.dressler@chemie.uni-halle.de" ]
christian.dressler@chemie.uni-halle.de
71d3f03e8c8b134d94333037096cdf1cf2eb937e
fc556324a0803bdfbee9179cf472a1a38cc207ac
/TestSignInLottery/test_signin.py
51aa7578b028240d797e4f3a093e363734c4d1c0
[]
no_license
lele1120/testAuto
b7c2d6dd3817efa87f4bb6b1a044a75bbe5ced86
9e9f413a99078241f7200a779cc29c77a03fb56c
refs/heads/master
2020-04-05T10:22:23.792060
2019-04-08T01:14:56
2019-04-08T01:14:56
156,796,174
6
0
null
2019-01-23T07:19:18
2018-11-09T02:05:54
Python
UTF-8
Python
false
false
13,973
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import import re import time import pytest from os import path from Params.params import get_value from Common import Operate from Common import Consts from Common import Assert import sys test = Assert.Assertions() action = Operate.Operat...
[ "357072695@qq.com" ]
357072695@qq.com
aba6226994ff403bbe174e0bd632eb8ba130dcd3
671aad3a211344d1832183ddfb10cc8a8c6110ff
/python3/prime_number.py
2dd8ba5c6fb4ba8a454439cdb4b5032cf4462eb2
[]
no_license
WhiteRabbit82651/study
ac6862d51c2f9684b3d662c5561dd6a58b1c3b07
2b595b3fdf770dda9c0c2854716ae9fcfd9c6316
refs/heads/main
2023-07-21T22:27:00.461341
2021-08-22T02:41:44
2021-08-22T02:41:44
309,523,599
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
#encode:utf-8 # 素数を計算する # 冗長な気もするけどコンテストに出るわけでもないので吉とする cnt = 0 for n in range(99999): if n > 1: for x in range(n+1): if x > 1: ans = n % x if ans == 0: break if n == x: cnt += 1 print("%dth is %d" % (cnt, n))
[ "parvati@kali" ]
parvati@kali
d4e499c20fc433e7ece9d2ba14bde83e473bf504
3195582a3b39fbd3e710fc20a05917d3ce0812a3
/Python/Sets/set_union.py
9991754e89fb9308214b24dac6d02de48ef8b05b
[ "MIT" ]
permissive
rho2/HackerRank
1f2dba2b8918fa0600d3ccaf31a53deeddac2415
4d9cdfcabeb20212db308d8e4f2ac1b8ebf7d266
refs/heads/master
2021-01-18T17:02:41.568504
2018-01-06T20:21:49
2018-01-06T20:21:49
68,400,463
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
_ = input() n = set(input().split()) _ = input() b = set(input().split()) print(len(n | b))
[ "rho2@robin-manjaro.Speedport_W_921V_1_39_000" ]
rho2@robin-manjaro.Speedport_W_921V_1_39_000
4c5174f549cbf5f655c5447974a3e066f35dc33c
67300733102a5a32b2977770be2cedc4630b0113
/falsification.py
3fc55147688a42496371c303f5e564d8d577a408
[]
no_license
GaiaSaveri/CPS-Project
ce61a01952cfee569eb7af8b839381f872f27291
95db6a606c011c11efb72504f2904e7061571e51
refs/heads/main
2023-06-02T20:35:41.758591
2021-06-14T17:01:28
2021-06-14T17:01:28
376,894,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
import os os.environ['JAVA_HOME'] = "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home" from moonlight import * from stl import monitor_steady, diff from experiments import ekf, t, save, load from mpc import * def falsification(N, ref): cstr = CSTR() minSTL = float('Inf') dict = {} f...
[ "noreply@github.com" ]
noreply@github.com
c0f5bba099980515291045f96ed84d08451afe1d
72ed71cb73c8990a29fa042c8f6e962bf19aa3ae
/ff.py
a276a8b59dd6c7f149b8707d67825bb126dcf765
[]
no_license
MURHAF-ELMASRI/game
c63c1c6368c630a9eef316ecfe066120e2ec1651
3c681eccfddd9ea12b982b85ed19911a2079ce00
refs/heads/master
2022-09-26T12:27:14.438697
2020-06-09T13:56:51
2020-06-09T13:56:51
269,734,028
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
def longWord(s): repet=[-1]*(128+32) temp=0 best_w_len=0 beg=0 s+=s[0] s=list(s) i=0 while(i<len(s)): #print('9 line', s[i],repet[ord(s[i])]) if(repet[ord(s[i])]!=-1): x=repet[ord(s[i])] if(temp>best_w_len): #print('temp',temp) ...
[ "murahf@gmail.com" ]
murahf@gmail.com
48c467558080e77284bd7bbee50be92fe958fe57
939a0bd95bb9a39ce0885146bf2affc1565e64bf
/recipe/migrations/0011_auto_20210324_0805.py
3c7e32c8eae03866986d52bc04fed6e8b741f330
[]
no_license
sho25052007/quook_recipe_app
073b2902d6d00b9e345366a59e3e724488dc77a4
43dfb202d03ebffb56a3433fb441d737e56d16f0
refs/heads/main
2023-04-03T16:14:13.419087
2021-04-06T14:11:44
2021-04-06T14:11:44
345,418,534
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
# Generated by Django 3.1.7 on 2021-03-24 08:05 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipe', '0010_auto_20210324_0803'), ] operations = [ migrations.AlterField( model_name='recipe', ...
[ "sho25052007@gmail.com" ]
sho25052007@gmail.com
481bfcb9d763bdb166823bdebb2dfcddf686ee0e
20780f8619ae61efe55f59417e0014c391bcff1a
/src/numpy/ndchar.py
7abc216d08f34c6a26142ba6caedbb79b271fe93
[ "Apache-2.0" ]
permissive
mumupy/pythonlearn
e694fd4fb915c90792db30f8090f370acb3ac68e
5be03d156f11af2467a6052a476de4b706f7d53a
refs/heads/master
2020-03-23T17:26:09.811562
2019-09-22T06:21:17
2019-09-22T06:21:17
141,859,868
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/9/20 18:53 # @Author : ganliang # @File : ndchar.py # @Desc : 数据字符 import numpy as np print np.char.add("baby", "mm") print (np.char.add(['hello', 'hi'], [' abc', ' xyz'])) print np.char.multiply("baby", 10) print np.char.center("baby", 10, ".") ...
[ "lovecws" ]
lovecws
0d1cb7925a58261d9e23d04bfa835151026b290e
d968882c6bdecb2347307aea7381b9495911a0a6
/microconventions/type_conventions.py
743a0db4e8a8e19220b9f89b9415898b16077566
[]
no_license
fagan2888/microconventions
a070bddf94c0788ed4ff3ab31941d0daccf30fd5
037f9fcc67caa28916c6b81f4742a68afaf296b0
refs/heads/master
2022-11-10T21:52:53.632179
2020-07-02T14:28:59
2020-07-02T14:28:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
from typing import List, Union, Any, Optional KeyList = List[Optional[str]] NameList = List[Optional[str]] Value = Union[str,int] ValueList = List[Optional[Value]] DelayList = List[Optional[int]]
[ "info@3za.org" ]
info@3za.org
59d2b6f6ff978db7cf306d41680e2b1d011ce9fd
74eb5e80565ebc5900ff3bd59cee78e7403a8827
/multiprocess/whateveryouwant.py
a9f3aadb2c64a6cad7a770756e2dcbbe12937407
[]
no_license
qcurteman/memory_manager
bdc235ece0553d9cc1a6af578b769eac8f23b90a
172cb718454503775ed1580585a1eb3c5d761194
refs/heads/master
2020-03-31T10:12:52.764510
2018-10-24T18:03:15
2018-10-24T18:03:15
152,125,971
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
from multiprocessing import Process import os import numpy as np column_size = 8 row_size = 4 memaa = np.empty(shape=(row_size, column_size), dtype='int8') def modifyprint(arr, vv): rsize = arr.shape[0] csize = arr.shape[1] for r in range(0, rsize): for c in range(0, csize): arr[r,c] ...
[ "qcurteman@gmail.com" ]
qcurteman@gmail.com
0a7dd1186e8d62b8c4d4c592dffc1bda1f51539f
98f042865b5ffb11b16331d4b8f732b512fca527
/resources/basic_resource.py
b4b2558940997365b4d24e3799b7c30107bf591c
[]
no_license
wesleybez/mfa_iot_lpwan
53707daf6efaa83287774e52de45ac6d0b764918
137ada07fceeb27abe52b77740017f95a59ba8a4
refs/heads/main
2023-04-28T12:26:43.240931
2021-05-11T22:43:13
2021-05-11T22:43:13
327,968,205
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
#https://github.com/Tanganelli/CoAPthon from coapthon.server.coap import CoAP from coapthon.resources.resource import Resource import logging logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__) class BasicResource(Resource): def __init__(self, name="BasicResource", coap_server=None): ...
[ "wesleybez@gmail.com" ]
wesleybez@gmail.com
2541bc3717df13f38034e534423c96eec29b2d31
9cadeb694a677c4ad567d514eee042891c65eeaf
/apiServer/wsgi.py
64aabb0e27969ed54fed3cc2e2a79148e4e57375
[]
no_license
epikjjh/Stock-Seeker
b8267fda13df6579f3883f66f94007d6ca11187a
934d97c0ceb89c1fcdfb469c1807d09c2671cc67
refs/heads/master
2022-12-22T23:38:24.947593
2020-09-22T11:50:56
2020-09-22T11:50:56
297,632,451
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for stockSeeker 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_S...
[ "epikjjh@gmail.com" ]
epikjjh@gmail.com
2ca74b87fb00d97fdb9b1cd2746f2e542e60938b
b65c1f6000af4ddeb7280e7d93bf861fbf1964bc
/contracts/tests/test_load_data.py
e385455a7533122a2a8978adbb1a3792d745a638
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
EricSchles/calc
ef00aaddfec010321867a8287db0a565dbb7985e
eaa1ab227a5a07f5f4f7d2c64a278977cd43cb18
refs/heads/develop
2021-01-25T14:33:58.124300
2017-10-11T19:29:20
2017-10-11T19:29:20
72,668,485
1
0
null
2016-11-02T18:17:57
2016-11-02T18:17:57
null
UTF-8
Python
false
false
483
py
import pathlib from django.core.management import call_command from django.test import TestCase from contracts.models import Contract MY_DIR = pathlib.Path(__file__).resolve().parent class LoadS70TestCase(TestCase): sample_filename = MY_DIR.parent / 'docs' / 'hourly_prices_sample.csv' def test_loads_sample...
[ "varmaa@gmail.com" ]
varmaa@gmail.com
49ea9ed475b06f56c31886fdda4e54704aaed67f
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/uyw.py
29818697f710297c138205642ed9c41a60d45a3c
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
52d071b4aa727cef03dc1e3903b86700548018c9
03e09a951833e68a10113ed826deca132c1180a8
/instagram.py
efd87765dc5fb4ec308e2697b902f2b6be49c3f4
[]
no_license
Jonny1426/Instagram-automate-user-actions
8e99d94198d1643c46a3bc868db86e95df150317
5df3ce76be7f76690ec777a9fbc2303340655bea
refs/heads/master
2020-06-23T16:42:22.699772
2020-01-19T13:58:40
2020-01-19T13:58:40
198,683,603
2
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
from instapy import InstaPy from instapy import smart_run ''' Dados do Usuario ''' insta_username = input(str("Username: ")) #Nome do usuario insta_password = input(str("Password: ")) # Senha do usuario '''Inicio de sessão no instapy ''' session = InstaPy(username=insta_username, password=insta_password, head...
[ "noreply@github.com" ]
noreply@github.com
dba58d500dc281d3b42ffe31ba813201ef1ff43f
e4abeab73f2aa2de037aa84d195dce986af5208a
/lmp/script/sample_from_dataset.py
758446f580908db34133a1f847dfbd2745eb7d72
[ "Beerware" ]
permissive
france5289/language-model-playground
1792fc712bace3ca3e7a0b8b3ba4745b2d6c9b5c
02181561107dac13d52e411bc970e245277854d4
refs/heads/main
2023-08-07T01:59:56.928232
2021-09-22T06:57:28
2021-09-22T06:57:28
409,092,012
0
0
NOASSERTION
2021-09-22T06:39:53
2021-09-22T06:39:52
null
UTF-8
Python
false
false
2,896
py
r"""Sample dataset using index. Tool for observing data point in specified dataset. Use index to sample from dataset. See Also ======== lmp.dset All available dataset. Examples ======== The following example sample index ``0`` from :py:class:`lmp.dset.WikiText2Dset` ``train`` dataset. .. code-block:: sh py...
[ "ProFatXuanAll@gmail.com" ]
ProFatXuanAll@gmail.com
a94e89fe8281b9012860d68a54eeebca40b932e7
671132fe2df0ac6359cf89fb5dd66ed107643456
/Chapter03/timeSeries.py
cd577937ac439401a5f7b5cd305ea6af917e154a
[ "MIT" ]
permissive
allen-zqh/plotly
0e0814b6bc95856cba00c4c8dc37bf824d6e8409
bcaf0930901e77db07245b63bff049eb75893416
refs/heads/master
2022-11-22T09:23:17.027977
2020-07-27T07:13:03
2020-07-27T07:13:03
282,809,802
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
import plotly as py import plotly.graph_objs as go from datetime import datetime # ----------pre def pyplt = py.offline.plot # ----------code x_datetime = [datetime(year=2013, month=10, day=4), datetime(year=2013, month=11, day=5), datetime(year=2013, month=12, day=6)] x_string = ['2013-1...
[ "allen_zqh@bupt.edu.cn" ]
allen_zqh@bupt.edu.cn
7fc845ff7f633ccceb024e13feab6eda8d83a5c1
aac1b8efaeccc544d229aa52093a36802250b4cf
/pre/python/lib/python2.7/dist-packages/twisted/conch/test/test_ckeygen.py
41a02083ab4cf574d9e9fe70617cab39af519f8c
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ag1455/OpenPLi-PC
4f63bbd389ff9604ab7aaf72d10ee6552b794c87
256401ac313df2e45c516af1a4d5398f54703b9c
refs/heads/master
2023-08-22T18:20:07.491386
2023-08-14T17:29:59
2023-08-14T17:29:59
233,239,212
27
22
null
2020-12-28T22:09:26
2020-01-11T13:50:25
Python
UTF-8
Python
false
false
20,281
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for L{twisted.conch.scripts.ckeygen}. """ import getpass import sys import os import subprocess from io import BytesIO, StringIO from twisted.python.compat import unicode, _PY3 from twisted.python.reflect import requireModule if requ...
[ "a.g.prosat@gmail.com" ]
a.g.prosat@gmail.com
ac92840d81b09de0258ab555bab204bc20403d4c
d23da78d6c6d127c9c1df92850195613adc208b3
/reversebyrecursion.py
c258c0f18dcb06a4c47a2a5e8cca0704b9ed1779
[]
no_license
P-Madhulatha/become-coder
9cea9dc09a72346982c22f7970b09c0c9643520c
19be34b7f90c82abb32295ad1c655669ad8641ae
refs/heads/main
2023-05-08T21:10:26.813985
2021-06-10T07:22:53
2021-06-10T07:22:53
369,201,855
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
def rev(num): if num==0: return 1 return (num//10)*10+(num%10) num=int(input()) print(rev(num))
[ "noreply@github.com" ]
noreply@github.com
e53f286f2ec166822f7132bd7d8b9537d365ae4d
52c160960fe24e8294b27be1728013bb48d5c270
/scripts/install.py
88c87ab86474cccd80a0c648c31f880bab5687c1
[ "MIT" ]
permissive
vchrisb/vagrant-scaleio-aws
9ed038a42b0dfbf62d8c5a0677436ce1cd3f18c6
e4e5887aa871cb0578485ac7571bc0788c2bfa10
refs/heads/master
2020-05-16T23:42:39.379182
2015-09-01T07:07:56
2015-09-01T07:07:56
40,844,858
1
1
null
null
null
null
UTF-8
Python
false
false
5,777
py
#!/usr/bin/env python from scaleiopy import im from scaleiopy import scaleioobject as sioobj #from scaleio import installerfsm as instfsm import time import json from pprint import pprint import argparse parser = argparse.ArgumentParser() parser.add_argument("--nodeUsername", metavar='USERNAME', required=True, help=...
[ "vchrisb@users.noreply.github.com" ]
vchrisb@users.noreply.github.com
d38ad13d5b90a52d56ed6d9da5384a5f4df4d21f
746bf62ae3599f0d2dcd620ae37cd11370733cc3
/leetcode/spiralmatrixtwo.py
c0075822c99847054ebdbfc8e1a03cd68cd9c653
[]
no_license
wanglinjie/coding
ec0e614343b39dc02191455165eb1a5c9e6747ce
350f28cad5ec384df476f6403cb7a7db419de329
refs/heads/master
2021-04-22T14:00:48.825959
2017-05-02T12:49:05
2017-05-02T12:49:05
48,011,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,106
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # date:20160711 class Solution(object): def generateMatrix(self, n): """ :type n: int :rtype: List[List[int]] Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3, You should ...
[ "hitwhwlj@163.com" ]
hitwhwlj@163.com
db39ab194ef50c47dac4933b268bd54e7709502b
c4c79211b126a9a77c129f309873625cd7be0537
/resume-analyzer/resume/urls.py
b05f4f0570ef5a6b40266367303f7e0f450f5259
[]
no_license
joonyi/Django
77dd29df9f824255e90a307f8ece810d0ba09417
b5d9b0a8ce1a7afe0cf8bd039156842775c574dc
refs/heads/master
2022-05-05T01:22:48.387066
2022-04-06T12:25:57
2022-04-06T12:25:57
221,844,523
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
from django.urls import path from rest_framework.urlpatterns import format_suffix_patterns from .api import ResumeList, ResumeDetail, ResumeAuthentication # from resume import views urlpatterns = [ path('', ResumeList.as_view()), path('<int:company_id>/', ResumeDetail.as_view()), path('auth/', ResumeAuthe...
[ "joonyi2011@gmail.com" ]
joonyi2011@gmail.com
cfebc0cf1762c76051bc5679deb3514b327202f2
497a0de6c7be6d2c4f2620fef365ad27715cd1d7
/parser.py
46c7ce84e1013644c9d1ec285ae34d2a5fd9b09f
[]
no_license
kuzmik/whatsapp-parser
59fe3f0a7139a25aa5512e4b1f35f0a5ed128b98
f505b215c090d7b69b9a565816a5eafddf6117b0
refs/heads/master
2021-01-15T21:30:36.167180
2017-08-10T03:01:02
2017-08-10T03:01:02
99,871,503
0
0
null
null
null
null
UTF-8
Python
false
false
1,911
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from datetime import datetime import argparse import os import re import sqlite3 parser = argparse.ArgumentParser() parser.add_argument('-f', '--filename', help='the file to parse') parser.add_argument('-d', '--write-to-db', action="store_true", default=False, help="Write...
[ "nick.martini@gmail.com" ]
nick.martini@gmail.com
fe3cb1fb55073ac15e92623356da8d653622ca98
04936e0275e7516da7176365510116a3636caa37
/blog/migrations/0003_auto_20150616_0948.py
d38b630beb2b035bca5eaf617b8b71750f965493
[]
no_license
amarshukla/myBlog
5e6cf0a6a9b4aa2df75220691825b42d2ba4728b
9308636b915354d57dc4a82fe5b22787f9de7551
refs/heads/master
2021-01-22T12:12:10.631491
2015-07-02T16:36:27
2015-07-02T16:36:27
37,149,214
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0002_album_artist_customer_employee_genre_invoice_invoiceline_mediatype_playlist_playlisttrack_track'), ] operations = [ ...
[ "amarshukla123@gmail.com" ]
amarshukla123@gmail.com
320ce472a049c0d4a5b95fb42f0380c7fe149eae
62b050fd0d19e315b0b2ef8e001ea0165ce01348
/LogProducer/log_manager.py
0d513bec043d0b0b90f0b016601ddceaf16cfe36
[]
no_license
quangkhanh250699/GGTraceStreaming
c71fb4119e587b5002e8b56d9b1d9707ebd789ea
5fe1e196809ebc62915ebbb163e9953a04666625
refs/heads/main
2023-02-05T15:00:03.785249
2020-12-21T17:41:02
2020-12-21T17:41:02
315,303,845
4
0
null
null
null
null
UTF-8
Python
false
false
3,142
py
# author: Khanh.Quang # institute: Hanoi University of Science and Technology # file name: log_manager.py # project name: LogProducer # date: 24/11/2020 from connector import Connector, KafkaConnector from config import ConnectorConfig, LoggerConfig from logger import TaskUsageLogger, Logger, TaskEventLogger from tim...
[ "quangkhanh250699@gmail.com" ]
quangkhanh250699@gmail.com
6063ec497dbc221ec2e75ecfdaed805bbc9aeede
00d8393f987738ec1d70c116b98614e29c8f1c1a
/rpa_basic/1_excel/15_unmerge.py
8ffd183bade4788055657cc3041beb291015536f
[]
no_license
hanwoolsky/RPA_Python
2be524a8ea616502ecdfc33ba4d4d550e2f4544f
f48cc20f2fe299caab2cde7904284b582ec5b6b4
refs/heads/main
2023-02-24T11:05:22.416239
2021-02-02T05:57:41
2021-02-02T05:57:41
334,890,652
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from openpyxl import load_workbook wb = load_workbook("sample_merge.xlsx") ws = wb.active # 셀 나누기 ws.unmerge_cells("B2:D2") #B2부터 D2까지 합치겠음 wb.save("sample_merge.xlsx")
[ "hhw0925@naver.com" ]
hhw0925@naver.com
440bfdebbceb6eaef3277aca9941a759e42ae116
7beff965d7b0e6155d6d52b27d71c557421d5ada
/aoj/grl_7_a.py
830ad7ec1ba09ea22f3deb70e180d4910bd89f7e
[]
no_license
uk-ar/competitive_programming
82a53a1007798843ac006b9c7d313826e6cb45c3
d2523cf303f47644cada3b03e9eed2349bdbe394
refs/heads/master
2023-03-28T13:20:07.728861
2021-03-30T20:25:55
2021-03-30T20:25:55
249,638,234
0
0
null
null
null
null
UTF-8
Python
false
false
1,613
py
#!/usr/bin/env python3 # N,M = map(int,sys.stdin.readline().split()) # a = tuple(map(int,sys.stdin.readline().split())) # single line with multi param # a = tuple(int(sys.stdin.readline()) for _ in range(N)) # multi line with single param # a = tuple(tuple(map(int,sys.stdin.readline().rstrip().split())) for _ in range(...
[ "yuuki.ari@gmail.com" ]
yuuki.ari@gmail.com
16b9e3117deda1fc093cba36290f4be82997e077
2e943e43d169d91673ec3f160673c511315dc724
/twitter.py
f1e96b390c43af7adec0604b1adc322467e01e14
[]
no_license
emptyflash/slitscan_bot
2127974a5dfec507857aaec4769d80e8b8743895
52cade0d27414f927f6c1391b276376a43422de8
refs/heads/master
2022-12-12T05:59:05.182878
2019-10-23T16:40:59
2019-10-23T16:40:59
102,990,459
1
0
null
2022-12-08T00:41:56
2017-09-09T23:14:00
Python
UTF-8
Python
false
false
414
py
import tweepy from creds import CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET) api = tweepy.API(auth) def upload_images(images): return [api.media_upload(i).media_id_string for i i...
[ "emptyflash@gmail.com" ]
emptyflash@gmail.com
fa622d926d4f97435b8b18333ed9ee028845fb7c
6675789cc39b4194974dfb80647850bdcd2210c8
/autodc/components/feature_engineering/transformations/preprocessor/weight_balancer.py
ede6cd72340e016622208ccaeba501c0093bce4a
[ "MIT" ]
permissive
dingdian110/AutoDC
87c88ab6871a70a2ba6ade2ff571f30000b7fd06
f5ccca6bea993bcff3e804fb859e8b25ae020b5c
refs/heads/master
2023-08-26T17:17:55.960309
2021-10-30T07:14:19
2021-10-30T07:14:19
383,118,722
3
2
null
null
null
null
UTF-8
Python
false
false
547
py
from autodc.components.feature_engineering.transformations.base_transformer import * class WeightBalancer(Transformer): def __init__(self, random_state=1): super().__init__("weight_balancer", 20) self.random_state = random_state def operate(self, input_datanode: DataNode, target_fields=None):...
[ "baiyang85@gmail.com" ]
baiyang85@gmail.com
da88288f281baad769af1ccbf83b2777ed6a91a0
3f7c27ccd0ab1fcbd2583cf4b764b81bd27dd718
/apps/members/urls.py
03acc1cb09f082fefdc65dd6e430675e3a4ac2b6
[]
no_license
adamtlord/foreverland
001ca1a91a3cc468405efb80fe7981e75b82021c
8206ddeeb8cfbd2752ef6fa9839424718cb96e07
refs/heads/master
2020-04-16T00:50:51.582008
2016-09-21T03:27:39
2016-09-21T03:27:39
11,668,672
0
0
null
2016-09-04T03:46:51
2013-07-25T19:05:55
Python
UTF-8
Python
false
false
144
py
from django.conf.urls import patterns, url urlpatterns = patterns('members.views', url(r'^$', 'list_members', {}, name='list_members'), )
[ "adam.lord@gmail.com" ]
adam.lord@gmail.com
72a51d7c5fad898be8b1c326d1301e36e6318c29
fd161a5e18014f0ff82a7dddc25e95ad6dddd2ac
/models/dnc/dnc_ff_split_controller.py
af53120d1e588d6e18f4189087dd1d332c51a201
[ "MIT" ]
permissive
Kajiyu/MANNs
1826c0aad76a708030cef61c974ee1bdf3b58635
3d6876aefdf4efeebb3861f8430e6dbe62f8df6d
refs/heads/master
2020-03-27T16:03:46.591270
2018-09-02T01:56:29
2018-09-02T01:56:29
146,757,184
14
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import torch from torch.autograd import Variable import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import numpy as np import os, sys from models.meta.controller import Controller from models.utils import * class DNCFFSplitController(Cont...
[ "kajimars.uts1@gmail.com" ]
kajimars.uts1@gmail.com
90903a0da15b909462c311070545e1c44c8a4c67
1e76ae22907c53f4b5813e5d152ae3e3bf933265
/lstm/d_LSTM_v1.py
c18f4d200304b14a57342ef3078f8962396fdfb8
[ "Apache-2.0" ]
permissive
alecuba16/python_pytorch_keras_models
2ab2c6ce536693ffe3fc947f5b3c2db8c80f7284
0784476661b30ee7dfb70ec708bf1a3a1b7f2650
refs/heads/main
2023-08-17T15:57:03.389791
2021-09-10T10:39:10
2021-09-10T10:39:10
405,043,359
1
0
null
null
null
null
UTF-8
Python
false
false
18,630
py
import pandas as pd import numpy as np from functions.load_wtdata import load_wtdata from pathlib import Path import gc import tempfile import os #Configs db_config = {'table_cast_park_dic':'1_cast_park_table_dic','host':"127.0.0.1",'user':"itestit",'password':"itestit2014",'db':"SCHistorical_DB"} exclude_columns = ['a...
[ "alecuba16@gmail.com" ]
alecuba16@gmail.com
4974e9cbccec4d64b57eed4fb4a101e46dff0344
5ba747b414d7ff4412e0397d0ab94f21c4f3f4fe
/Localization.py
5b97c6dce0c3a08be880aaf125207e160efbb782
[]
no_license
shivansh2818-10/ROS
a3242c027fb42f81179c5f7131c36bab07c05344
bdb8e720a19caae5ec08c7c395b8ab29a90479b8
refs/heads/master
2023-03-22T05:07:41.179560
2020-07-01T08:06:54
2020-07-01T08:06:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
#!/usr/bin/env python import rospy import roslib import tf from geometry_msgs.msg import PoseArray #Defining a class class Marker_detect(): def __init__(self): rospy.init_node('marker_detection',anonymous=False) # initializing a ros node with name marker_detection self.whycon_marker = {} # Declaring dictionar...
[ "noreply@github.com" ]
noreply@github.com
37fccb494d7a0de401f2e81b87225627a70c440e
0ef468991fbb546c239f78b9712894f4e9981723
/thread/lock.py
d729b0369a044b47d29809ff94e175d71b7e3c60
[]
no_license
devil1949/test
54b2a095e62e96d620a1b4cfade6141954dee510
28f140c3ddaf7d7e3fb50927b4d8d5b29e498337
refs/heads/master
2020-04-06T09:38:43.489034
2017-09-13T17:18:38
2017-09-13T17:18:38
26,108,515
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
#!/usr/bin/env python3 # coding:utf-8 import threading import time num = 0 def run(n): global num time.sleep(0.1) lock.acquire() num += 1 lock.release() print(num) lock = threading.RLock() #lock = threading.BoundedSemaphore(1) for i in range(10): threading.Th...
[ "noreply@github.com" ]
noreply@github.com
d973a98d468f699d88ed22bda3be21818e1727e8
4c44c593048fa4e00fb0334209632a286886efd9
/import_template_supplierinfo/wizards/import_file.py
6e86c4502afe621620950784d04bcf17a2bff77f
[]
no_license
treytux/trey-addons
0c3fec43c584d46bd299b4bca47dcc334bedca60
1cda42c0eae702684badce769f9ec053c59d6e42
refs/heads/12.0
2023-06-08T21:56:09.945084
2023-05-29T10:05:53
2023-05-29T10:05:53
114,281,765
19
49
null
2023-05-29T10:05:55
2017-12-14T18:10:39
Python
UTF-8
Python
false
false
1,065
py
############################################################################### # For copyright and license notices, see __manifest__.py file in root directory ############################################################################### import base64 import io import logging from odoo import models _log = logging....
[ "roberto@trey.es" ]
roberto@trey.es
269093e40a4014ea89ecd80de5f371b123bd4fa7
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/srsly/tests/cloudpickle/cloudpickle_file_test.py
02c568f8652ef647b699a151dff037527a6e8836
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:a058ea411ee874062513e922cfd60cc7f362eda3000cc849fc6af9c828f1412b size 3430
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
357c28d294966c59ebddbe20816d7baa5f0767e4
170db40693a8427a880caac66d51f1f2c168df76
/MyQuestions/AvenierEncoding February 2020/Finals/Cakewalk/Solution.py
b88c708a3f91f38dda23b5d16d666f4e48b45960
[]
no_license
Namratabhatt/Competitive-Codes
8f283b628aae662a9eb980e997bee59797aa5b02
93f86936e52ebd2fd8b3502ebdcadc9ef0d23678
refs/heads/master
2021-03-23T15:29:13.019488
2020-03-05T15:36:02
2020-03-05T15:36:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
# Given 3 lengths of a triangle, print if its a right angled triangle from collections import defaultdict, deque from itertools import permutations from sys import stdin,stdout from bisect import bisect_left, bisect_right from copy import deepcopy # from random import randint,randrange,choice import heapq int_input=l...
[ "arnabchanda964@gmail.com" ]
arnabchanda964@gmail.com
94c5818497052b6c30c7ed4d8bcc5fb03398fc99
221c885457f1817c6234acf4d73b6bf969af453b
/mySite/settings.py
24b5e653a9bbf8b63b56fd546924b14edda53695
[]
no_license
bellgab/my-first-blog
9cf036ac1287f7446d89f394f70f3a19bbc49b3c
1239d5707457fea7174249fddd77979623f75918
refs/heads/master
2020-03-17T14:02:51.855097
2018-05-16T11:25:08
2018-05-16T11:25:08
133,655,535
0
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
""" Django settings for mySite project. Generated by 'django-admin startproject' using Django 2.0.5. 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 # ...
[ "bellgab@gmail.com" ]
bellgab@gmail.com
00a5a8e33f0cc2bf74d33a24835b9f8394488bd4
8f96c3710cb439a6d72691b249129bc4e64b2310
/rcfg/manage.py
d9622f020926ea2d2565f0758360da3259b06a81
[ "MIT" ]
permissive
tony-mikhailov/Kalachakra
dd4eaf339f8ff67fe20c3af4a7a5f9a3be3e85d2
7a46be7e75bad0500914e5a7c44662c6740ebaa2
refs/heads/master
2023-05-12T10:55:04.698114
2020-04-26T14:11:52
2020-04-26T14:11:52
250,850,878
0
0
MIT
2021-06-10T18:45:32
2020-03-28T17:11:49
JavaScript
UTF-8
Python
false
false
624
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rcfg.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportErr...
[ "anton@mikhailov.center" ]
anton@mikhailov.center
efc31c1fe13aed5e645ccf3e6dcca2d9403c5c83
c4ff1e384482fc80e85b0cf70725f1f54c159983
/parse_case.py
c1fc03ee315ed7919b3e4adb5a0f8a7783aae385
[]
no_license
wendyyuwm/socket
2bb3bbb01ca108da8b30f82b1acb99b76b468774
cea9e0671ac611ee1e804f504233f04cc6915cd4
refs/heads/master
2021-06-05T17:29:38.305053
2021-04-30T09:47:38
2021-04-30T09:47:38
63,161,749
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
from testrail import * import shlex client = APIClient("http://10.0.18.130/testrail/") client.user = 'stiger_he@ovt.com' client.password = 'PfOf1KTtCAYDwRM9mh0q-utLfbuYwxVfa3s.lSJoM' case = client.send_get('get_case/122') # print(case) # print(case['custom_preconds']) # print(case['custom_steps_separated']) ...
[ "noreply@github.com" ]
noreply@github.com
88c524a2aa42d1c53e01946abb653c80c94e0e38
7a0acc1c2e808c7d363043546d9581d21a129693
/selenium/src/py/lib/epydoc/docwriter/html.py
352d45d89179d2f5cf75d6da437d6060d4ff70aa
[ "Apache-2.0" ]
permissive
epall/selenium
39b9759f8719a168b021b28e500c64afc5f83582
273260522efb84116979da2a499f64510250249b
refs/heads/master
2022-06-25T22:15:25.493076
2010-03-11T00:43:02
2010-03-11T00:43:02
552,908
3
0
Apache-2.0
2022-06-10T22:44:36
2010-03-08T19:10:45
C
UTF-8
Python
false
false
123,261
py
# # epydoc -- HTML output generator # Edward Loper # # Created [01/30/01 05:18 PM] # $Id: html.py 1210 2006-04-10 13:25:50Z edloper $ # """ The HTML output generator for epydoc. The main interface provided by this module is the L{HTMLWriter} class. """ __docformat__ = 'epytext en' import re, os, sys, codecs, sre_con...
[ "simon.m.stewart@07704840-8298-11de-bf8c-fd130f914ac9" ]
simon.m.stewart@07704840-8298-11de-bf8c-fd130f914ac9
ebe86a3f28c5fdac92681b01d584d6339dcff179
06a989de84bd8582f83b120d2847280635934611
/Chapter9_Classes/car.py
8169d3fa158971a346bb55dac2474bc3215e1e32
[]
no_license
HeydarO/Python-Crash-Course-
34db842a47d671923885dd2f900f940d20fe653c
7918e6b12f5782cd270649061106dc12fd076c45
refs/heads/main
2023-06-01T12:47:42.699208
2021-06-25T02:18:56
2021-06-25T02:18:56
379,965,608
0
0
null
null
null
null
UTF-8
Python
false
false
4,242
py
"""A set of classes used to represent gas and electric cars.""" # """A simple attempt to represent a car.""" # # def __init__(self, make, model, year): # """Initialize attributes to describe a car.""" # self.make = make # self.model = model # self.year = year # self.odome...
[ "orujoh@amazon.com" ]
orujoh@amazon.com
33c59a32b9c1ff091541a19ffbf8c8fde09c3bf7
e0183b9ce2e4c6ca21f876feded8dd549c71b296
/Business/authCode.py
21e4e29b92439fde5cc0c864e8f288272586bac3
[]
no_license
Hanlen520/my_Android_Ui_Automation
845b96d9dc8d8432d33ca12590098fc397e80bf8
b5b5af6b4a13ae3723160484e39d8d8d6e1d9e8b
refs/heads/master
2020-04-02T13:08:52.508934
2018-09-04T05:47:16
2018-09-04T05:47:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
# !/usr/bin/env python # -*- coding:utf-8 -*- # project name: Android_Ui_Automation # author: "Lei Yong" # creation time: 2018/1/10 下午6:34 # Email: leiyong711@163.com import os # 读取手机文件 def sms(): smsLog = os.popen('adb shell cat /sdcard/SMS/smsLog.txt').read() return smsLog.split("验证码是")[1] # 读取短信验证码 def...
[ "gaopan157@163.com" ]
gaopan157@163.com
824160e655f63eb10931e65ddd484418ebbb734e
7c0999d4877090301a5cc2da76ddf5a9a734467e
/Udacity_ML/P4-smartcab/smartcab/agent.py
92a65475f96c936bb1817decef358bf67bed3521
[]
no_license
jay56567/Machine-Learning
fec00d7aed1d34e07d115bcbc2e106a3bb787935
7a6d6ae367ec9acc54af534565abc445123a0b3b
refs/heads/master
2020-03-27T08:30:26.723930
2017-04-25T21:32:15
2017-04-25T21:32:15
63,445,878
1
0
null
null
null
null
UTF-8
Python
false
false
2,773
py
import random from environment import Agent, Environment from planner import RoutePlanner from simulator import Simulator class LearningAgent(Agent): """An agent that learns to drive in the smartcab world.""" def __init__(self, env): super(LearningAgent, self).__init__(env) # sets self.env = env, sta...
[ "jay.jie.hou@gmail.com" ]
jay.jie.hou@gmail.com
c3df0ac58a6da679590d7b4d309dd0b86190657c
863a1f5091f1faad2beaf2a6037e3a5c0ebdc194
/Backuper.glyphsPlugin/Contents/Resources/plugin.py
8a21cdbee8b408df2b4ca9d675f6a38770426e11
[]
no_license
schriftgestalt/Backuper
e65f08ec016770564131c05dbd888fe6841c6612
2b738600c4a8cb288184ae2c216bcfcbf64e266b
refs/heads/master
2023-07-17T19:50:00.265070
2021-09-01T21:38:34
2021-09-01T21:38:34
109,949,694
1
0
null
null
null
null
UTF-8
Python
false
false
1,699
py
# encoding: utf-8 ########################################################################################################### # # # General Plugin # # Read the docs: # https://github.com/schriftgestalt/GlyphsSDK/tree/master/Python%20Templates/General%20Plugin # # #######################################################...
[ "georg.seifert@mac.com" ]
georg.seifert@mac.com
a3c76c8e21fd1819784a3c1f6c2afc568674b8a5
d9f89be08b2e4e68c9e31f59f00983a826b6eeb6
/music_shop_select.py
d9e55a8de3f1f2b8fadaf47b009bd600f1f335be
[]
no_license
amikhalenko/python_learning
38eb828a2c10541e163db892e7040fdde4bdab5e
b334303cfea18455d08152f13ebe6b480a79cc22
refs/heads/master
2023-05-02T23:14:13.029282
2021-05-22T23:46:57
2021-05-22T23:46:57
289,753,752
0
1
null
null
null
null
UTF-8
Python
false
false
943
py
import sqlalchemy as sqlalchemy engine = sqlalchemy.create_engine('postgresql://music:music@127.0.0.1:5432/music_shop') engine connection = engine.connect() print(engine.table_names()) sel = connection.execute("""SELECT Album_name, Album_year FROM Album WHERE Album_year = 2018;""").fetchall() print(sel) s...
[ "noreply@github.com" ]
noreply@github.com
ac987b204cf9dec2983df1a53e9a131e9324e87f
cf2018bc93372768d8da14486b646620754f705e
/feature_selection.py
e5a809f5318c752af0e1058f5143c66ba4b88ab1
[]
no_license
kudeore/docker_airfair_prediction_Flask
31570958fc0a31d4353c566fb4be3da1de721347
8b83ff70296dee912cb1e505c932b84fc0958398
refs/heads/main
2023-06-17T18:26:12.564051
2021-07-14T16:50:07
2021-07-14T16:50:07
386,002,186
0
0
null
null
null
null
UTF-8
Python
false
false
1,612
py
#!/usr/bin/env python # coding: utf-8 # In[36]: import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns sns.set() import Preprocessing # In[37]: df = pd.read_excel(r"data\Data_Train.xlsx") # In[38]: pd.set_option('display.max_columns', None) # In[39]: df = Preproces...
[ "noreply@github.com" ]
noreply@github.com
cc9cc185267a71d20dc8291c5dafe6bf0b1432db
82cce8d146d20f89ac9f42521e904dff9307cc4b
/utils/gen-brownian-schedule.py
12609f20389a030707f5f76f69130f746aa1e54e
[]
no_license
anirudhSK/cell-codel
a667fbeebdd5ddd15328d3334e9c87453ade838b
9a5d3596f6e9f99f4689184ef048bdfd58918cc3
refs/heads/master
2021-01-22T00:58:31.813877
2013-09-05T18:21:34
2013-09-05T18:21:34
5,831,335
4
1
null
null
null
null
UTF-8
Python
false
false
851
py
import sys import random if (len(sys.argv) < 3 ) : print "Usage :",sys.argv[0]," <sigma in pkts per sec> <duration in sec>" exit() sigma=float(sys.argv[1]) duration=int(sys.argv[2]) RATE_MAX=1250 # in pkts per second ''' rate evolution using Brownian Motion ''' def rate(prev_rate): tmp_rate=0 ''' do...
[ "anirudh@Sim-Box.(none)" ]
anirudh@Sim-Box.(none)
dfea669c4519269a2654b492fe8a992552b69e3a
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/scipy/py2/scipy/optimize/tests/test__basinhopping.py
84deeb847253a4b53ed032c0aaecd9b4a43171a0
[ "Python-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "Qhull", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
15,398
py
""" Unit tests for the basin hopping global minimization algorithm. """ from __future__ import division, print_function, absolute_import import copy from numpy.testing import assert_almost_equal, assert_equal, assert_ from pytest import raises as assert_raises import numpy as np from numpy import cos, sin from scipy....
[ "arcadia-devtools@yandex-team.ru" ]
arcadia-devtools@yandex-team.ru
7e74fa3054af9e5c296cb668f23cc4c208dcaf83
98b63e3dc79c75048163512c3d1b71d4b6987493
/tensorflow/python/distribute/multi_process_runner.py
95841b8ee902049af7e05da8109e06d2221e1413
[ "Apache-2.0" ]
permissive
galeone/tensorflow
11a4e4a3f42f4f61a65b432c429ace00401c9cc4
1b6f13331f4d8e7fccc66bfeb0b066e77a2b7206
refs/heads/master
2022-11-13T11:56:56.143276
2020-11-10T14:35:01
2020-11-10T14:35:01
310,642,488
21
12
Apache-2.0
2020-11-06T16:01:03
2020-11-06T16:01:02
null
UTF-8
Python
false
false
55,559
py
# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
3a12e6bb5bc17371ed1458a7584ba6e0c9c9723d
4f1c2b624417f7c1b860460c097fbf92926e817a
/app/app/settings.py
55c8920c3de9c1981ec16f16c0f00d3bcf6df259
[ "MIT" ]
permissive
millerjl1980/recipe-app-api
e4cf49881158d7cdf0126364c4bedd43fdff9201
736df8d6a6c4f700e50501640cb823505024e2b7
refs/heads/main
2023-08-11T19:08:28.998677
2021-10-10T22:28:07
2021-10-10T22:28:07
385,056,407
0
0
null
null
null
null
UTF-8
Python
false
false
3,580
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from pa...
[ "jmiller@elements.org" ]
jmiller@elements.org