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
3748a9e8a475776c784dacc5951e89171f92e72b
cb2a4180ffc0df4296737134230397069de8da21
/accounts/signals.py
d6f2b8bc1882f084fe375b450158fdf3249fc531
[ "MIT" ]
permissive
fagrimacs/fagrimacs_production
8a9cef4e1d73360301fd66f4f0b70ea4868ef610
ea1a8f92c41c416309cc1fdd8deb02f41a9c95a0
refs/heads/master
2022-12-23T22:08:27.768479
2020-09-24T10:10:35
2020-09-24T10:10:35
295,315,768
0
0
MIT
2020-09-24T10:10:36
2020-09-14T05:44:21
JavaScript
UTF-8
Python
false
false
646
py
from django.db.models.signals import pre_save from django.dispatch import receiver from .models import UserProfile @receiver(pre_save, sender=UserProfile) def delete_prev_profile_pic(sender, instance, **kwargs): if instance.pk: try: prev_profile = UserProfile.objects.get( pk=i...
[ "zendainnocent@gmail.com" ]
zendainnocent@gmail.com
216d0e5c1001e89b218aef24c8cabfa7ee8027a8
5a310398592ddb75d27dc67c9b45198e31cb0d55
/rfid-v1.py
d941851aa03ed4b0f8dbaef378689460a5bf2f2a
[]
no_license
ch-tseng/rfidDoor2
97871be9d431515425180b8e0893400a9b147831
ed04b794d6c70dc223bb2f75e5d7367bea8353b4
refs/heads/master
2021-01-20T04:21:23.102422
2017-05-04T05:03:02
2017-05-04T05:03:02
89,674,676
0
1
null
null
null
null
UTF-8
Python
false
false
1,950
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import socket import urllib.request import logging import json #import base64 import binascii import sys import time # A UDP server # Set up a UDP server UDPSock = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) # Listen on port 21567 # (to all IP addresses on this sys...
[ "ch.tseng@sunplusit.com" ]
ch.tseng@sunplusit.com
2265604085f0b363acfc4bbfcfd9c1294885eb23
626b14ce13986b6d5e03143e151004247659625a
/Day01-15/code/Day07/dict2.py
1f89c849d510ca7c3702747ec28763684b8c1a4f
[]
no_license
Focavn/Python-100-Days
c7586ecf7ae3f1fd42f024558bb998be23ee9df8
d8de6307aeff9fe31fd752bd7725b9cc3fbc084b
refs/heads/master
2021-08-08T17:57:02.025178
2020-09-17T11:58:04
2020-09-17T11:58:04
220,427,144
0
0
null
2019-11-08T08:59:43
2019-11-08T08:59:41
null
UTF-8
Python
false
false
575
py
""" 字典的常用操作 Version: 0.1 Author: 骆昊 Date: 2018-03-06 """ def main(): stu = {'name': '骆昊', 'age': 38, 'gender': True} print(stu) print(stu.keys()) print(stu.values()) print(stu.items()) for elem in stu.items(): print(elem) print(elem[0], elem[1]) if 'age' ...
[ "Focavn@users.github.com" ]
Focavn@users.github.com
439e7791a1e34f6ecad6c4253cc225a1a92b54ce
4e0543a2231ed041d3837e104005ff5e131d6714
/imagepro/settings.py
2907c4b3a3ee5ab3ca6855462383126012214667
[]
no_license
brendanmanning/Image-Processing-Project
7606adb87865525915f0f5b9a85b0bd33cf442a1
61e46f81c111b90fb2b2ae958b8154f77007b9f8
refs/heads/main
2023-03-23T22:06:43.630696
2021-03-23T01:38:02
2021-03-23T01:38:02
348,441,240
0
0
null
null
null
null
UTF-8
Python
false
false
7,068
py
''' MIT License Copyright (c) 2019 Arshdeep Bahga and Vijay Madisetti 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, mo...
[ "" ]
96e6b180de682b27e384d4ac457f410705460971
d0b2bfd3c3c5999667576141c5b7c28af837fc3d
/cyg_plan_pagos/reportes/__init__.py
70cd67fd5387e8a09b0bf8273a6f7ede4a48d678
[]
no_license
edisonguachamin/cyg
c34a55875e8be5824e9fa5e0e58f1216144154a3
2a400b6c3d33602684d9478f999253e696c8534b
refs/heads/master
2021-01-02T09:15:55.522581
2015-02-26T00:02:03
2015-02-26T00:02:03
31,244,324
0
1
null
null
null
null
UTF-8
Python
false
false
327
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2014-Today # CyG xxxx # @autor: Jonathan Finlay <jfinlay@riseup.net> # ############################################################################## import report_payment import report_st...
[ "edison.guachamin@gmail.com" ]
edison.guachamin@gmail.com
7411f27ad02c4b93fccce394b876e457e646fe41
4b7fda167f5faf26ad3ba4aa8fe093759a2701b4
/setup.py
4ca7644cf989594af6bdc39f97f141bef92b4cf5
[]
no_license
Mark42/veracross_api
6aa4f19a50ab56555a179ea811dfc4b9b8be6e76
f0662fb9b1959d6fda75af05d5f8b639a9c0a465
refs/heads/master
2023-04-25T23:07:15.080092
2019-06-24T22:14:35
2019-06-24T22:14:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
from distutils.core import setup import setuptools from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='veracross_api', packages=['veracross_api'], version='0.5', ...
[ "forrest.beck@da.org" ]
forrest.beck@da.org
c663457a1e3ed995d156a9683853ccf9c25bd48e
950c66cccb6dc9df1752788defa18b6ca9deb330
/app/main/errors.py
c06b7a941e5e95c3506dfca9e0d8c7df54c27d7a
[ "MIT" ]
permissive
margretmwangi/NewsHighlight
7ca16e7305461a0694cd3ffd98d3b6bdcb14db1b
091c64b24acb5ee7650238e5cc0687bcea8cd178
refs/heads/master
2022-04-25T09:51:41.784350
2020-04-27T18:41:02
2020-04-27T18:41:02
258,537,771
0
0
MIT
2020-04-27T18:15:58
2020-04-24T14:38:20
HTML
UTF-8
Python
false
false
196
py
from flask import render_template from . import main @main.errorhandler(404) def not_found(error): """ Function to render the 404 error page """ return render_template('404.html'), 404
[ "margaret13mwangi@gmail.com" ]
margaret13mwangi@gmail.com
fa9fccdba11e3a5161caca78f093918d44ec1789
207ab89146f30c6573bf3506510152c8c924c2bd
/test/integration/test_output_transform.py
3889fcdb0c7a34b1da40f1d56c9688beea20d16d
[ "Apache-2.0" ]
permissive
theraw/nighthawk
7fe39ee7f23c84d525d35eea06e168ea4dba991c
317dba600a5e7ae3095383a1161f784f578f7426
refs/heads/master
2022-11-05T06:11:31.059304
2020-06-19T19:02:02
2020-06-19T19:02:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
#!/usr/bin/env python3 import pytest from test.integration import utility import os import subprocess def _run_output_transform_with_args(args): return utility.run_binary_with_args("nighthawk_output_transform", args) def test_output_transform_help(): (exit_code, output) = _run_output_transform_with_args("--hel...
[ "noreply@github.com" ]
noreply@github.com
fe8763de336ee65092b7aaec84eea8912eb81c8c
df75b4d24416bb764db61931457f367872d8a66c
/django_states/main/migrations/0006_auto__add_field_statecapital_state__chg_field_statecapital_latitude__c.py
fa52b64db591b04f547b608edbe24fd3731be7db
[]
no_license
Bofahda/states
bb1f7caf8409e363ba2cb67974464854f14570d8
11016ac07040177e81e53b1ea88739b4de0ea936
refs/heads/master
2020-12-24T16:58:56.789855
2015-08-12T09:20:53
2015-08-12T09:20:53
40,591,309
0
0
null
null
null
null
UTF-8
Python
false
false
2,729
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'StateCapital.state' db.add_column(u'main_statecapital', '...
[ "user@Users-MacBook-Air.local" ]
user@Users-MacBook-Air.local
fe6aa27d544a7bc06532e7cb5bfad0801c9b1eba
8174d11add088a2413d5a7fdf8233059c3876f52
/docs/examples/pool.py
9265af58ef12bca9806eb7e1896aa4e7797bc85c
[ "MIT" ]
permissive
AraHaan/aioredis
903eaaefb243c8bc8d70c9178baf721446c9cc7f
19be499015a8cf32580e937cbfd711fd48489eca
refs/heads/master
2023-03-17T03:16:46.281210
2022-02-22T14:33:33
2022-02-22T14:33:33
82,424,636
1
0
MIT
2023-03-07T15:57:29
2017-02-19T00:20:56
Python
UTF-8
Python
false
false
648
py
import asyncio import aioredis async def main(): redis = aioredis.from_url("redis://localhost", max_connections=10) await redis.execute_command("set", "my-key", "value") val = await redis.execute_command("get", "my-key") print("raw value:", val) async def main_pool(): pool = aioredis.Connection...
[ "sean_stewart@me.com" ]
sean_stewart@me.com
381b951e04e4543292f60b018cbdeaaf140dbd15
ee49fbe3c0ce61379fe2a884342e5e6470c918e5
/tools/texture.py
a67819835973afe44c10acf2af0b3b789c39d04f
[]
no_license
Prof222/camera-obscura
290c4819269986c2093f442f9296fe0177a07ed5
20fbb0d798ba12bbfdc8036e9707954bf76d69d9
refs/heads/master
2021-01-21T03:24:50.093630
2017-09-10T19:05:47
2017-09-10T19:05:47
101,895,400
0
0
null
2017-09-10T19:03:16
2017-08-30T15:01:48
Python
UTF-8
Python
false
false
15,221
py
from __future__ import with_statement from gletools.gl import * from .util import Context, DependencyException, quad, ExtensionMissing from ctypes import string_at, sizeof, byref, c_char_p, cast, c_void_p, POINTER, memmove, c_ubyte, string_at try: import Image has_pil = True except: has_pil ...
[ "noreply@github.com" ]
noreply@github.com
734c51a8c062eb6de62195d7e60d9329e31e8df6
9b0e60703ecefc1a4fe2fe54d838dc41c331d0ce
/src/signups/admin.py
3e0316e6b334506f971d0d2ab6fcabaf17a8c1d8
[]
no_license
vinothini22/mvp
f4f0260fed7a8ed422457689e866b4dcab87cfae
d18e0c8454b01402837ee94172de43763546905a
refs/heads/master
2021-01-01T15:50:24.555156
2014-09-10T03:57:57
2014-09-10T03:57:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from django.contrib import admin # Register your models here. from signups.models import Signup """class SignupAdmin(admin.ModelAdmin): class Meta: model = Signup""" admin.site.register(Signup)
[ "vino.rv2@gmail.com" ]
vino.rv2@gmail.com
8989f3601bdf239ab9afb02f1537dc5d01693da4
2b69c06306872ba60f5e2624263c9171e498c710
/PANPytorch/trainer/trainer.py
885ed68823f09f45feab6663b5cf91a7b15b03cd
[ "Apache-2.0" ]
permissive
bilal-rachik/text-localization
a72948fde68a3ab508ea780cfe4c90b792707e46
9162ab1436256b0a053f5d228c0b7c2011e7d82e
refs/heads/master
2022-12-08T18:41:39.054281
2020-09-09T08:22:12
2020-09-09T08:22:12
293,534,156
0
0
null
null
null
null
UTF-8
Python
false
false
10,204
py
# -*- coding: utf-8 -*- # @Time : 2019/8/23 21:58 # @Author : zhoujun import os import cv2 import shutil import numpy as np import time from tqdm import tqdm import torch import torchvision.utils as vutils from torchvision import transforms from PANPytorch.post_processing import decode from PANPytorch.utils import...
[ "brachik@bigapps.fr" ]
brachik@bigapps.fr
6134850fd7818a9dcf64d35c57c579fb11960213
1a0902bf1403510e6038d2542e959a68000e028a
/helloworld.py
2114f0793048ea0afb0241ba36b5ae5adbcfe688
[]
no_license
henzfalz/HelloWorld
5e9e705fb43ec6cca2a981fb8672bb3fed0c3eee
181d7c77cbda98a4c7e883ed83ab77fe7e22d715
refs/heads/master
2020-03-13T09:07:50.250506
2018-05-04T19:29:19
2018-05-04T19:29:19
131,057,916
0
1
null
2018-04-25T20:44:48
2018-04-25T20:08:04
Python
UTF-8
Python
false
false
101,591
py
# -*- coding: utf-8 -*- from LineAPI.linepy import * from LineAPI.akad.ttypes import Message from LineAPI.akad.ttypes import ContentType as Type from gtts import gTTS from time import sleep from datetime import datetime, timedelta from bs4 import BeautifulSoup from googletrans import Translator from humanfriendly impo...
[ "noreply@github.com" ]
noreply@github.com
07ee852c8d0b57c49ce3b4bf6f1a092363300b09
68466546bdf505ac9668bc5508370b350190f56b
/vae/envs/reacher.py
e71f85464e7c257cc6df89428674011bde30d987
[]
no_license
MishaLaskin/vae
a05e01929eebf5c81ac995e78b2833d4562e955c
4ec2c18e0c0c5a531a9b36d948e4ea115d992727
refs/heads/master
2020-07-20T18:50:26.939543
2019-09-06T02:13:44
2019-09-06T02:13:44
206,694,363
0
0
null
null
null
null
UTF-8
Python
false
false
6,233
py
import numpy as np import pickle import torch from dm_control import suite from gym.spaces import Box, Dict from vae.models import VAE class GoalImageEnv: def __init__(self, env_name=None, mode=None, act_dim=None, reward_type='pixeldiff', ...
[ "laskin.misha@gmail.com" ]
laskin.misha@gmail.com
2e83cecc70ee4497d5e6350b4cd1f5292a03febd
e7e34a88c150009a0653d6fee8f4cf40312908ad
/bruteforce/bruteForceList.py
2fef73b798ca50452c11480e7834e4edaf480e0a
[]
no_license
SharpShooter17/Python
a75e282b2c5098db0ef01cdcf357493849dbfa77
f7b4593a08e3580b4d553c3689b50ce19f47b631
refs/heads/master
2021-05-07T00:29:44.017535
2018-01-28T09:40:09
2018-01-28T09:40:09
110,150,339
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
your_list = 'abcdefghijklmnopqrstuvwxyz' complete_list = [] for current in range(3): a = [i for i in your_list] for y in range(current): a = [x+i for i in your_list for x in a] complete_list = complete_list+a
[ "b.ujazdowski@gmail.com" ]
b.ujazdowski@gmail.com
72e93af8ec74d62438d70db9a90b5582bfc4aa9d
124451bae7909f1285cc1baace7e066f3c069457
/day9/example_data.py
444fde0b2b99f48e7f41be474350e821126f970e
[]
no_license
matthiashamacher/Advent-of-Code-2020
4d125a42b4f527018146e4084040dfc9f5dffcc9
4b24b7a6976847a802bcd45ae6f4379cf74722a0
refs/heads/main
2023-01-29T21:08:01.814280
2020-12-13T12:25:28
2020-12-13T12:25:28
318,295,204
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
data = """ 35 20 15 25 47 40 62 55 65 95 102 117 150 182 127 219 299 277 309 576 """ result_part1 = 127 result_part2 = 62
[ "m.hamacher@mhamacher.de" ]
m.hamacher@mhamacher.de
714364cbe17eb0462f7f7729f896a429d40eb05e
da3e0a5adb0502dfe3438931c4682981dd75d836
/shared/utils/templatetags/text_tags.py
11c5a4c9cb944d2ab68793d123a22360856572e7
[ "MIT" ]
permissive
sha-red/django-shared-utils
def4bc83d702cb0c62db1035863500bdb242c42b
88059b53a10fdce960442fcfd7470fded4cabb19
refs/heads/master
2021-01-12T12:19:51.400720
2020-12-10T06:43:44
2020-12-10T06:43:44
72,434,005
0
0
null
null
null
null
UTF-8
Python
false
false
3,454
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import re import string from django import template from django.template.defaultfilters import stringfilter from django.utils.encoding import force_text from django.utils.html import conditional_escape from django.utils.safestring import mark_safe from ...
[ "erik@classlibrary.net" ]
erik@classlibrary.net
f3b1622bcb7fbe9c7b42b568817a065ba1646bb2
fa8c5ce1fc8182fefeaa07394ad8acb4c38bd223
/super_global_variable_and_super_keyword.py
55b6cc7ec0b92804e3855fec468b0e265de68e69
[]
no_license
manisha-jaiswal/variable-and-super-variable
7392cd3f41a0a2f8164a26553da2c8cbf0cd7c9f
6014db262279c6877581e81cf047ba5cd49bbf9a
refs/heads/master
2022-06-22T00:22:26.875677
2020-05-09T11:15:24
2020-05-09T11:15:24
262,553,747
1
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
#global and local variable and global keyword #-------------------------------------------------------------------------------------------- l=10 #global variable used in everywhere , global scope def function1(n): #l=5 #local variable , it is not used outside the function m=8 #local variable #l=l+45 ...
[ "noreply@github.com" ]
noreply@github.com
d0907a7ddb855d8b347fbf390726c78785b65a8d
e572ec1ce50d7701b1609c4ef2140abac6c459bb
/lab3/2nd assignment/depp.py
88da682127cfde43db7cd6af3fc015e3ddcd5de3
[]
no_license
platonv/bigdata_course
10d7076e1d82fc43520828cadfc71aa50b7aa524
751ba7e53389d9171297be507ac31a3412fbfb06
refs/heads/master
2021-04-06T13:13:34.871316
2018-04-06T08:54:24
2018-04-06T08:54:24
125,376,381
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from pyspark import SparkContext, SparkConf if __name__=='__main__': conf = SparkConf().setAppName("lab3ex1").setMaster("local") sc = SparkContext(conf=conf) lines = sc.textFile("/lab3_2/has_played_in/part-m-00000") filtered=lines.filter(lambda x: x.find("Johnny,Depp")!=-1); print '\n\n' print filtered.count() ...
[ "andreimesesan@yahoo.com" ]
andreimesesan@yahoo.com
14b6382005902b1f1ba788899a187b51d5038695
dbb793f03e944cbe4e36af4cc0a926ab7b684e8e
/studentregister/migrations/0001_initial.py
06f08cd5dfc03c4fbd6c689119cb150b9bffe9e7
[]
no_license
UlftKcy/django-register-app
cefcf371870419357b7b3247d01bd1fd9525a379
96bed1cfa3d76cc1fe28723c1686e1b0d1380d76
refs/heads/master
2023-08-16T03:22:25.090124
2021-10-20T15:55:51
2021-10-20T15:55:51
419,387,182
1
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
# Generated by Django 3.2.8 on 2021-10-20 08:25 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student_Register', fields=[ ('id', models.B...
[ "ukacay87@gmail.com" ]
ukacay87@gmail.com
fe735dbdb5a92306e652dc99f15ad3b0aa0599c2
323e6dd01cc5059623b9506aea63f9d1d6250d2c
/N_Mens_Morris/Morris.py
567d0339859c6a7f30c67840c290c53903ab88e3
[]
no_license
mf15726/Tp2
5cb29a31a518fe5710597b4e18b442affa346add
e73856045a4f7f47988cd7f946793311f571dd59
refs/heads/master
2020-04-22T22:15:13.954540
2019-02-14T14:42:29
2019-02-14T14:42:29
170,701,221
0
0
null
null
null
null
UTF-8
Python
false
false
10,914
py
#Packages import numpy as np import pandas as pd import random from copy import deepcopy import csv import matplotlib import matplotlib.pyplot as plt import tensorflow as tf from math import log import networkx as nx #Classes from learned_player import Learned_Player from random_player import Random_Player...
[ "noreply@github.com" ]
noreply@github.com
b9c79efd417aa62939f894e941ef2cddc2629860
70632f8a94ffa37e64b4cae5aea66bbd979603ca
/RRE Calculator.py
c89aec91469a65663a6d171522ad71848b9a3322
[]
no_license
nwilson14/Reduced-Row-Echelon-Form-Calculator
edc714cf5e7dd575911a98ded1642746ea0b1c75
2013c51937015abac94afdb0f523a49b90612429
refs/heads/master
2022-10-02T12:11:08.184268
2020-06-06T16:25:54
2020-06-06T16:25:54
270,030,259
1
0
null
null
null
null
UTF-8
Python
false
false
4,263
py
# Multiple Matrices are created to test the program # Comment out the Matrices you do not want to use. MATRIX = [[2.0, 4.0, 6.0], [1.0, 3.0, 9.0], [1.0, 6.0, 8.0]] MATRIX = [[2.0, 4.0, 8.0, 2.0], [1.0, 2.0, 0.0, 4.0], [1.0, 5.0, 3.0, 0.0], [2.0, 7.0, 2.0, 4....
[ "noreply@github.com" ]
noreply@github.com
2df1008afb7fa774acce316de5e1d9dd58f5af9c
8981127a683d105c266a179fd7bd967558b7cd12
/exp/__init__.py
d4bf7a2298b4699420e0dffac37f63d65f8384e0
[]
no_license
haossr/Human-friendly-preference
173da5511ab05de4eae206827722e69dbbf0f774
4d83aa16c1a1f2fbbcc77840c3f6cdd430b7945a
refs/heads/master
2020-12-27T22:50:00.195635
2020-03-05T06:13:03
2020-03-05T06:13:03
238,093,320
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
from .exp import Experiment
[ "haosheng@stanford.edu" ]
haosheng@stanford.edu
a14ab6df974107ea56998dc17be7330c4bf7fa0f
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/run_locally.runfiles/com_google_fhir/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/pywrap_tensorflow_internal.py
57359e7e1d2bc639df434b43db03044bd4c69c0c
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/pywrap_tensorflow_internal.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
187c3fc4c1f71964da91cace8450315224f8d3ad
c440f528c00965679b6d046a42bc9ea1049257b4
/tensor_flow_test.py
621cc631f0d99b18c3d5ec34f35aeaac3c06fa9d
[]
no_license
WooRaZil-Boy/DLND
9c68ec1795978a5e34634abbdf8bf36b9fd31e38
d92069cbdc93557dd187a66c1f16f2530cfb6df7
refs/heads/master
2021-06-20T05:36:07.936885
2017-07-20T01:23:30
2017-07-20T01:23:30
86,291,293
0
0
null
null
null
null
UTF-8
Python
false
false
8,033
py
import tensorflow as tf hello_constant = tf.constant("Hello world") #텐서 플로우는 기본 변수 저장을 tensor 단위로 한다. #tf.constant ()에 의해 리턴 된 텐서는 텐서의 값이 변하지 않기 때문에 상수 텐서라 부른다. # A is a 0-dimensional int32 tensor A = tf.constant(1234) # B is a 1-dimensional int32 tensor B = tf.constant([123,456,789]) # C is a 2-dimensional int32 t...
[ "byuncorry@hanmail.net" ]
byuncorry@hanmail.net
06d1a676a79e4717ef3a8f9091ba8612972c4f88
af829a7bb04f515b01dc78aaeb318991ead50d24
/cart/forms.py
05c7b1e1972cd2dd46c070cb532696742bea4a12
[]
no_license
marcinpelszyk/Djnago-ecom
75ffffb1d6fcd5457d9db8bf166610b15994203f
8ae049087c952b52f287dd58f6a91a2e83113921
refs/heads/main
2023-06-08T20:14:22.007418
2021-06-14T20:56:26
2021-06-14T20:56:26
376,601,973
0
0
null
2021-06-14T20:56:27
2021-06-13T17:26:48
HTML
UTF-8
Python
false
false
192
py
from django import forms from django import forms from .models import OrderItem class AddCartForm(forms.ModelForm): class Meta: model = OrderItem fields = ['quantity']
[ "marcin.pelszyk90@gmail.com" ]
marcin.pelszyk90@gmail.com
64541b443d026560b213cf649fddf14d9174859e
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/894c37be40744bf289920a1bd2eb6ba4.py
8a84f39bc980357d36a643c97a4bffbd58c75679
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
233
py
def hey(phrase): phrase = phrase.strip() if len(phrase) == 0: return 'Fine. Be that way!' elif phrase.isupper(): return 'Whoa, chill out!' elif phrase.endswith('?') : return 'Sure.' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
419569c9669a5484b018ffc38b0dceaf219047f3
6248927177c35b35ff8e1c4b5219f7684143e180
/quickstart.py
fd6ba10df187e86cd717bc12595bd7c81d7d7916
[]
no_license
lauradarcy/graphtoolpractice
0e4c110ac84daf47e8195111fb6354f92115509e
9e0b4f735c81317559adee176c23e7622991dd1a
refs/heads/master
2020-04-06T14:07:35.749501
2018-11-16T15:29:46
2018-11-16T15:29:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
import graph_tool.all as gt g = gt.Graph() v0_g = g.add_vertex() v1_g = g.add_vertex() e0_g = g.add_edge(v0_g,v1_g) g1 = gt.Graph(g) #this is a deep copy, so any further changes to g will not affect g1 v2_g = g.add_vertex() e2_g = g.add_edge(v0_g,v2_g) gt.graph_draw(g, vertex_text=g.vertex_index, vertex_font_size=18,...
[ "luludarcy@gmail.com" ]
luludarcy@gmail.com
c076365e81a1ffceb0cf95f537046d11f72da5f9
29b7eea3810b0dab40985a6f2533ff807ea4755a
/firstsite/sites/college/migrations/0005_delete_marks.py
5429f9402d702d36ab5247179154d728010c643e
[]
no_license
hayderAlmosawi/MyWork
674698495f2deceb2855b3d4c44fd53d4235aac7
26a1228e794fba786a63544d9c4777110efc681b
refs/heads/master
2021-01-10T11:36:34.153643
2016-04-09T16:17:38
2016-04-09T16:17:38
53,725,952
0
0
null
2016-04-09T16:06:15
2016-03-12T10:30:14
JavaScript
UTF-8
Python
false
false
345
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-03-05 14:42 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('college', '0004_marks'), ] operations = [ migrations.DeleteModel( name='...
[ "hayder719@gmail.com" ]
hayder719@gmail.com
3d952f006a6a746f5d7106ff9ca29ac82643fddd
2f242a319d45a8dcff46bfa2307fe03742edffc5
/src/module/scripts/generate_clusters.py
304633d89e1952caee7948c03dd36e215ca8a60f
[]
no_license
bengitles/final_project
6faeb599da723b6d762df125f94c163bd954e2a9
2527a3e722b27c48bf773d1d4c28ee57c92552f9
refs/heads/master
2021-01-01T08:21:09.957106
2014-12-16T17:09:25
2014-12-16T17:09:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,207
py
import csv import matplotlib.pyplot as plt import numpy as np import sys from pylab import savefig from sklearn.cluster import KMeans from sklearn.decomposition import PCA from sklearn.metrics import pairwise_distances_argmin_min def import_answers(filename): feature_questions = ['Answer.E1a', 'Answer.E1b', 'Answer...
[ "abhishek.gadiraju@gmail.com" ]
abhishek.gadiraju@gmail.com
c7129370443f104ccf475efa0da13bda8d448769
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/catapult/third_party/gsutil/gslib/hashing_helper.py
c26831fe3af861fcb437fa8a1e588da4bb246152
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
16,892
py
# -*- coding: utf-8 -*- # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
7b89d6fc1d32a653acadbcb42e0291d6bcbf2e75
5a3316076850c40155fd4458e32af11377e888ef
/tests/tests_for_history_service.py
dd356ee4511d476b98d3fd26e51f8d5b5d07a2e0
[]
no_license
Lv-447-Python/history-service-repository
bd71f7f2a03ca82ad10a1620989109de9a2236fe
7cac4ea4fec588518180f6158c2fd4c628ac47c3
refs/heads/develop
2022-12-11T01:21:03.854519
2019-12-26T22:49:11
2019-12-26T22:49:11
218,752,067
0
0
null
2022-12-08T06:58:55
2019-10-31T11:37:37
Python
UTF-8
Python
false
false
875
py
"""Module for history service testing.""" import unittest from history_service import APP, DB POSTGRES = { 'user': 'postgres', 'pw': 'postgres', 'db': 'HistoryTestDB', 'host': '127.0.0.1', 'port': '5432', } class HistoryServiceTestCase(unittest.TestCase): """General class for service resource...
[ "valentyn17@gmail.com" ]
valentyn17@gmail.com
a35e5dfaf0b8117e9aa0577ead52f0f6ccfc948b
df8fc5431ed40e355a12b22787aa63f2baca9456
/Task0.py
38a690d836e4992bd392dca9460140a9d2e929ed
[]
no_license
gaikwadapurva/Unscramble-Computer-Science-Problems
d931d11b3d6f0b3022328e96f0cbbfe182d02f6a
a5298082cd273d21c56b8a09f924f0fa3d04df01
refs/heads/master
2022-09-09T05:13:23.476095
2020-05-25T13:20:29
2020-05-25T13:20:29
266,773,131
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
""" Read file into texts and calls. It's ok if you don't understand how to read files. """ import csv with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) with open('calls.csv', 'r') as f: reader = csv.reader(f) calls = list(reader) """ TASK 0: What is the first record of tex...
[ "gaikwadapurva65@gmail.com" ]
gaikwadapurva65@gmail.com
138883483c657f0d94e071ae9a5d193d18f81d3f
eca097296c914c29f8701acfd3efcf7f795a9119
/modules/apitest/views.py
19fdecad343f63902edca4f6333b950a404f545f
[]
no_license
xudachengzi/tasks
a4ce50b1f90e345bb627927600fd2d7868cdb497
8e2e8f54add02fc2bb70e82b6356a513d243d810
refs/heads/master
2020-04-16T12:30:43.904569
2019-01-14T03:00:57
2019-01-14T03:00:57
165,582,443
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
from django.shortcuts import render, redirect from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth.decorators import login_required from django.contrib import auth from django.contrib.auth import authenticate, login def test(request): return HttpResponse('Hello Python') def login(...
[ "xu649047654@163.com" ]
xu649047654@163.com
8507c003779b6772a64260fe1ed4ba57f738c277
b2b499ef98711005a02c3529cbbde88d249510a7
/process.py
6c0f9f5ce578e07f3048e9b7679d98c61f1c4f1f
[]
no_license
emilynielson/drone_challenge
b42a9deff1d43e89e5b433e19a0719177762b7b4
de9abac00dae938bf6f713acbcf075bf6b1f332a
refs/heads/master
2020-03-31T10:56:31.385175
2018-10-10T00:25:57
2018-10-10T00:25:57
152,156,266
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
from drone import Drone from order import Order import sys import os from datetime import datetime import ipdb #Readlines in import file and return list of lines def importFile(filePath): with open(filePath) as f: content = f.readlines() f.close() return content #Write order number with depar...
[ "ecw1014@gmail.com" ]
ecw1014@gmail.com
f5a259477272d7b2fd22bf1a1bbcea312cbd1921
799c6dfa8693b277ca92f12a2093f52cca97210c
/Twitter/Twitter/apps/users/migrations/0001_initial.py
bd8b1b51df2e92d8d650d0d37b331a07050fa302
[]
no_license
KolesovaOlesya/task
46a033207b1a8689e28a0fd4b2ce885e1d8c26d2
fa72c2444283604e6d08fab78e006ab09754f763
refs/heads/master
2020-04-11T03:23:46.271606
2018-12-12T11:14:34
2018-12-12T11:14:34
161,471,702
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
# Generated by Django 2.1.3 on 2018-11-25 16:34 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(aut...
[ "kolesova.olesya.93@mail.ru" ]
kolesova.olesya.93@mail.ru
9400a770c4ec51d7b2b9fc887620c1727b823f17
2ee873ee61f2dfd422dc273ffdf8800dafd457c3
/src/wurf/url_download.py
801bf5a752c905d118357da4dc0a193bb55b4fd3
[ "BSD-3-Clause" ]
permissive
GameMonkey/waf
ef75f87fc93092be6be473913d768e9c74d4ab22
f246a8f3899a6456feda0d06f5f21aedcc7d8fc1
refs/heads/master
2020-12-02T21:20:39.697151
2017-07-06T11:21:41
2017-07-06T11:21:41
96,296,712
0
0
null
2017-07-06T11:22:56
2017-07-05T08:35:28
Python
UTF-8
Python
false
false
2,295
py
#! /usr/bin/env python # encoding: utf-8 import cgi import os from .compat import IS_PY2 if IS_PY2: # Python 2 from urllib2 import urlopen from urlparse import urlparse else: # Python 3 from urllib.request import urlopen from urllib.parse import urlparse class UrlDownload(object): de...
[ "morten@mortenvp.com" ]
morten@mortenvp.com
8829070ac250ac2824845aa0c2f13fbe2be8478b
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_19002.py
3593dffbce1abc3e5313e425c261f44a9b5adabd
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
# No datetime module in python how to install via easy_install? easy_install DateTime
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
6c7b90e6c72ee8e5fd6006ff8c23dbf6a106dc50
8941fa2cb407d7e451b30cd7e330d8053b03c367
/src/command_modules/azure-cli-extension/azure/cli/command_modules/extension/commands.py
36f94cdb152af9e53172e113661dd1ce12e29de4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
omerlh/azure-cli
0dfc6c4e996070891be17c5492c2f6e5b4ad326f
518f08f0c51382675ac10c0f3681d3e21dea88f1
refs/heads/dev
2021-08-20T06:14:42.571888
2017-11-28T02:03:35
2017-11-28T02:03:35
112,201,618
1
0
null
2017-11-27T13:51:02
2017-11-27T13:47:12
Python
UTF-8
Python
false
false
1,506
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
noreply@github.com
fbab0237ee264128ef38a29d1bf77e02444765be
de9716ac7ad944c9bf9139e73e85d026ede605c8
/site/blog/migrations/0001_initial.py
25719c107e73e5dde808c5349b43e45719e2c71f
[]
no_license
Igor-Yudin/cooking-blog
d2feb2ff71adca96243f587daad4e09b1d947231
67b888bc75c2d662c00826fc9e438bb5e6c4aba9
refs/heads/master
2021-01-11T16:36:46.849542
2017-03-30T18:24:14
2017-03-30T18:24:14
80,123,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,866
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-25 19:41 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "Igor_Yudin@inbox.ru" ]
Igor_Yudin@inbox.ru
7c08fd723a38602b8e19a3aa2adc67f12d44e429
85286d46f675bbe9c1f8fcc7534ab9d3849640e6
/toolBox/_classes.py
5c4e11ce2eada4a85fb57c35f1f7423c46b337ec
[]
no_license
gamug/pdfMiner_dev
e6e2642b27f80280aae6323b32616553b10caede
ef0f4492df4aa6d6504e97e5ea6ea673584db788
refs/heads/master
2020-07-20T07:42:35.330697
2019-09-10T19:41:55
2019-09-10T19:41:55
206,600,815
1
0
null
null
null
null
UTF-8
Python
false
false
3,257
py
# Class defined to couple words and search criterion import re, spacy import numpy as np class resultSearched(): def __init__(self, words, symbol, function='default'): self.words = words self.symbol = symbol if type(function) == str: self.function = self.default ...
[ "noreply@github.com" ]
noreply@github.com
62c90294b18a2c3fd268af603a53b8a22b86605c
30754a148b79903d6e49399f1f270c79934ce389
/fuzzinator/ui/tui/tui_listener.py
9427825e28a0e23a7c0a9b1feb0cd1a50d817e82
[ "BSD-3-Clause" ]
permissive
syedkhalid/fuzzinator
720ffc552c595b50de46e4e4e51f3a01cdc9aa77
f90b58605de563e77b85ed0d54d2beb29efc7d14
refs/heads/master
2021-04-09T17:31:06.625840
2018-03-12T14:37:18
2018-03-12T15:21:27
125,814,277
1
0
BSD-3-Clause
2018-03-19T06:53:29
2018-03-19T06:53:29
null
UTF-8
Python
false
false
1,054
py
# Copyright (c) 2016-2017 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. import inspect import os from fuzzinator.listener import EventLis...
[ "reni@inf.u-szeged.hu" ]
reni@inf.u-szeged.hu
834d806a1de11b9ede080c5f7971ceaf79826ab9
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/2/d_7.py
ab8cf5b7f1a98268b126e4f73b7ff347efe89e40
[]
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
d264e28ed2341e4155dedc2bdc2156861c78747e
e7ce273f404f82fd8672c97e50b386509c8f9870
/Advanced/File_Handling/Directory_Traversal.py
5aa0fbcbb285a6c22e60ca7405b8dd188b7a9b8b
[]
no_license
rzlatkov/Softuni
3edca300f8ecdcfd86e332557712e17552bc91c3
a494e35bff965b2b9dccc90e1381d5a1a23737a1
refs/heads/main
2023-07-02T12:49:59.737043
2021-08-13T20:47:07
2021-08-13T20:47:07
319,088,872
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
# Directory Traversal import os USER = os.getlogin() USED_PATH = '/home/rzlatkov/Softuni/Advanced/File_Handling/' # first level traverse only ROOT_PATH = './' # traverse everything REPORT_PATH_WINDOWS = f'C:\\Users\\{USER}\\Desktop\\report.txt' # for Win users REPORT_PATH_LINUX = f'/home/{USER}/Desktop/report.t...
[ "nozzller@gmail.com" ]
nozzller@gmail.com
b498d649116dedfc3a2280063468c8542d154604
543e7e45ae80c9fdc7c3a036fecccc675583bb3d
/accounts/tests/test_view_password_reset.py
054e2f17ddc4613c02377d37e7efdf1567d144a6
[]
no_license
davidswei/django-boards
b247d413af61138a2032c420055af21efc157f2d
fd1d70827b5f79cfca246760559dfffb7e4b8a41
refs/heads/master
2020-04-24T02:06:13.656778
2019-02-21T13:24:35
2019-02-21T13:24:35
171,624,559
1
0
null
null
null
null
UTF-8
Python
false
false
5,106
py
from django.contrib.auth.tokens import default_token_generator from django.utils.encoding import force_bytes from django.utils.http import urlsafe_base64_encode from django.contrib.auth import views as auth_views from django.contrib.auth.forms import SetPasswordForm from django.contrib.auth.forms import PasswordResetFo...
[ "sw@cust.edu.cn" ]
sw@cust.edu.cn
6fb808f6f31d31f7fc676d40edbf1d63c7dd7845
5c6d73f39886e7d295d903530b2a2c533fec3090
/06 - ShellSort/shellsort.py
32fd9484a593180669dae991b4fd7402b275e45e
[]
no_license
CrisCoutinho/PO-2019.2
9e9fd3a9ea851356f7575d5fab3e22154172eba3
0bbd5444f0543419c4d6efd00b88e9f383ccb4d8
refs/heads/master
2020-06-27T09:43:40.850712
2019-10-03T02:27:08
2019-10-03T02:27:08
199,916,962
0
0
null
2019-08-24T01:52:29
2019-07-31T19:28:49
Python
UTF-8
Python
false
false
3,592
py
# -*- coding: utf-8 -*- """shellSort.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/11bTldwNT-UZwRVJllL5xAmMshbCqmP9r """ import numpy as np from random import shuffle, randint import timeit import matplotlib as mpl import matplotlib.pyplot as p...
[ "criscoutinho44@gmail.com" ]
criscoutinho44@gmail.com
0fbf2c922fd8bafbe3bd8cd540490a9f01f2f600
d627a394ab3599d680eb9ee52c675653cfb62dc6
/nexabots-master/src/algos/PG/supervised_model_learning.py
f628c6ae44920532fe3432e2523c049ba45d7bb3
[]
no_license
i7CDrAlfAc/grewRL
e98b0b1cd189f04faf648688532448a19e5236fd
387d8f205380b94a88c076f61aaae60c413b926d
refs/heads/master
2023-01-02T05:31:33.672202
2020-10-26T09:46:46
2020-10-26T09:46:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,687
py
import os import sys import numpy as np import torch as T import torch.nn as nn import torch.nn.functional as F import time import src.my_utils as my_utils import src.policies as policies import random import string import socket import pybullet as p def train(env, model, params): model_optim = T.optim.Adam(model...
[ "69282697+junpilan@users.noreply.github.com" ]
69282697+junpilan@users.noreply.github.com
704361a75a15b4ff7147ee4334cde26f9da2f4dd
180beda50f31031bd3ba1668067bdb73fc1a7686
/website/members/management/commands/generate_member_invoices.py
e73095aaebe1d829fb36e519f1585796e73b12cd
[ "MIT" ]
permissive
eamanu/asoc_members
053a05563a20ff4cafd09020367f3d60f149392e
bf2e99e9c63c60a59bdfd10ca1812d78851cbde6
refs/heads/master
2020-11-26T14:20:46.857545
2020-01-06T12:57:30
2020-01-06T12:57:30
229,101,268
0
0
MIT
2019-12-19T17:01:15
2019-12-19T17:01:14
null
UTF-8
Python
false
false
7,788
py
import datetime import os from django.conf import settings from django.core.mail import EmailMessage from django.core.management.base import BaseCommand from django.db.models import Max from members import logic from members.models import Quota, Person, Payment, Member, PaymentStrategy from . import _afip, _gdrive ...
[ "facundo@taniquetil.com.ar" ]
facundo@taniquetil.com.ar
0497c5f2e6e0a19f3b1ccc1263cd6a238f005f14
e7c8edb68c515260a0c45038eed0e2d0aaa7a2d6
/models/resnet.py
f1cd020486690115c66617621de0bb5bef4bf993
[]
no_license
yangdonghun3/OOD_detecion_based_on_DML
b7a04b0964a7d1126e050b68601249bebe3c4fde
9be8bd66e1dfdf8a6072d50700c8b607dba6f3b6
refs/heads/master
2022-12-01T22:58:09.414447
2020-08-22T05:36:03
2020-08-22T05:36:03
289,215,814
2
2
null
null
null
null
UTF-8
Python
false
false
7,936
py
import os import math import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from torch.nn.parameter import Parameter def conv3x3(in_planes, out_planes, stride=1): return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride, padding=1, bias=False) class ...
[ "yangdonghun3@gmail.com" ]
yangdonghun3@gmail.com
cc327c5519fca2b6e3bb2c6477b0ea09ac2b8c41
065841aa0cf291d55d12bc06fd26dfe39b3f955a
/Chapter3/Code/figures.py
edee216176583b0769078ea75e48a7905a209038
[ "CC-BY-4.0", "MIT", "BSD-2-Clause" ]
permissive
nabobalis/PhDThesis
d40131ae7a294aa8adaf6ecb2cb84d8110d922ef
6824ba374f1e65d5a21566d0b84c6a3102273b67
refs/heads/master
2020-04-14T20:49:02.077363
2018-02-19T16:32:18
2018-02-19T16:32:18
30,153,618
2
1
null
null
null
null
UTF-8
Python
false
false
358
py
# -*- coding: utf-8 -*- """ Created on Mon Mar 2 22:35:57 2015 @author: nabobalis """ import numpy as np import matplotlib.pyplot as plt import astropy.io as io file_1 = '/data/Data/1999_sunspot.fits' #SVST file_2 = '/data/Data/aligned_2005.fits' #DOT 1 file_3 = '/data/Data/aligned_2008.fits' # DOT 2 ...
[ "nabil.freij@gmail.com" ]
nabil.freij@gmail.com
0bb0bc6f1d8c8029f5c932d085a24c1217164ab6
36c41c0e7e844cb668ba578e70e0e70270825e84
/Calculator.py
22078ba171e3c910124ce55a0546b54fc7e8a278
[ "MIT" ]
permissive
amirulhakiim/ASBF-Calculator
aafe35158f3f0b8af475c29dd9b352d78c7bcff7
bcf29d59944429035cb1837ae28544b1189c9bc1
refs/heads/master
2020-12-06T04:48:38.665623
2020-01-15T16:34:54
2020-01-15T16:34:54
232,348,220
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from Compound import compound from Amortization_Schedule import amortization def calculate(principal,asb_return,loan_interest,loan_tenure,year_terminate): compounded_interest = compound(principal,year_terminate,asb_return) balance,payment,ppmt,ipmt = amortization(principal,loan_interest,loan_tenure,year_termin...
[ "amirulhakimazmi@gmail.com" ]
amirulhakimazmi@gmail.com
cfc446794e99fe545d4c7bdfa4d0c4baea0bbaae
c10bec10526866fd5c92f3591373d4079342f83d
/Demo/Demo.py
ebb61e7042a3a018465997b40e7d5bab67268c58
[]
no_license
PacYang/flask_demo
b943788e00e01cd944ca938d9b6af15dbb1f5d27
d794c78ee628f15dd7ea4650615f3550818a36ce
refs/heads/master
2021-04-07T22:18:41.395264
2020-03-20T09:13:44
2020-03-20T09:13:44
248,712,893
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from flask import Flask,url_for app = Flask(__name__) @app.route('/<a>') def hello_world(a): return a if __name__ == '__main__': app.run() with app.test_request_context(): print(url_for('hello_world', _external=True, a=123))
[ "larry.yang@yingzt.com" ]
larry.yang@yingzt.com
534e978dd076d4b6e56f9243326f617ea023c224
6e39ce7b16cbbde696dcb76a4f4640cc5ee63b58
/text_extraction_wiki.py
f81752b90fac8ad47275062b38fa95e2412e55b8
[]
no_license
kcMaroju/Political-Sentiment-Analysis
814642cc504f53ce7652295f4bda32b21cc18571
9d14c538511fedc69b97404d56dda53ea2e80471
refs/heads/master
2022-10-01T06:26:46.014153
2020-06-05T14:41:38
2020-06-05T14:41:38
206,795,466
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 14 11:32:20 2019 @author: Mouni """ import wikipedia def get_wiki_text(text): wikipedia.set_lang("en") wiki_text = wikipedia.summary(text, sentences=9) return wiki_text
[ "noreply@github.com" ]
noreply@github.com
1c8a899e74c97c05daf1bb397f564d13820e33e7
83e384c20365dafcc24e169d6983969ddbd36927
/python/baekjoon/Simulation/BOJ1062가르침.py
fd7b9562909aa65bf00ae2d9fd5f96311f3f0a32
[]
no_license
daehyun1023/Algorithm
e6997f0f36db973ecd5bc54ea4450a08a0f3406c
a50caa463ad394f32113fc19f2120caaa701212f
refs/heads/master
2023-07-04T03:35:14.996565
2021-08-09T13:47:49
2021-08-09T13:47:49
332,384,312
1
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
N, K = map(int,input().split()) result = 0 chars = ['a', 'n', 't', 'i', 'c'] plus_chars = [] input_strs = [] temp = chars.copy() for i in range(N): input_str = input() input_strs.append(input_str) for input_char in input_str: if input_char not in chars and input_char not in plus_chars: ...
[ "daehyun1023@naver.com" ]
daehyun1023@naver.com
3cf43fa8092e181dca265178db23f042cb43c200
8e304f1291480db18b9727efa61647b369531172
/csvkit/convert/js.py
8757c65a2bfbc280bab8fc78a153f0f7dcf57e4c
[ "MIT" ]
permissive
zviri/csvkit
4439fff0e376d089f89420fabca245c25eb12dc5
39f5d3b6c7d6eaaf145e7e01fa247292763da16d
refs/heads/master
2021-01-12T20:54:42.673449
2014-09-04T14:11:06
2014-09-04T14:11:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,879
py
#!/usr/bin/env python import json import six from csvkit import CSVKitWriter def parse_object(obj, path=''): """ Recursively parse JSON objects and a dictionary of paths/keys and values. Inspired by JSONPipe (https://github.com/dvxhouse/jsonpipe). """ if isinstance(obj, dict): iterator ...
[ "staringmonkey@gmail.com" ]
staringmonkey@gmail.com
0d3feee1544aa647f2fbf68304d59c190370ecc8
7b0548e9425b777baa383e89c8a2e97be466d4c2
/sort/quicksort.py
4344d013facb73294d6f43e30df3eb434b4f4ab1
[]
no_license
FlorianLehmann/programmation_fine
8634046fa631e72f9c22355852ee4304e6c8c9d2
ccfa7c05707852083de50acc2855c371b3608e13
refs/heads/master
2020-03-29T21:44:53.376065
2018-10-10T07:45:08
2018-10-10T07:45:08
150,385,037
0
0
null
null
null
null
UTF-8
Python
false
false
7,536
py
import random def always_low_value(lst, low, high): return low def always_mid_element(lst, low, high): return (high + low) // 2 def always_high_value(lst, low, high): return high def random_pivot(lst, low, high): return random.randrange(low, high + 1) def find_pivot_by_median_of_3_values(lst, ...
[ "alexandre.clement@etu.unice.fr" ]
alexandre.clement@etu.unice.fr
10c0d2e568c19c1dc9f529a51c7b0580c65e028c
582dea457827d7dd9a53ebbdc4b580a73224dd2e
/Problems/Animals/task.py
c4ac68bdef65b10d684325c998f19196af9348ac
[]
no_license
codewithgsp/hyperskill-rockpaperscissors
9dda27eec17ec42fbe17f7d4af918b456d761e6e
39310d99a6a73742c753728298a639c44ab6d2e1
refs/heads/master
2022-11-12T17:49:34.014770
2020-07-07T22:08:59
2020-07-07T22:08:59
277,372,462
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# read animals.txt # and write animals_new.txt file_read = open('animals.txt', 'r') animals = [line.strip('\n') + ' ' for line in file_read] file_read.close() file_write = open('animals_new.txt', 'w') file_write.writelines(animals) file_write.close()
[ "codewithgsp@gmail.com" ]
codewithgsp@gmail.com
fe06e20d06a873edf3cee0576f8fde279fba7650
bc76a0be48eb10df351c5d45a4eef2b4fcf47ea6
/datas/categorize_bayes.py
a6a84a41b405f5ff0e331102f8e4e3d2dff4f6d4
[]
no_license
BoomsJune/permission
6ae829cc45b563af44fa4a62096eaad376b23339
e4b8104fc003410b32a58f24e0998dc3018ef42a
refs/heads/master
2022-12-12T22:48:28.268612
2019-05-05T01:41:09
2019-05-05T01:41:09
152,403,702
1
0
null
2022-06-21T21:29:21
2018-10-10T10:11:19
Python
UTF-8
Python
false
false
4,779
py
# -*- coding: utf-8 -*- from sklearn.model_selection import train_test_split from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer, TfidfTransformer from sklearn.model_selection import GridSearchCV from sklearn.naive_bayes import MultinomialNB, BernoulliNB from sklearn.pipeline import Pipeline f...
[ "wb.zhujiaying2018@mesg.corp.netease.com" ]
wb.zhujiaying2018@mesg.corp.netease.com
2547df717dfe3addc94186c2ac91b1a1ae7485f3
958011e29af1e4311f02419af10e75d6f65c31df
/python/python系统性学习/2020_04_18/水仙花数.py
de6759cf1f18324f4b03cdc708ecd182a1fc89a9
[]
no_license
cceniam/BaiduNetdiskDownload
028e9dad1cb684f828fea5b998055a30a5e4ca6b
29d15e26037cd7bea714da8a920e40c32aea01fa
refs/heads/master
2022-12-02T13:04:48.781165
2020-08-16T15:01:43
2020-08-16T15:01:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
""" 寻找水仙花数 水仙花数也被称为超完全数字不变数、自恋数、自幂数、阿姆斯特朗数, 它是一个3位数,该数字每个位上数字的立方之和正好等于它本身 """ for num in range(100, 1001): if (num % 10) ** 3 + (num // 10 % 10) ** 3 + (num // 100) ** 3 == num: print(num)
[ "1287666839@qq.com" ]
1287666839@qq.com
358ac8e540becb6c1f897dee898dd415d72de6c5
81fc75db14579a2f1d576b00716bc84ff65384c4
/光城/kuohao/kh.py
9eacf2d627aa4189d08da57bae0adf6d1e806e72
[]
no_license
guangcity/learning-algorithm
4de7bdd4fc72a8e32d5154f9c295a7eecf7de6b0
bfb7d5f353910b1a73a4f4eaab3cdb1450253878
refs/heads/master
2020-04-09T17:11:00.161275
2018-12-24T11:43:04
2018-12-24T11:43:04
160,473,047
7
26
null
2019-01-10T13:43:22
2018-12-05T06:42:28
Python
UTF-8
Python
false
false
719
py
class Solution: def isValid(self, s): """ :type s: str :rtype: bool """ stack_match = {'{':'}','[':']','(':')'} stack=[] for str in s: if str == '{' or str == '[' or str== '(': stack.append(str) else: # 无...
[ "455954986@qq.com" ]
455954986@qq.com
dafaae9d98fc5c486dd6b6f6187f1c06453472a7
4a2d0c916ec14ce38a94defd4df8d6c309248045
/Challenge-Zheren Dong.py
5d78f7bedcf5e2a94fa4da8b6d2ec2ba5904c191
[]
no_license
Edwardong/Challenge-turtle
4342d7b0a94257174d5a1946957e941b5244e204
2979f2e5e4a5f83de5dcf5945782e9539b781204
refs/heads/master
2021-01-18T15:38:39.102396
2017-10-18T20:34:59
2017-10-18T20:34:59
67,078,004
0
0
null
null
null
null
UTF-8
Python
false
false
5,691
py
import turtle import math #draw four obliqueSquares firstly turtle.setup(800,600) turtle.bgcolor('#1E0028') dis=60 def obliqueSquare(t,x,y): t.width(0.5) t.up() t.goto(x,y) t.down() t.left(45) t.forward(dis) t.right(90) t.forward(dis) t.right(90) t.forward(dis) t.right(90) t.forward(dis) t.right(135) E...
[ "dongzheren@gmail.com" ]
dongzheren@gmail.com
ea6d70b093648632d6d1ed12b6149d57e462d18b
e07a1e7238dcbc3740632384a392f18945eef2c0
/Algorithmic ToolBox/change.py
c6ebacde04dc122f479ce65dc832d9b0d71ae25a
[]
no_license
rishittripathi-therocking/Data-Structures-And-Algorithm
9692d6fe478ba73602bbbf64e08490f7f35416ca
36648ee65d240526e2d72a6c7ebb9d2db84425a7
refs/heads/master
2023-01-28T14:40:34.671429
2020-12-03T08:35:04
2020-12-03T08:35:04
293,687,842
2
1
null
2020-10-01T03:46:14
2020-09-08T03:09:58
Python
UTF-8
Python
false
false
402
py
# Uses python3 import sys def get_change(m): mod10=m%10 denomination10=(m-mod10)//10 if mod10<5: return denomination10+mod10 else: if mod10==5: return denomination10+1 else: denomiantion5=1 mod10-=5 return denomination10+denomianti...
[ "rishittripathi13@gmail.com" ]
rishittripathi13@gmail.com
def8a888c3cd5ae4a708fece0485e1c9598f0e31
3abe16fc2d01d951d8a54ffe64348d67c0009380
/NL Query System in PythonNLTK/statements.py
5b4e6012ed1e6a89e167053c307434732a400121
[]
no_license
jiatuo/NLP-projects
ffa5c390035e6330e55566a77f6e5823b8c67613
9b71aa92e3a62eb21af175cc42a922561f79b653
refs/heads/master
2020-07-31T22:29:06.684101
2019-09-25T06:42:08
2019-09-25T06:42:08
210,773,882
0
0
null
null
null
null
UTF-8
Python
false
false
3,690
py
# File: statements.py # Template file for Informatics 2A Assignment 2: # 'A Natural Language Query System in Python/NLTK' # John Longley, November 2012 # Revised November 2013 and November 2014 with help from Nikolay Bogoychev # Revised November 2015 by Toms Bergmanis and Shay Cohen # PART A: Processing statements ...
[ "changyijia@Hotmail.com" ]
changyijia@Hotmail.com
3d0be7a72b4ae36b3d79b94160a1bd62abf25d72
9db6dffea7934c37e9c66796b7e1bc258d2ceca4
/plugin.video.daffyslist/resources/lib/modules/sources.py
60e8629903c90b4ede1506a088bd69d3cb309b6f
[]
no_license
KodiUKTV/kodiuktv
4025380d70ad6caba5efc5eb59dd65f372b5e0ea
68a41077cdd86838bb4207b6b0d7fe8070b00fe5
refs/heads/master
2021-01-18T22:09:44.434458
2017-07-27T13:35:22
2017-07-27T13:35:22
47,322,825
4
1
null
null
null
null
UTF-8
Python
false
false
19,494
py
# -*- coding: utf-8 -*- ''' Exodus Add-on Copyright (C) 2016 Exodus This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
[ "info@kodiuk.tv" ]
info@kodiuk.tv
4d1509e08207429c062809870e4b2d8eaeb83857
386c146a5092b344b753925da7350790bee97e64
/tests/index_cal_test_case.py
14cbcc224f6ec94de95d65983a53a999cc28531d
[]
no_license
ritik977/code-20210228-ritikAgrawal
c47a1e9a93d1dc78f89634e16f790d79b2baa397
80cfb13e42754f33a02d6fff11e2e2be0ba3852e
refs/heads/main
2023-03-11T14:21:46.863914
2021-02-28T10:33:13
2021-02-28T10:33:13
343,075,950
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
import unittest import sys sys.path.append('../') from services import index_cal class TestIndexCalc(unittest.TestCase): def test_bmi_cal(self): result = index_cal.bmi_cal(96, 171) expected = {"BMI":32.83,"BMI_Category": "Normal_weight", "Health_risk": "low_risk"} self.assertEqual(result, ...
[ "ritik977@gmail.com" ]
ritik977@gmail.com
08167712f2bc0b002374f6928882267caeea1344
4af907f7c7b5c45800029cfa37a2151a4bdec784
/species.py
7d01bd49c6f3af414a8190bc6a0f8d288adeaa8d
[]
no_license
matt-py/NEAT-Bot
bfbf66fc6f3af34b3ae49f277aaa77e2a84b7c8e
7f42ec581e3341fdcc42cc9bff7ce07d3faf8647
refs/heads/master
2020-04-27T23:08:00.263358
2019-03-18T17:04:09
2019-03-18T17:04:09
174,763,404
1
0
null
2019-03-17T23:48:28
2019-03-10T01:06:22
Python
UTF-8
Python
false
false
3,956
py
import random class Species: def __init__(self, p=None): self.players = [] self.best_fitness = 0 self.champ = None self.average_fitness = 0 self.staleness = 0 self.rep = None self.excess_coeff = 1 self.weight_diff_coeff = 0.5 self.compatibili...
[ "48388592+matt-py@users.noreply.github.com" ]
48388592+matt-py@users.noreply.github.com
54f40089f47304b3d0702b64a9c922376adbdbf5
c66fb28627777e633bd306395738a6f36300c41a
/2020/day_5/day5.py
92e52721976229f892340d243c58e73ae930039a
[]
no_license
giach/advent-of-code
098dcbb3d764e086973058991954cddbc7ce5cd3
a1ae64d16804596d502d41650ae12c5bc15b4792
refs/heads/master
2021-06-22T21:11:40.481390
2021-01-03T20:13:51
2021-01-03T20:13:51
157,754,221
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
def get_steps(): file = open("day5_input", "r") lines = file.read().splitlines() return lines def part1(): lines = get_steps() seats = [] maxid = -999999 rowsum = 0 seats = [] exitingseats = 0 for line in lines: row = 0 column = 0 pline = list(l...
[ "georgiana.chelu93@gmail.com" ]
georgiana.chelu93@gmail.com
47f75f65742930c228888748f310f241e00b97a2
42b64bc6a1215063538f83a0709b5def218c443b
/exp_qd.py
a1289b367f6d08fd4ef646dd51d479731b4be537
[ "MIT" ]
permissive
tarik/pi-snm-qde
ef60060c088f1db5598635a2ca3716356c7a2c80
61b0d60b5e7a56454d313693c2d1a9694879f1dc
refs/heads/master
2022-12-11T02:42:03.608191
2020-08-31T10:56:15
2020-08-31T10:56:15
285,258,717
8
3
null
null
null
null
UTF-8
Python
false
false
20,704
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Experiments with the original quality-driven ensembles (SEM-QD) with 1 hidden layer NNs. """ from neural_pi.estimator.base import Randomness from neural_pi.experiment import Experiment from neural_pi.pipeline import DefaultPipeline from neural_pi.data import FileDataset, ...
[ "tarik@salem.cz" ]
tarik@salem.cz
6389cd069b984d4e989a8c114236bd598cef97a2
a89dfda3732eb73863b3e2fb1ebb46f1cb40973a
/txweb/tests/test_util_basic_sanitize_render_output.py
3ea1634b5077da8b2f699e5319c384c2d49cc0f1
[ "MIT" ]
permissive
devdave/txWeb
543ccb7be0671a5e83959bb7cfc8e7804f04a74a
e447fbefd16134cb2f83323c04c20c41638d7da3
refs/heads/master
2022-12-15T18:11:50.880675
2021-03-24T18:48:16
2021-03-24T18:48:16
2,116,693
1
0
MIT
2022-12-08T04:28:41
2011-07-28T03:55:43
Python
UTF-8
Python
false
false
568
py
import pytest from txweb.util.basic import sanitize_render_output from twisted.web.server import NOT_DONE_YET from twisted.internet.defer import Deferred def test_full_suite_coverage(): assert sanitize_render_output("Foo") == b"Foo" assert sanitize_render_output(b"Foo") == b"Foo" with pytest.raises(Run...
[ "devdave@ominian.net" ]
devdave@ominian.net
516d3f814d2b9f1b24489e79ddf13170813e41b0
9f4223e760430841df47cf9ce26eae95dc5f9055
/hw2/cs285/agents/pg_agent.py
a7549309f5be677197e50e3b157460a4eecae97b
[]
no_license
1528226147/CS285
d6ebcb4545cb25422eecc4b0a9da63575cbd8752
a0de2d158e61aeaada7cd15b3af1a58723cc86e8
refs/heads/master
2022-12-07T12:36:35.941061
2019-10-01T01:25:20
2019-10-01T01:25:20
211,963,114
0
1
null
2022-11-21T21:24:53
2019-09-30T21:44:49
Python
UTF-8
Python
false
false
9,154
py
import numpy as np from .base_agent import BaseAgent from cs285.policies.MLP_policy import MLPPolicyPG from cs285.infrastructure.replay_buffer import ReplayBuffer from cs285.infrastructure.utils import * class PGAgent(BaseAgent): def __init__(self, sess, env, agent_params): super(PGAgent, self).__init__(...
[ "yutong_lu@outlook.com" ]
yutong_lu@outlook.com
2ada1e18ee1ecf3884d4c48bfedd0b0bdcec20f8
e7c8debef86f0da831e9841ef39155569cbd049c
/shop/migrations/0005_auto_20190403_0859.py
5d47d615ab46cd65a47bd93f14e760b9dcfff0f2
[]
no_license
Izigraim/ISP-4sem-2019
3a2875719a3d32a5d3479d1dc54b69c6cdd4e590
b9abb593b00940dc17b7dc6bcc475734f81bf44c
refs/heads/master
2020-08-20T07:14:08.094188
2019-10-18T10:15:25
2019-10-18T10:15:25
215,995,309
1
0
null
null
null
null
UTF-8
Python
false
false
905
py
# Generated by Django 2.1.7 on 2019-04-03 05:59 from django.db import migrations, models import shop.models class Migration(migrations.Migration): dependencies = [ ('shop', '0004_auto_20190401_2308'), ] operations = [ migrations.AddField( model_name='product', na...
[ "z7635332@gmail.com" ]
z7635332@gmail.com
b2d29bf47293851f2c11249cc1c9538b905cf9e4
8fbf7054bc8676eb6754e80ead566ac10277af76
/aula/aula010.py
32227395bc3c8906833d3b8fa685e2bf71a61fd2
[ "MIT" ]
permissive
henriquekirchheck/Curso-em-Video-Python
5eb4c97ed6320fcd100030bda718de732430244a
1a29f68515313af85c8683f626ba35f8fcdd10e7
refs/heads/main
2023-06-06T16:25:48.018420
2021-07-04T17:46:28
2021-07-04T17:46:28
379,697,706
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
from time import sleep #Aula N°10 print("Aula N°10 \n") sleep(0.2) """ car = int(input('Anos do carro: ')) if(car <= 3): print('Carro Novo') elif(car > 3): print('Carro Velho') print('Carro Novo' if car <= 3 else 'Carro Velho') """ """ nome = str(input('Qual o seu nome?: ')) if nome == 'Gustavo': pr...
[ "86362827+henriquekirchheck@users.noreply.github.com" ]
86362827+henriquekirchheck@users.noreply.github.com
3f912421cf12848e776f7f30387961e82a570848
ef32b87973a8dc08ba46bf03c5601548675de649
/pytglib/api/functions/get_web_app_url.py
fd431d0848611e166908d7d79bd1b425fdebbbee
[ "MIT" ]
permissive
iTeam-co/pytglib
1a7580f0e0c9e317fbb0de1d3259c8c4cb90e721
d3b52d7c74ee5d82f4c3e15e4aa8c9caa007b4b5
refs/heads/master
2022-07-26T09:17:08.622398
2022-07-14T11:24:22
2022-07-14T11:24:22
178,060,880
10
9
null
null
null
null
UTF-8
Python
false
false
1,089
py
from ..utils import Object class GetWebAppUrl(Object): """ Returns an HTTPS URL of a Web App to open after keyboardButtonTypeWebApp button is pressed Attributes: ID (:obj:`str`): ``GetWebAppUrl`` Args: bot_user_id (:obj:`int`): Identifier of the target bot url (...
[ "arshshia@gmail.com" ]
arshshia@gmail.com
f6cf5068a24ed049337e31291ee753906a44bb71
0fad8a8dfcbdb2ee69b2d41c321f23f95f68fda7
/website/db/web_scraper.6fb6fffb06cd.py
5650c647dc9d35258a8b9b70ac4ca31cfb24a561
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Madsomma/movie-recommender-form
7a717c3923e2647dbbeef74f0a9687e696c5a1eb
d2ace8eb840794ac59f89ca24b6a53cf9e9b7069
refs/heads/main
2023-02-03T16:05:36.369512
2020-12-27T22:06:15
2020-12-27T22:06:15
324,837,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
import pandas as pd from lxml import html import requests import json df = pd.read_csv("limers_explanations-fm_regressor-k_50-movie_genres.csv", sep="\t") links_df = pd.read_csv("links.csv", dtype={'imdbId': object}) movies_info = pd.read_csv("parsed_movie_dataset.csv") new_df = df.merge(links_df, left_on='item_id',...
[ "48261091+Madsomma@users.noreply.github.com" ]
48261091+Madsomma@users.noreply.github.com
c7a84219541a207b77a6abe222131259e8320dcf
18a79067223932c2f7aa6ff6b81d0b3f36169db2
/atcoder/abc178/A.py
fbe81ed981719c0a616b1b4817d553d4699e8bb1
[]
no_license
aadiupadhyay/CodeForces
894b0e5faef73bfd55a28c2058fb0ca6f43c69f9
76dac4aa29a2ea50a89b3492387febf6515cf43e
refs/heads/master
2023-04-12T17:58:52.733861
2021-05-07T20:08:00
2021-05-11T20:07:11
330,149,645
1
0
null
null
null
null
UTF-8
Python
false
false
337
py
from sys import stdin,stdout st=lambda:list(stdin.readline().strip()) li=lambda:list(map(int,stdin.readline().split())) mp=lambda:map(int,stdin.readline().split()) inp=lambda:int(stdin.readline()) pr=lambda n: stdout.write(str(n)+"\n") mod=1000000007 def solve(): n=inp() print((n+1)%2) for _ in range...
[ "upadhyay.aaditya2001@gmail.com" ]
upadhyay.aaditya2001@gmail.com
b9d4ada59c0445c25063ad9a12b391523bb48422
879e930f576576448bfcea39e55fb46bd48ce270
/raw_feature/onset_strength_v2.py
3237c41d8a48b23f4fda6c89cde418cb0b921265
[]
no_license
leixiaolin/smartMusic_v2
e1387b5b0b2b4d1f5a29cb350b6f52e4b96ff182
463b908f2f1a761628be99eae6e80a0c5221a65b
refs/heads/master
2021-10-07T17:35:52.353380
2021-09-29T02:46:52
2021-09-29T02:46:52
170,714,545
3
1
null
null
null
null
UTF-8
Python
false
false
2,741
py
# First, load some audio and plot the spectrogram import librosa import matplotlib.pyplot as plt import librosa.display import numpy as np from create_base import * #filename = 'F:/项目/花城音乐项目/样式数据/ALL/旋律/2.2MP3/旋律一(8)(90).wav' #filename = 'F:/项目/花城音乐项目/样式数据/2.27MP3/节奏/节奏2林(20).wav' #filename = 'F:/项目/花城音乐项目/样式数据/2.27M...
[ "498900619@qq.com" ]
498900619@qq.com
ec8e7dafe20595ebc94fed5089fa5fc70c148552
6147d3d059a048be57aaabe3519551ed4bc305ec
/config/management/commands/fs2import.py
ed4cb19b50f25028e6c1954d36d1fe16bcc534f1
[ "MIT" ]
permissive
a-mere-peasant/MangAdventure
a8f7fdfddf5ae65e645b0e0e0d197f2b0033bc8d
afbcdb5ab68bfc801550c8383568f7265e70b5ab
refs/heads/master
2020-08-06T13:38:59.062119
2019-10-05T12:22:53
2019-10-05T12:22:53
212,808,131
0
0
MIT
2019-10-04T13:07:47
2019-10-04T12:18:27
null
UTF-8
Python
false
false
4,613
py
from os.path import abspath, join from xml.etree import cElementTree as et from django.core.files import File from django.core.management import BaseCommand from groups.models import Group from reader.models import Chapter, Page, Series def _get_element(tables, name): return list(filter( lambda t: t.att...
[ "chronobserver@disroot.org" ]
chronobserver@disroot.org
075689efd3502a5351c7f5e3c9accfde981372c2
4491f991a6c116683aa481b647440a2165654621
/src/run_actions.py
d648027f32c7d07f96608df1c595e1a2fe20d28f
[ "Apache-2.0" ]
permissive
zkcpku/stackoverflow-encourages-cheating
68de783c01ca405a7d0a181fda72b1ddc53a4983
425fa92e7defc783d34f4bd3366cd96990d3c037
refs/heads/main
2023-07-08T08:16:50.773288
2021-08-10T21:23:34
2021-08-10T21:23:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,750
py
import json from pathlib import Path import logging from typing import Dict, List import pandas as pd import numpy as np from collections import defaultdict import re from .evaluation.seq_to_seq import CodeGenerationEvaluator from transformers import AutoTokenizer import torch import ast import shutil import sys import...
[ "gabeorlanski@gmail.com" ]
gabeorlanski@gmail.com
bb1af4976675e819be801f4081fef4cca304caec
8910cc6c995081a3ccbf66c1d15227b1012f42ca
/lib/taskkill.py
46497c5460884f9f4de0dd7f631919003f330163
[ "MIT" ]
permissive
lubnc4261/Incite-Terminal
cc16455ff210c7154ea3c4c55d8f05fe7e13112d
e00ed048b477a0e493c20f498177877e5d9f39cd
refs/heads/main
2023-01-11T18:11:49.842681
2022-09-05T18:22:02
2022-09-05T18:22:02
302,435,284
1
0
null
null
null
null
UTF-8
Python
false
false
781
py
import psutil from imports import CustomFont as Beauty defaultValue = "5" def checkExistence(option:int) -> bool: if psutil.Process(option) == True: return True else: return False def taskkill(option, option2): if option is not None and option2 == defaultValue: ...
[ "noreply@github.com" ]
noreply@github.com
2baae5c5e21ed0309a11ec33f7ea460f6bb29b97
4660beb6aad3b8de21409f43c1bd622d07c83120
/mp3organizer/clients/base.py
681f94f54060dc720831f1cb2878208bf467e5f6
[]
no_license
ofir123/MP3-Organizer
c2235ee24beb86e8aed755afa043731e8c416301
b59cfd035dc84e5d811d8ccfb4213a72e4cc2f59
refs/heads/master
2020-12-25T17:34:40.855708
2016-08-06T10:24:03
2016-08-06T10:24:03
12,661,894
1
0
null
null
null
null
UTF-8
Python
false
false
2,910
py
import os from mp3organizer.file_utils import normalize_name class ConnectionException(Exception): """ Raised when connection wasn't initialized before first use. """ pass class Client(object): """ Supplies simple functions for finding an album. """ MAX_RESULTS = 1 ARTWORK_EXTE...
[ "ofirbrukner@gmail.com" ]
ofirbrukner@gmail.com
37dabf9121ca4486cf9781e3a5eddfe463958798
de4ec63dfbbb214479ac571e99dae92c87543001
/Board.py
089f589a985d5385a0abad6a66d39dfe8f46208a
[]
no_license
xkdgo/chess
a512464d2486d4b62ff7f69895090b1b2218778a
5f0db4fe830215bdd71116343a9fac857fe05973
refs/heads/master
2020-03-14T08:13:47.599821
2018-05-31T14:10:41
2018-05-31T14:10:41
131,513,299
0
0
null
null
null
null
UTF-8
Python
false
false
6,539
py
# -*- coding: utf-8 -*- import figures as fg from figures import Figure from exceptions import InvalidPosition, PositionOccupied, InvalidMove from helpers import str_to_move class Board(object): def __init__(self, height=8, width=None): self.__height = height if width is None: self._...
[ "xkdgo@rambler.ru" ]
xkdgo@rambler.ru
5c825153929f1313315fe6ca61544eb90f422a8c
24c9419d869c85d8f54fbf70960445d5b465841b
/Rotate Array.py
3eb1a33b541960365c11f5657c3b8134632c673c
[]
no_license
triparnabh/Leetcode_Problems
162e46f847bfa19557240320ea4e4b2b67bda267
a5de4c4f3f5616e656e83a1653bf450a292ffd56
refs/heads/master
2020-04-20T12:51:21.710505
2019-03-23T16:23:35
2019-03-23T16:23:35
168,853,610
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
def RotateArray(lists, num): temp = [] for item in range(len(lists) - num, len(lists)): temp.append(lists[item]) for item in range(0, len(lists) - num): temp.append(lists[item]) return temp rotate_num = 3 list_1 = [1, 2, 3, 4, 5, 6] print(RotateArray(list_1, rotate_num)) # n = 3 ...
[ "triparnabh@gmail.com" ]
triparnabh@gmail.com
2bf68bb4fcd778c1997e5f663b9f54634c559219
e9de15ca55e02587f7d1267189f8cde01e1d0f84
/website/views.py
a75a61248f9acc314b07bff0e9630f393b0b13c9
[]
no_license
jestanoff/meeting-planner
187fd1680eabc3e72cd76da6158cee3ba9ede448
0c9271ee59019ef35ca6860f8f68d0a889b37f49
refs/heads/master
2022-04-26T14:03:59.001498
2020-04-13T14:34:57
2020-04-13T14:34:57
255,338,074
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
from django.shortcuts import render from django.http import HttpResponse from datetime import datetime from meetings.models import Meeting def welcome(request): return render(request, "website/welcome.html", {"meetings": Meeting.objects.all()}) def date(request): return HttpResponse("This page was serve...
[ "stefan.dzhestanov@waitrose.co.uk" ]
stefan.dzhestanov@waitrose.co.uk
db989cd943ae57d2a0bc568f07c50e18c8ad3589
e33895eae4a8181575cd74ca4903357d9104bddc
/bistgame/urls.py
d5d6c3e0f96aa67592d2be7b56ebeba90959388d
[]
no_license
404FoundGroup/bistagame
701261d480f7438b55951e98b0a54c1603a6201d
213eb1ca3f152256714b0d4d0dde91baa3420af6
refs/heads/master
2020-03-17T02:53:28.788141
2018-05-28T11:36:59
2018-05-28T11:36:59
133,210,782
3
0
null
2018-05-25T22:15:12
2018-05-13T06:11:36
Python
UTF-8
Python
false
false
750
py
"""bistgame 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='home') Class-base...
[ "aria.moradi007@gmail.com" ]
aria.moradi007@gmail.com
fa503b55fe5581b5699049ff5f746e8c3f0bd255
cde8abbb214170db5ed05679ab1e110540b147bf
/core/migrations/0010_auto_drop_proxy_models.py
2144fcb1bd242d2fb0afa907b6bf9006496210a5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-2-Clause" ]
permissive
nirgal/ngw
bbe6ef3a4f54a752ea7f32ba8a26d37f88d4c2b5
6f94ae702e8d772c49a7daea82fc007317538634
refs/heads/master
2022-05-18T13:18:30.668119
2022-04-07T13:19:14
2022-04-07T13:19:14
15,556,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('ngw', '0009_config_eventdefaultperms'), ] operations = [ migrations.DeleteModel( name='ChoiceContactField', ), ...
[ "jmv_deb@nirgal.com" ]
jmv_deb@nirgal.com
b69ff391c0b83806e0c6d3ff7abac10bb56b291b
dbed0e44a11157224d933c46be5692c8e77f66e5
/apps/oomjsonsvr.py
dd9a4f2db4a76f2c8fcf0baff63369e697b34f2b
[ "MIT" ]
permissive
pichuang/oom
ef50312b442225c33a6169d2c3d5fa8bbc170d1b
725e4859f900ee0f8e83d62663a5efd70dce6c15
refs/heads/master
2020-05-21T07:36:23.740807
2017-02-28T00:24:34
2017-02-28T00:24:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,737
py
# ///////////////////////////////////////////////////////////////////// # # oomjsonsvr.py : implements functions to translate OOM Southbound API # data structures to JSON, and back # # implements the switch side of an "over the network" OOM # southbound API (a SHIM). This routine calls the native SHIM on the # net...
[ "don@thebollingers.org" ]
don@thebollingers.org
9d4c90dfdf0af067060fbab3e578ff906b4e17fe
cdc4e9c81b6887bff2b70e3f3893b93d6a824e41
/Python/Week3/Day2/practice/main/apps/first_app/migrations/0001_initial.py
69c76226ead11c943298422365d71aeef19eca47
[]
no_license
eawasthi/CodingDojo
e5c363184add26d2b7fb8b442ca15c657599feab
bfbba677cf957b7b45e99465079d5c00bc6c3f6f
refs/heads/master
2021-01-23T05:25:17.152128
2017-06-26T18:36:32
2017-06-26T18:36:32
86,299,143
0
1
null
null
null
null
UTF-8
Python
false
false
750
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-19 07:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Book', ...
[ "ekta.awasthi@hotmail.com" ]
ekta.awasthi@hotmail.com
96e1b7d4ba508da9f2c0883b2ba7a362efde32d5
b9878c92b857f73ff0452fc51c822cfc9fa4dc1c
/watson_machine_learning_client/libs/repo/util/base_singleton.py
4a9943aa7d08aaa332d2f94d4ddaafc4ea0a0726
[]
no_license
DavidCastilloAlvarado/WMLC_mod
35f5d84990c59b623bfdd27369fe7461c500e0a5
f2673b9c77bd93c0e017831ee4994f6d9789d9a1
refs/heads/master
2022-12-08T02:54:31.000267
2020-09-02T15:49:21
2020-09-02T15:49:21
292,322,284
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
class _Singleton(type): """ A metaclass that creates a Singleton base class when called. """ _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super(_Singleton, cls).__call__(*args, **kwargs) return cls._instances[cls] clas...
[ "dcastilloa@uni.pe" ]
dcastilloa@uni.pe
355a8a6a7493e09e033a44bc139d2aa4314b07e5
f27c49458bde84048e6008da8c52ca0f1ae711ce
/code/05-interactive-code/m-n-m/guessinggame.py
f919ba7aeb09373c7ec432efe4f22638bff7f3d2
[ "MIT" ]
permissive
talkpython/python-for-absolute-beginners-course
54b0f48b5edbf7755de6ca688a8e737ba16dc2fc
1930dab0a91526863dc92c3e05fe3c7ec63480e1
refs/heads/master
2022-11-24T03:02:32.759177
2022-11-08T14:30:08
2022-11-08T14:30:08
225,979,578
2,287
1,059
MIT
2022-11-07T19:45:15
2019-12-05T00:02:31
Python
UTF-8
Python
false
false
656
py
import random print("------------------------------") print(" M&M guessing game!") print("------------------------------") print("Guess the number of M&Ms and you get lunch on the house!") print() mm_count = random.randint(1, 100) attempt_limit = 5 attempts = 0 while attempts < attempt_limit: guess_text = i...
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
7bdb3032d0b87e6e58936035f17049cb25437466
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/4fde7f3e48576985304dbb54c7ab85f5d1c4d4e9observer.py
4fde7f3e48576985304dbb54c7ab85f5d1c4d4e9
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
988
py
from flask import Flask from flask.ext.restful import reqparse, abort, Api, Resource from utils import get_controllers app = Flask(__name__) api = Api(app) def get_controller_by_id(controller_id): try: return controllers[controller_id] except IndexError: abort(404, message="Controller {} ...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
78b2a54064a34e9f68b79ccd14968387c034d9f6
618e05c82a6b6034f480494be98c9d4f2ebeb038
/src/platforms.py
aa0fac39f4ab1151523512952d9da5711b1417bb
[ "CC0-1.0" ]
permissive
camelNotationsdjkh/Pento-s-Pledge
8b851f9c210750c724ee2d70f651502c137fe679
ac0ec683e41a0117ad744ff3ba8ef403f18eec4f
refs/heads/master
2023-01-27T17:29:25.156130
2023-01-21T23:20:54
2023-01-21T23:20:54
229,200,284
0
0
null
null
null
null
UTF-8
Python
false
false
6,197
py
""" Module for managing platforms. """ import pygame import constants from spritesheet_functions import SpriteSheet # These constants define our platform types: # Name of file # X location of sprite # Y location of sprite # Width of sprite # Height of sprite """ Put these constants here inst...
[ "noreply@github.com" ]
noreply@github.com
78568ca4885a42d8f3f9605cd773cdac043a3fda
27317b3adb1ccd99afa86cb931d2d14e23b9b175
/bcs-app/backend/apps/cluster/migrations/0011_auto_20180514_1805.py
7246c2cb4817e9db1fb1c09afade48a95c1a0502
[ "BSD-3-Clause", "LicenseRef-scancode-unicode", "ICU", "LicenseRef-scancode-unknown-license-reference", "Artistic-2.0", "Zlib", "LicenseRef-scancode-openssl", "NAIST-2003", "ISC", "NTP", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "MIT" ]
permissive
freyzheng/bk-bcs-saas
cf5a6c4ab1c20959bda1362bc31de7884451acd7
96373cda9d87038aceb0b4858ce89e7873c8e149
refs/heads/master
2021-07-05T04:11:08.555930
2020-09-22T12:26:37
2020-09-22T12:26:37
201,279,048
0
1
NOASSERTION
2020-09-16T03:07:16
2019-08-08T14:48:27
Python
UTF-8
Python
false
false
1,794
py
# -*- coding: utf-8 -*- # # Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. # Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. # Licensed under the MIT License (the "License"); you may not use this file except i...
[ "gejun.coolfriend@gmail.com" ]
gejun.coolfriend@gmail.com
90a9f66b973d50155b27452cee64bbbfb1800a9b
4dd1d8fa59e20061e2c12e540fc52b1b305e575b
/source/sims-2/boltz-bgk/s5/plot-sol.py
ff8f54a4239c7054fea5d9ce39a198fdbe5120d1
[ "MIT" ]
permissive
ammarhakim/ammar-simjournal
f63521906a97d55ab290a5960d94758139944c89
5019f4723e20db80a20db6f2bd454c2fd3241412
refs/heads/master
2023-06-08T08:18:11.722779
2023-06-02T15:06:43
2023-06-02T15:06:43
204,050,516
3
3
null
2022-02-01T16:53:13
2019-08-23T18:28:44
Lua
UTF-8
Python
false
false
3,194
py
import gkedata import gkedgbasis from pylab import * import pylab import tables import math import numpy import pylab import numpy from matplotlib import rcParams import matplotlib.pyplot as plt # customization for figure rcParams['lines.linewidth'] = 2 rcParams['font.size'] = 18 rcParams[...
[ "11265732+ammarhakim@users.noreply.github.com" ]
11265732+ammarhakim@users.noreply.github.com
c865eb2e04496208f170fb858fc3ffe0e9a8f306
4ae14ddd7dff01480fa62ae996d7e8ad93e5a333
/linear_regression_mydict/stepwise.py
b4e078c1e855baf8ca40312369ed3caa8fd1ccdb
[]
no_license
sadirabdulhadi/airbnb_content_analysis
f548da9de76066b74f4e657ec4437b738ae6be81
4ac45c8d3badd100bb828d16c9bbd16136cbbc72
refs/heads/master
2020-05-17T15:10:10.825198
2019-04-28T12:29:52
2019-04-28T12:29:52
183,782,521
0
0
null
null
null
null
UTF-8
Python
false
false
10,574
py
#here I'm using PySAL for the first time :) It is the Python spatial analysis library. #references ##MORAN'S TEST # the overall pipeline: http://darribas.org/gds_scipy16/ipynb_md/04_esda.html # interpretation: http://pro.arcgis.com/en/pro-app/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-s...
[ "sadeer11@gmail.com" ]
sadeer11@gmail.com
a93ea63288eff967bb4d9195f3c82744bd638f54
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_fasting.py
2a2b2ee81235039958aac103ee2d9541cc58f881
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from xai.brain.wordbase.verbs._fast import _FAST #calss header class _FASTING(_FAST, ): def __init__(self,): _FAST.__init__(self) self.name = "FASTING" self.specie = 'verbs' self.basic = "fast" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e80d10438b5937276fb7778906b03ba53f30d116
c5b5d9b00fa7e4f5b2d048f3dc302a39398e190b
/imdb.py
b1aa48f07db7bb8cef29bdd4edd306fdb4ba2b05
[]
no_license
erodner/imdbpy
11e260f9f01cc3cdb4097fe1f6a2901b01f3bb12
39b828b5583521757aa4d9dfbac2d9168cce258f
refs/heads/master
2021-01-10T12:38:59.552093
2015-11-18T19:48:21
2015-11-18T19:48:21
46,417,532
0
0
null
null
null
null
UTF-8
Python
false
false
5,962
py
""" The following script downloads IMDB ratings and saves a part of these results as a JSON file. The author of the script does not take any warranty for the damage this script might cause. Author: Erik Rodner (2015) """ copyright = """ Use this software and it's created data at your own risk....
[ "Erik.Rodner@uni-jena.de" ]
Erik.Rodner@uni-jena.de
05d534c0239f9d4aa4cb7e6433649d75109667ae
57dc403b179ef9e558134089ec5ae71feff07526
/app_agenda/views.py
33d1595b023b9e0a13eee9926a66d9ae7b914e6e
[]
no_license
joopedroe/App_Agenda
a041b58620291638587d65e98f73565ca5d092f7
e787a5c3df27185e9433aff2203175ace0c2fe1d
refs/heads/master
2020-05-03T07:17:54.499726
2019-03-30T00:53:05
2019-03-30T00:53:05
178,493,919
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from django.shortcuts import render from django.views.generic import ListView # Create your views here. from .models import * class HomePageView(ListView): model=Agenda template_name='app_agenda/home.html'
[ "labins@labin.canoas" ]
labins@labin.canoas
26d87e2f55b86eb525dd1b896bd17afd09cd8277
09c8e2ead4c8d76e76bfd5fd7b8abaed709b913b
/data_common/spark/hbase_util.py
7c7631bd0d731a1fe643c2dec7f4d30286a148fe
[]
no_license
jiangsiwei2018/BigData
c004f8e1bb290e6591745aec0dcaeb8542765e3b
568a627f32c2f4526d508096e1ded942bdf7b425
refs/heads/master
2023-08-19T14:48:24.244248
2021-10-19T18:56:18
2021-10-19T18:56:18
345,369,365
2
0
null
null
null
null
UTF-8
Python
false
false
16,764
py
# encoding=utf-8 import json import xmltodict class HbaseConf: """ 定义hbase标准数据格式: (row_key, {"f1:c1": "v1", "f1:c2": "v2", "f2:c3": "v3", "f2:c4": c4}) 例如: ('0001', {'data:grade': '7-1', 'data:school': 'SZZX', 'info:name': 'Tom', 'info:sex': 'male'}) """ @staticmethod def get_xml_to_...
[ "1910479313@qq.com" ]
1910479313@qq.com
c52bcba0f9d5a677631d2c20a62d28a6c84fd7d1
3afb516b7a759478a5b7181c94941934c48ef63e
/baselines/cifar/sngp.py
ab31eed8491da1bf18bec06e6979d462495fd4e7
[ "Apache-2.0" ]
permissive
barseghyanartur/uncertainty-baselines
e85848dd04db998b114254186eb46917395722fc
982323e1e82699ff42292f53cd3bbf3cd180912c
refs/heads/master
2023-02-09T00:12:07.632028
2021-01-04T09:48:46
2021-01-04T09:49:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,412
py
# coding=utf-8 # Copyright 2020 The Uncertainty Baselines Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
[ "copybara-worker@google.com" ]
copybara-worker@google.com