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
739258e7e68025fab2d4f603d719f33d72ba274a
5e7d0921887469c651faf90ecfcf3736d4802f6b
/pan/chapter10/X98.py
0ef74cbf6ee9c2e7f47d00fdc133ea3e37f78b06
[]
no_license
tmu-nlp/100knock2021
5e4029f2ee330fa95269740d7bd372be533d125d
0a9f8150588648fbd86d51b4c9168acf3e45ed98
refs/heads/main
2023-07-03T14:00:08.604762
2021-08-05T09:23:16
2021-08-05T09:23:16
359,641,037
10
1
null
2021-08-05T09:22:25
2021-04-20T00:57:21
Jupyter Notebook
UTF-8
Python
false
false
3,028
py
# 98. ドメイン適応 # Japanese-English Subtitle Corpus (JESC)やJParaCrawlなどの翻訳データを活用し,KFTTのテストデータの性能向上を試みよ. import tarfile with tarfile.open('en-ja.tar.gz') as tar: for f in tar.getmembers(): if f.name.endswith('txt'): text = tar.extractfile(f).read().decode('utf-8') break data = text.spl...
[ "noreply@github.com" ]
tmu-nlp.noreply@github.com
224a810f309bc00d40ba0479577abd5a86335e19
736b39df5dbf8ae8c51c7e64a03c5df2b0a925a9
/home/views.py
5a221cc39ed8beb950c9b5b5be60c798aa0dfcbb
[]
no_license
Congdohacker/PythonWeb
da3be23d1ddb3c4e6d9080b8c0a080fc32dcaab8
df4bdced5a4cb6ea1f6b35cc499e6f93e3602dd8
refs/heads/master
2023-07-12T10:14:48.378658
2021-08-18T12:01:21
2021-08-18T12:01:21
394,562,730
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
from django.shortcuts import render from .forms import RegistrationForm from django.http import HttpResponseRedirect # Create your views here. def index(request): return render(request, 'pages/home.html') def proc(request): return render(request,'pages/proc.html') def dttdraw(request): return render(request,...
[ "do7998477@gmail.com" ]
do7998477@gmail.com
ea7cb6905e5ac631d0dded1e0dcfaf1aac45a9dc
8be1525434d53228621526ec19c83d558972690e
/libraries/botbuilder-core/botbuilder/core/adapters/test_adapter.py
c731d6adab57b4059e92b3c34b57d5dcbab48690
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
IbisMalko/botbuilder-python
e24c5db4f213df90c35ba47842f8f65291f18cfc
faf4eed121c331ca0e4d373d05e19aa34d8d2877
refs/heads/master
2021-03-10T17:57:28.079769
2020-03-10T22:52:37
2020-03-10T22:52:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,467
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # TODO: enable this in the future # With python 3.7 the line below will allow to do Postponed Evaluation of Annotations. See PEP 563 # from __future__ import annotations import asyncio import inspect from datetime i...
[ "noreply@github.com" ]
IbisMalko.noreply@github.com
d5ad0bcdd4c362f6d9c26b8ce2af6352b3c0fe46
ed5f4c50bb3f86bee134f5ee23ae5dea915fc018
/mvb_hr/models/hr_salary_process.py
0177d5864bee8cb5c9b8785ccedd7253afee284e
[]
no_license
pvanh2706/naduong
dd3b2fde3669757f6e1110ce143371dae98b290c
0fc474ce4620453878b2842ff8b2939ad8723029
refs/heads/master
2022-06-23T04:00:11.928660
2020-05-07T07:18:01
2020-05-07T07:18:01
261,974,019
1
0
null
null
null
null
UTF-8
Python
false
false
478
py
from odoo import api, fields, models class HrSalaryProcess(models.Model): _name = 'hr.salary.process' _description = "Quá trình lương của bản thân" _rec_name = 'employee_id' time = fields.Char(string="Tháng/Năm") level = fields.Char(string="Ngạch/Bậc") coefficients_salary = fields.Float(strin...
[ "phamvietanh27061996@gmail.com" ]
phamvietanh27061996@gmail.com
a47953c4c60b57c4ae0f8338cc71ac1d6a4881df
e1d8218edd21a9b8b933b75a4d267ae9b749cd2b
/Loop.py
2ff119ba78817114ef4a89f5d5009e2e2fc1e6ec
[]
no_license
nadinef673/Delta
ad7dca2b61ff1411d5d6db7ebde0b8d96c6bb867
12f674ce6e6733cfd4149e8438748dff03534471
refs/heads/main
2022-12-29T18:50:00.436686
2020-10-16T10:16:48
2020-10-16T10:16:48
304,591,871
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
from datetime import datetime, timedelta mydate = datetime(2020, 10, 16, 11, 58, 12) x = 0 for i in range(14, 15): day = my.date + i * 14 date = my.strftime('%Y-%m-' + str(day)) dates.append(date) print(date)
[ "nadine96jodie@gmail.com" ]
nadine96jodie@gmail.com
43a00d329425895ad473b6212772b15f2b94fed9
f4b346937c2081f4c93bdd869b00ab71b0e95a8f
/venv/bin/django-admin.py
3116d8b92ccffb1ad4b6515a1a598903da2a609e
[]
no_license
maks-nurgazy/django-movie
fd427d4cc5ff69003e02df35208a779237aa89e5
427421ae9304e9b98a94f889238f85a5a81fe8c7
refs/heads/master
2021-02-13T03:18:28.640159
2020-03-03T14:23:48
2020-03-03T14:23:48
244,656,068
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
#!/home/maksnurgazy/PycharmProjects/django_movie/venv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "maksatbek.bolushov@gmail.com" ]
maksatbek.bolushov@gmail.com
db286fe458c775a800a157cba1c7dcea084f8871
5ad1d278e006c1c87a29e2e9567ab983e77b4fbc
/mapparser.py
fb51cf4aa7a07c841b64025889a0abc6d9f41689
[]
no_license
AlpinistPanda/osm
a55e5864411c2890715a4e6a2782657e081f4066
6af610866955b86401543b6c323ec9a64b3d1c55
refs/heads/master
2021-01-24T21:29:51.093680
2018-06-01T19:20:44
2018-06-01T19:20:44
123,271,826
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Count the number of tags """ import xml.etree.cElementTree as ET import pprint def count_tags(filename): tags = {} for event, elem in ET.iterparse(filename, events=('start',)): tags[elem.tag] = tags.get(elem.tag, 0) + 1 return tags def test(): ...
[ "ozgunbalaban@yahoo.com" ]
ozgunbalaban@yahoo.com
732c2b6aa9c3388c7ee3ea4f79ced40b2d745393
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1673486_1/Python/BetaNona/1A.py
960634cecd6b8cf7b7b420ce8ec9c04e1cf554f6
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
848
py
#!/usr/bin/env python import sys import string infile=open(sys.argv[1]) def solve(A,B,ps): assert len(ps)==A corProb=[1] for p in ps: corProb.append(corProb[-1]*p) #print corProb ans=B+2 for n in range(len(corProb)): if n==0: ex=(1+B+1...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
07372b8de4b59de236885dff005532fe4fd606ca
abacc4d2f78b2c0f56b878ba4723b4d2d9bbc412
/camel_tools/calima_star/reinflector.py
1c4fee65e98b1b7561b4b4d4c10cd4b6798bf717
[ "MIT" ]
permissive
dr-dahou-adrar/camel_tools
5258905d2f66a07b01502beb3585cb19be6c4f85
5572aa2e073330afe554cb7d878c44622d44c007
refs/heads/master
2022-04-08T21:54:58.961676
2020-03-03T16:59:32
2020-03-03T16:59:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,547
py
# -*- coding: utf-8 -*- # MIT License # # Copyright 2018-2019 New York University Abu Dhabi # # 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 limitatio...
[ "owo@owobeid.com" ]
owo@owobeid.com
d4e16c555e2f3626ac1f8499418ddb2bbc340403
56fe5027956b6b63b55ab96931f49f208b62dfd6
/ocr.py
cb5c42f06523a906bffb61989f07fd4fb2d376cd
[ "Apache-2.0" ]
permissive
JackyXiao98/chinese_ocr
ed8687ad4506739a81d97100556dc5ea6e3dbe29
62c45fd6df0959144fad411cf90ee136047802c3
refs/heads/master
2020-06-01T10:51:42.933439
2019-06-07T14:27:49
2019-06-07T14:27:49
190,755,220
1
0
null
null
null
null
UTF-8
Python
false
false
2,974
py
#-*- coding:utf-8 -*- import os import sys import cv2 from math import * import numpy as np from PIL import Image sys.path.append(os.getcwd() + '/ctpn') from ctpn.text_detect import text_detect from ctpn.lib.fast_rcnn.config import cfg_from_file from densenet.model import predict as keras_densenet def sort_box(box):...
[ "1025965245@qq.com" ]
1025965245@qq.com
137e4c297ff21901af54db446c00bb36ea82e99f
d5601b6f45e273532ebd238391fcdb8cd5eacb79
/django/bin/easy_install-3.5
f556a8a3ed7fcc0150053f96edb629efc2d1913c
[]
no_license
dobunchu/my-first-blog
a7e3fa7f0bf5c9dc6d7e2d26221589fc357472d3
959518e621d90bfa42322bee56f7979c8c5b2a30
refs/heads/master
2020-04-03T19:16:44.569056
2018-11-01T04:44:41
2018-11-01T04:44:41
155,267,204
0
0
null
null
null
null
UTF-8
Python
false
false
266
5
#!/Users/aikawafujio/djangogirls/django/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "happyskull.0101@gmail.com" ]
happyskull.0101@gmail.com
d4b23573080940fa45bc9386697a88a5f1427622
be79cc449bdcfdae7b87e9e68d85cce63cf10ac9
/0x01/strToint.py
72a4e4625ded75d1defbcc0e1c3cf13c5023e1e5
[]
no_license
Paul9inee/Elementary_Algorithm
544797c798d5f9f2078070c981b44e99673a955b
262e951173e7b94afd04da42cf741cdb67a2a562
refs/heads/master
2022-12-18T18:51:37.938212
2020-09-11T14:01:54
2020-09-11T14:01:54
280,383,161
1
0
null
null
null
null
UTF-8
Python
false
false
60
py
def solution(s): return int(s) print(solution("-1234"))
[ "lehninger10@gmail.com" ]
lehninger10@gmail.com
2ad5f0a62788752e5a9e1e82d5a32b77709ae87f
6d824eae55583dfabc130bbafb797e860914f10c
/.svn/pristine/c0/c0d11e020d6a610a4f201fbb569d1f9921648c38.svn-base
5c8865d5bd5f93334f4cad8e933066979fc4cf98
[]
no_license
sproutsbean/o2o
d97fd4840f983e4ff22746aaaeb1068f4c086755
2e2dbc35d756f5eda4232f0a737dcb3c074954e7
refs/heads/master
2021-05-05T19:23:20.733118
2018-01-17T03:30:25
2018-01-17T03:30:25
117,774,569
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
#!usr/bin/env python # -*- coding:utf-8 -*- """ @author:user @file: loan_clear.py @time: 2018/01/02 """ from com.ea.common import tools, menu import time def loan_clear(driver, payname, loanno, casename, screenshot_path): u"""贷款结清""" expect_result = "审核中" pay_date = "2017-10-10" print("申请贷款结清开始...
[ "lijie" ]
lijie
67f23b887c9b025b10d72e2f391c8b5a8095153f
888e302b4b42ec184dee54707e6817e0810e2671
/gooapengn/webaap.py
4e3232cc85c1d0ef5afaeb20b66745ab0d8caefd
[]
no_license
armohamm/Remedoc
365cfb0be22fd8045f5a2c4405286cfbb1df296d
d19a31edd946444f3bb5a0ad5d066ec2abc5bcf8
refs/heads/master
2020-06-12T23:47:42.507633
2017-04-19T21:32:42
2017-04-19T21:32:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
68,369
py
# -*- coding: utf-8 -*- """ webapp2 ======= Taking Google App Engine's webapp to the next level! :copyright: 2011 by tipfy.org. :license: Apache Sotware License, see LICENSE for details. """ from __future__ import with_statement import cgi import inspect import logging import os import re import ...
[ "kumarprince280695@gmail.com" ]
kumarprince280695@gmail.com
21202d23ccb67b37e92368dc518788c01cbd964f
189989d5b833429e970ccc313880292c9913996a
/paopu2.py
a0a9d6ab03a7fdf9ca256c3b7891b6979a9787a2
[]
no_license
rexl2018/run_lz_in_gg
f706f78d5e5c4e45b36d7f663b6c5ef4609c45f5
bec278a8fc964f00c639b5fc597701eb37511cd8
refs/heads/master
2020-04-04T00:59:03.559249
2018-11-01T04:02:21
2018-11-01T04:02:21
155,663,593
0
0
null
2018-11-01T04:53:08
2018-11-01T04:53:08
null
UTF-8
Python
false
false
1,918
py
# -*- coding: utf-8 -*- import sys import os import subprocess import re def __shell__(cmd): os.system(cmd) def __shell2__(cmd): return subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT).decode('utf-8') #if not os.path.exists('/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1'): #__shell__('apt ...
[ "noreply@github.com" ]
rexl2018.noreply@github.com
9c21a1e301ddc58ba2c81b3e52697e2161f9693c
7b71fcf511bc680aa2e43cd21d51a0e6fe1c7a72
/backend/manage.py
97885fbfda14c1e047c7c45f99bbac085203af7b
[]
no_license
crowdbotics-apps/scribe-learn-25489
1ee3ee2141bf63c92daaf7ba72f6254c9dd83e99
fa7d62f5d9004eae0053a9cdddb598ce5445ec9b
refs/heads/master
2023-03-31T16:33:50.944105
2021-04-06T12:21:47
2021-04-06T12:21:47
355,177,679
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "scribe_learn_25489.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: r...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9c626bd9c6bf3d13dae925eb9045eb4ea0ff2c4f
a4956136a9f0cc48e6b418f96c90b22db7625af3
/evaluating_expressions/binary_tree.py
99f917b0bc0a8254d4710d78a0b9996d77444f27
[]
no_license
justinBlackford/python
435625aea671a77910f45c52eab49be455be20d4
a792f286f305a26c55e8fc94a051d7a89ed6d3f2
refs/heads/master
2020-04-03T22:48:54.637310
2018-10-31T19:12:33
2018-10-31T19:12:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,147
py
# Copyright 2013, Michael H. Goldwasser # # Developed for use with the book: # # Data Structures and Algorithms in Python # Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser # John Wiley & Sons, 2013 # # This program is free software: you can redistribute it and/or modify # it under the...
[ "noreply@github.com" ]
justinBlackford.noreply@github.com
1e75baaeb5534d78d04fec82394d7e2936303b26
7eb4c8526f3aabf1e01247716983cc2efdc1080f
/test/functional/rpc_net.py
ca4cad4c9b2a98ba976a5222f0398923df2cf427
[ "MIT" ]
permissive
Catycoin/catycoin
8bde44d64d1602d072a31c921a35152ec961e5c8
7c295b4d6d53cc00afdbd097b1c5ab56ae08386b
refs/heads/main
2023-04-10T03:27:48.318068
2021-04-17T12:46:35
2021-04-17T12:46:35
358,872,353
0
0
null
null
null
null
UTF-8
Python
false
false
6,732
py
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC calls related to net. Tests correspond to code in rpc/net.cpp. """ from decimal import Decim...
[ "catycoin@protonmail.com" ]
catycoin@protonmail.com
0cf5ba3315d349107517e87349841bf4de60d2d2
ad2960a2bf4630538427232c7f3b6f5e57bbf6ec
/mainapp/models.py
36469b2f41636d7483a4cc80ba6ba550888c5f90
[]
no_license
liveseyy/Django3-Ecommerce
7be9f3243a809a4cc43431b58a62d0a151698e52
248bbf188716feea34eec2c02fc3cfd16ab13c8c
refs/heads/main
2023-02-08T13:39:55.108102
2021-01-03T07:32:38
2021-01-03T07:32:38
321,907,565
1
0
null
null
null
null
UTF-8
Python
false
false
5,262
py
from django.db import models from django.contrib.auth import get_user_model from django.urls import reverse from django.utils import timezone User = get_user_model() class Category(models.Model): """Категория товара""" name = models.CharField(max_length=255, verbose_name="Название категории") slug = mod...
[ "dima74ermilov@gmail.com" ]
dima74ermilov@gmail.com
5b4a0c4e768700ecd571ea409bd73df98dfaa2d9
bebf9666a13f8c8cd1b482a03ecb3f1d601c15c8
/tests/test_main.py
dbe7ace95767989f0169b62ea8d4b0a36fe779c5
[]
no_license
jblythe/mock-cloud-service
08fe35cd06c5f1ab74a41bcc48415c0edd3a8209
76ebd2cd65cd2be2402e32879f582b0851710e5f
refs/heads/main
2023-03-19T07:00:56.430374
2021-03-15T01:13:28
2021-03-15T01:13:28
347,771,727
0
0
null
null
null
null
UTF-8
Python
false
false
2,404
py
import base64 import copy import json import pytest import main from unittest.mock import patch from tests.lib.gcp import firestore, pubsub_v1, bigquery @pytest.mark.parametrize( "directory, event_filename, expected_filename, config, event_data_tag", [ ("process_event", "1_log.json", "1_expected.json", "...
[ "jblythe@mac-jblythe.local" ]
jblythe@mac-jblythe.local
77b16b2a511015f60e11f1200dd8a822618ddd7e
0ebbbcba0654b01faf153863fa88bbf63f18505c
/students/models.py
991323b259db64e1319912183ae7c95d2ecc5876
[]
no_license
Hitoki/students
c1cb399939edd2cd99d79ca8ff1aaedb743268bd
6e691bb1aa9f221c2f1189a51794ec361dd84d84
refs/heads/master
2020-04-09T03:39:34.102825
2014-12-12T11:50:05
2014-12-12T11:50:05
27,124,048
1
1
null
null
null
null
UTF-8
Python
false
false
1,817
py
from django.db import models from django.db.models.signals import pre_save, pre_delete from django.dispatch import receiver class Student(models.Model): first_name = models.CharField(max_length=255) second_name = models.CharField(max_length=255) last_name = models.CharField(max_length=255) birth_date ...
[ "hitoki@mail.ru" ]
hitoki@mail.ru
44c9e72b343ce099691f1a69a3ff2cd9a10fb4fd
f945c8ba9d711cc9242432040b74d0655bf00a45
/work.py
038043fe4304892e7de6f6ad37a3ae8ea5ccfd9e
[]
no_license
Wynnlin329/Pyetl
44ab0fd636ef3103bc0869b113738d9d0f38d607
bd226cb04db30c48384ba029ebdafda196f3a4ba
refs/heads/master
2022-10-29T17:51:07.431429
2019-11-21T09:04:42
2019-11-21T09:04:42
223,125,734
0
1
null
2022-10-15T11:45:37
2019-11-21T08:31:28
Python
UTF-8
Python
false
false
2,536
py
import requests from bs4 import BeautifulSoup import os user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36' headers = {'User-Agent':user_agent} path = r'./res_gossiping_work' if not os.path.exists(path): os.mkdir(path) page = 39291 w...
[ "summer54a21@gmail.com" ]
summer54a21@gmail.com
7826fe2a935f7f0f1f2e48edeb9a89d23ecd7018
23e868036a088139e968b55f80283a9f7c996f8f
/test/functional/feature_settings.py
d996bab72e3433195ee0c19f48fd6710d8a61e51
[ "MIT" ]
permissive
hiphopcoin24/hiphopcoin24
ec972602d502df0d131818eae7f903e3acc7e550
09b780546ba9e28b452a8641863aafa90def40d1
refs/heads/master
2023-05-14T18:44:02.844736
2021-06-09T08:51:27
2021-06-09T08:51:27
369,224,196
0
0
null
null
null
null
UTF-8
Python
false
false
3,824
py
#!/usr/bin/env python3 # Copyright (c) 2017-2020 The Hiphopcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test various command line arguments and configuration file parameters.""" import json from pathlib...
[ "hiphopcoin24@gmail.com" ]
hiphopcoin24@gmail.com
e8e863017e1d3e14b898fc2f86ad155b24a033c5
d9eda3d6f14bd35229d25118493a1d8157bdcb8b
/Interview/Code_Snippets/python/regex_excercise_2.py
98c56e10fa644f86ad4c3a19d9649ab93b0f2e9b
[]
no_license
marannan/repo_1
070618cafd3762733f9fca11ae866988b2fac5a9
4667a2d761423368675bd463c888918d2cdaf828
refs/heads/master
2021-01-17T17:45:06.869090
2016-07-06T19:52:58
2016-07-06T19:52:58
47,296,359
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
import re class Solution: def is_match(self, str_1, str_2): if str_1 == str_2: return True if str_2 == ".*": return True if str_2 == ".": if len(str_1) == 1: return True if __name__ == "__...
[ "marannan@wisc.edu" ]
marannan@wisc.edu
17c088fb564f316fa829691f859c32a64b526e32
77d6f3a8d4935ca3fff581e0bb3f3f14b7db2e47
/workbench/projects/migrations/0001_initial.py
21d9b9413bbff30dc693b9ec493457888ca8f873
[ "MIT" ]
permissive
jayvdb/workbench
192705cf03eaaf96627b1bedde6c7eea6cf54ca7
a591c8a8aa8266e31095fea23f3d541cee68a7f3
refs/heads/main
2023-02-21T16:05:01.855731
2021-01-24T16:44:00
2021-01-24T16:44:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,000
py
# Generated by Django 2.1.7 on 2019-03-04 21:39 from decimal import Decimal import django.core.validators import django.db.models.deletion import django.utils.timezone from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependenci...
[ "mk@feinheit.ch" ]
mk@feinheit.ch
51845ec7d6a9fc92b999c2b3fa61e91ba56bb685
74c88de08bd96529bcfab113f1bdb73e56a6f76c
/on_hpc/scripts/hpc_queuer
49d09aa58759dcd27feeeb831e6ff2c83135cf4a
[ "Apache-2.0" ]
permissive
AudiovisualMetadataPlatform/hpc_batch
18f83ada8629637b3d371f916a882219189f8d47
0de95813fd5714a285dc8e925ecb520f82649219
refs/heads/master
2023-03-18T10:27:53.016842
2021-03-08T14:40:15
2021-03-08T14:40:15
286,835,605
0
0
Apache-2.0
2021-02-19T15:16:54
2020-08-11T19:53:48
Python
UTF-8
Python
false
false
2,921
#!/usr/bin/env python3 # Queue the hpc_runner script if necessary import argparse from pathlib import Path import logging import subprocess import sys import getpass def main(): parser = argparse.ArgumentParser() parser.add_argument("--debug", default=False, action="store_true", help="Turn on debugging") ...
[ "bdwheele@indiana.edu" ]
bdwheele@indiana.edu
605e5d03ee299aca753ba487a894fa465e01cc2f
c18f04bc63abe1f17c5dc4d966aa3967d57c4936
/agenda/webservice/serializers.py
704d0af1d1c0725a7cd6fd9317fd941bef4d1286
[]
no_license
Rahmon/Lied-agenda
bcba920c43261a43319c10f10d75ee2403a3a1a5
03b4833d48cbcc1725dd85acd77cd857fe83a8c1
refs/heads/master
2021-01-13T08:02:40.738554
2016-09-28T22:05:43
2016-09-28T22:05:43
69,505,274
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
from agenda.webservice.models import Contato from rest_framework import serializers class ContatoSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Contato fields = ('id', 'nome', 'apelido', 'idade', 'telefone')
[ "ramondead@gmail.com" ]
ramondead@gmail.com
a173c7a636c54784967ecf2f9e47658e475fcf92
6c7f22d553051c6a5ed5391488593392ac4268a8
/test_bus.py
f2fdb4a3d0b38ebb604d00c4aa39dc84453ee6a8
[]
no_license
darksv/dashboard
d6d27bda1581768f8c1f0cbcabae8e01c758f92a
f320af04759cdca97e81f08c8a50e6ac326fc3f8
refs/heads/master
2021-01-22T21:21:52.750181
2018-01-27T13:19:00
2018-01-27T13:19:00
85,413,780
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
import pytest as pytest from bus import Bus @pytest.mark.asyncio async def test_emit(): bus = Bus() handled = 0 @bus.on('tick') async def test(event, data): nonlocal handled handled += 1 await bus.emit('tick') await bus.emit('tick') assert handled == 2
[ "darek969-12@o2.pl" ]
darek969-12@o2.pl
85f53434661d94c4034ad9c4efa982e8d5885ea7
638f3a8eb1923043778315e9cc36ba590ba751a2
/models/user_models.py
d5f0e575408911d69b55fbfa2378db0a60670231
[ "MIT" ]
permissive
htrismicristo/finanzapp_api
8a6e7575cb2e049bc5718e38f9e9948da8a1d019
3d3ed061256c1908664f3d20dd8fe67bd765e9a1
refs/heads/main
2023-02-02T19:44:58.718221
2020-12-20T15:47:38
2020-12-20T15:47:38
320,917,447
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
from pydantic import BaseModel class UserIn(BaseModel): username: str password: str budget = 0 # class UserSign(BaseModel): # username: str # password: str # budget: int class UserOut(BaseModel): username: str budget: str class Config: orm_mode = True
[ "hermes.romero@unipamplona.edu.co" ]
hermes.romero@unipamplona.edu.co
4d4e95b09d324d42793c9a5a0914a2509f411127
aa3c9a58978a7991a1802b661cf31be38ba27532
/compecon/chebyc.py
9b45d82c2ee85ab7afd90e61a7f506a205eb7a52
[ "MIT" ]
permissive
snowdj/CompEcon-python
65cd00f30d0f4d1b3036006991f1565416566784
883ac75750800e2792218a7b13f97e681498a389
refs/heads/master
2021-06-24T03:21:23.335960
2020-11-08T01:07:56
2020-11-08T01:07:56
92,573,061
0
0
MIT
2020-11-08T01:07:57
2017-05-27T05:23:51
Jupyter Notebook
UTF-8
Python
false
false
872
py
# __author__ = 'Randall' # import numpy as np # from numba import jit, float64, void # # # ''' Usual Python version ''' # # def cheby(z, bas): # #bas[0] = 1 # bas[1] = z # z *= 2 # for k in range(2, bas.shape[0]): # bas[k] = np.multiply(z, bas[k - 1]) - bas[k - 2] # return None # # ''' Numba...
[ "romero-aguilar.1@osu.edu" ]
romero-aguilar.1@osu.edu
98626c5f1a14fc4da3c9d037c2a8bd90e503fb5c
71449daa1820c4b883a6a053f2da5fdc5b6ae178
/ship.py
bb81c86712fc300b6addf04e689c5bb62157ea18
[]
no_license
yytql/Game
eddab00218c392fd68b5040518c0d7aed9f2460e
0c284888adaa8a7ba4cddd7012dcee5be2094953
refs/heads/master
2020-07-25T05:34:33.972169
2019-09-13T02:08:31
2019-09-13T02:08:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
import pygame class Ship(object): # 初始化Ship类 def __init__(self, screen, ai_settings): self.screen = screen self.ai_settings = ai_settings # 加载图像 self.image = pygame.image.load('image/spacecraft.bmp') self.rect = self.image.get_rect() self.screen_rect = screen.g...
[ "2907047490@qq.com" ]
2907047490@qq.com
33834dd13eb2f3936555afb18ffb370a0ec92dfe
b287837b42e00dc3b6b3b18f47c118f0e90136db
/W15_FDD_dcgan/dcgan.py
57e0a564b3fc44cd95cc906c3d48797b8d9f9080
[]
no_license
GoareguerLucas/GAN-SDPC
5adb0be8a9a3d52f27aad5f8429a5c498d6c5ec1
3142daa400502b7c3af73ffe6c00b4fe5a1531ec
refs/heads/master
2023-03-31T06:21:59.340058
2019-11-20T10:25:15
2019-11-20T10:25:15
178,813,378
2
0
null
2023-03-24T22:48:50
2019-04-01T07:56:20
Python
UTF-8
Python
false
false
13,821
py
import argparse import os import numpy as np import torchvision.transforms as transforms from torchvision.utils import save_image from torch.utils.tensorboard import SummaryWriter from torch.utils.data import DataLoader from torchvision import datasets from torch.autograd import Variable import torch.nn as nn import...
[ "lucas.goareguer@etu.univ-amu.fr" ]
lucas.goareguer@etu.univ-amu.fr
4b81aa81f60b69515e27c15d9eb45410ce34361c
e162e7e276665226312cd1a03a5a3f614340bd32
/textacy/similarity.py
c9714c10ca7944d2fae6d5b2d37705fd845ff1df
[ "Apache-2.0" ]
permissive
nigeljyng/textacy
6b34f3919574a4f0c91fb4c729a65919d4ac551e
17833f63103850f9ea7e8e22b16378758dae6fce
refs/heads/master
2021-01-23T01:56:32.224345
2017-03-23T13:34:14
2017-03-23T13:39:43
85,949,374
2
0
null
2017-03-23T12:53:59
2017-03-23T12:53:59
null
UTF-8
Python
false
false
9,468
py
""" Collection of semantic similarity metrics. """ from __future__ import absolute_import, division, print_function, unicode_literals import collections import re import warnings from cytoolz import itertoolz from Levenshtein import (distance as _levenshtein, hamming as _hamming, ...
[ "burton@chartbeat.com" ]
burton@chartbeat.com
3418d69cbbbc96c1bf28aef84615116ef1518ea1
34d86073d4dfc71aef2b0dd0b3d1cfdde455122c
/src/uniform-tilings/tiling.py
8d74f468cfc2e54dadfff2a392e99e7dda454cfe
[ "MIT" ]
permissive
mohi7solanki/pywonderland
76fcc467f8003f87e733bd8b47e212a1c68ffa8e
2b9d61a8414d4cfa92d34325e5e2b9b5d501abca
refs/heads/master
2020-11-24T07:05:27.832124
2020-03-04T14:35:25
2020-03-04T14:35:25
228,021,605
0
0
MIT
2019-12-14T12:45:32
2019-12-14T12:45:31
null
UTF-8
Python
false
false
9,261
py
from itertools import combinations from functools import partial import numpy as np import helpers from coxeter import CoxeterGroup def rot(arr): return arr[1:] + [arr[0]] class Face(object): """This class holds the information of a face and is used to color the faces alternatively. """ def...
[ "mathzhaoliang@gmail.com" ]
mathzhaoliang@gmail.com
e067434af74bd851e32e2e47d171d908516e6bfc
04ce78237dc07ba78ff1ba5afbe6432d50221cf4
/INI4.py
61d01d39e94481e072adcc0d23227ee0a0be744b
[]
no_license
yevfurman/Rosalind
abbeee46d04d5a74f0d2308163aa9574b531c688
efafb88a9cef5239dccaf58d6a97231eff73d8b6
refs/heads/master
2023-01-18T17:10:41.018903
2020-11-18T15:45:55
2020-11-18T15:45:55
313,915,669
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
f = open("Files/rosalind_ini4.txt") a=list(map(int,(f.read()).split(" "))) f.close() summ=0 for i in range(a[0],a[1]+1): if i%2!=0: summ+=i print(summ)
[ "yevfurman@gmail.com" ]
yevfurman@gmail.com
669d02831d39675b6f8ad30798c49f99960262c1
ea3ff8c600a93dce9ae47f8daf244bd40d494072
/inmobiliaria/apps/propietarios/forms.py
f95351af86cd4d3f3251a0dec59733447d11010f
[]
no_license
andretxu-6/Inmobiliaria
dc8e4d6f2bff6f139ebbb9f6798b767bf751da7e
551542407354dceda7b8cf5ffbf669aaf4ed6c4e
refs/heads/master
2021-01-23T05:50:33.627686
2017-06-06T13:26:55
2017-06-06T13:26:55
92,991,870
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
from django import forms from apps.propietarios.models import Propietario class PropietarioForm(forms.ModelForm): class Meta: model = Propietario fields = [ 'nombre', 'apellidos', 'fecha_nacimiento', 'direccion', 'telefono', 'email', ] labels = { 'nombre': 'Nombre', 'apellidos': 'Ape...
[ "andretxu6@gmail.com" ]
andretxu6@gmail.com
2f3929550179f750f485efe10ef575e0e503512c
0cc64681027fdb16b1925259d6c155f7f7d19c2d
/assets/migrations/0002_auto_20210222_0109.py
00f187350a8a9670a0612f1ec6e2f75612a365a1
[]
no_license
Christian-Oliveira/desafio-inquest
8ca666aa9ce8492f942fa0d6724338971e05b38a
ee4c14ec258602927117660f0972755feff413d6
refs/heads/master
2023-03-10T09:45:58.671336
2021-02-23T00:51:04
2021-02-23T00:51:04
340,673,007
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
# Generated by Django 3.1.7 on 2021-02-22 01:09 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('assets', '0001_initial'), ] operations = [ migrations.RenameField( model_name='assetsmodel', old_name='person_id', ...
[ "christianoliveirati@gmail.com" ]
christianoliveirati@gmail.com
3af70ae14dfb6cb3951f1b1a9ea0922c1f8baced
0a84d748400b9c7fc9121b4a76a2bf8d1d75de14
/plotting/plot_psycho.py
36c1714b4b2a43c164beb6e5b32bdd3de4d9f6f3
[]
no_license
dangpzanco/disciplina-fala
3649a103777370fb7a8b15fce37e97446074c9f4
04b4213084969304d44efa3adb6198af101cfd83
refs/heads/master
2020-07-30T21:35:56.252159
2019-12-04T14:19:40
2019-12-04T14:19:40
210,365,686
0
1
null
null
null
null
UTF-8
Python
false
false
3,354
py
import pathlib import soundfile as sf import librosa import numpy as np import numpy.random as rnd import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from tqdm import trange def format_figure(fig, ax): figsize = np.array([16, 10])/2.54 par_ticks = {'fontname': 'Arial', ...
[ "dangpzanco@gmail.com" ]
dangpzanco@gmail.com
4d246179c8121464ab611878e52376016465c3d6
14b0d41a7a35de8fae46e550e020ef4092611325
/CPT_secondscreen.pyde
913c87c68d39f3be9011de835238ca8b6092f344
[]
no_license
ICS2O-Gallo/cpt-nameera-m
f23e04c9bfe02f7f4f2f24c13246ad1c39116dcc
2626dcb304326c1d949caea29a5e87be5096b179
refs/heads/master
2021-09-04T20:02:22.817289
2018-01-22T01:16:09
2018-01-22T01:16:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
pyde
def setup(): size(1000, 800) def draw(): background(255) fill(0) textSize(100) text("Select a level:", 25, 100) rect(25, 200, 400, 50) textSize(32) fill(255) text("Easy", 175, 230) fill(0) rect(25, 300, 400, 50) textSize(32) fill(255) text("Moderate", 175, 330) ...
[ "noreply@github.com" ]
ICS2O-Gallo.noreply@github.com
93b59da3810633c2d02d8018a78721e75bda1964
83932f1d956a6b7818c6e58a31205e6e26f2fb5c
/0x0B-python-input_output/100-append_after.py
e2eba919c2e97d3a4d7ba4547e15fee17ccf5d08
[]
no_license
Nzparra/holbertonschool-higher_level_programming
a17834b8239e477a7284119acac69da0e7d7261e
6cf7a44a10db7a10be3c3c02cbacfea9a7b897f2
refs/heads/master
2020-09-29T02:45:04.458850
2020-05-14T21:12:45
2020-05-14T21:12:45
226,930,910
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
#!/usr/bin/python3 def append_after(filename="", search_string="", new_string=""): val = "" with open(filename, "r", encoding="utf8") as file: for line in file: val += line if search_string in line: val += new_string with open(filename, "w", encoding="utf8")...
[ "nzparra@gmail.com" ]
nzparra@gmail.com
91d754a06736a368aa954f6d40efd194e2baecda
98d41ace3bc5e82323c4cd21b6e7d16ea9d16f69
/Mambu/sites/admin.py
6ce1ac97d63cae55a65525d4d55e7208ebb614a8
[]
no_license
pius-ng3a/MambuSiteV1
1152b15f99ae10918bb3404311e98cbf478e0661
0af11fb5e9da003098c1f9d9306d9529d7f0f1e1
refs/heads/master
2022-12-04T02:07:37.703323
2020-08-30T16:52:39
2020-08-30T16:52:39
289,721,269
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
from django.contrib import admin from .models import Site # Register your models here. class SiteAdmin(admin.ModelAdmin): """docstring for SiteAdmin""" fieldsets=[ ("Site Name ",{'fields':['name']}), ("Description ",{'fields':['descritption']}), ("Picture ",{'fields':['site_image']}), ] admin.site....
[ "pius2016@gmail.com" ]
pius2016@gmail.com
f273f614070b3ec157327a711f055db28e4399be
6346e04a9672ca4232115ce51d42487168863e08
/Scripts/sendgotitemailtotarget.py
e5ca85623d196d34a1049296f46f1c0176937064
[]
no_license
MikeDawg/content
97b7edf4a6e0a84dc9e81863cb07f6cb25e56aa5
4d7a8a131eb07689e157ff510995e5315efab9db
refs/heads/master
2021-01-23T15:30:27.743903
2016-09-02T17:57:24
2016-09-02T17:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
# Find the recipient of the email - should be the target target = '' for t in demisto.incidents()[0]['labels']: if t['type'] == 'Email/from': target = t['value'] break if target == '': for t in demisto.incidents()[0]['labels']: if t['type'] == 'Email': target = t['value'] ...
[ "lior@demisto.com" ]
lior@demisto.com
df15f189ad8abcc014d97b41efa1b7b819a861d7
4dc918ea87efb657c25a85cefc1249dd22dd6999
/graphscoring/main.py
75b6b5e7ca271de9ee3f8bcf6c8ba1cf001fe793
[]
no_license
DevyaniBajaj/TextSummarization
bc72c5aa829c6b1e358435fd010ca861730dfef0
35591154ab5e9df8da7eeb13d8ccdbcfc8b58608
refs/heads/master
2020-03-14T17:48:26.766020
2018-05-01T07:03:16
2018-05-01T07:03:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
from helper import dissect from graphscoring import text_rank import pandas as pd import itertools summarized_list = [] labels_list = [] def summarize(mainText): sentences = dissect.get_sentences(mainText) #print("------", sentences, '\n') S = text_rank.get_similarity_matrix(sentences) sent_score...
[ "dhanya.akhila@iiitb.org" ]
dhanya.akhila@iiitb.org
0bfb0cfe7a239dcd9b4917a272d9a3e218e3a6ba
56ba14e240574dd123cad8e831273db5b7bcbc6b
/100 days of code/GUI (tkinter and turtle)/miles-km-converter/miles_to_km_converter.py
a2ce257eba3645389c4588e6ce9e8c351c4bc85b
[ "MIT" ]
permissive
araschermer/python-code
4b7971b3e6c6cbddf908e3423f5382f80b2f370d
e4f30601779f423476659d5b0b5f5c9df71718f7
refs/heads/main
2023-04-23T17:16:19.578997
2021-05-18T15:41:31
2021-05-18T15:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
from tkinter import * def miles_to_km(): if user_input.get() == "" or miles_spinbox.focus_force(): miles = float(miles_spinbox.get()) km = miles * 1.609344 km_result.config(text = round(km, 2)) else: miles = float(user_input.get()) km = miles * 1.609344 km_resul...
[ "44481677+abdelkha@users.noreply.github.com" ]
44481677+abdelkha@users.noreply.github.com
d464fc27a55b40b584be9cb0268a95e3833f7065
03dab80497ef1da431ffaae9556c42c7b2927116
/polls/views.py
ce035d48bb49a24250de2bc62305800da7fd16e3
[]
no_license
monyoudom/sample
6f536d975b3fef936e8e69636307b8d261636a35
a8872cd1a28f002fc6f2b4ae319c8ba4f0ceef3d
refs/heads/master
2020-04-24T19:57:08.354494
2019-03-03T15:58:19
2019-03-03T15:58:19
172,228,733
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
from django.shortcuts import render from django.http import HttpResponseRedirect from .forms import InformaitonForms # Create your views here. def index(request): if request.method == 'POST': form = InformaitonForms(request.POST) form.save() return HttpResponseRedirect('polls/thanks/') ...
[ "thongmonyoudom@outlook.com" ]
thongmonyoudom@outlook.com
94a65ce3023cea924288f6a78545a7984fa3552b
3d4085e97301b13ed69914b4ecc3db74febcac05
/NEMA17motorRun.py
7a115d6954ef1d023366054cfa9e53994b07fe6d
[ "Apache-2.0" ]
permissive
Kitaarspeler/Rubiks-Cube
60d6c0a1b8613d25176aeab54c389209c6d80107
dc1b4c83839a1130ac1162faf862fd977bb6ba1a
refs/heads/master
2020-05-19T00:24:21.937783
2019-05-03T10:11:30
2019-05-03T10:11:30
184,735,450
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
import time import RPi.GPIO as GPIO DirPin = 2 StepPin = 3 CW = 0 CCW = 1 Delay = 0.005 GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(DirPin, GPIO.OUT) GPIO.setup(StepPin, GPIO.OUT) try: while True: Steps = input('Enter number of steps: ') Dir = input('Enter a Dir!!!!!!!!!!!!!!') ...
[ "noreply@github.com" ]
Kitaarspeler.noreply@github.com
fb19cd7a1143a7fb2827c7255f5e850b4b83328b
0d0846b64d0fabaeb3f96ee971006baa8cdb8615
/script/DNS_tcp_forwarder.py
2a3e6a987e2801f15b99b9be86b5f36d7e86ca9e
[]
no_license
songlinjian/DNS_ATR
ea06ef9ae145be5b87faed10d6bd4578a4304a5a
ecb9f027faa52a882aba666cb63f601c410f9de5
refs/heads/master
2021-01-23T04:48:48.041265
2018-08-02T05:47:50
2018-08-02T05:47:50
102,452,704
2
0
null
null
null
null
UTF-8
Python
false
false
4,166
py
#!/usr/bin/env python # coding: utf-8 import ConfigParser from gevent import monkey from gevent.server import StreamServer import dns.resolver import dns.message import dns.rrset import dns.query import struct import socket monkey.patch_all() #import socket # try dnspython module here def dns_forward(dns_message, po...
[ "songlinjian@gmail.com" ]
songlinjian@gmail.com
872f3024dbbef360a41e18d04b0dbf0fbd56efcc
d164e3478f1d80c51d6c8af657f2ad138a7a99c5
/Design Patterns/Creational/Builder/builder.py
93af79f4f405ba40c7c51c82f027a1e301138a8e
[]
no_license
Kanthus123/Python
23d50e9c2128e5b6315b7146fc2ccc2707766d55
dfddc428829353d1ef93c5121f0980eac02e2fbd
refs/heads/master
2021-10-27T11:48:52.680957
2019-04-17T00:51:35
2019-04-17T00:51:35
126,108,636
0
1
null
2019-04-17T00:41:43
2018-03-21T02:00:14
CSS
UTF-8
Python
false
false
1,551
py
#Allows you to create different flavors of an object while avoiding constructor pollution. Useful when there could be several flavors of an object. Or when there are a lot of steps involved in creation of an object. #Imagine you are at Hardee's and you order a specific deal, lets say, #{}"Big Hardee" and they hand it ...
[ "paulo.csm@outlook.com" ]
paulo.csm@outlook.com
effe82cef561cb5a8768ebe6ce2f9da7cae5968c
53799fef98e0e7907a366e1dedb62d4056408a34
/devel/lib/python2.7/dist-packages/costmap_2d/cfg/VoxelPluginConfig.py
48c3a7da07de1f5ce3b1a1a956b35f892704c457
[]
no_license
carebare47/catkin_ws
c22a21d2a0defa83434d1555fdcb7761d71c03d3
bd782e4de0b75aa4a1693b453b5ea2891a88b1bd
refs/heads/master
2021-01-11T03:14:26.131246
2016-10-16T22:05:15
2016-10-16T22:05:15
71,080,374
0
0
null
null
null
null
UTF-8
Python
false
false
4,972
py
## ********************************************************* ## ## File autogenerated for the costmap_2d package ## by the dynamic_reconfigure package. ## Please do not edit. ## ## ********************************************************/ from dynamic_reconfigure.encoding import extract_params inf = float('inf') ...
[ "tom_q@hotmail.co.uk" ]
tom_q@hotmail.co.uk
70331ae1b1b8af587418c1f3f3165a9bffcc460a
63a45fb5f435b105a80613d74d5ac6cd7d087ea8
/project2_withgui.py
c3d37eb14878b307aeeebf4e0966b88c65ae3b47
[]
no_license
tszdanger/HITSZ_DATABASE
d7a1af79b3cf6d7996067b8d49ca5069762d33f2
5e4bb1fa17ca78dd471da8474c663135fa689a07
refs/heads/master
2021-03-21T15:11:50.645514
2020-07-03T07:46:25
2020-07-03T07:46:25
247,306,559
3
0
null
null
null
null
UTF-8
Python
false
false
4,846
py
import pymysql import wx def ask_need(num): if num==1: ENAME = input("请输入领导名字") return ENAME elif num==2: PLOCATION = input("请输入项目所在地") return PLOCATION elif num==3: PNAME = input("请输入项目名称") return PNAME elif num==4: ADDRESS = input("请输入领导地址") ...
[ "1142383654@qq.com" ]
1142383654@qq.com
8ffdabee580c4cc1edc9747a17bec45b8f9c1dbe
d09f292e9b9be761cf64aa53b342e6af6d0e3cab
/api/routes.py
1ac358061c46f441d624812d32e8b3e65321a87a
[ "MIT" ]
permissive
sosolidkk/sigaa-api
86b8a02b0c012c4a98a7cf7862a0444f2976490b
ea98a057999d6307ecc734254429a5e63bc02461
refs/heads/master
2022-12-14T18:34:54.627426
2021-02-19T20:23:00
2021-02-19T20:23:00
237,333,730
4
0
MIT
2022-12-08T03:31:53
2020-01-31T00:36:44
Python
UTF-8
Python
false
false
1,242
py
from api import app, scraping, base_models from starlette.responses import RedirectResponse @app.get("/") def index(): return RedirectResponse(url="/docs") @app.post("/info") def return_info(user: base_models.User): session, response = scraping.login(user.username, user.password) info = scraping.grab_us...
[ "pedrochaveslimas3@gmail.com" ]
pedrochaveslimas3@gmail.com
5a53f4119dc264ff45ef9fefc5dbdeeb92c01750
0983d459f6dfecc6178dfbb40dcf7434e454a85b
/project/plot_fitness.py
74bd5cf52907729c1a2445b9fc6a9748d54e2ff5
[]
no_license
felixbartel/gaec_project
6049aff53a2120324193bb2ac28b95d5d6c7e1a5
7feb09f0f708c4126d669b4d02d0e1476e6ca85f
refs/heads/master
2020-04-02T12:44:21.820619
2019-01-08T14:23:27
2019-01-08T14:23:27
154,449,282
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
import argparse import matplotlib.pyplot as plt import numpy as np import pickle parser = argparse.ArgumentParser() parser.add_argument('filename', nargs = '?', default = 'fitness.pkl') parser.add_argument('--gens') args = parser.parse_args() with open(args.filename, 'rb') as f: fitness = pickle.load(f) if args....
[ "felixbartel@protonmail.com" ]
felixbartel@protonmail.com
4e51c7a42d48c49f2018033eab4e6d2e92b003ee
ccf3ded1aff85e6e2ef25e00547756e16c107ef6
/abash/__main__.py
2a16ea9de95fd8631a9ee7f447384f05466ee04d
[]
no_license
bijurakhul/abash
33d4d5df18f7fe3dc82ca857f87e54c0b5581be7
a7cb5b2eb6e8dc7bc0cb34a2fb93d967f37a0bf7
refs/heads/master
2022-10-31T00:22:12.366273
2020-06-21T03:52:14
2020-06-21T03:52:14
273,695,465
0
0
null
2020-06-21T03:52:15
2020-06-20T11:32:08
Python
UTF-8
Python
false
false
76
py
from abash import alpha if __name__ == "__main__": alpha.AlphaTerminal()
[ "bijurakhul.si@zohocorp.com" ]
bijurakhul.si@zohocorp.com
abcffa137cdccf986aae19e9ec672ec9d050c5e1
0930b6c994225d44818887716ce4e8771af86b81
/exercisesDosCapitulos/10-arquivosEExcecoes/10.10-palavrasComuns/palavrasComuns.py
08bf589ce86f8f3304a714cc9244cb036a039de5
[]
no_license
jonasht/cursoIntesivoDePython
44d81b08f1652c4fa7a6d14a0e3f62ee8e06944c
fb5f5c9884fb1a6062a7c4e7676e5cc3b13c0ebb
refs/heads/master
2023-05-23T20:44:34.372825
2021-06-19T12:13:46
2021-06-19T12:13:46
293,325,804
4
2
null
null
null
null
UTF-8
Python
false
false
261
py
nomeArquivo = 'arquivo.txt' with open('arquivo.txt') as a: conteudo = a.read() def qtd(qtd): print(f'quantidade de "{qtd}":',conteudo.count(qtd)) qtd('you') qtd('are') qtd('we') qtd('eat') qtd('is') qtd('girl') qtd('boy') qtd('man') qtd('woman')
[ "jhenriquet@outlook.com.br" ]
jhenriquet@outlook.com.br
ebe5354204cdaa3cb5de8b1e84bb7f93b397ac7c
cbcde1da56efe2c2c3d6154bedd6f7ebbb95a8fe
/gaussian.py
aa3d473a7507b0bcc6fd8c71e7a7f7a743d77fb1
[]
no_license
brianlan/udacity-introduction-to-computer-vision
7af7157016ffa19f1c964140b2bcf1acf9fdfbaa
17f9b3f34973925881bdf6e7ab239bf7883590ab
refs/heads/master
2020-12-23T13:49:16.291018
2020-02-02T09:18:09
2020-02-02T09:18:09
237,171,356
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
import numpy as np def gaussian_function_2d_particular(x, sigma=1.0): """It's a simplified formula from [Multivariate normal distribution](https://en.wikipedia.org/wiki/Multivariate_normal_distribution) for our special case here, where mu is fixed to 0 and the sigmas from both dimensions are the same.""...
[ "brianlanbo@gmail.com" ]
brianlanbo@gmail.com
8c108d9d93a33e58ad1f0d1a88808865a89181ca
6ebb9e37df6ec59d8d200a304ef3eb0c2691111f
/customer/views.py
b9033886f715ee016fa0ccea00162f5e7597515f
[]
no_license
NikeshMaharjan1217/django
a8a7460dc910811e6a4077bd4f00eac0e23022ae
1971958d3a84da3b78fbdde346a611dd21166575
refs/heads/master
2023-04-01T21:39:32.913633
2021-04-01T11:03:33
2021-04-01T11:03:33
353,650,500
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
from django.shortcuts import render, redirect from django.http import HttpResponse from .models import customer from bus.models import bus from django.urls import reverse # Create your views here. def index(request): return render (request, 'customer.html') def insert(request): name = request.GET['customer_nam...
[ "nikeshmaharjan1217.com" ]
nikeshmaharjan1217.com
f7ec3c60c9e50c0ab72df091a2df9a32e0665485
c6af5dcdb1a3cd9d20abdf50c5571836a1b76298
/event_scraper/scraping_tasks.py
215aee086655795c1f0d9352e8e28bccfca687f2
[]
no_license
mikelambert/dancedeets
82b1cb0c32b14485cd9cbbc051421d1cb7499830
8dd51007bb2faa56d835a149b60740141d472c25
refs/heads/master
2021-01-21T00:30:09.963623
2016-11-29T12:04:00
2016-11-29T12:04:00
42,857,923
3
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
import app import base_servlet from . import auto_add from . import potential_events_reloading from . import thing_db from . import thing_scraper @app.route('/tools/auto_add_potential_events') class AutoAddPotentialEventsHandler(base_servlet.BaseTaskFacebookRequestHandler): def get(self): past_event = self...
[ "mlambert@gmail.com" ]
mlambert@gmail.com
6c1493a32df36d5b7d529c458be757975a7fbf8f
719f1ba6a7bc673900e576e250b8928daadab7c0
/models/model.py
d2b0fa1b3e7eeaa919ae7669f7b928ed7109c334
[ "MIT" ]
permissive
Zsunflower/mnist
a35c3d1eb73a9ae26699150d3a7a8bd7b82b2404
0fab636cb55074d320c92bae5436b9a0491a7fdf
refs/heads/main
2023-01-11T05:29:58.960585
2020-11-07T16:25:05
2020-11-07T16:25:05
310,884,023
1
0
null
null
null
null
UTF-8
Python
false
false
770
py
import torch import torch.nn as nn import torch.nn.functional as F class Net(nn.Module): def __init__(self): super(Net, self).__init__() self.conv1 = nn.Conv2d(1, 32, kernel_size=(3, 3), padding=(1, 1)) self.conv2 = nn.Conv2d(32, 64, kernel_size=(3, 3), padding=(1, 1)) se...
[ "cuong29594@gmail.com" ]
cuong29594@gmail.com
7deab789f7d11ead2b3be59b5119a7782399cef3
dd146e691d11e4caf1878c537dee924460945dab
/scenario/display/display_sc.py
290e179985b2766326dc9bc59f062167d4f1b0b2
[]
no_license
gilderf/chempy
67a2f4ac4ac5142efe88afa4002aafbfe87e5b97
5f144fc1b0f107278fe5cf9265ad334937c89a75
refs/heads/master
2022-01-04T17:30:59.823776
2019-07-06T13:24:39
2019-07-06T13:24:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
# -*- coding: utf-8 -*- """ @author: ALA Script for display functions """ # %load_ext autoreload # %autoreload 2 # Import chempy and numpy packages import chempy as cp import numpy as np # Let's import some data # First, import spectral data X = cp.read2div('./data_set/X1.CSV') # Then, import Y values Y = cp.read2div...
[ "antoine.laborde@greentropism.com" ]
antoine.laborde@greentropism.com
f4dfdb41f2fc1c2d350c10f7f84445adc6ac9dc8
31009efe0b3882551f03dcaa9c71756c7c6f6ede
/src/main/resources/twisted/cred/portal.py
bbb0af8e20a48242e7cfbe7031a3b7969faa2459
[ "Apache-2.0", "ZPL-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
riyafa/autobahntestsuite-maven-plugin
b533433c75f7daea2757158de54c6d80d304a962
737e6dad2d3ef794f30f0a2013a77e28decd2ec4
refs/heads/master
2020-08-16T13:31:39.349124
2019-10-16T09:20:55
2019-10-16T09:20:55
215,506,990
0
0
Apache-2.0
2019-10-16T09:18:34
2019-10-16T09:18:34
null
UTF-8
Python
false
false
5,339
py
# -*- test-case-name: twisted.test.test_newcred -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ The point of integration of application and authentication. """ from twisted.internet import defer from twisted.internet.defer import maybeDeferred from twisted.python import failure, refl...
[ "nmaurer@redhat.com" ]
nmaurer@redhat.com
654799805644ed40fd4fea289c966bebaa7563af
693af9eb4914f714d00a0656b2fbb258f8af73b1
/phi/field/_angular_velocity.py
99e59b3b4063baf4dba774e84affcf1db90026c3
[ "MIT" ]
permissive
caecfd/PhiFlow
6c43a3ded59078495b5aa3e4251f6f8ac6f4e540
8545866448a7f6709c7bb1a5c38251f740f93c98
refs/heads/master
2023-09-03T09:06:48.397872
2021-11-05T10:00:36
2021-11-05T12:43:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,369
py
from collections import Callable from numbers import Number from phi import math from ._field import Field from ..geom import Geometry from ..math import Shape, GLOBAL_AXIS_ORDER, spatial class AngularVelocity(Field): """ Model of a single vortex or set of vortices. The falloff of the velocity magnitude...
[ "philipp.holl@tum.de" ]
philipp.holl@tum.de
414abe3401f4285ac96a17991d65239a1ef154fd
609f9a721e7d043584847444752cdbb39be7f604
/regress_task/solution.py
823d4081db9c8c57a227d1e01f1ceb7909743d22
[]
no_license
Serafim-End/regress_model
2f675ccce48de94abe7c95b332a62b9ec76e8b0d
efed8989d40a84c02e00c93659b81a81baabaf6a
refs/heads/master
2021-01-10T15:41:29.669999
2015-12-02T22:55:10
2015-12-02T22:55:10
47,293,188
0
0
null
null
null
null
UTF-8
Python
false
false
3,387
py
import os from pprint import pprint from sklearn.preprocessing import PolynomialFeatures from sklearn.linear_model import LinearRegression from sklearn.pipeline import Pipeline from preparation import prepare_data def solution(prepared_data, degree=1, test_data=None): """ solution of task if test data i...
[ "endnikita@gmail.com" ]
endnikita@gmail.com
dceeb5bc5bcb3adc052c93352f9dc3f98ecd5462
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/common/types/targeting_setting.py
188b0586295425dcced843d28e639677e48a62c9
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
4,064
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
cc56806e83bafd003e54528b808b1397bdd7e6e5
00c1ade0ee277cfc08e55e5094ae274c2aa75948
/data_analysis.py
4d4bd0b9798c0cffe27a42430d7421e29e057ccd
[]
no_license
Najib-Haq/Pokemon_Maester
1ddb66e827a202bd618b3de2035c0d0ed9cda29d
0801c5cb40c7ed6316a8b5b32c9faedbde927798
refs/heads/master
2020-09-10T16:48:56.582068
2019-11-22T20:08:01
2019-11-22T20:08:01
221,766,321
0
0
null
null
null
null
UTF-8
Python
false
false
9,823
py
import loading_saving_dictionaries as lsd import get_image as gm import pandas as pd import numpy as np import matplotlib.pyplot as plt types = ['Grass', 'Dark', 'Rock', 'Fighting', 'Psychic', 'Dragon', 'Water', 'Bug', 'Electric', 'Ice', 'Ghost', 'Ground', 'Steel', 'Fire', 'Flying', 'Normal', 'Poison', 'Fairy'] colors...
[ "najibhaq98@gmail.com" ]
najibhaq98@gmail.com
282fe020affa423a1227fc0cf8540aa0ac8ae99c
ef8239b2f564d6692270236b69bff25792ea27d1
/day17/day17.py
20aa8b13e82743d61ce7094773cbf900c5d9f2dc
[]
no_license
riccardosven/adventofcode2019
30bdd637ed0f2ccd121d058c3713023ad9df57f5
2ffc427f42332ca76813c0732e170ceaffadf6dc
refs/heads/master
2020-12-04T20:58:59.826386
2020-01-14T22:07:41
2020-01-14T22:07:41
231,899,947
0
0
null
null
null
null
UTF-8
Python
false
false
2,371
py
from intcodecomputer import IntcodeComputer class VacuumRobot: "ASCIIRobot" def __init__(self): with open("input", 'r') as fhandle: program = fhandle.read().strip() self.map = None self.brain = IntcodeComputer(program) def getmap(self): "Explore area...
[ "riccardosven@gmail.com" ]
riccardosven@gmail.com
37654f22a2fa9c7ce7f464d46b677ecfbe81feb7
8c91660020fd2b83892d3dd9b0b3af10a13448d4
/CALAMP-SE.py
bb0328f276e0f0f06722bfd347e2bfba20ff95ee
[]
no_license
krzakala/RandomPythonCodes
7d5495563071616ff16f34de50ee533ef4540112
c4568df50c4cdbc169591380edca8e0befaf0bcb
refs/heads/master
2020-04-13T08:55:13.355550
2019-01-29T06:15:59
2019-01-29T06:15:59
163,096,035
0
0
null
null
null
null
UTF-8
Python
false
false
4,122
py
from math import exp, sqrt, erf, erfc, pi from scipy.integrate import quad import numpy as np import matplotlib.pyplot as plt # Routines def Gauss(x): return exp(-x * x / 2) / sqrt(2 * pi) def new_mx(mhat, alpha, rhoX, f_x): def f_to_int(x): return Gauss(x) * \ (f_x(1. / (alpha * mhat), ...
[ "florent.krzakala@gmail.com" ]
florent.krzakala@gmail.com
940e8a9191060dc89709ec9eec13b63431f71163
173e0aed80b0d0c01252dd2891be6967f60ce008
/run/idp-sql/test/e2e_test.py
b645759923d4219e4b34249b19f35db6cd81f52d
[ "Apache-2.0" ]
permissive
yuriatgoogle/python-docs-samples
a59298504c73d7f272637b033662d920dfcc314b
9fb1bf82b447e920fe9b80564cc110d1e50f43ab
refs/heads/master
2023-04-08T03:36:18.691386
2021-02-28T17:17:57
2021-02-28T17:17:57
337,138,011
1
0
Apache-2.0
2021-02-28T17:17:58
2021-02-08T16:30:52
Python
UTF-8
Python
false
false
6,062
py
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
[ "noreply@github.com" ]
yuriatgoogle.noreply@github.com
212e410ccad21beacde4913713929dda8af4a759
75d481023d5ee8a6e23903cd48a001c467a90c66
/02/002_2.py
10910c1aa2cb8790e1652010d3b0979e23efe0c7
[]
no_license
martholomew/AdventofCode
695e7fafb9d3b436c9fa19210dbf87192130b278
4c590c59e86e0861944cbb6788d29d446e596619
refs/heads/master
2020-09-22T14:04:36.990389
2019-12-13T02:06:36
2019-12-13T02:06:36
225,232,317
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
#!/bin/python import json with open("input.json", "r") as f: array_orig = json.load(f) output = 0 for noun in range(100): for verb in range(100): array = [dum for dum in array_orig] array[1] = noun array[2] = verb op = 0 inst = 0 while inst != 99: in...
[ "18152455+martholomew@users.noreply.github.com" ]
18152455+martholomew@users.noreply.github.com
5dcffca1e87e376e5887cd67845551e61f6561f1
8d7617bc97792cc5a3efa083dced987e11ea0d49
/RegionEntry:Exit/Detection/utils/temp_for_testing.py
5bbed87c3f64f0631f17ea6939bc309371308cb4
[]
no_license
adityabansal98/AI_City_Track1_Insight-DCU
257f319a874c2059cecef3093257b24d006dc200
0a98fc05fe0e1a6fe4fd18930345c8f7a1097972
refs/heads/master
2022-06-24T19:56:47.092444
2020-05-10T19:24:31
2020-05-10T19:24:31
262,855,208
3
1
null
null
null
null
UTF-8
Python
false
false
4,362
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Multiple """ import os import glob import matplotlib.pyplot as plt import csv import re import numpy as np from ast import literal_eval from dipy.tracking.streamline import set_number_of_points # from dipy.segment.clustering import QuickBundles from dipy.seg...
[ "f20160088@goa.bits-pilani.ac.in" ]
f20160088@goa.bits-pilani.ac.in
436f0796ac7d5fc630c86f58ebf6c8955c84a182
53f9174bf0a2792ac7f16c052e7d9f7750fd55b3
/object/page/base_page/new_thing.py
612e4accecb175ed3dec4bc7854e5bc7cbe788f8
[]
no_license
restart759/Test_framework
cbab59e3d0708587da73b815860e987ae6cc78a6
5bf51be27938f473e916533a096dff60ef4a482b
refs/heads/master
2020-12-28T18:58:15.892855
2020-02-05T12:50:59
2020-02-05T12:50:59
238,451,024
0
0
null
null
null
null
UTF-8
Python
false
false
5,348
py
#!/usr/bin/python # -*- coding:utf-8 -*- from object.baseuse.base_func import BaseFunc from object.page.base_page.page_function import PageFunction from object.page.apply_page.new_apply_page import NewApplyPage from object.page.house_assessment_page.new_assessment_page import NewAssessment import time import os clas...
[ "418129463@qq.com" ]
418129463@qq.com
e89d14798538b838b4d7372b3443deeb39e42792
bb20aaef5af38df41e35ff5f996d91e407f2d152
/diesis/TagHelper.py
83ddaac7491c0c0a07705f63821763e3c399ac0b
[ "MIT" ]
permissive
RyanJ93/diesis
540c53c7c6c940e4fda4322571a720618b2a2f7b
56b98f36bae56d63fa8558f3ac1d0dfdca79e1a6
refs/heads/master
2021-07-12T04:34:58.868738
2020-07-19T00:58:54
2020-07-19T00:58:54
170,932,348
4
0
null
null
null
null
UTF-8
Python
false
false
15,062
py
from typing import Set, Any from mutagen.mp4 import MP4, MP4Cover from mutagen.id3 import ID3, TIT2, TPE1, TALB, TYER, TCON, USLT, TPOS, TRCK, APIC, COMM, TPE2, WOAF, PictureType, TEXT from mutagen.flac import FLAC, Picture from mutagen.aiff import AIFF from diesis import Song, Config import mutagen import base64 cla...
[ "info@enricosola.com" ]
info@enricosola.com
ba130b78ed7362d869af01cbe21ac072174c435e
1d38f9d4383b4beb9ac642b04926b99c87ce7ef8
/harryCloak.py
1e4e3e735df16b6c277d2e8f32e7f50f81116e0f
[]
no_license
gouelp/invisibility_cloak
b172f3006e9952e7f705b3d9795af8c7e37579f0
3ac7751146b7ca83bc152b1d3057c5ee0a4a7b87
refs/heads/master
2022-06-19T20:53:51.988776
2020-05-12T14:19:59
2020-05-12T14:19:59
263,350,461
0
0
null
null
null
null
UTF-8
Python
false
false
2,404
py
#! /usr/bin/env python # Author Pierre-Vincent Gouel (pg58) import roslib import sys import rospy import cv2 import numpy as np import time # Import the necessary libraries from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError # Initialisation of the ROS node and creation of a openCV brid...
[ "gouelpierrevincent@gmail.com" ]
gouelpierrevincent@gmail.com
9dd216914cd709b3ef97f209c4eaadcfa0b1771d
d113a8cec43bd852d0d6e64287ad5880150ce80e
/main.py
ccae696cd1ebb80e2e6e0d6a084dccad4da7b3b1
[]
no_license
Zenzelya/PythonGit
cf1affb10076eab5341f91ae1a5b56cae0902a61
468df1486699712cf00bf9de21050f7d2b02016a
refs/heads/master
2021-01-10T14:46:36.999277
2015-11-10T11:22:25
2015-11-10T11:22:25
45,866,354
0
0
null
null
null
null
UTF-8
Python
false
false
9,231
py
import pygame import sys import random pygame.init() pygame.font.init() # Arguments : size = (840, 640) snake_size = 1 window = pygame.display.set_mode(size) pygame.display.set_caption("Snake") clock = pygame.time.Clock() done = False screen = pygame.Surface((400, 400)) punkt = 0 font_menu = pygame.font.Font(None, 5...
[ "avkelgankin@yandex.ru" ]
avkelgankin@yandex.ru
1b85020cca1d6037289cb80431aceb03e230e0d0
5c87c0f15df878b9b8e7aea2cac7a08f717053a9
/flaskr.py
8b50319699fbef48a17388f1641ad5b23d2747d3
[]
no_license
peihongda/flasklearn
9209e3ee1490d8b505084fbdbe4eef457b458042
c6f8ab22aac215c0acceaf1214166951b3b1ff79
refs/heads/master
2020-07-05T13:32:55.023174
2017-02-08T03:25:08
2017-02-08T03:25:08
74,116,885
0
0
null
null
null
null
UTF-8
Python
false
false
2,228
py
#all the imports import os import sqlite3 from flask import Flask, request, session, g, redirect, url_for, abort, \ render_template, flash #create our little application :) app = Flask(__name__) app.config.from_object(__name__) #Load default config and override config from an environment variable app.config.update(d...
[ "pei_hongda@126.com" ]
pei_hongda@126.com
64c40be02493f4a1096d29b2d28a4437cbb7d4e0
0578aa89abdcad375f40c15d52ec034556f8e05f
/tests/test_atom.py
067013948666050dc3bfbc0ba1098e45e728d092
[ "BSD-3-Clause" ]
permissive
dbrattli/python-elements
bfe9f0eb5152a75a07a8cbc7db13ead6c0cb7cc5
032867f749b113607d7d82a59eb3a42e1ec8e6b1
refs/heads/master
2020-06-04T04:31:42.898857
2013-01-12T12:45:02
2013-01-12T12:45:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
#!/usr/bin/env python # encoding: utf-8 """ test_atom.py Created by Dag Brattli on 2008-03-02. Copyright (c) 2008, Dag Brattli, All rights reserved. """ import sys import os import logging logging.basicConfig(level=logging.WARNING) from elements import atom def test_atom(filenames=None): filenames = filenames ...
[ "dag@brattli.net" ]
dag@brattli.net
c8189a87f1a250069ea88bbb99174dd7dfc953e1
1896a925fbf08ed0a397a398e066f0dc8a430a0c
/product/views.py
b8e2b6b29ca282f3d554ab0c2bd47ef900682d16
[]
no_license
xeroz/prueba_django
be1460598e4b6d10ddd65d641a0f590c5e1de533
69632e0638d1a566c5c02b62a5dbbe8abaff582f
refs/heads/master
2023-04-22T21:00:18.097011
2021-05-03T20:03:45
2021-05-03T20:03:45
364,000,262
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
from product.models import Category, Cart, User, Product from product.serializers import ( CategorySerializer, ProductByCategorySerializer, ProductNameByCategorySerializer) from django.http import Http404 from rest_framework.views import APIView from rest_framework.response import Response def get_object(pk):...
[ "chavezvasquezjuan@gmail.com" ]
chavezvasquezjuan@gmail.com
7846b343496b71324598c0ac2f7efeb37b14fa5a
4cacc43716ef24b50e4b336f3f6e920d9ef0e564
/Nasa2021/GenFASTA.py
92b3c60903b278e496be6393d3c16d0f1e28de10
[ "MIT" ]
permissive
ShepherdCode/ShepherdML
141e78943ecc8e387eeb84e4c4bbbf3448a46da0
335382730edf4537713ece62896e79a5a4430fb2
refs/heads/master
2023-08-17T15:02:28.985054
2023-07-25T15:49:46
2023-07-25T15:49:46
230,672,524
2
0
MIT
2023-08-29T11:55:04
2019-12-28T21:54:46
Jupyter Notebook
UTF-8
Python
false
false
4,958
py
import random import itertools import os import sys abspath = os.path.abspath(__file__) dname = os.path.dirname(abspath) os.chdir(dname) Pairs = ("A","C", "G", "T") Codons = itertools.product(Pairs, repeat=3) all_codons = ["".join(codon) for codon in Codons] start = "ATG" stop = ("TAA", "TAG", "TGA") n...
[ "noreply@github.com" ]
ShepherdCode.noreply@github.com
196eb4a993e9d8ac55c36d502bfb5a5a2afa0f7b
4372fbc652b0fd3e02030047ccd8a8011d9b4820
/OC20_examples/train_model_gpu_lmdb_multigpu.py
1405885dad22b8cead05f06814aa9db14c27a1c2
[]
no_license
ray38/GMP_AmpTorch_Tests
1fd03f0f6ad629f41a7eb5d30fda719db38d979c
09e5bdcb24cf495663b8b56c58b5d6f4217273d6
refs/heads/main
2023-04-05T00:42:38.056673
2021-04-08T02:49:00
2021-04-08T02:49:00
335,775,441
0
2
null
null
null
null
UTF-8
Python
false
false
2,263
py
import numpy as np import random import torch from ase import Atoms from ase.calculators.emt import EMT from amptorch.ase_utils import AMPtorch from amptorch.trainer import AtomsTrainer import sys import os trail_num = sys.argv[1] checkpoint_name = sys.argv[2] sigmas_index = int(sys.argv[3]) MCSHs_index = int(sys.ar...
[ "xlei38@atl1-1-01-013-6-l.pace.gatech.edu" ]
xlei38@atl1-1-01-013-6-l.pace.gatech.edu
8ea888b7bd7e7d85aea266699789690004b57144
331ed33890f103ce95318abe0d4bd255929e8f4d
/source/dictclass.py
5067800d7b853bc1e52365b77ca385d695bd28da
[]
no_license
manon2012/e
fa15ce55a72fa6ee20f10d06e9f670ade207209a
c20a345e96ccd702b56a802e2efbd924f1cd808d
refs/heads/master
2021-01-22T19:25:41.688876
2018-09-20T09:59:29
2018-09-20T09:59:29
102,418,775
0
0
null
2017-09-22T08:21:04
2017-09-05T01:30:02
Python
UTF-8
Python
false
false
1,236
py
#! /usr/bin/env python #coding=utf-8 """ 二:定义一个字典类:dictclass。完成下面的功能: dict = dictclass({你需要操作的字典对象}) 1 删除某个key del_dict(key) 2 判断某个键是否在字典里,如果在返回键对应的值,不存在则返回"not found" get_dict(key) 3 返回键组成的列表:返回类型;(list) get_key() 4 合并字典,并且返回合并后字典的values组成的列表。返回类型:(list) update_dict({要合并的字典}) """ class dictClass(object): ...
[ "manon2012@126.com" ]
manon2012@126.com
944516153eb6d12d53a047eb79850cefe503b1d4
ff97897f8fe5e9e76c634b8fbe85757648aa7b44
/source/splash.py
023c4cc9ae5fec65701fcfb5de35eb39d6e60743
[]
no_license
MerlinSmiles/lithocontrol
af3cef8d0a03099b6268f47fc1f9377a95a5fd2f
6811a369c65635ebf68d7f858c06d6d5a63b44fc
refs/heads/master
2021-01-19T01:25:57.072049
2016-02-23T23:14:03
2016-02-23T23:14:15
39,294,289
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
from PyQt4.QtCore import * from PyQt4.QtGui import * import time class Form(QDialog): """ Just a simple dialog with a couple of widgets """ def __init__(self, parent=None): super(Form, self).__init__(parent) self.browser = QTextBrowser() self.setWindowTitle('Just a dialog') ...
[ "merlin@nbi.dk" ]
merlin@nbi.dk
d9bee16f4a5ff9ebecbac9ccd798271b14dc937c
9e6aaf9104cf3b77d2a03c676db7bc5574632837
/Assignments/inheritance_example.py
a6a03a060a279eec4d038182d81e36abbedec2b6
[]
no_license
shaudeus/Python
b1ba840a890754daa8f8aaa5a645871f2dd2b3da
b9f1de2de81a51264b9587ac1b23c668616fe043
refs/heads/master
2020-04-19T08:26:47.887902
2019-01-29T02:49:29
2019-01-29T02:49:29
168,072,195
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
# Inheritance Example in OOP # Programmer: Rashaun Forrest # Date: 06/02/2016 # Purpose: Show how classes can inherit data from other classes # Create a Parent Class called Date class Date(object): # Inherit from object class built into python def get_date(self): return "2016-06-02" # Creat...
[ "noreply@github.com" ]
shaudeus.noreply@github.com
d4107327d578e5128c43327bd1ec324e5ef91ab6
a7ef015bd3f110014a40e1e385b33c6f6c17f4ce
/Spatial_Regress-R1.py
f470d435a40da7edbaf4a365771e86db31d0d7c8
[]
no_license
jfhawkin/GTA-Real-Estate
ddc8c95893536e0fbf737bfbbce90e303871066d
47b16b52ff58d5e2eddda0a804bac1db9490eb4e
refs/heads/master
2020-09-01T02:23:45.067252
2017-06-15T03:45:22
2017-06-15T03:45:22
94,396,189
0
0
null
null
null
null
UTF-8
Python
false
false
6,649
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 1 22:18:30 2017 @author: jason """ import numpy as np import pysal as ps import pandas as pd import matplotlib.pyplot as plt import collections TYPE_TUPLE = [('C','Condo'), ('H','House'), ('T','Townhouse')] TYPE_DICT = collections.OrderedDict(TYPE_TUPLE) ...
[ "noreply@github.com" ]
jfhawkin.noreply@github.com
cd5047c96c8fedd9c5fc735dc66efb1118b7f87e
3fe4e0c5024e6afafde5f961e2e2df0e1aaa2016
/app/setting.py
6da18e31b4048c420be055f6ea4b004c5c1f6068
[]
no_license
6148694/fisher
b2c383575ebec616b4c5d5058be140d4eecc713b
96e1a398736280cef27ff621d2a31921c7090fe4
refs/heads/main
2023-06-05T16:06:46.730631
2021-06-22T10:50:54
2021-06-22T10:50:54
378,862,008
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
DEBUG=True #存不重要的东西 PER_PAGE = 15 name ="wanglei" print("我是{}".format(name)) print(f"我是{'32432434'}{'wqewqeqw'}")
[ "wanglei@ezijing.com" ]
wanglei@ezijing.com
22fc1171ca94edcbef0ae470b2eb05b429992ce9
2ae8d5cfa720054e4052b4f5c33e9b66febf4b66
/src/nlp/nlpengine.py
ad72c29e86c49f56afc77040da77cc45ecd3f64d
[]
no_license
luffy1937/pynlg
7bf4b5ab0d299e9e5cf6a8197e2663011dac63c6
3c6e37d0cdb226b2d944cd6db4f1a516e62a3cc9
refs/heads/master
2021-01-12T13:06:37.892348
2017-01-02T09:09:40
2017-01-02T09:09:40
69,409,676
0
0
null
null
null
null
UTF-8
Python
false
false
7,036
py
#coding=utf-8 #读一个文件,返回一个列表,文件中每行对应列表的一个元素 import codecs import math import jieba import jieba.posseg as pseg def ngram(seqtogram,n): """ @param seqtogram: @param n: @return: """ seqlen=len(seqtogram) if seqlen<n: return [] else : return [zip(seqtogram[:seqlen-n+2],seqto...
[ "yuefeng_liu@foxmail.com" ]
yuefeng_liu@foxmail.com
967ea41fda5c0d8f6945f03d291055136abe72d7
55aecec1c92df04b79c22f20fe6b69a2231e382f
/PythonImproving/udp发送信息.py
49b8192de2c9841ac3a736e868f95c9c7575e37c
[]
no_license
lirryyes/filesystem
6b3e4023c71d0129a6d9785645bad74767695672
c2fa5a3ad2df345566a8c278f10eb725f6ed41df
refs/heads/master
2021-07-08T23:13:01.959878
2020-12-17T00:53:19
2020-12-17T00:53:19
219,093,494
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
import socket def main(): #创建一个udp套接字 udp_socket = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) # 从键盘获取数据,利用while 循环发送 while True: nei = input("请输入内容:") #如果输入内容为exit 则退出循环 if nei == "exit": break #套接字发送数据,发送数据没有指定端口,操作系统会随机给程序随机分配一个端口(动态端口) udp_socket.s...
[ "liuchun@liuchundeMacBook-Pro.local" ]
liuchun@liuchundeMacBook-Pro.local
5218f807eadb8df4f7ef4ea70a4633c047e45513
7cd70cc97f0ca800a088efc15e81ca0cc0e6944c
/lists/views.py
4b5b25962015af3e08c711d2214ae08cdc3d00d0
[]
no_license
odraude1022/test-driven_development_with_python
64856df28109ff72e729da9040636db220637e13
9e55238238dca7c6519a6770a0244926db0ef5da
refs/heads/master
2021-06-18T14:01:52.190970
2019-12-05T15:29:39
2019-12-05T15:29:39
216,088,073
0
0
null
2021-06-10T23:39:24
2019-10-18T18:50:17
JavaScript
UTF-8
Python
false
false
931
py
from django.core.exceptions import ValidationError from django.http import HttpResponse from django.shortcuts import redirect, render from lists.forms import ExistingListItemForm, ItemForm from lists.models import Item, List # Create your views here. def home_page(request): return render(request, 'home.html', {'for...
[ "eriglesias@ufl.edu" ]
eriglesias@ufl.edu
564a9d8f064da37385a85f4b7775a6d6e28d47de
062f41448db9e335d49bb333f83235b6ec2d850c
/test/functional/feature_logging.py
56aec6fb97abbdc2c413987b94d8233eb2bc62cf
[ "MIT" ]
permissive
arcana-coin/arcana-core
2496d593e2e0a2a0bdcc57d57fec095630f97a99
b5d6d71968d1f19c42dc3f351aff17800da5af36
refs/heads/master
2021-05-11T02:21:38.815732
2018-01-22T00:52:28
2018-01-22T00:52:28
118,348,245
0
0
null
null
null
null
UTF-8
Python
false
false
2,462
py
#!/usr/bin/env python3 # Copyright (c) 2017 The Bytcoyn Core Developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test debug logging.""" import os from test_framework.test_framework import BitcoinTestFramework class Log...
[ "arcanacoin@protonmail.com" ]
arcanacoin@protonmail.com
3a976d251070aeaee63151823702bf929f9487a0
01eede62351f9a853d208cfcaa893ad014a30b0c
/firmware/examples/i2cslave-test.py
72dcc72e92c26e8f6ec0b9b1338487fa75cb0a37
[]
no_license
sarfata/shirtty-addon
33dea6b1972e647e70f3fe6287123e65a39f4bce
0070cce90ec879dc2f8234b372307b2d5e51bf68
refs/heads/master
2020-08-22T20:19:54.407291
2020-04-24T19:28:18
2020-04-24T19:28:18
216,470,964
7
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
import board from i2cslave import I2CSlave regs = [0] * 16 index = 0 i2c.writeto(0x40, bytes([0x05]), stop=False) with I2CSlave(board.SCL, board.SDA, (0x40, 0x41)) as slave: print("Waiting for i2c command") while True: r = slave.request() if not r: # Maybe do some housekeeping ...
[ "thomas@sarlandie.net" ]
thomas@sarlandie.net
2d8079a8ec8568c6f6f7bc940b08a9fce56854ce
5a5dc72c579e484ea0292e33edf6a9dc9d788817
/Chess_Pieces/pieces.py
ff416a43f6fb7506d4aefea3483df24ef2208f32
[]
no_license
kirtan517/Chess-AI
b5ecd26215c9a5c0eae9a36f84a75cdc985d3680
1bb7dd74a37d17dd0f3e0db2751fd61761890cf0
refs/heads/master
2023-04-06T22:53:59.681183
2021-04-19T05:37:58
2021-04-19T05:37:58
359,645,998
2
0
null
null
null
null
UTF-8
Python
false
false
5,985
py
# from abc import ABC,abstractmethod import pygame import os import sys PATH_CHANGE = r"C:\Users\mohit\Documents\pygame Projects\CHESS_AI" sys.path.append(PATH_CHANGE) from Board import board, pos board(800) class piece: def __init__(self, img_dir): self.img = pygame.image.load(img_dir) self.w...
[ "17bce064@nirmaui.ac.in" ]
17bce064@nirmaui.ac.in
51d5820b31840fd530291a77c5a2da06986b432c
5bf872c7da7ab846eb2f1b2b2796c043bf1cfc30
/prime_numbers.py
b13d141a1c702fe1d29daa44f32a044faf8dc100
[]
no_license
mdeora/codeeval
faa3173799cabf2da988781f8efb25a5541476c5
2ac3e452339d5c119ca545ee6a9eabebc4c72f7f
refs/heads/master
2021-05-29T13:53:56.520270
2013-08-17T01:17:18
2013-08-17T01:17:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
''' Prime Numbers - CodeEval https://www.codeeval.com/open_challenges/46/ Print out the prime numbers less than a given number N. For bonus points your solution should run in N*(log(N)) time or better. You may assume that N is always a positive integer. ''' import math import sys def prime_numbers(n): primes =...
[ "einas@haddad" ]
einas@haddad
ebbe1edd923cd285915654d7e20ebf999b795d1d
d0b85d001f7c640e7d47beb834d263b465a73712
/apps/users/models.py
f48e6c0ffbb5be2184b479532accd085a86b3322
[]
no_license
pag0dy/t3
32932bf9c44def8346437ac6bab92b9741f9b0c8
5a9a33bf430a5fb6974d7171daf4f71a8cef2458
refs/heads/master
2023-04-26T16:35:52.320840
2021-05-19T01:34:43
2021-05-19T01:34:43
355,368,186
0
0
null
null
null
null
UTF-8
Python
false
false
2,641
py
from django.db import models from django.contrib import messages from django.core.validators import MinLengthValidator, RegexValidator, validate_slug, EmailValidator from .validators import letters_only, confirm_pass import bcrypt class UserManager(models.Manager): def validar_inicio(self, postData): error...
[ "paulina.godoydelc@gmail.com" ]
paulina.godoydelc@gmail.com
dec84c4c23a5de5141a339d91e711f010c2473e2
3f6c16ea158a8fb4318b8f069156f1c8d5cff576
/.PyCharm2019.1/system/python_stubs/-1317042838/_multiprocessing.py
9cbc8da17dcd253bb7d91fde2e035a8ecbb2e86b
[]
no_license
sarthak-patidar/dotfiles
08494170d2c0fedc0bbe719cc7c60263ce6fd095
b62cd46f3491fd3f50c704f0255730af682d1f80
refs/heads/master
2020-06-28T23:42:17.236273
2019-10-01T13:56:27
2019-10-01T13:56:27
200,369,900
0
0
null
2019-08-03T12:56:33
2019-08-03T11:53:29
Shell
UTF-8
Python
false
false
2,778
py
# encoding: utf-8 # module _multiprocessing # from /usr/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so # by generator 1.147 # no doc # no imports # functions def sem_unlink(*args, **kwargs): # real signature unknown pass # classes class SemLock(object): """ Semaphore/Mutex type "...
[ "sarthakpatidar15@gmail.com" ]
sarthakpatidar15@gmail.com
a9b9bced9a310284ee24881ad1910f3a3524e550
9d8d42a5fdc6c44b58172b1259f359cfe74a24a6
/python3/index.py
72c2b6e35afce8a7f02c88629d0405d001089b2f
[]
no_license
stackvana/microcule-examples
312a47fafb21e6f15a387330806fb63a5e8be8c2
084718e532d6cb6230379ab9af070d3428421267
refs/heads/master
2021-10-26T02:38:57.220556
2019-04-09T22:27:48
2019-04-09T22:27:48
69,416,005
13
0
null
null
null
null
UTF-8
Python
false
false
149
py
print("Hook['params'] is populated with request parameters") print(Hook['params']) print("Hook['req'] is the http request") print(Hook['req']['url'])
[ "marak.squires@gmail.com" ]
marak.squires@gmail.com
87fd505d61791e2e88fb23d94053866a4344edb8
820e6f2263976de4284c56b723bf02f286b2552d
/multi_detect.py
3cb54643de1067a7b4e55b229df54cd2864c3a3a
[]
no_license
yanchaomars/py_speech_seg
f4fdff8edbe73f37a9b26639319b8795d0aafdf7
abe0b7b69a6e5318068b01cb01a3f313da2fa811
refs/heads/master
2021-05-15T05:36:42.067771
2017-08-15T02:23:26
2017-08-15T02:23:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
# -*- coding:UTF-8 -*- from __future__ import print_function import speech_segmentation as seg frame_size = 256 frame_shift = 128 sr = 16000 seg_point = seg.multi_segmentation("dialog4.wav",sr,frame_size,frame_shift,plot_seg=True) print(seg_point)
[ "wblk24@yeah.net" ]
wblk24@yeah.net
6102038333bae6a1d5561cbd67c8c01f97d295c9
385dca5832a1c1f91ab6405a32630c99e605a004
/test_core/tests_DAS_core_models_class.py
fed915a33cc0888a501e9cc66b98f139323f2d25
[]
no_license
jefbsi20111/DAS
0294b0adac21b1fabc6863f92553fea4cb583246
87e1c69a5e244e4290fd3a6e48712f6daa5e924d
refs/heads/master
2021-01-10T18:45:05.175787
2015-06-19T00:51:03
2015-06-19T00:51:03
37,693,547
0
0
null
null
null
null
UTF-8
Python
false
false
3,788
py
# _*_ coding:utf-8 _*_ from django.test import TestCase class TestClassTelefone(TestCase): def test_existe(self): """ Classe Telefone Existe? """ try: from DAS_core.models import Telefone except ImportError: self.fail('Telefone Não Existe!') def test_create(self): from DAS_core.models import Telefone...
[ "jefbsi2011.1@hotmail.com" ]
jefbsi2011.1@hotmail.com
a20291ac3b0a7e07673ea87d5e28411b07ff7c15
7c060e484e48542583198dd50f304e61b174b21b
/feature_test_1.0.0/pixelbetweenpoints.py
964ec7bad3c77b664421a5e8f711c893830ff3f0
[]
no_license
CharlesYang1996/cell_detection_1.0.0
5951110f44f9042387265330e6a5bac912f92381
6f96552a3fbc41c491fa44222bdf71f14784827f
refs/heads/master
2022-12-10T07:38:36.314190
2020-08-31T14:13:38
2020-08-31T14:13:38
289,374,120
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
def pixel_between_two_points(x1, x2, y1, y2): two_points_list=[] x_distance = (x2 - x1) y_distance = (y2 - y1) a=0 b=0 if x_distance>0: a=1 else: a=-1 if y_distance>0: b=1 else: b=-1 if abs(y_distance) < abs(x_distance): div_1 = y_dista...
[ "61850593+CharelsYang@users.noreply.github.com" ]
61850593+CharelsYang@users.noreply.github.com
31f42b6786e051d277fb45e670d6cc7f7d5ac4bf
6b495f1ac4b4fb40274034f713c5da076519913e
/src/utils/influence_analysis.py
755f4610b430feda138039b05deb300472ea3f23
[]
no_license
cirillodavide/tw_coronavirus_nets
ef313fca6d10731fa4976c1d4831afd7d0a7690d
00ac6be06d304018dfdf6ec35d1f9195aeb47bf0
refs/heads/master
2021-05-20T10:42:07.290431
2020-04-09T11:17:43
2020-04-09T11:17:43
252,255,558
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
import pandas as pd tweets = '../sna/graphs/retweets_040420.csv' replies = '../sna/graphs/replies_040420.csv' quotes = '../sna/graphs/quotes_040420.csv' df = pd.read_csv(tweets)
[ "root@DESKTOP-G6RATH4.localdomain" ]
root@DESKTOP-G6RATH4.localdomain
d73b8acb589f083ff131f27fa661169071e9e3f6
a4f3529bd7b330da2abdf29f97dab851e3df554a
/assignment/3.py
8bddfabecabd1249407c1039aa88aaa469d0c9d3
[]
no_license
sbkaji/python-programs
fe3a3c080e7d0673b7b395fc32898076a7d10dc2
a4526c8c688e6a94144ff068e988af5f5d1a2778
refs/heads/master
2023-01-27T17:42:47.811378
2020-11-29T09:34:16
2020-11-29T09:34:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 20 23:45:31 2020 @author: Subarna Basnet """ """3.Write a Python program to iterate over dictionaries using for loops.""" data = {'A': 10, 'B': 20, 'C': 30} for dict_key, dict_value in data.items(): print(dict_key,'->',dict_value)
[ "noreply@github.com" ]
sbkaji.noreply@github.com
3746b044270b010e9be1b327f678c016fc06f424
71e2ccdd49aad1b5a52e020402e922bce5016a68
/classifer/classifier/fangzhongjie/radius_analysis.py
2bc60b5db725df54a398e7c44de323f4e78dea92
[]
no_license
dingchaoz/banshang
2ddfe52aff1ea5968be9cd92a2a37b4b85f9aeb3
02eee8052d28c9e2339892f5a33cb2fd5373503a
refs/heads/master
2020-12-31T07:33:59.041259
2017-04-19T02:33:16
2017-04-19T02:33:16
86,532,156
0
0
null
null
null
null
UTF-8
Python
false
false
7,578
py
import pandas as pd import numpy as np # utm is installed by running python setup.py install in the directory at ejlq@da74wbedge1 [/home/ejlq/utm-0.4.1] import utm import matplotlib.pyplot as plt from scipy.spatial.distance import pdist, squareform # The agent pols data is depracated, need to use the new one once is ...
[ "dingchaozhang@g.harvard.edu" ]
dingchaozhang@g.harvard.edu
4245ac1f7815184c9d58e63557e6ad588b3a76f6
54b9cb96a2bf43d73eadc043fd127ec3f42a6587
/budget/urls.py
42fc942fe256f2b9ef2577d19153a4ff6523165d
[]
no_license
jayinting/budget_sandbox
a6bdf3d57d60885a3b3979374ee6e1db0000a2b3
47e3f33f719cf240441f16067e747f5af78a59a4
refs/heads/master
2021-01-01T15:54:35.783848
2012-10-15T13:44:37
2012-10-15T13:44:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
from django.conf.urls import patterns, url from budget import views as budView urlpatterns = patterns('', #-------------------------------------------------------------------------------------------------- # General Views #----------------------------------------------------...
[ "jayinting@yahoo.com" ]
jayinting@yahoo.com