blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
9b9262e6b9432df0462796e8acac817f0ee8ad09
96ddcfeb0f053a796be10e98b63ec5a6c2bb5687
/empleados/views.py
e448deb9a33bbe8f35616d1bcf0d93b2daa155dd
[]
no_license
difercamos/prototipo-activos-fijos
afe31e4cd6ddffe376f8a70ea8b75b31eb128e32
9a432660e868f9debbe347277765fb00c1130b19
refs/heads/master
2022-12-11T17:33:34.068706
2017-09-28T22:06:14
2017-09-28T22:06:14
102,613,411
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
from rest_framework import viewsets from rest_framework.decorators import detail_route from rest_framework.response import Response from django.contrib.auth.models import User from empleados.models import Cargo, Empleado from activos_fijos.models import ActivoFijo from empleados.serializers import ( CargoSerialize...
[ "dcaicedo@grupoasd.com.co" ]
dcaicedo@grupoasd.com.co
1977abae7050d3155cd8b1c9fd6e9407ea1cfd84
51a0d360bf02585da0764a0331a970f434e8f15e
/blog/migrations/0004_auto_20151201_0758.py
6904fe4a39cc03969ee50fbe16df76fdff76d98b
[]
no_license
LAsbun/Blog
8a6d0023a99c15c5174221494fa94059ffb3554c
d50229dfff707436533b2d7302a5494626176e0a
refs/heads/master
2016-08-12T19:04:23.074416
2016-01-25T04:17:46
2016-01-25T04:17:46
47,102,196
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0003_auto_20151201_0753'), ] operations = [ migrations.AlterModelOptions( name='article', op...
[ "794866972@qq.com" ]
794866972@qq.com
cab65cd417c465b852461767f2626a224f692881
4fe6c002e8f77050936211feb6096a64b2576cbb
/chemical-warfare/test.py
57e54624f385493745e54bce8a9d2c6805106f8f
[]
no_license
Nexia23/cell-cell_communication
f21b59c6365853d3f7704fd79859b79e24f32359
87423e9fe00fc67dcb52c2a64b003b8ee3a3fb93
refs/heads/master
2021-01-18T10:04:36.838342
2017-03-08T12:55:31
2017-03-08T12:55:31
84,316,844
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
import matplotlib.pyplot as plt import numpy as np # Simple data to display in various forms x = np.linspace(0, 2 * np.pi, 400) y = np.sin(x ** 2) plt.close('all') # Just a figure and one subplot f, ax = plt.subplots() ax.plot(x, y) ax.set_title('Simple plot') # Two subplots, the axes array is 1-d f, axarr = plt.su...
[ "karnetzki.maxim@gmx.de" ]
karnetzki.maxim@gmx.de
2e684c51b2fd7c806522d30f3ff5b40d6c8c6464
f90f291c3b927372ca2329dfca51332b74a29321
/时间/time.py
0251eaca5f3ce93a8cd9a8de165e87323cc231b4
[]
no_license
Yangxuhao/day22
e1cc7467c60f831622604c6c8289e15d5166db29
93a72c6aa5a6a3dfd8e23d01713dcb4c9a930efa
refs/heads/master
2020-04-27T18:46:37.116890
2019-03-08T18:15:48
2019-03-08T18:15:48
174,586,761
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
import time tick=time.time() print(tick)#19700101到现在的时间 print(time.localtime(tick)) localtime=time.localtime(tick) acttime=time.asctime(localtime) print(acttime)
[ "yxhyangxuhao@163.com" ]
yxhyangxuhao@163.com
691d3d1c38ed082fc74b058fb58503dceb7829fa
839e01aa0d6d929c8ff280c7d7dc21385dba5be5
/twitterapi/tweets/tests/utils.py
a49da422a055681259b90ecd23e327c5daaa3fc5
[]
no_license
tylerstar/twitter-api
088d8e54d69b6902275b27ccb8f20b11e3b42b7a
7e6592e52bedc4257ff7f8de6b1e1f41eba8b152
refs/heads/master
2022-12-27T13:59:37.344396
2020-09-29T11:32:57
2020-09-29T11:32:57
299,295,151
0
0
null
null
null
null
UTF-8
Python
false
false
2,566
py
import os import json import pathlib from tweets.services import ( TwitterSearchAPIService, TwitterUserAPIService ) class MockResponse: """Mock return value of requests.get""" def __init__(self, json_data, status_code): self.json_data = json_data self.status_code = status_code de...
[ "binglux@gmail.com" ]
binglux@gmail.com
1cd6902f33f6e59d95392ae417eaf30530fda9f6
4ae19b824eec75f54f5892da08d5f62ca2a1f33d
/venv/bin/pylint
bc3089dc6e69a137bf22747088f933182d81aad3
[]
no_license
rmontanana/djangotut
a1c5a87362e9253aa76980d035fd958e6485d499
ace1525459f6fe211b3894e11e29783768eca856
refs/heads/master
2020-05-31T01:21:01.921893
2019-06-03T16:55:31
2019-06-03T16:55:31
190,045,842
0
0
null
null
null
null
UTF-8
Python
false
false
249
#!/Users/rmontanana/code/django/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_pylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pylint())
[ "rmontanana@gmail.com" ]
rmontanana@gmail.com
200a33039455d9e0e2c6a52933958d9b0aba05fc
14cf909e569bbbe7a7211f62e093b5bc115ca7cf
/pgdump.py
1765479c7f17954a14a03a25f8e54c1dcf7121e9
[]
no_license
shishirkhandelwalgithub/python-script
ac31ad2e15420dad82d07e33dec4958ea11feac1
f5ee6f7d335875b5781caeb59e5cb620ced984e9
refs/heads/master
2021-07-17T13:18:08.687259
2020-03-13T07:02:14
2020-03-13T07:02:14
246,752,068
0
0
null
2021-04-20T19:30:07
2020-03-12T05:34:41
Python
UTF-8
Python
false
false
100
py
import subprocess def dump(url): return subprocess.Popen(['pg_dump',url],stdout=subprocess.PIPE)
[ "shishir.khandelwal@sourcefuse.com" ]
shishir.khandelwal@sourcefuse.com
e527ebdc88ff1e9e7ae7f9436e97ae601e7aa3d6
0b240ed1865e9c0e7a559bb7cacda123718781bf
/anjali/Picnic.py
95a22cc021511ef025df2f855d8c88a1f4bc6d93
[]
no_license
anjalik16/REHS19
1aa1246d7c6eefe7081ea456e3900be96ef58d39
fed01da327c9f00eaeb9963adc658d8d43e03c29
refs/heads/master
2020-06-23T02:03:55.105074
2019-07-23T17:22:39
2019-07-23T17:22:39
198,469,416
0
0
null
2019-07-23T16:33:46
2019-07-23T16:33:45
null
UTF-8
Python
false
false
395
py
def printPicnic(itemsDict, leftWidth, rightWidth): print('PICNIC ITEMS'.center(leftWidth + rightWidth, '-')) for k, v in itemsDict.items(): print(k.ljust(leftWidth, '.') + str(v).rjust(rightWidth)) picnicItems = {'sandwiches': 4, 'apples': 12, 'cups': 4, 'cookies': 8000} printPicnic(picnicItems, 12...
[ "noreply@github.com" ]
anjalik16.noreply@github.com
a62b4ca688c2e3f54ff75a5503803b8c2bb60f46
7e0c1275118878f29db1cb32352df90edc869562
/photography/urls.py
890d470fcaea76086d219d17e9df8623e0c43e45
[]
no_license
7satya/Photography
13c3e0b58984fa041796c48e2800e01a787b5599
678dbd289b40dc14cc5eaa2b7650bb15e1831ca7
refs/heads/master
2020-04-20T21:15:30.883869
2019-02-04T21:26:08
2019-02-04T21:26:08
169,103,469
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
"""photography URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "2016231@iiitdmj.ac.in" ]
2016231@iiitdmj.ac.in
266a5f54a1f979ad8b6c7c2d281833d7397d4730
c6150c5389cc3b0f594fdb53a0e3eb1891a1be2e
/code/network_utils.py
09f200e8d8eff5910fcd1aebaf0ac3b8cc4e3f0f
[]
no_license
awiesmulla/Cartpole-RL
fff2e8ad34be997a19be9af7f10442a2b676f368
77112ed5d112a89b2c3f3da81afb9fe97c035c93
refs/heads/main
2023-01-18T18:42:48.569599
2020-11-21T07:06:21
2020-11-21T07:06:21
314,753,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,641
py
import tensorflow.compat.v1 as tf import tensorflow.keras.layers as layers def build_mlp( mlp_input, output_size, scope, n_layers, size, output_activation=None): """ Build a feed forward network (multi-layer perceptron, or mlp) with 'n_layers' hidden la...
[ "awies123mulla456@gmail.com" ]
awies123mulla456@gmail.com
96768b43319e0bf899c6b59f826dd13f17b4132b
5d4b351d02e4c4e49c9f706b97a21f8231bc9c81
/151-200/172*_factoria_trailing_zeros.py
f31b0991411124d22be5ecd9148b1abb170d3d47
[]
no_license
Dolantinlist/DolantinLeetcode
cf0086ebb8f9ed0f44cd17f5e618d25a7ae46af1
c47d0002921ce0bce6c791fac1e55bc0ab996dc5
refs/heads/master
2020-04-01T09:01:52.828755
2019-09-03T09:42:53
2019-09-03T09:42:53
153,056,757
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
class Solution: def trailingZeroes(self, n): if n == 0: return 0 else: return n//5 + self.trailingZeroes(n // 5)
[ "bupt_dolantin@163.com" ]
bupt_dolantin@163.com
acf6e76c081a35cc4a197383d76e0d500ea7c480
bdb1558903fe4e2328b16728c5e5ddb62ce0ddbe
/app.py
a6f2830452df2b482f30cc25a0a423e2ecd86729
[]
no_license
AnoopKunju/RatingPredictor
9bd6409c2476345dd6190a38447c6cf2f04472f4
31d33f6117448199951e5af89327f91cb69fa01b
refs/heads/main
2023-05-11T20:52:38.950145
2021-06-04T19:03:20
2021-06-04T19:03:20
321,185,667
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
import numpy as np import pickle from flask import Flask, request,jsonify, render_template app = Flask(__name__) model = pickle.load(open('modelSVM.pkl','rb')) vectorizer = pickle.load(open('modelvectorizer.pkl','rb')) @app.route('/') def home(): return render_template('index.html') @app.route('/pr...
[ "noreply@github.com" ]
AnoopKunju.noreply@github.com
41548045a42748d17ade7d29eac099167198820d
dd32c5788caab10641c055b89c8c08f7b8a05361
/pippin/config.py
427652c0d1c6b105281b48ba0a698b382be69a79
[ "MIT" ]
permissive
jcraig5/Pippin
bae71ab24e819f02ca732d18560cfe3543b18050
85db01173dd4a4f12af39cd3a2bad3a713e8767d
refs/heads/master
2020-05-31T09:55:08.416338
2019-06-13T16:45:39
2019-06-13T16:45:39
190,225,226
0
0
MIT
2019-06-13T16:45:40
2019-06-04T15:09:56
Python
UTF-8
Python
false
false
3,032
py
import configparser import inspect import os import logging import hashlib import shutil import os import shutil import stat def singleton(fn): instance = None def get(*args, **kwargs): nonlocal instance if instance is None: instance = fn(*args, **kwargs) return instance ...
[ "samuelreay@gmail.com" ]
samuelreay@gmail.com
8ae0d05862b192c9de72295d1cc399039ddfe880
cd889620b403cf1112f670feca28a10b0fa1c2be
/venv/Scripts/easy_install-3.7-script.py
49d3bcb6e45551d1d3d3760a4f5a5ac68d38062f
[]
no_license
drkinder/Darkness
fb1bb7e2989b78b6cc4dd2dc1a32ab46ab3e2101
78966c25939c6f7821d1a0ad43136a51e989b8a2
refs/heads/master
2020-11-27T17:27:49.369096
2019-12-22T09:41:31
2019-12-22T09:41:31
229,544,465
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
#!"C:\Users\Dylan\Desktop\Programming Party\games\darkness\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....
[ "dylkinder@gmail.com" ]
dylkinder@gmail.com
5113d16247b94842134d4cd660b5730fbbde9140
429e3e7770ec07678de1ab66ae8acf018759e9d7
/skipass/templatetags/poll_extras.py
3a1ed0b7b8355a97331a8b10a35f0e2e1eb415d8
[]
no_license
neonua/skipass
353506a84188c11b8367f3d2cebbb0503b02ad57
cc7ae35321b78ff1658ddc2811f7cb1c1bdb813f
refs/heads/master
2021-01-12T13:55:33.993473
2016-09-22T12:47:18
2016-09-22T12:47:18
68,920,650
0
0
null
null
null
null
UTF-8
Python
false
false
3,782
py
# -*- coding: utf-8 -*- from django import template from skipass.models import AbonementLow, AbonementHight, Seasons, ClubCartBuy, ClubCartPay register = template.Library() @register.filter(name='id') def id(value): value = value.split("_") val1 = int(value[0]) return val1 @register.filter(name='skip')...
[ "igor@MacBook-Pro-neonua.local" ]
igor@MacBook-Pro-neonua.local
a5f7ed3393d3a1f263d4c02c36efa1a350ef36b6
f01b2d546e01ac381258c9c286afeb4c4be460ea
/main.py
ede904eea317cc9048b3752fa968c399fe76ff99
[]
no_license
Yousif-Ahmed/Function-Plotter
e694a51844a9126b9d09933879f5fc1bb2815fac
9cedcb7561cdb4931d367614cfc2cfa0ac21fd67
refs/heads/main
2023-08-06T09:21:12.095593
2021-10-04T06:39:23
2021-10-04T06:39:23
413,295,903
2
0
null
null
null
null
UTF-8
Python
false
false
4,528
py
from Validate import Validate import sys import matplotlib import numpy as np import re from PySide2.QtWidgets import QLabel, QLineEdit, QMainWindow, QMessageBox, QPushButton, QVBoxLayout, QWidget, QApplication from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg, NavigationToolbar2QT as NavigationT...
[ "noreply@github.com" ]
Yousif-Ahmed.noreply@github.com
9b2ef52e667d88cd09422527a959f8afbadf12b2
1bfb2d05dc208a796694a194c75ca1663c93def6
/Models/FissionProduct/Archive/FP_Distro/ETA_Predictions/FP_Utilities.py
f9e0d77403e97069b728cbf5d57776fdf3f6d3ad
[]
no_license
nickquartemont/NIF_ETA
9d17f9a002ebaa09a82e894183ef28ee5e2001a0
d04da4268d9327e6b6df2bfa475106298dc796d7
refs/heads/master
2022-02-27T15:02:21.101533
2019-10-03T21:06:23
2019-10-03T21:06:23
114,922,671
4
3
null
null
null
null
UTF-8
Python
false
false
16,730
py
#!/usr/bin/python ####################################################################################################### # # Module : FP_Utilities.py # # Contains : Routines to calculate fission product distributions and save the output # # Author : James Bevins # # Last Modified: 8Jul16 # ############################...
[ "nicholas.quartemont@afit.edu" ]
nicholas.quartemont@afit.edu
29c49f468a82a5b92f378131e9279efddc0511bd
8a6c556248837d555594cdecc25952e7a40002a4
/pass2bw
d266b904c35c23a43e773552cbfb75378b5a7cce
[ "MIT" ]
permissive
csadorf/pass2bw
a8997a27be23bfd7f3e7462234916c57de542c36
08803b6c984afb2f44fe082fecf1b63be766f416
refs/heads/master
2022-07-28T23:29:15.424917
2020-05-20T07:31:09
2020-05-20T07:31:09
265,483,116
1
1
null
null
null
null
UTF-8
Python
false
false
2,439
#!/usr/bin/env python import csv from pathlib import Path from dataclasses import dataclass, asdict import click from click_spinner import spinner import gnupg HEADER = 'folder,favorite,type,name,notes,fields,login_uri,login_username,login_password,login_totp' @dataclass class Entry: folder: str = '' favor...
[ "csadorf@umich.edu" ]
csadorf@umich.edu
5e5398d4c1ec94dd2af3a9229fec86265f1af953
2bf26a46657b7bef71557c48364035ffe90de121
/twiclone/wsgi.py
3c27e73ee3a2e95eefea9c8743070ad35964cef4
[]
no_license
ganiserb/twiclone
4f245cb506e9a9245c73191ce8963296252bcdf5
615fa02a3d8708fc16a3ce036169958940ed026d
refs/heads/master
2016-08-02T22:36:56.203549
2014-10-04T03:00:09
2014-10-04T03:00:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for twiclo 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/1.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "twiclone.settings") from django.core.w...
[ "g.gabriel.b@gmail.com" ]
g.gabriel.b@gmail.com
9b427540fa69d3ad0a6784923c1bef9408a45d2f
2110d9df714f4ecbbaa31edba76b14fc9b452b02
/2semester_python/yandex_contest_4/the infinite game has no name.py
0045f92363ae049fbd9bcc2d89f9411ebccae6d6
[]
no_license
winsold107/MIPT_all
3676c82367aa6e2363ba1f615ce26eb82bf09aef
ce7192368f3a5972fb3eadf28e9bd8fca98aa189
refs/heads/master
2022-11-26T22:32:22.547855
2019-10-14T17:06:29
2019-10-14T17:06:29
215,095,362
0
1
null
2022-11-04T07:33:50
2019-10-14T16:39:28
C
UTF-8
Python
false
false
538
py
class Player: current_ready_method = 'ready' current_start_method = 'start' def ready(self, new_start_method, new_ready_method): setattr(self.__class__, new_ready_method, getattr(self, self.current_ready_method)) delattr(self.__class__, self.current_ready_method) self.current_start_...
[ "dolgova.ad@phystech.edu" ]
dolgova.ad@phystech.edu
0b227badbe12d72eda1d08bf7b85c82dca9a0cc6
008c5aa9d132fa2549e089ae8df2ef1ce15ad020
/response_timeout/middleware.py
dd8597205cd6de79d9e8ffdb02f0c87431542156
[ "MIT" ]
permissive
movermeyer/django-response-timeout
0c0cedc5c838011d314c57e4ab42252639b350f7
38f7462ab71d967749efc3be914e2a7a2df80f33
refs/heads/master
2021-01-25T14:33:17.576026
2013-07-20T13:56:44
2013-07-20T13:56:44
123,708,880
0
0
MIT
2018-03-03T16:17:38
2018-03-03T16:17:38
null
UTF-8
Python
false
false
571
py
from django.conf import settings from django.utils.cache import patch_response_headers class SetCacheTimeoutMiddleware(object): """ Request-phase middleware that sets the timeout of each response based on the RESPONSE_CACHE_SECONDS If using with UpdateCacheMiddleware, must be placed after so that it ...
[ "s.shanabrook@gmail.com" ]
s.shanabrook@gmail.com
085b083d942b1be4eacba6bb2471428dbec26442
59a2531d9d89a55d2a3919164fe5e76d7d933580
/LinuxAcademy/OOP.py
935d9f59ab634e80f9cb57835f932164432b717c
[]
no_license
AadamBodunrin/Python-Analytics
44aeb6d3dda2fd89ce014a7f47c93fda4ae8bb80
565e8b54ebf77f85378849101d2cf582c0592a58
refs/heads/master
2020-09-11T09:09:48.378007
2020-04-10T21:40:17
2020-04-10T21:40:17
222,016,020
1
0
null
null
null
null
UTF-8
Python
false
false
2,977
py
# Creating classes class Car: """ Car models a car w/ tires and an engine """ def __init__(self, engine, tires): self.engine = engine self.tires = tires def description(self): return("A car with an {} engine and {} tires.".format(self.engine, self.tires)) def wheel_ci...
[ "aadamolalekan@gmail.com" ]
aadamolalekan@gmail.com
d8d317c760b3bcb0f1b3ad75017677d51a69bcd4
d8471f1f9c217ff5c9dc8f3ffd0d2db19b0983e4
/3/Python/pythonLab10/pythonLab10.2.py
efcfd49e1c4e1a05ccfcdb0a3b65221472ed5cc9
[]
no_license
grig-ar/Projects
a31e3f1f59d8a724fd67c86b91fb61c6768bc0c9
b36e8d45956d29ac5287e9571cc83ebf0b04fabe
refs/heads/master
2022-11-30T23:58:12.270956
2020-08-19T13:21:59
2020-08-19T13:21:59
288,736,555
1
0
null
null
null
null
UTF-8
Python
false
false
842
py
class Table: def __init__(self, l, w, h): self.long = l self.width = w self.height = h def outing(self): print(self.long, self.width, self.height) class Kitchen(Table): def howplaces(self, n): if n < 2: print("It is not kitchen table") els...
[ "a.grigorovich@g.nsu.ru" ]
a.grigorovich@g.nsu.ru
25d4625f00b5b83b808a25252f1b8a7130ef9a6d
f25d940f582019b245e9ca36cd00d9ea30058b99
/PythonForEverybody/files2.py
76e86063fe3eae0a2d2f40a47f95d69d14df1f62
[ "Apache-2.0" ]
permissive
porcelainruler/Python-For-Everybody-Coursera-
701dd5a50eaaa42a3f4d0814379fbc9be59a39ea
a5cf7aeaafae9c00051fbf955c6ccbd2ac13b26c
refs/heads/master
2020-04-13T23:46:15.824708
2019-01-06T06:12:14
2019-01-06T06:12:14
163,515,157
1
0
Apache-2.0
2019-01-05T15:17:04
2018-12-29T13:56:34
Python
UTF-8
Python
false
false
416
py
# Use the file name mbox-short.txt as the file name fname = input("Enter file name: ") fh = open(fname) avg = 0.0; count = 0; for line in fh: if not line.startswith("X-DSPAM-Confidence:") : continue pos = line.find(':'); substring = line[pos+1:]; snum = substring.strip(); num = float(snum); ...
[ "princeshubham22699@gmail.com" ]
princeshubham22699@gmail.com
a669572bde947f0c360ee91d7e0581caa4d9ea20
acdef605201d62bfe005e4956486cca5da0fb049
/train_classifier.py
1ae8eb4b4565fd60a6fb7186eb34c85a5c471714
[ "MIT" ]
permissive
BrunoYang0918/Disaster-Response
68f6ab474b716ad644b496919d8dd76ab1f70041
d0d234af476b20d62b9e58c4c63c4adefda1936b
refs/heads/master
2020-04-24T23:26:49.643272
2019-02-26T13:39:13
2019-02-26T13:39:13
172,344,657
0
0
null
null
null
null
UTF-8
Python
false
false
5,495
py
# --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.3' # jupytext_version: 0.8.6 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # Train Classifier # #...
[ "noreply@github.com" ]
BrunoYang0918.noreply@github.com
4cdc462c66dbf52bd65ffa90d47ca5bfebbb3f68
6e3e1834eaad3a0c97bf645238e59a0599e047b4
/blog/urls/entries.py
b1a1b1567818f862b31ae4101bac790aab9a1abd
[ "JSON" ]
permissive
davogler/davsite
2dc42bfebb476d94f92520e8829999859deae80b
edd8ceed560690fa2c3eefde236416ffba559a2e
refs/heads/master
2021-01-19T06:31:20.655909
2014-01-03T19:04:13
2014-01-03T19:04:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
from django.conf.urls.defaults import * from django.views.generic.dates import YearArchiveView, MonthArchiveView, DayArchiveView, DateDetailView from blog.models import Entry entry_info_dict = {'queryset':Entry.live.all(), 'date_field': 'pub_date', } urlpatterns = patterns('', # Pagination for the equivalent of arch...
[ "dave@sparkhouse.com" ]
dave@sparkhouse.com
70fb34d8881ae2da93cf25919ddb43e7f711ca01
00ed34481bbcac5dead530ea59d2383750be049a
/src/util/seq2Img.py
e2471a0c157fdce376854052a2ca3705683f4270
[]
no_license
zhiruiluo/pdf_mal_dection
7177740b6d01959e982435a7b0cf1eecb042ca23
daaa959b1d9c7d54cad2515649ddfbe919898c5b
refs/heads/main
2023-09-03T11:45:37.322854
2021-11-10T06:16:00
2021-11-10T06:16:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
class Seq2Img(): def __init__(self): pass def transform(self): pass
[ "zhirluo@gmail.com" ]
zhirluo@gmail.com
c0008b5d6f63884391b3cec6d4819b877dd7bf97
8c0c889bf94caf04a91db4c071863ef4af992ce0
/ticTacToe.py
67e1328fc1a9bf599e33035280f180295d1dee17
[]
no_license
drewcsontos/TicTacToe-Python
6a22dcf71b6f720f3b29cd9b37bd2d911171a203
b92e637a30bf5112fda0997ccc13b8e0edb56261
refs/heads/master
2020-05-19T14:51:39.663759
2019-05-10T23:16:05
2019-05-10T23:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
import numpy as np array = [1,2,3,4,5,6,7,8,9] currentPlayer = "X" def changer(ay): string = "" div3 = 0 for x in ay: div3 += 1 string += str(x) + ' ' if div3 % 3 == 0: string += "\n" return string def checker(ay): #for x in ay: check = np.resh...
[ "noreply@github.com" ]
drewcsontos.noreply@github.com
1bc2eb6ed46fb945bf38f9523723f40108ae43b1
1f1813920cd1e5420a2972b13be97127f7aa5133
/config.py
543660270a41c74551247c31346007cac2ef63f2
[]
no_license
IBMStockTraderLite/trade-history-python
09f3739efe3a05063aca06a6070137e282b669d8
2fb9e1abfe683281323de535851cd05aafea5170
refs/heads/master
2022-11-08T01:40:20.121129
2020-06-15T22:59:39
2020-06-15T22:59:39
272,558,375
0
1
null
null
null
null
UTF-8
Python
false
false
846
py
""" Copyright 2017-2020 IBM Corp 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 ...
[ "carew@us.ibm.com" ]
carew@us.ibm.com
b9ee506054e9573421671716b6c510df1337b184
c4f8d037a95cb1a2d587a1f2a39405a0efb2958a
/Challenger_DataAnalysis.py
c0db4a78178047fbcae32b9cc0848b1a3b21fe91
[]
no_license
youngsoomoon/RiotAPI_Analysis
8a47fe6db4731ebeb770183a4164ad2c671574d1
fe8e05dcd18be9cd03db5ad834c5dd6086800b72
refs/heads/main
2023-04-17T08:23:55.923304
2021-05-03T05:34:09
2021-05-03T05:34:09
355,832,956
1
0
null
null
null
null
UTF-8
Python
false
false
9,721
py
# -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.11.1 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- ...
[ "moonyoungsu@naver.com" ]
moonyoungsu@naver.com
de0a6755f53a3eafe1e55015a31bd72ed0aab67c
40cc3ce84f4cf884a3699544b0396c962289016b
/wrappingPlanners/Neoclassical-Planning/gp_csp_ver1.1.2/Test.py
09740189e72bc96c4a746c070e6f1325cadb143a
[]
no_license
isbada/plantool
3abf3e32891892d6e19960caa0ab1a689304502e
c3c1b92e044f47e2e83aa256417c315d98960e23
refs/heads/master
2021-01-21T11:59:55.822864
2017-05-19T02:32:55
2017-05-19T02:32:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
import _gpcsp _gpcsp.oldmain(['gpcsp', '-csp', '-ldc', '-cutoff', '50000', '-o', 'domain.pddl', '-f', 'tower9.pddl'])
[ "996832853@qq.com" ]
996832853@qq.com
c56f75496000f1ad536224b2c2e38c0a931815bb
a769aaa89f5314f3702e1926d86b4e6ece79d701
/board/urls.py
c924f548d8a0a67c7edb0fd7992e6295bfa0bc35
[]
no_license
CASPER-REPSAC/casper-backend
3bfb5e75dea8c9134f1c8cf0e6ea09e8f8500d65
5d2d21c15d0312e65b96bf0c0a84f52e4c57ca00
refs/heads/main
2023-07-13T18:39:47.297854
2021-07-12T06:11:37
2021-07-12T06:11:37
378,759,864
1
0
null
2021-09-07T04:23:11
2021-06-20T23:41:01
Python
UTF-8
Python
false
false
495
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from board import views router = DefaultRouter() router.register(r'posts', views.PostViewSet) router.register(r'categories', views.CategoryViewSet) router.register(r'suggestions', views.SuggestionViewSet) router.register(r'chats', v...
[ "noreply@github.com" ]
CASPER-REPSAC.noreply@github.com
0143cea710f31022d5919c8a2a6621ac5ba1d148
dc31401bf279f2a2376af82a4914f2072542e7f1
/Python/88-Merge Sorted Array-V1.py
11bd239fe0d7afaf739f80b50036d146b0f1fbbf
[]
no_license
TJZ1990/leetcode
f877979b31c3a034c022dc8f1b263520f112eb08
4b3c7ee334809d6457f30ea617e5534a2702527c
refs/heads/master
2016-08-12T11:33:33.903834
2016-03-20T11:55:33
2016-03-20T11:55:33
44,373,291
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
class Solution(object): def merge(self, nums1, m, nums2, n): """ :type nums1: List[int] :type m: int :type nums2: List[int] :type n: int :rtype: void Do not return anything, modify nums1 in-place instead. """ i1 = m - 1 i2 = n - 1 i = m...
[ "tjz2009@yeah.net" ]
tjz2009@yeah.net
846c5cecb1d4a72e2e3b0b75e22f032feccc41ec
5b8d0cd314fdd4537bc77ce9209ca903694b02e8
/datasets/hate_speech_portuguese/hate_speech_portuguese.py
577644e09ec2d76215be6cde5bf21bf6ff2ee6aa
[ "Apache-2.0" ]
permissive
amankhandelia/datasets
97106f6d98b9cd17c50b1bf0c91f4ced6240dfd6
1a138f9bd2d1b62a255736375001bf918d36508d
refs/heads/master
2023-06-21T01:08:25.212378
2021-07-26T13:27:59
2021-07-26T13:27:59
389,644,974
1
0
Apache-2.0
2021-07-26T14:36:09
2021-07-26T13:36:08
null
UTF-8
Python
false
false
5,287
py
# coding=utf-8 # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor. # # 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/lice...
[ "noreply@github.com" ]
amankhandelia.noreply@github.com
6a618c1bc31e5c1d4847dc2b5e0c0a32c900fa48
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5f0e3a0ea1418e640797b57a7df0b8d2.py
d86e43c9777830cf80b69dc5421183e66abe8cff
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
84,931
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # 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,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
45037806bf225f86d2751623bd5ebac99333b549
18cd709cad01d13f06051e22a53111b4318a1ce2
/qa/rpc-tests/wallet.py
2d6118842adb4aa051e674042d35eb491b3f73b8
[ "MIT" ]
permissive
NodeHost/NODECore
8e0ba2794e6bd23af4e5c2126335c25a9c6e27ac
527a1eee6f1a9992f0d3f1cb9ffecf67e0211b43
refs/heads/master
2020-04-02T09:04:44.575856
2019-02-07T05:02:29
2019-02-07T05:02:29
154,274,665
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
#!/usr/bin/env python2 # Copyright (c) 2014 The Bitcoin Core developers # Distributed under the MIT/X11 software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Exercise the wallet. Ported from wallet.sh. # Does the following: # a) creates 3 nodes, with an emp...
[ "konez2k@gmail.com" ]
konez2k@gmail.com
86750648a6b749a7da7a53e98049373ef9ef6ea7
a524bfe7cce49118ed887e91a9d245e6f6358b20
/babs/exceptions/note_exception.py
9b5fa3d9364ea10067df447fcfc60d3b5152fbe5
[]
no_license
iskyd/babs
ceb353afea108e56138054931f25bdc2f46f111b
a9923ab8a22306936536b7d592ed65ac2c3fd59d
refs/heads/master
2021-06-18T23:50:12.435395
2019-03-28T15:16:52
2019-03-28T15:16:52
134,007,507
3
0
null
null
null
null
UTF-8
Python
false
false
41
py
class NoteException(Exception): pass
[ "careddumattia@gmail.com" ]
careddumattia@gmail.com
9329fa3e1b3876c67a51c90e9e30b719d9bf7ab7
b843994f7af838d1226841a5c6ccd08cb16f9780
/test/__init__.py
b47f86a8c755b33436c773f4090d8b95e74eb585
[]
no_license
Aprexx/blabla
1939e07d7417745d8b77d55ba5eb750643f6a5c4
44a9b4f54aef133ef25a8f2a3bce85d581724823
refs/heads/master
2021-01-22T18:33:58.726528
2017-03-31T21:38:03
2017-03-31T21:38:03
85,091,367
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
import agent_tests import msg_tests import tlvs_tests
[ "fizzy6492@gmail.com" ]
fizzy6492@gmail.com
c56df2a10e85a364cc8f8a5be1347de8cc461462
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_068/ch152_2020_06_21_21_06_14_910169.py
9ecba31ee2d4056ecb74c2d89f3f12ef2d768425
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
def verifica_preco(nome, n_cor, c_preco): cor = n_cor[nome] preco = c_preco[cor] return preco
[ "you@example.com" ]
you@example.com
78672e2f5468a4b34190873999d5d3f7a39f440e
2f060a06270e6a332a7e6ebefac29e4d354a8651
/leetcode/question_572/test_solution_1.py
279c56063e01f81416dd551ad550b810bb1c261a
[]
no_license
asxzhy/Leetcode
aa3e80072d5ae607e32c1dbeb0c1a83a43eccdee
81b967e1ac0bc1cc56d9ae636dcee89b7b26802f
refs/heads/master
2023-02-22T20:54:57.764702
2021-01-28T20:31:03
2021-01-28T20:31:03
287,551,898
0
0
null
2021-01-28T20:31:04
2020-08-14T14:28:28
Python
UTF-8
Python
false
false
1,113
py
from .solution_1 import Solution from .solution_1 import TreeNode def test_is_subtree_case_one(): # tree [3, 4, 5, 1, 2] s = TreeNode( 3, TreeNode(4, TreeNode(1), TreeNode(2)), TreeNode(5), ) # tree [4, 1, 2] t = TreeNode(4, TreeNode(1), TreeNode(2)) re...
[ "asxzhy.zhang@gmail.com" ]
asxzhy.zhang@gmail.com
b70c239c5624f51962f2462313939d9ddbd5e68b
aefc31eaa30db4cb44fd64e8e847064ad3db1132
/soc_ssa/migrations/0011_auto_20180626_1537.py
d69265b3503c4880812d99755366faa01a38e679
[]
no_license
sundw2015/841
934ca603a713f5ed170534f333adb71d5a4ca28a
d6e025d7e9d9e3aecfd399c77f376130edd8a2df
refs/heads/master
2022-12-11T13:33:34.342405
2021-07-26T03:24:40
2021-07-26T03:24:40
167,910,322
4
2
null
2022-12-09T02:19:24
2019-01-28T06:26:44
Python
UTF-8
Python
false
false
636
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('soc_ssa', '0010_auto_20180626_1510'), ] operations = [ migrations.RemoveField( model_name='seceventtype', ...
[ "guanchao@qssec.com" ]
guanchao@qssec.com
b2b0bcb274470509901337f8aafa2e13ec47fc33
278d7f4467a112416d1adfbcd3218033ff0fd9b3
/configs/gfl/gfl_r50_fpn_mstrain_2x_coco.py
ace084ddd452aab6f3f34cc7bc60057b5b0e2962
[]
no_license
Young-1217/detection
e3d67938b454e955b5b7a82d5ae222e62f9545fb
6760288dac92e00ddc3e813ed0e1363c1fa1ce2d
refs/heads/main
2023-06-01T21:41:37.998947
2021-06-21T10:03:01
2021-06-21T10:03:01
371,868,683
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
_base_ = './gfl_r50_fpn_1x_coco.py' # learning policy lr_config = dict(step=[16, 22]) total_epochs = 24 # multi-scale training img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations...
[ "noreply@github.com" ]
Young-1217.noreply@github.com
74f520d3b47d6a45ce9d104906392a74cd83cdbb
419778a5e350d444bb07b62839f5cac13fabac11
/week3/Qualcalc.py
bd7a7f8439d0b5289db546a03eca928befbb4162
[]
no_license
BGuy2/qbb2018-answers
6fc5f3b9d165a6ef9dbd6e239a1f60af345d4436
4e0162d0649465ae1bb30f1eab151349e81e054f
refs/heads/master
2021-07-17T08:23:57.987439
2018-12-26T18:06:01
2018-12-26T18:06:01
146,315,140
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
#!/usr/bin/env python3 import sys import matplotlib.pyplot as plt # # for line in open(sys.argv[1]): # if line.startswith("#"): # continue # else: # fields = line.strip("\r\n").split("\t") # columns = fields[7].split(";") # deptp = columns[7].split("=") # print(deptp) #...
[ "bguy2@jhu.edu" ]
bguy2@jhu.edu
e82b5b960860c3529c756f383200f65662a8a95e
0f464c70bcfed7a561b5e763c9175161ebc8cf0b
/hivemind/main/migrations/0004_entity_password.py
fcc85aa61f210aa397b7b56cba47d70a28e748ef
[]
no_license
andreylukin/Hivemind
30d72db9512495a6526f11c9f19c9d1a26533794
ff91d50791ae6cd270e8dc2ba4fe31f8200f137b
refs/heads/master
2021-01-12T17:35:45.154034
2016-10-23T12:47:48
2016-10-23T12:47:48
71,611,637
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-10-22 19:19 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0003_auto_20161022_1850'), ] operations = [ migrations.AddField( ...
[ "luk.andrey@gatech.edu" ]
luk.andrey@gatech.edu
f3fbbff840bfed25f76f1b118640b7b5dda1dc63
c4e898d39202136119a68bf979186215dfbca7dc
/test_your_brain_project/urls.py
f9c6f1d4d919249c351030f088ad9e00e604122e
[]
no_license
darreluchendu/testyourbrain
9604bde9f7b6bcb28dddb817362898f153a1fc32
192864d4a6f046f0eb5ac339c73d5b9be85dae98
refs/heads/master
2022-12-12T04:29:59.392898
2018-04-09T14:12:41
2018-04-09T14:12:41
127,493,387
0
0
null
2022-11-22T02:13:59
2018-03-31T02:52:32
Python
UTF-8
Python
false
false
1,047
py
"""test_your_brain_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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='ho...
[ "2236676u@student.gla.ac.uk" ]
2236676u@student.gla.ac.uk
1ebd0efe0a66f9a078725db1f244855bad4974a1
fe0071c9271883a6854f38e1e2e6091a3fa5c871
/gcd_soln/GcdUnitCL.py
84b88f70f76ac14a557d2e790f6c60217daefa7c
[]
no_license
mfkiwl/pymtl-tutorial
63edef14c67c0bb8ffa3699e93504b76e37bd62f
da438214111859a2959bc952c178197cccb82382
refs/heads/master
2022-01-13T01:04:12.969689
2019-06-22T15:58:25
2019-06-22T15:58:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,457
py
#========================================================================= # GCD Unit CL Model #========================================================================= from pymtl import * from pclib.ifcs import InValRdyBundle, OutValRdyBundle, valrdy_to_str from pclib.cl import InValRdyQueueAdapter, OutValRdy...
[ "lockhart@csl.cornell.edu" ]
lockhart@csl.cornell.edu
fc41b506821254727d4f96c0a016d04f4060ad0c
83b72e475a00bf1b9fd13d3b999fdae61881db83
/EntryLevel.py
1dfd216f219d55397d6e44b8f8c7d3372963c6b3
[]
no_license
rkguptaaa/PythonProgram
4d43b7056bbb557090c872a7c413eedeb9c8bc10
3285460c7241eca4b37b6be9c49d78b6f068cf7a
refs/heads/master
2020-09-15T03:54:08.809470
2020-01-10T08:56:53
2020-01-10T08:56:53
223,342,045
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 22 13:59:54 2019 @author: rgupta4 """ #This is if condition class ParentClass(): def __init__(self, Name, Class): self.StudentName = Name self.StudentClass = Class print('I m Parent') def PrintModel(self): print('Student Name is :'...
[ "ravi.gupta1@intsof.com" ]
ravi.gupta1@intsof.com
980be05260a7c05a89ad33bb3493e6bc5ebad38a
24d9fa8e79f5ff8a274b73cdcde972c0ea98e09b
/c12/e/op.py
7d915519d0da9aa7739782f036e9ec8527e9ab61
[]
no_license
Switch-vov/python-automate-the-boring-stuff
2428399a497cbf8a5514decfde067a91abe38188
a1b8d40c343a500eac15f695fdcb38282109d38a
refs/heads/master
2021-05-13T21:00:01.567856
2018-01-06T04:10:17
2018-01-06T04:10:17
116,451,765
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
import openpyxl workbook = openpyxl.load_workbook('example.xlsx') print(type(workbook)) print(workbook.get_sheet_names()) sheet = workbook.get_sheet_by_name('Sheet1') print(type(sheet)) print(sheet.title) active_sheet = workbook.get_active_sheet() print(sheet.title) A1 = active_sheet['A1'] print(A1) print(A1.value) pr...
[ "q547550831@outlook.com" ]
q547550831@outlook.com
de87933b637ac110be6291638717891dcb73c30e
a4f710870cd57eeca589f58824fa5d4f7d043258
/Curso em Vídeo/Python3/Mundo 2/ex053.py
9d53895ec875efff0b92e67741eadf50dab860c7
[]
no_license
UlissesMartins/Python3
a76e4e7d3da333c988cef870bba4e99a4eba95a8
8c274c8de32bfb02b70ed03b5ce1cda36781b654
refs/heads/master
2021-09-08T05:46:02.663884
2021-08-27T13:06:59
2021-08-27T13:06:59
140,956,137
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
# Crie um programa que leia uma frase qualquer e diga se ela é um palíndromo, desconsiderando os espaços frase = str(input('Digite uma frase: ')).strip().upper() palavras = frase.split() junto = ''.join(palavras) inverso = '' for letra in range(len(junto) - 1, -1, -1): inverso += junto[letra] print('O invers...
[ "noreply@github.com" ]
UlissesMartins.noreply@github.com
bb5d66aac04120bf9ff16913f178450951dc3ff6
930f619494f61aa29b33c0f5996a0f5de116282b
/phase/__init__.py
0cbc675b0eb23320728a6977cfe7a854f1252b24
[]
no_license
scott-trinkle/xphase
a86af0ec5188c2be074da2da2812aadca955d5c5
8125f13217e59b315ca1e5e20c3766f9113e000d
refs/heads/master
2020-04-27T19:30:37.753364
2019-03-21T19:09:42
2019-03-21T19:09:42
174,621,935
1
0
null
null
null
null
UTF-8
Python
false
false
112
py
from .material import Material from .experiment import Experiment from .constants import * from .utils import *
[ "tscott.trinkle@gmail.com" ]
tscott.trinkle@gmail.com
e007362f985c8d2e6793d6f6d5e7ba3a6cdecbdd
d6254d3a0996d7977816c167bc2af76677a52b87
/bigsi/cmds/search.py
cdbdd27ce5975e51c6880a3a79b9cbab407014af
[ "MIT" ]
permissive
rpetit3/BIGSI
f95c57a58e4ccfdd3d098737d76962a44565163e
d3e9a310e6c91c887d7917ced5609b6002a67623
refs/heads/master
2020-04-03T11:30:04.683289
2018-06-08T14:47:33
2018-06-08T14:47:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
#! /usr/bin/env python from __future__ import print_function # from bigsi.utils import min_lexo from bigsi.utils import seq_to_kmers from bigsi.graph import BIGSI as Graph import argparse import os.path import time from Bio import SeqIO import json import logging import sys logger = logging.getLogger(__name__) from big...
[ "wave@phel.im" ]
wave@phel.im
f4c5184a6cca72d60a9a2cf2d98f15f9d2314811
f907f8ce3b8c3b203e5bb9d3be012bea51efd85f
/around_square.py
b2b414eff97fad0c386ab0b4c9d138fc545e7555
[]
no_license
KohsukeKubota/Atcoder-practice
3b4b986395551443f957d1818d6f9a0bf6132e90
52554a2649445c2760fc3982e722854fed5b8ab1
refs/heads/master
2020-08-26T15:17:29.344402
2019-10-26T11:14:24
2019-10-26T11:14:24
217,052,829
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
import math N = int(input()) res = 0 for i in range(int(math.sqrt(N))+1): val = i**2 if val > res: res = val print(res)
[ "kohsuke@KohsukeKubotas-MacBook-Air.local" ]
kohsuke@KohsukeKubotas-MacBook-Air.local
90d7e06f3f8f8cb42fee6802b20f759e7005b963
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Sklearn_scipy_numpy/source/sklearn/ensemble/weight_boosting.py
9921afb4c5eddd2d815d5a2d70818839b8f59e9b
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
40,733
py
"""Weight Boosting This module contains weight boosting estimators for both classification and regression. The module structure is the following: - The ``BaseWeightBoosting`` base class implements a common ``fit`` method for all the estimators in the module. Regression and classification only differ from each ot...
[ "master@MacBook-Pro-admin.local" ]
master@MacBook-Pro-admin.local
e7d05d85db18bf50696472bb93d912fd45a99a56
7d3dc62ef4b3157a0b299eb7faaf38076fe112db
/q1/4_stat-mech-van/src_hop_sk/main.py
523717647d0da17d3f2dc26fb6a6dcd851d0a235
[ "MIT" ]
permissive
fieldplay/Buckyball-Ising-Model
5e4834656f6fd90c82d44171218b6ee9db1e9ea4
d4883ff670a7131161de53bcbff7947851403635
refs/heads/master
2020-08-04T02:55:37.536968
2019-05-14T03:10:17
2019-05-14T03:10:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,842
py
#!/usr/bin/env python3 # # Solving Statistical Mechanics using Variational Autoregressive Networks # Hopfield model and SK model import time import numpy as np import torch from torch import nn from args import args from made2 import MADE from hop import HopfieldModel from sk import SKModel from utils import ( e...
[ "gtc16@mails.tsinghua.edu.cn" ]
gtc16@mails.tsinghua.edu.cn
484ba68c0e0d351fa85034cae596bde15426bdc5
b2085ac89cd4e4de2e98fb749b99bb912ff5e83c
/main.py
d135facd5e20afaf8afc2f83bb3585540da01ed8
[]
no_license
mogyorosimartin/mems
8510180a3a33cf593acdda52fc139a305a382689
6a5f36e7d1fc23f567ed290436db5f571f0e4ed1
refs/heads/master
2020-03-31T08:05:58.729353
2019-01-15T08:50:04
2019-01-15T08:50:04
152,045,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,396
py
import Adafruit_DHT as dht import time import datetime import mysql import math import googlelog as gl import csvlog as csvl import argparse parser= argparse.ArgumentParser(description='Raspberry-alapú időjárásállomás') parser.add_argument('-t',dest='time', help='Mérési gyakoriság percben', type=float, default=1) pars...
[ "noreply@github.com" ]
mogyorosimartin.noreply@github.com
3e1152a223b9c144d0f833a5b0eeb5e98901a9ff
49099ef1ffefe5fcec83702483888d0f98c11679
/backend/almanac/migrations/0009_userpreference_join_requests.py
9d0ba4ae5eeffd53dfca02447229205a50f211f8
[]
no_license
taekop/swpp2020-team2
e5fdb68056aa593b8b3b17bcd265c90a98177a01
b86355ede536c00f7974e04540b126386f47f63c
refs/heads/master
2023-02-01T22:51:17.550476
2020-12-18T07:17:27
2020-12-18T07:17:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
# Generated by Django 3.1.2 on 2020-11-16 02:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('almanac', '0008_auto_20201112_0740'), ] operations = [ migrations.AddField( model_name='userpreference', name='join_...
[ "zeuskimone@gmail.com" ]
zeuskimone@gmail.com
c7abda45ae8c2d5d71cd2a6aba2040ae86df7ee8
66a6c73e00d7465711590bd45e1cfae7a8ac8e5a
/app.py
8d933028556caa18045ef6d6503f54289787fe5d
[ "MIT" ]
permissive
francisco-fajardo/generador-usuarios-inscripcion
d5cc83301c6e1512502152316150d57ee8856588
aeb735536f96c1a35cebf329fba32523184e5cde
refs/heads/master
2023-06-09T21:31:38.301590
2021-07-03T01:01:31
2021-07-03T01:01:31
382,372,022
0
0
null
null
null
null
UTF-8
Python
false
false
5,040
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from tkinter import ttk from tkinter import * import secrets import string import os import sqlite3 class App: data_dir = "data" db_file = os.path.join(data_dir, "database.db") version = "v1.0.0" def __init__(self, window): self.window = window...
[ "leober.ramos33@gmail.com" ]
leober.ramos33@gmail.com
b4de665b7d94aa6443a4f386f32ee3a24d3910ca
8ce3e82b27aac4f4e32cc603fa68dcfde9c59182
/Bitwise Operations On Images/opencv_bitwise_operations_on_images.py
b84f2c7909ce31b81f910cb02e1012bfe8bb64ac
[ "MIT" ]
permissive
pasanjg/opencv-examples
f0c485bed6f5ffa0d5024a7df2698e728bff05bd
08a155c3aac513749efc47559e6518f96df884e6
refs/heads/master
2022-08-05T14:37:10.843236
2020-08-29T07:24:44
2020-08-29T07:24:44
220,072,768
0
1
null
null
null
null
UTF-8
Python
false
false
641
py
import cv2 import numpy as np image1 = np.zeros((250, 500, 3), np.uint8) image1 = cv2.rectangle(image1, (200, 0), (300, 100), (255, 255, 255), -1) image2 = cv2.imread('../images/image_1.png') ''' logical operators affecting images 0 - black 1 - white ''' bitAnd = cv2.bitwise_and(image2, image1) bitOr = cv2.b...
[ "44201430+pasanjg@users.noreply.github.com" ]
44201430+pasanjg@users.noreply.github.com
26bf22618e89371f9af5e040aadbccffb9bca7a2
6ca4bc648423ef62c478f90f9b179a7b63fca88d
/parsing.py
74df04274cd5bf15bfd146a707f67a6bd8fcc2bb
[]
no_license
ms747/CompilerBasics
b3de9fc27b14a9e88aab41de98aad6d25f3a7f77
b4a4bf5e16b47e7c1fa65138d0098414cc08b011
refs/heads/master
2023-06-03T22:22:22.648728
2021-06-22T05:03:28
2021-06-22T05:03:28
378,441,233
0
0
null
null
null
null
UTF-8
Python
false
false
2,440
py
from types import * class PrimaryExpression: def __init__(self, value): self.value = value def execute(self): return int(self.value) def __repr__(self): return f"Primary({self.value})" class BinaryExpression: def __init__(self, left=None, op=None, right=None): ...
[ "mayur.shah.ha@gmail.com" ]
mayur.shah.ha@gmail.com
8bedc19f64709ee67759bbf8e773a5593fb2a7d6
1952e26c290bad272561db8ca0965d82addf377a
/2884 알람시계.py
ff516f629bcdd2a16a9c2b8f5988c8ffb0f4e327
[]
no_license
sojunhwi/Python
b4731fcb8777d1d294dcf2e5e55944ce7f00706c
832ad8e29764f58874eb83276b6b1f304c613104
refs/heads/master
2020-08-22T03:40:15.359015
2019-10-25T06:19:27
2019-10-25T06:19:27
184,200,446
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
H, M = map(int, input().split()) if M <= 44: if H == 0: H = 23 elif H>0 and H<=23: H -=1 M += 15 elif M>=45 and M<60: M -=45 print(H, M)
[ "sjha24@naver.com" ]
sjha24@naver.com
e26564e24610b3c0c93871f75ebb8bcdef8e799f
7553f199fd765cf954d9b070c4bfb87836f53467
/functions.py
d7e7372ac6d2cef44f6bc0065cc965d85e67ac14
[]
no_license
ok-loneranger/Catch-your-mind
f3d1a2c9e0411e56be4abf70924db4397e0f43a2
26f1bbb47df3072e906dc958d2a30c1caed1914b
refs/heads/master
2020-12-06T04:43:42.382587
2020-01-16T15:56:17
2020-01-16T15:56:17
232,346,960
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
import pygame import options import random import math def player_moves_right(): if options.player_position_x < options.window_size_x - 110: options.player_position_x += options.player_speed def player_moves_left(): if options.player_position_x > 10: options.player_position_x -= opt...
[ "noreply@github.com" ]
ok-loneranger.noreply@github.com
7af5293603cb77a7b6416fa818a5dc6fc60d60fd
8537447ed708b0f27c7c133d97d8c2929e1fa18e
/integrationtest/vm/virtualrouter/ps/test_disable_ps_del_attached_vol.py
1ce4f477a8da11056347efff5a87b0d486d90344
[ "Apache-2.0" ]
permissive
mrwangxc/zstack-woodpecker
d60d3ce74e1fbc717c099e0311c0d2af37672ef3
97ba4dfc1939ee2b77d0eff2c7a69f3226991688
refs/heads/master
2021-01-17T23:02:46.782449
2017-02-23T07:28:37
2017-02-23T07:28:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
''' New Integration Test for delete attached volume under PS disable mode. @author: SyZhao ''' import zstackwoodpecker.test_util as test_util import zstackwoodpecker.test_lib as test_lib import zstackwoodpecker.test_state as test_state import zstackwoodpecker.operations.primarystorage_operations as ps_ops imp...
[ "zsyzsyhao@foxmail.com" ]
zsyzsyhao@foxmail.com
0722aa44e85b471cfd925fb93c26b6a67d44e482
80297e868e57016d287e1db7caa416ade83343c4
/main.py
b18274fd4b8835d9d22b00aed54e9c4b0d4b6ba1
[]
no_license
felix-dumit/superheroes
72356b7019b207308118e5b0533f02df59907053
66047823eb20a7f16f54e6d564546ac44eb2868e
refs/heads/master
2021-01-21T09:06:34.759967
2014-12-15T19:09:49
2014-12-15T19:09:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,819
py
from character import heroes, villains, shared_comics, VillainTeam, HeroTeam import multiprocessing import array import random import sys from deap import algorithms from deap import base from deap import creator from deap import tools cache_teams = {} def convertChromosomeToHeroTeam(chromosome): heroIds = tupl...
[ "felix.dumit@gmail.com" ]
felix.dumit@gmail.com
f540173dc4d507e0e9e6371b7d37e10cb6b970c0
3dbd0843275d6b39224170974b9b327b0a065592
/mnist/mnistRNN.py
d232ea67a74a0275b850c3dc6d8ec2d9788fc4fe
[]
no_license
yanbin93/DeepLearning
4b3250a7f457ba250eb79e71e9cb24a1fb65f76e
75d7e4e98a0385f12afe085174ce297f322da51c
refs/heads/master
2020-06-26T11:28:52.987116
2017-12-06T03:18:59
2017-12-06T03:18:59
97,018,012
0
0
null
null
null
null
UTF-8
Python
false
false
3,187
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import tensorflow as tf from tensorflow.contrib import rnn import numpy as np from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("/home/yanbin/data/MNIST_data/",one_hot=True) # Parameters learning_rate = 0.001 training_iters = 100000...
[ "1010652868@qq.com" ]
1010652868@qq.com
5abafeb3d0abb364a805a5cd2cbba9da567b31f4
4cda8e4469986f19139f55cb6d3292e0845b9ba7
/TrabalhosEDA3/TrabalhosEDA3/wsgi.py
6563788c34103006700f826e4cf23257d6bd65bf
[]
no_license
EDAII/Lista3_2018-02-Allan_Filipe
23c16692cc9c95828c322164e21a1c0ca74eee70
559991baea12fb4fb55c0a8c239640a919239059
refs/heads/master
2020-03-28T08:25:26.652996
2018-10-19T05:26:18
2018-10-19T05:26:18
147,964,240
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for TrabalhosEDA2 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "filipekn4@gmail.com" ]
filipekn4@gmail.com
75f33a50056f2286b145c44e8361185d4ff87561
16b4229a925a4e3b0e760f401d80c4d2adb793a9
/models/real_nvp/coupling_layer.py
d8b2581f2febe1eaab92fecde288e1f539fd103a
[ "MIT" ]
permissive
ahmadkhajehnejad/real-nvp
4fc5a6a5f23fe076304b5652277a8de70ab4f068
15f51eb91388fc232334123ac11467c4d3aa3d33
refs/heads/master
2022-08-11T09:37:32.353605
2020-05-18T12:24:39
2020-05-18T12:24:39
261,586,549
0
0
MIT
2020-05-05T21:25:51
2020-05-05T21:25:50
null
UTF-8
Python
false
false
3,919
py
import torch import torch.nn as nn from enum import IntEnum from models.resnet import ResNet from util import checkerboard_mask class MaskType(IntEnum): CHECKERBOARD = 0 CHANNEL_WISE = 1 class CouplingLayer(nn.Module): """Coupling layer in RealNVP. Args: in_channels (int): Number of channe...
[ "chutechristopher@gmail.com" ]
chutechristopher@gmail.com
b08f5c7bbd7f523be6cfef0c157c99b311bb5f9f
952f99fbd9315330db5cfed78d8f72630bab5353
/GetRepo.py
05413a19eae247c7c8f316394bc67c1ccd74f7c3
[]
no_license
joncucci/GitHubAPI567
f2bc15ea2665db3e5ec205953bdda030aefc1cc6
d7299cbef2425b278aa03784c3b21edee5a4945f
refs/heads/master
2023-08-13T20:43:36.915701
2021-10-02T20:50:17
2021-10-02T20:50:17
412,906,511
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
import json, requests base = 'https://api.github.com/' token = 'TOKEN HERE' ''' params = {"state": "open",} headers = {'Authorization': f'token {token}'} ''' ''' Add to base: For list of repo names: users/<ID>/repos For list of commits: repos/<ID>/<REPO>/commits ''' def get_repos(id): output = {} # If AP...
[ "joncucci@gmail.com" ]
joncucci@gmail.com
02e4fbe4535d2b7c0983b305399c7b442082d716
251d56a94b0d879a07a3d47a41f21258fa452a1f
/soqt/lilac.py
4127feb783bb69597b471987d0d06cc245cd1b83
[]
no_license
paroque28/arch4edu
d9bb5f5af008989454fe71677621149ae45c58cc
24df17749cf556ed668c3a886a698ecbdcca211c
refs/heads/master
2020-12-26T13:33:43.987122
2020-01-27T16:41:41
2020-01-27T16:41:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
#!/usr/bin/env python3 from lilaclib import * maintainers = [{'github': 'petronny'}] update_on = [{'aur': None}] repo_depends = ['coin'] build_prefix = 'extra-x86_64' pre_build = aur_pre_build post_build = aur_post_build if __name__ == '__main__': single_main(build_prefix)
[ "i@jingbei.li" ]
i@jingbei.li
f6faef782668bf45415ed729616955efd386dc7f
29bd0e9b5bdef7e2b4ff79edda3be258d5bde63c
/xonsh/lazyasd.py
b5001b7814baea53efdc285b84123993cb7d5545
[ "BSD-2-Clause" ]
permissive
xonsh/xonsh
4dec5e4c14a4a82f81277a89d8ab6091869fc29e
60f0145ed893cb73bbfcf336c448238981010d41
refs/heads/main
2023-08-31T03:37:57.786839
2023-08-23T15:30:20
2023-08-23T15:30:20
29,620,400
6,374
684
NOASSERTION
2023-09-11T02:52:37
2015-01-21T22:05:27
Python
UTF-8
Python
false
false
11,288
py
"""Lazy and self destructive containers for speeding up module import.""" # Copyright 2015-2016, the xonsh developers. All rights reserved. import builtins import collections.abc as cabc import importlib import importlib.util import os import sys import threading import time import types import typing as tp __version_...
[ "noreply@github.com" ]
xonsh.noreply@github.com
835b38ff4be5c8d71d5f106637f5c64db8fb4247
6424a1cd8709269046ecbd54220ef524bd544a2a
/work_compute.py
ce00e131fcbbc7522d9677d168df632243ce2d4d
[]
no_license
elaynejones/ml-practice
e3d62100c5c5aa1b7c5df38828f7ab1649970488
83a891114af018c4c6389c39775c0765eacedb3a
refs/heads/main
2023-04-26T22:21:40.149225
2021-05-19T19:59:42
2021-05-19T19:59:42
349,521,911
0
0
null
null
null
null
UTF-8
Python
false
false
12,859
py
#make enviro from specification file name: py_env dependencies: - numpy - pandas - scikit-learn - pip: - azureml-defaults #then use this to make ML enviro from azureml.core import Environment env = Environment.from_conda_specification(name='training_environment', ...
[ "noreply@github.com" ]
elaynejones.noreply@github.com
cde99f8843eb326a0db7e44b6f419d0b5b465f1a
39d9cc04fc9f09974495b58a58c5b9e291f406a8
/Labs/Lab3/library.py
d73b215ac2ade7ad1131a674ff19a4915da964d2
[]
no_license
pyopoly/3522_A00699267
40c131da6d9fc80090443afb9ab44ac6d297d955
5fbc92a7ddd9103076a7095124b5ae108b002f03
refs/heads/master
2023-04-02T00:38:22.761237
2021-04-09T20:29:09
2021-04-09T20:29:09
329,747,711
0
0
null
null
null
null
UTF-8
Python
false
false
4,795
py
""" This module houses the library. The library uses a catalogue to manage its library items. Currently, there are Books, DVDs, and Journals in the library. The library provides the interface for the user, while the catalogue manages the Library_items. """ __author__ = "Jack Shih" __version__ = "Jan 2021" from catalo...
[ "pyopoly@gmail.com" ]
pyopoly@gmail.com
56aceb4af73c59684df5c5acbffce3711e16c735
abcfd07772ce75f34e51592189c29cf84d1a3611
/flask/lib/python3.6/site-packages/sqlparse/utils.py
a620f2d3c17fbfba4d56e6a4d8608c27420f4868
[]
no_license
yuhaihui3435/p_mc
66d89bcccf214e53729b26a0f80ddee8797e9e3e
3039a5c691b649fc88e941a2553b1a7e0aac2a0a
refs/heads/master
2021-06-28T18:52:00.111385
2017-09-15T00:26:02
2017-09-15T00:26:58
103,524,396
0
0
null
null
null
null
UTF-8
Python
false
false
3,490
py
# -*- coding: utf-8 -*- # # Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause import itertools import re from collections import deque from contextlib import contextmanager from sql...
[ "125227112@qq.com" ]
125227112@qq.com
989bcb331bc7fd8e669d3f97f7db546aa6bd3b26
c4a518190832366b97da43b18d14d4054f6b481a
/rwaTest_MacVersion.py
93ceef5a4072bd9b271dd367b393237d5ee020e4
[]
no_license
AA-CubeSat-Team/testBed_rpi
e3d4ce54f025fac97e510afe1f2e14af8045cf91
93916d2254c3b4e3f2ccd89528c045879e8bb214
refs/heads/master
2021-06-28T22:56:02.155914
2020-11-20T06:11:35
2020-11-20T06:11:35
181,969,266
1
0
null
null
null
null
UTF-8
Python
false
false
8,375
py
# master RWA handling script # first time, run in command line: sudo apt-get install python-spidev #import spidev #import time #spi = spidev.SpiDev() #spi.open(0, 0) #spi.max_speed_hz(244000) # RWA range is 150-300 kHz # msb = input >> 8 # lsb = input & 0xFF # spi.xfer([msb, lsb]) # Function t...
[ "wpope@uw.edu" ]
wpope@uw.edu
da74e413c17472fc1a3ef9285cf4ece7ce0aa68a
19b4b9ea5fcdd6905000388e527452481477d11d
/app1/urls.py
222533713f45a0cfd9bb69edb82483427b3dc366
[]
no_license
jwalstab/ptest
cb7de4b115fbea01c77aa0bf884ec8a5b2bbe960
57cf7c653aead88ba54638c8cce78edae4c5911b
refs/heads/master
2020-08-01T15:21:04.445431
2019-09-26T10:17:19
2019-09-26T10:17:19
211,032,536
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from django.urls import path from . import views urlpatterns = [ path('', views.home, name="home"), path('home', views.home, name="home"), path('add', views.add, name ="add") ]
[ "jaywalstab@outlook.com" ]
jaywalstab@outlook.com
1a33230c8da40ee45fc479fbd78ae2b2dbd5b3a0
34d67d4cde542ee053911aa7298be26243263b44
/code/tree_model_class.py
2440ef2ea0cfeebb042d337dc15c80cbb3b612b9
[]
no_license
wackydodo/sphinx
57f3d3d47a50e94c0b1b5b474c82290b7173cfbf
50c0eeb2d331aa66ab65a0af16ecfae74d23df61
refs/heads/master
2021-01-23T04:13:40.669430
2017-03-25T21:58:22
2017-03-25T21:58:22
86,174,232
0
0
null
null
null
null
UTF-8
Python
false
false
5,093
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import numpy as np class TreeModel: def __init__(self, decision_times=[ 0, 15, 45, 85, 185, 285, 385],\ sub_interval = 5, prob_scale = 1): """ Here we only consider the decision nodes and periods. Since the last period is not unce...
[ "wackydodotrade@gmail.com" ]
wackydodotrade@gmail.com
ca56defa3ec240d8936c4be4212107c56fbe1192
ad3193043f9a4cd37c960e871b112d0c3868bcc8
/tests/test_ai.py
e0dc3b032b7472f308a7bca0496e0ae7406b455b
[]
no_license
bibaijin/iwallpaper
3f7eccdf734c79c56bc39b8b64a393d92a68d8e4
e391b026a4a36b5dbec473df06e03a79676147c6
refs/heads/master
2021-05-04T14:25:46.140910
2018-03-18T08:52:05
2018-03-18T08:52:05
120,200,810
0
0
null
null
null
null
UTF-8
Python
false
false
2,310
py
import numpy as np import iwallpaper.ai as ai from iwallpaper.config import CONFIG def test_rank_to_y(): assert np.equal(ai.Rank(1).to_y(), [1, 0, 0, 0, 0]).all() assert np.equal(ai.Rank(2).to_y(), [0, 1, 0, 0, 0]).all() assert np.equal(ai.Rank(3).to_y(), [0, 0, 1, 0, 0]).all() assert np.equal(ai.Ran...
[ "bibaijin@gmail.com" ]
bibaijin@gmail.com
9f584eef1e16c099b302b46700d7f5656fb4a836
740b08a6d070448ba8231256be0570fc47849f8a
/train.py
e57c39c3d94fc84dbb8c3832887efd4bb60b25ad
[ "Apache-2.0" ]
permissive
jingmouren/informative-outlier-mining
2b7ffb249f66a4e3355d6adbd4225f82948b9316
760821f4aadaebff801ea45e5d6fd2a59c74f91f
refs/heads/master
2023-01-05T19:59:53.481628
2020-10-23T21:36:45
2020-10-23T21:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,415
py
import argparse import os import sys import shutil import time import torch import torch.nn as nn import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.nn.functional as F import torch.optim import torch.utils.data import torchvision.transforms as transforms import torchvision.datasets as dataset...
[ "jfchen666@gmail.com" ]
jfchen666@gmail.com
06011b747332a9f2b29aab6c03bc753428c460db
7b97efa9ffedc26fbc08fc104b57977286f0e8d4
/kekangpai/testCon/modelbackup.py
b0ca6b65d28e611a97e3108c4ff983dc4a677541
[ "Apache-2.0" ]
permissive
fluxguardian/BandHelper
fbb9042e74d5ab64ae0bd86c1c2506c17dc03385
ce8ca3094c6cc4b05b213766710ba6263f41705d
refs/heads/master
2021-12-16T07:10:33.702094
2016-10-03T16:00:42
2016-10-03T16:00:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,641
py
#!/usr/bin/env python # coding=utf-8 from __future__ import unicode_literals from django.db import models # Create your models here. ''' 学院派会告诉你在设计的时候把应该有的约束都加上 而实践派得出的结论是主键一定加,非空约束尽量加,外键最好依赖于程序逻辑,而不是数据库,从而更好的拥抱变化,快速响应,数据库也会有相对较好的性能 ''' #以下是学生登录信息表 #主要信息有 1.账号 2.密码 class Account(models.Model): username = models...
[ "caterpillarous@yahoo.com" ]
caterpillarous@yahoo.com
075f8c0bc9d38fd5662cb22b44b11e17283355dc
c5a7760e1cbe3b23bfc49ce3e6cde8bb780f01f8
/Pages/HomePage.py
b9643e9b0bae044181fc92f57c81d5d00985a740
[]
no_license
alipala/Facebook
e9a0b78e5c38c40da47f245b1a71b28e56773b82
73d23ff3c025a95537797df869d24b5bc7220faf
refs/heads/master
2022-07-11T19:55:21.873809
2019-11-14T20:23:30
2019-11-14T20:23:30
221,695,682
1
1
null
2022-06-21T23:27:08
2019-11-14T12:44:51
Python
UTF-8
Python
false
false
682
py
from Locators.home import HomeLocators class HomePage: def __init__(self, driver): self.driver = driver self.bookmark_icon_left_xpath = HomeLocators.bookmark_icon_left_xpath self.user_navigation_label_id = HomeLocators.user_navigation_label_id self.logout_span_xpath = Hom...
[ "ali.pala@siemens.com" ]
ali.pala@siemens.com
bbad3a80e5318dbecae9f042e4b7132ef89bddb3
d5283aace127506164d4faa243746c2512c6c855
/conc_venv/bin/pip3
f8e3aea05ae5b8db83898b619acf8dce5c680a40
[]
no_license
roger254/Concurrency_Python
b70d2f93ed5cb53f3dfd239782c9abf1e0352f3d
d38e468bdb555e0ce67743d1c95c87bca0884eaf
refs/heads/master
2020-04-20T18:22:59.017474
2019-02-04T02:42:52
2019-02-04T02:42:52
169,019,463
0
0
null
null
null
null
UTF-8
Python
false
false
412
#!/home/roger/PycharmProjects/Concurrency2/conc_venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0...
[ "rogerbrian.mutua@gmail.com" ]
rogerbrian.mutua@gmail.com
85a7bbd35a77a65a53e0216db3dc924d383c8b52
e38b038286ebc8f5ee9f851482dc33d119e8bd6f
/training_3D/test_confusion_matrix.py
d03e51b965f1892cdb934c417ad3eb892119c2cb
[]
no_license
leflemluc/MRIs
50fb7adbdfec7f377eac5f2c77cff0b110465e5c
a66cbdf899e9cdce002f53689f55aaa7c13985a2
refs/heads/master
2020-04-01T19:37:48.873881
2019-09-13T03:58:11
2019-09-13T03:58:11
153,563,624
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from mlxtend.evaluate import confusion_matrix from mlxtend.plotting import plot_confusion_matrix y_target = [1, 1, 1, 0, 0, 2, 0, 3] y_predicted = [1, 0, 1, 0, 0, 2, 1, 3] cm = confusion_matrix(y_target=y_target, y_predicted=y_predicted, binary=False) import matplotl...
[ "leflemluc@gmail.com" ]
leflemluc@gmail.com
ca7fe2126b290de9c15044feaa402731564a284c
846506a6c9023a21ff831c637f71cffd3b0aab62
/Python/X_Archive/AddLabelSplits.py
585014bdeeaa59c66a2eac711aee31123872d4e2
[]
no_license
emonson/Weinfurt_DocFreq
b90378e57af7c17d32c72e5924a1b9af9f0f6584
1c9082d8ce4c0d002b6a65d446421840e24435fd
refs/heads/master
2020-05-29T21:05:01.397101
2015-01-22T13:53:53
2015-01-22T13:53:53
29,681,004
0
1
null
null
null
null
UTF-8
Python
false
false
1,753
py
# After changing data labels to new dataXXX scheme, automating # some of the sentence splits based on the Datamap...xls sheet import xlrd book = xlrd.open_workbook('Datamap with Sentence IDs.xls') sh = book.sheet_by_index(0) ids = sh.col_values(0,12) sentences = sh.col_values(1,12) f = open('LongVer_newLabelsPrelim...
[ "emonson@cs.duke.edu" ]
emonson@cs.duke.edu
7f77fb3562993641b617a5b8f28eb60e5b4690d8
615f83418985b80f2a2a47200acb08dfa9418fc7
/identities/widgets.py
f59c91e055afcef5e61baf70b159870a655016a6
[ "MIT" ]
permissive
alejo8591/maker
a42b89ddc426da326a397765dc091db45dd50d8e
001e85eaf489c93b565efe679eb159cfcfef4c67
refs/heads/master
2016-09-06T19:36:01.864526
2013-03-23T06:54:21
2013-03-23T06:54:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
# encoding: utf-8 # Copyright 2013 maker # License """ Identities module widgets """ WIDGETS = {'widget_contact_me': {'title': 'My Contact Card', 'size': "95%"}} def get_widgets(request): "Returns a set of all available widgets" return WIDGETS
[ "alejo8591@gmail.com" ]
alejo8591@gmail.com
fc03483fd51af21d7011aefcdb15b9eaf9d4d645
349dadbf45b7c12a3fe41c5e0421c0488b679919
/transformers/tests/test_modeling_longformer.py
2d30bd3ba4bcd77d8802388c40bc455a2be55d2c
[ "Apache-2.0", "BSD-3-Clause", "CC0-1.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense" ]
permissive
salesforce/CodeRL
c772e408bac690527759f416ea22add4c97e5bec
51db4ff983d5376e62b9e7eba150316a651c80d9
refs/heads/main
2023-08-18T18:38:02.740995
2022-11-18T16:14:28
2022-11-18T16:14:28
508,912,853
412
52
BSD-3-Clause
2023-08-31T07:51:27
2022-06-30T02:54:36
Python
UTF-8
Python
false
false
30,157
py
# coding=utf-8 # Copyright 2020 The HuggingFace Team. 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 requir...
[ "hungle@salesforce.com" ]
hungle@salesforce.com
659cd49c246a6729ee4b3982bb58bd6f5c238292
60ba77dc07ad36382f0d5539690ef14b9f7ea01b
/ui/towerView.py
2f4c9f5d8860696a0f297a4f752fe956d334b7a6
[]
no_license
shubhamrb/Air_Traffic_Control_Model
ed8ddf2d5a75371dfec26e1d9736ba9c69996f88
652a53f564b336716e13e03b3225f25e21bd77aa
refs/heads/master
2020-12-15T17:52:46.669281
2020-01-20T22:33:50
2020-01-20T22:33:50
235,192,493
0
0
null
null
null
null
UTF-8
Python
false
false
7,979
py
from PyQt5 import QtCore, QtGui, QtWidgets class Ui_towerViewControllerPane(object): def setupUi(self, towerViewControllerPane): towerViewControllerPane.setObjectName("towerViewControllerPane") towerViewControllerPane.resize(260, 259) self.verticalLayout_2 = QtWidgets.QVBoxLayout(to...
[ "noreply@github.com" ]
shubhamrb.noreply@github.com
5994ea332aec109e18d01ba8790f3aae2bcf867c
5c863d7b58204dfbe7ecb9bfa24085cd2165967c
/Chapter01/4. importing_spss.py
ce6aa1f2f08f2d57e563fdd52ccb16cd863d6d7b
[ "MIT" ]
permissive
karyshev63rus/Python-Data-Cleaning-Cookbook
4b34f9caf2c9415c137418d866b2dab2cdf4420d
fc86d182217ae10e40f0ea035084e3e9d638bed6
refs/heads/master
2023-04-17T08:57:37.364738
2021-05-04T17:38:50
2021-05-04T17:38:50
364,278,521
0
0
MIT
2021-05-04T14:12:36
2021-05-04T14:12:35
null
UTF-8
Python
false
false
2,533
py
# import pandas, numpy, and pyreadstat import pandas as pd import numpy as np import pyreadstat pd.set_option('display.max_columns', 5) pd.options.display.float_format = '{:,.2f}'.format pd.set_option('display.width', 75) # retrieve spss data, along with the meta data nls97spss, metaspss = pyreadstat.read_sav('data/nl...
[ "noreply@github.com" ]
karyshev63rus.noreply@github.com
9fa1eef441427dbc31a6b3821675d6bfcc0a7512
da8adef15efbdacda32b19196b391f63d5026e3a
/ITMO/ML/Lab5/main.py
5fbef8d876250cd8a74ae41ce03cc26e95b369ec
[]
no_license
rubcuadra/MachineLearning
05da95c1f800e6acbce97f6ca825bd7a41d806a6
aa13dd007a7954d50586cca6dd413a04db18ef77
refs/heads/master
2021-03-19T17:33:14.080691
2018-10-19T23:43:27
2018-10-19T23:43:27
100,544,903
8
1
null
null
null
null
UTF-8
Python
false
false
4,440
py
''' You should implement the feature selection algorithm based on the utility metric (the Filter method). Implement several utility metrics and compare their performance at classification tasks. https://en.wikipedia.org/wiki/Feature_selection https://machinelearningmastery.com/an-introduction-to-feature-selection/...
[ "rubcuadra@gmail.com" ]
rubcuadra@gmail.com
a7966bdb82ab09e9f62e7860c2e8b0923662df52
6b8396dd578fe205ee26d0bc58238c8115d7852d
/q24.py
22483e75f66ffa9323a359d97cb220db1d595f07
[]
no_license
mayuriindalkar/loop
702bc7890f086275336c4e4edc4fb846d829fb81
fba215fc820c7ee8f763e984d9475c2682b13125
refs/heads/main
2023-08-04T05:58:50.481644
2021-09-16T05:28:52
2021-09-16T05:28:52
407,032,578
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
# num=int(input("enter the number of row : ")) # for i in range (num): # print("*"*num) num=int(input("enter the row number : ")) i=0 while i<num: print("*"*num) i=i+1 print()
[ "noreply@github.com" ]
mayuriindalkar.noreply@github.com
ee2e725f8eb1badf3fc19b55454680019d9ee6f2
186793e98e490db4e1eb864a417805766b94bf38
/rel-proj/learn/test.py
4e068870117afd6caa90331e7b72f7e03bfbd08c
[]
no_license
Lizzy-Gallagher/Scene-Retrieval-IW2016
2094ac4c82a1ff9a85dd7641c1608dbe5f73c6ba
85726e98ad94941619041f025b48e32088a1d68d
refs/heads/master
2021-06-16T11:41:04.590051
2017-05-09T02:15:01
2017-05-09T02:15:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
from sklearn import svm import load ## ## Command-Line Argument Parsing ## import argparse parser = argparse.ArgumentParser() parser.add_argument("input_filename", help="the input filename") args = parser.parse_args() input_filename = args.input_filename if ".arff" not in input_filename and ".csv" not in input_fil...
[ "erb2@princeton.edu" ]
erb2@princeton.edu
be1f53665e8022b4ede91764bb78e101e375c601
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/inventory/manager.py
070e01170b61f1d5f188966caf37738bde4fb084
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
23,674
py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
[ "sifang@cisco.com" ]
sifang@cisco.com
1bb07510688d3964c7aca45b4a95662d6c4bf7c7
e1c0c2c1b7e505b17c8653018a5f80d1dcb61213
/venv/lib/python3.7/site-packages/mediapipe/calculators/util/landmarks_refinement_calculator_pb2.py
46e649c2bc50577ce7fd7846ef4a54b01dde7539
[]
no_license
youngchoy/Handiosk
cabc6661e7e89821436463b9a7034aa9755d2e67
6704e74078db352954b379b3859dae72cab56711
refs/heads/master
2023-09-04T20:33:57.067806
2021-11-23T03:19:56
2021-11-23T03:19:56
419,381,597
0
0
null
null
null
null
UTF-8
Python
false
true
15,250
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mediapipe/calculators/util/landmarks_refinement_calculator.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf i...
[ "njs04288@gmail.com" ]
njs04288@gmail.com
b3bc5ef4c76800e801a5f4cd561bb35cb8d48529
f97f38fe005ad93838957af6d8c7fa3bea4af0aa
/DHT22/dht22-rpi.py
4a1a34224479ff2223247d670aa2d0fbcbb631cb
[]
no_license
p4p4/rpi-stuff
317f48ba3b5b753b742f4f5d0353b21e8e9e8ccd
c44efb92e12022559e3dc24956b134435ac2891c
refs/heads/master
2021-07-08T06:23:41.498734
2017-10-08T09:23:54
2017-10-08T09:23:54
106,163,742
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
import thingspeak import time import Adafruit_DHT channel_id = 12345 # PUT CHANNEL ID HERE write_key = 'ABCDEFGHIJKLMNOPQE' # PUT YOUR WRITE KEY HERE read_key = 'ABCDEFGHIJKLMNOPQE' # PUT YOUR READ KEY HERE pin = 4 sensor = Adafruit_DHT.DHT22 def measure(channel): try: humidity, temperature = Adafrui...
[ "patrick@bulme.eu" ]
patrick@bulme.eu
83fc41a316c477ca7cd45032a881ba26c2dec98e
7cb9719d2ad107059a25c6ca9d3e51dac28271b5
/ConstructBTfromInandPostTraversal.py
ad161bfb6fee7f7a7052c8ec191fb62d7d8cbfa2
[]
no_license
yibeihuang/LeetCode
1aeb3814a1be43230a0080deb6d4271072c14902
853a6257e17f79a816f5e877843a9409f82a8c13
refs/heads/master
2021-05-03T06:47:37.728070
2017-08-31T01:35:20
2017-08-31T01:35:20
69,592,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
__author__ = 'yibeihuang' # Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def buildTree(self, inorder, postorder): """ :type inorder: List[int] :type posto...
[ "yh2791@columbia.edu" ]
yh2791@columbia.edu
99d075743e1c9db0111830ca76779589c40455a2
80abcfdaddd40690a4b8776e58b1f1cbdd0c8c5b
/djangoSite/urls.py
38b896bf51bf71c00197bb08d548dbcbe7e7e6eb
[]
no_license
Serhii999/Django_HW
240167faf5236994b6c163190211b5229ae3026a
0486119885d7c17cc23e3a867af7b591a8c44d6e
refs/heads/master
2023-03-27T18:14:44.920304
2021-03-26T13:52:42
2021-03-26T13:52:42
351,797,429
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
"""djangoSite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "serhii.korzhov@nure.ua" ]
serhii.korzhov@nure.ua
eaf03016d1fdc5b96c893ec373ed203f150d9d9f
19df633c59e0b985d6f7fe8f9ee5cf8234ab7322
/get_concern_file.py
3e59bf274ad04b3bbbe207c2e0cd6532772163b8
[]
no_license
Lennethe/github_api
a14e04506cb97db3b4b0f72088a9691a0fa11233
40fead9674436bc174b58318ec482548a7576219
refs/heads/master
2022-12-12T08:27:10.799536
2020-09-03T09:42:31
2020-09-03T09:42:31
290,681,612
0
0
null
2020-09-03T09:42:32
2020-08-27T05:10:57
Python
UTF-8
Python
false
false
2,137
py
import requests import json import USER def url_to_json(GITHUB_URL, GITHUB_TOKEN): response = requests.get(GITHUB_URL, auth=('', GITHUB_TOKEN)) return json.loads(response.text) def get_pull_numbers(GITHUB_URL, GITHUB_TOKEN, state="all"): GITHUB_URL += "pulls?state="+state response = url_to_json(GITH...
[ "41440576+Lennethe@users.noreply.github.com" ]
41440576+Lennethe@users.noreply.github.com
fe1390de1b1e53874e1df6d00e3bfab571876848
b2cc40d616418064b47f6b99739a076439020e7f
/detection/data_prepare/__init__.py
e52b7124af194645d717a532825f166dc6a7fac6
[]
no_license
lhkwok9/covid_explainable_cnn
b9cef63072d09e6d2367b38093b8f6ab627f141c
06b3c5add832f5e153909a4534f2bed13d56edbc
refs/heads/main
2023-07-18T12:42:53.255773
2021-09-08T07:25:33
2021-09-08T07:25:33
404,250,685
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
from .data_prepare import *
[ "noreply@github.com" ]
lhkwok9.noreply@github.com
7f05ece85a7ae1f1af0650328505e4f7eea12b8c
eaf3922fa5589b0ffbf39d605ec184518ca51b08
/craigslist_sample1/craigslist_sample1/items.py
85280b79fe3cb5bdada96394909d9a31c8a01025
[]
no_license
thomasalvatran/Jan2018Scrapy
0b51bd38bae457974a682b884331b8aa02ce5fc7
5defbfb5624737dbdcda6d63551e3aed6767fffd
refs/heads/master
2021-05-12T11:57:57.481378
2018-01-14T16:14:11
2018-01-14T16:14:11
117,402,532
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
#!/usr/bin/Python2.7 # -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html from scrapy.item import Item, Field class CraigslistSample1Item(Item): title = Field() link = Field()
[ "thomasalvatran@gmail.com" ]
thomasalvatran@gmail.com
89f0fd4e8dad97f7e54f4c23592f05c464894cde
1531a308000b714b070f815b34ab8648f60ce142
/wrapper.py
8d93de01e7ca4d33f8ebf0040df772cada70f009
[]
no_license
jimkeir/EDProxy
5f03337ca49129b878be9f7adcf3a45b42ba4a18
60970c0878970b1d36f79f95f764e7d771772832
refs/heads/master
2020-03-20T23:54:31.520067
2020-01-14T13:25:14
2020-01-14T13:25:14
137,869,170
12
1
null
null
null
null
UTF-8
Python
false
false
2,082
py
import socket, select import threading import logging class SocketWrapper(object): def __init__(self, sock): self._log = logging.getLogger("com.fussyware.edproxy") self._sock = sock self._sock.settimeout(60) self._lock = threading.Lock() self._closed = Fals...
[ "weston.boyd@hypori.com" ]
weston.boyd@hypori.com
f0c1e3916520b07eb78e33fe42e78258ce3f0c39
c9febf3177a0379f507a74fce396c3f148f4d56f
/setup.py
eee3ef1520f45a00ef4583ef4001ad441214ff74
[ "Apache-2.0" ]
permissive
NeuroArchitect/lm
cf0d46339cc4115f5b59291ca2d7b5defca9746c
036dcd9a49aa4f5b8b872f4e3a3b8821cbb0b060
refs/heads/master
2022-12-16T12:45:03.724935
2020-09-06T19:40:28
2020-09-06T19:40:28
292,129,927
0
1
Apache-2.0
2020-09-06T03:05:55
2020-09-01T23:29:54
null
UTF-8
Python
false
false
3,765
py
#!/usr/bin/env python """ Simple check list from AllenNLP repo: https://github.com/allenai/allennlp/blob/master/setup.py To create the package for pypi. 1. Change the version in __init__.py, setup.py as well as docs/source/conf.py. 2. Unpin specific versions from setup.py (like isort). 2. Commit these changes with the ...
[ "mistobaan@gmail.com" ]
mistobaan@gmail.com
9bba5e140d5ac0cf928119e0caad231cb61179ca
3ac1f4950f36cbea3008b3919800e5f035a2e4c6
/hydra-configs-torch/hydra_configs/torch/nn/modules/loss.py
1d81b154e79d53bab4aeeefa51dc51a0cd8de56f
[ "MIT" ]
permissive
isabella232/hydra-torch
014bd5b82966a40012b247c676edfeb414477f6c
60d5e42367fae297441c06220bf2f23b23225124
refs/heads/master
2023-04-06T12:54:42.163746
2021-04-08T20:59:25
2021-04-08T20:59:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,188
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # # Generated by configen, do not edit. # See https://github.com/facebookresearch/hydra/tree/master/tools/configen # fmt: off # isort:skip_file # flake8: noqa from dataclasses import dataclass, field from omegaconf import MISSING from typing import...
[ "rosario@cs.washington.edu" ]
rosario@cs.washington.edu