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
648100aedd647315dd5b9631cec11785d7b6a4b0
ad3da434e91d28d5062089070b2c3b6915a775ae
/Django-Scraping/news/migrations/0002_weather.py
a74bcd94da2f22d109807b57d7689578344a6043
[ "Apache-2.0" ]
permissive
mitus1212/Django-Scraping
f241a97481feef69aee9b159fe833a3bff6154da
00d503b004cc7c4a23de154bbca55351b7f3546d
refs/heads/master
2023-01-01T23:11:49.375542
2020-06-10T17:57:56
2020-06-10T17:57:56
180,415,060
0
0
null
2022-11-22T03:39:21
2019-04-09T17:13:27
JavaScript
UTF-8
Python
false
false
552
py
# Generated by Django 2.1.7 on 2019-04-11 14:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0001_initial'), ] operations = [ migrations.CreateModel( name='Weather', fields=[ ('id', mod...
[ "mitus11112@gmail.com" ]
mitus11112@gmail.com
16e33a5a72cc6d87ecf6a25897cdc01209c3cf9c
cd3e72bad360d7426b6504e2e74321f47bc23eeb
/levelupreports/views/users/gamesbyuser.py
6d2e6130d8838c693d6079219540a0198f4e0765
[]
no_license
SLLittrell/Levelup-server
e2eb662bf16ee9f2f53603820b03f17cb5bde1a2
2b582469f5888c7dcc2a1d506b4d1c7c140b3bb8
refs/heads/main
2023-05-14T18:07:41.513042
2021-05-27T15:50:10
2021-05-27T15:50:10
364,028,553
0
0
null
2021-05-27T15:50:11
2021-05-03T18:46:24
Python
UTF-8
Python
false
false
3,316
py
"""Module for generating games by user report""" import sqlite3 from django.shortcuts import render from levelupapi.models import Game from levelupreports.views import Connection def usergame_list(request): """Function to build an HTML report of games by user""" if request.method == 'GET': # Connect t...
[ "stacey.littrell@gmail.com" ]
stacey.littrell@gmail.com
107fd2eb3a81f9b2607eb4a1121d912182da8ca1
a120911eb088a02694e87baeaa996ded22704aab
/bookstore/migrations/0003_auto_20170315_2142.py
8d1bd6efe973c4c4978227435b76ae79eb6bad6f
[]
no_license
muhilvarnan/django-bookstore
684acb534ca68b7651bedefae1b15622e2454208
812913626350a27846b6c1546a202ec538d40c5f
refs/heads/master
2021-01-22T18:51:03.877940
2017-03-15T22:10:35
2017-03-15T22:10:35
85,125,673
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-15 21:42 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('bookstore', '0002_remove_books_isbn_number'), ] op...
[ "muhilvarnan.v@gmail.com" ]
muhilvarnan.v@gmail.com
67b04f877b89acc6dfc9c7553fba773c72403679
5fcefc2dff07daa503c95553ee2273403a57a2e2
/catkin_ws/build/my_turtle_whitcomb/catkin_generated/pkg.develspace.context.pc.py
a59f8f82da051a204e8bbeeee1c1ea927f6fcba9
[]
no_license
StephenWhit/TurtleBot
a5d5d6bb3fb082e2afff90b3fe7df005ef650bb8
61640d480f69b9f3656fc1cba257a073ed8ef3e5
refs/heads/master
2020-04-01T02:52:51.074586
2018-10-12T19:45:15
2018-10-12T19:45:15
152,799,392
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/viki/catkin_ws/devel/include;/home/viki/catkin_ws/src/my_turtle_whitcomb/include".split(';') if "/home/viki/catkin_ws/devel/include;/home/viki/catkin_ws/src/my_turtle_whitcomb/include" != "" else...
[ "stephenwhit897@gmail.com" ]
stephenwhit897@gmail.com
56441abdcb0c3e4c4bc9e6e51c066f53b4474751
d09fd96bbc931fbb8522e5c991973f064a4ded50
/baxter/devel/lib/python2.7/dist-packages/baxter_core_msgs/msg/_AssemblyStates.py
e02cc99b32b08bd3ff9a2b09c7d226c451abe8d2
[]
no_license
rymonyu/EE4-Robotics
b3827ba0dff5bdfdd1e47fe07a40e955c5226f38
6cf9272abd7fe8a074dc74a032f6e0b35edb8548
refs/heads/master
2020-08-22T15:09:39.706809
2019-12-15T23:35:45
2019-12-15T23:35:45
216,420,098
6
0
null
null
null
null
UTF-8
Python
false
false
116
py
/home/rob/baxter/devel/.private/baxter_core_msgs/lib/python2.7/dist-packages/baxter_core_msgs/msg/_AssemblyStates.py
[ "rymonyu@gmail.com" ]
rymonyu@gmail.com
6d440df45f5272e972930a42b1a331ba016a59be
c38ad398d5909eade726fa1c2849b0cd124ef9b7
/rltime/env_wrappers/switching_env_wrapper.py
f34a2bed13d750ddcd9154f6f00f40a58290fdd5
[ "Apache-2.0" ]
permissive
frederikschubert/rltime
612318e9ff8702e6775193b6261ea6a83b1d38fd
d1722ffd4cf7b4599655b8d9c64abc243919afc9
refs/heads/master
2020-09-11T02:30:51.074875
2019-12-16T10:44:23
2019-12-16T10:44:23
221,911,500
0
0
Apache-2.0
2019-11-15T11:34:33
2019-11-15T11:34:33
null
UTF-8
Python
false
false
547
py
from typing import List import gym import numpy as np from gym import spaces class SwitchingWrapper(gym.Wrapper): def __init__(self, env: gym.Env, env_index: int): super().__init__(env) self.env_index = env_index def reset(self, **kwargs): return self.env.reset(**kwargs) def ste...
[ "frederik.schubert@mailbox.org" ]
frederik.schubert@mailbox.org
a11539354e10e7fa486f5db387c8ccfbc7df1177
9ae4e7db77c3437331aeb95bfb58e6ab7762b3bd
/reside/wsgi.py
a957ccf1c84796bfbddab75e8747d1f4dce9e934
[]
no_license
ShijuKAbraham/RESIDE
7ff190a5110f18a18805a2a636b30d7999309624
b67024aab94c3f218dc9bc03f727db8fde68fa9e
refs/heads/master
2022-01-23T13:12:38.499092
2019-07-18T17:07:44
2019-07-18T17:07:44
197,243,928
1
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for reside project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "k.ashiju10@gmail.com" ]
k.ashiju10@gmail.com
94b7cafb4bb13b099c3d093549c75e172d5d9a29
6df6c9ff29fe7aed0972f935cd53337d95f6ad40
/ecommerce/migrations/0025_auto_20210520_1832.py
bf1785363566bde6081088d96b406dd367b45628
[]
no_license
brijesh681/rentel_website
46acae1ceb586c2bfcc795a519061a52ffad58a2
ef205304c6f5f9f6ff981a8244f4237c59bc52bb
refs/heads/master
2023-06-11T21:39:24.715466
2021-07-05T11:44:20
2021-07-05T11:44:20
383,115,482
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
# Generated by Django 3.1.4 on 2021-05-20 13:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ecommerce', '0024_dealsofday'), ] operations = [ migrations.RenameField( model_name='offer', old_name='today_selling...
[ "80308508+brijesh681@users.noreply.github.com" ]
80308508+brijesh681@users.noreply.github.com
d52cdaf5f45af5761f3c5ee1d52779036a589402
5ed1fa554c97c8d8b6aa3c72ccf6f107edad9969
/Q3 length.py
c6acb534975c6d447cf0a2b1c7cfec6c7b3929e5
[]
no_license
rufinavgurukul24/Listpy
f0cd9119755468fdaf91d7929c3d36d4c6d01335
59a6ae91793fbd7bef08a19b73cd8157f02a6ea8
refs/heads/main
2023-08-11T03:22:15.004725
2021-10-01T05:21:04
2021-10-01T05:21:04
412,337,277
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
number_1= [50, 40, 23, 70, 56, 12, 5, 10, 7] print(number_1) count=0 for i in number_1: count=count+1 print("lenth of the list is",count)
[ "noreply@github.com" ]
rufinavgurukul24.noreply@github.com
a0bcf1146515c5da0c64441490de32599b91f02e
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/12/01/14.py
fd0cb48a6c9d059526138c98e8ba82d309f6802b
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
1,517
py
#!/usr/bin/python2 ### Google Code Jam template # Futures from __future__ import division from __future__ import with_statement from __future__ import print_function ## Library # @memoized def memoized(func): mem = {} def wrapped(*args): if args not in mem: mem[args] = func(*args) re...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
0855f982056b6cfbc3bce6a7b99b54ca6eddc19d
3e367ddabaecca6b3b932c09a933f1f1c3a42190
/Province_data/deal_lasa_data.py
8244f9ad0088e2b128acd9d04dba7b2c490400b8
[]
no_license
13033266796/Air
03c8c231f412888aa72c56a06ae588c675ac57f4
d1c1fbe4ea86280cf33d12ce07b5b387699c7a11
refs/heads/master
2022-12-15T05:28:48.027159
2020-05-20T03:51:25
2020-05-20T03:51:25
248,926,154
0
0
null
2022-12-08T04:28:45
2020-03-21T07:16:57
HTML
UTF-8
Python
false
false
854
py
import os import re with open(r"F:\Python\pyCollect\Air_predict\Provice_data/original/ShangHai_2_year_data.txt","r",encoding="utf-8") as f: data = f.readline() line = 0 text = "" while data: line += 1 if line == 4: res = re.findall(r"\S+", text) with open(r"./ori...
[ "jiechen@webot.co" ]
jiechen@webot.co
21199e34f98bf0e139f0ff9d121b283d51ab5daf
ddd80f5cff588f6dcd72da90e90dccac3e545397
/projects/cam/camloop.py
eb953eab4d56292c11cc71f04143c27bcf81b902
[]
no_license
HTaylor7486/projects
cd5ade1919f71f5e6f1e48d016505364dc919af5
8717c8a12237c095f6b9709242f7be27ac4132d1
refs/heads/master
2020-05-12T16:36:43.137135
2014-12-17T13:13:50
2014-12-17T13:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
import picamera,time def getpic(name="null"): try: with picamera.PiCamera() as camera: q = "n" while q == "n": camera.start_preview() time.sleep(3) camera.capture("{0}.jpeg".format (name)) camera.stop_preview() ...
[ "htaylor7486@sohamcollege.org.uk" ]
htaylor7486@sohamcollege.org.uk
205d88ba56174f27a86af32366448306598b91ae
5839955687eefea132172ef47f76963ff219e6ef
/DeviceManagement/migrations/0001_initial.py
086039bc932336985973f00381bd8ab71fb43522
[]
no_license
echo6120/DeviceManagement
2724bc3d849a898f2d17e290194dfca39c737a88
7b67f8d567620b102914e38f7f41bf23f2adbfda
refs/heads/master
2020-12-22T20:30:04.790143
2020-01-29T07:17:22
2020-01-29T07:17:22
236,923,453
2
0
null
null
null
null
UTF-8
Python
false
false
559
py
# Generated by Django 2.0 on 2020-01-26 09:14 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ArticleColumn', fields=[ ('id', models.AutoFi...
[ "jingyu@rd.netease.com" ]
jingyu@rd.netease.com
820296291f92a6cd4a69811553d480b213a822b8
3da80755af10c31ded473ad998efb288cd8ca662
/python/列表.py
a8e28c9139da53847c2aebe49a4c766861c67d95
[]
no_license
xiu-du-du/akk8
278c2496213b9ccf9aa28695a9c78b782690c9ff
115ea1712d7342d9ed92d5454502d056420cfae9
refs/heads/master
2023-08-25T16:38:05.193139
2021-09-20T20:05:09
2021-09-20T20:05:09
403,110,827
0
0
null
null
null
null
UTF-8
Python
false
false
2,811
py
# 当前时间:2021/9/13 18:57 """ 列表的创建 """ lst1=['hello','world',899] # 使用[]直接创建 lst2=list(['hello','world',899,'hello']) # 使用内置函数list() """ 列表的特点 1. 列表元素按顺序有序排序 2. 索引映射唯一个数据 3. 列表可以存储重复数据 4. 任意数据类型混存 5. 根据需要动态分配和回收内存 """ print(id(lst2[0])) print(id(lst2[-4])) print(lst2.index('hello')) print(lst2.index('hello',1)) '''...
[ "cnimmor@gmail.com" ]
cnimmor@gmail.com
1be87f33c8660ad3c54efa5eb9f2ada26d9a1e6b
8afb5afd38548c631f6f9536846039ef6cb297b9
/_PYTHON/DATA_STRUC_PYTHON_NOTES/python-prac/mini-scripts/python_NumPy_Products_1.txt.py
d720b0dffc122f94e2aecfe055e2ab67998d23f1
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
77
py
import numpy as np arr = np.array([1, 2, 3, 4]) x = np.prod(arr) print(x)
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
eb8c6bcb6bb79cc466e64cbc75daf73337c0fc54
e35c571a240b6483c1b66ebd8bd2a587bec873de
/server/send_file.py
2e172ee9cc61c6734b5523c03afbeac111316e3f
[]
no_license
agdhruv/distributed-file-system
edac1527719368c7ca308129785d2d11b4718025
fb89a7cc2d1816869518c52ec3ab143c35331603
refs/heads/master
2020-03-14T17:52:18.956573
2018-05-05T18:35:26
2018-05-05T18:35:26
131,729,964
0
0
null
null
null
null
UTF-8
Python
false
false
3,168
py
import socket # Import socket module import os s = socket.socket() # Create a socket object host = socket.gethostname() # Get local machine name port = 12346 # Reserve a port for your service. s.bind((host, port)) # Bind to the port s.listen(5) # Now wait fo...
[ "dhruv_agarwal@live.com" ]
dhruv_agarwal@live.com
68e23e9acc94c9c9804a24d2b04c9d7e1e9a30ca
e464c0243dd93286463f013a9134cefa4e3ea2dd
/apps/events/views.py
48897e3ff07b7fed3c026aaa67b626442261873a
[]
no_license
bboud88/tendenci
533f5ec9eab28c2c18f9c83ff44380fd790c7d2c
ace9e21008b8f520dd94902cae6079cb5bb21f93
refs/heads/master
2020-03-21T21:41:18.239973
2018-06-28T23:39:09
2018-06-28T23:39:09
139,077,752
0
0
null
null
null
null
UTF-8
Python
false
false
179,631
py
# NOTE: When updating the registration scheme be sure to check with the # anonymous registration impementation of events in the registration # module. import re import calendar import itertools import os import subprocess import time import xlwt from collections import OrderedDict from datetime import datetime, date,...
[ "blake.boudreau@gmail.com" ]
blake.boudreau@gmail.com
e5121a53283e18ff7eca054f670b9368256d0405
d9684e7c80f0bab12497e3a14889ffb45e9a41e0
/mlshim/_version.py
a4f2e2fa66d2fc39b64d70bc046071977bf62b08
[ "MIT" ]
permissive
dapperfu/mlshim
df9206daa592e01b50c16ddf7a6a92bd1771a802
4a1eea0c5ce8d973ada5609c48a4942033b2fbdc
refs/heads/master
2022-06-22T03:49:46.436570
2022-05-18T15:42:39
2022-05-18T15:42:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,580
py
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains th...
[ "engineer@example.org" ]
engineer@example.org
f5d815fb41987350c9c77f6935910b1ecb795776
1872ae3b555e905d215431ff5b391647d8628de5
/chapter-2-state-driven-agent-design/west_world_with_a_woman/wife.py
543c40feb6433f7b94985a89da639107e61dad94
[]
no_license
malmyros/programming-game-ai-by-example
90d76e2bc18ced8a2080efe71ec4ee1f90d1cbf6
9a1cd5689e062250e3833e55aa4680b9e03c0865
refs/heads/master
2020-05-14T20:46:05.443566
2019-04-18T12:53:00
2019-04-18T12:53:00
181,950,433
0
1
null
null
null
null
UTF-8
Python
false
false
972
py
from base_entity import BaseEntity class Wife(BaseEntity): def __init__(self, current_state=None, location=None): super().__init__() self.current_state = current_state self.previous_state = None self.location = location self.is_cooking = False self.stress_level = 0 ...
[ "michail.almyros@holidayextras.com" ]
michail.almyros@holidayextras.com
5efd766bb70d94a197cb80cb858d7211c005cb27
4de2b914e4607dd0ca7eec60b21026af6b6c4797
/Old_work/valdambrini_cheli_papallo_tarmati/catkin_ws/build/navigation/clear_costmap_recovery/catkin_generated/pkg.develspace.context.pc.py
cb8deb76dfb119ed5c90cb0df8ac2a426a6fc434
[]
no_license
ABiondi12/project_sgn
5203d21f2753dcdf7c53b153324dc75bc1221549
570b7be0b01e7c83cb927945e532d6a2213ebf65
refs/heads/main
2023-06-18T12:59:18.337096
2021-07-21T10:27:08
2021-07-21T10:27:08
307,121,028
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/robot/catkin_ws/src/navigation/map_server/include".split(';') if "/home/robot/catkin_ws/src/navigation/map_server/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;nav_msgs;tf2".replace(';'...
[ "petracci.francesco@gmail.com" ]
petracci.francesco@gmail.com
d1a37f55af2498bbddef30e64ab5cf173cdc0d1e
7f2612e5132e1583e5ba9758f299a8f301f0dc70
/FB/257-binary-tree-paths.py
eada330e2dcde3095e5ceb1523f68ee52d0cba47
[]
no_license
taeheechoi/coding-practice
380e263a26ed4de9e542c51e3baa54315127ae4f
9528b5e85b0ea2960c994ffea62b5be86481dc38
refs/heads/main
2022-07-09T11:22:18.619712
2022-06-28T14:55:51
2022-06-28T14:55:51
447,082,854
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# https://leetcode.com/problems/binary-tree-paths/ # Input: root = [1,2,3,null,5] # Output: ["1->2->5","1->3"] # Example 2: # Input: root = [1] # Output: ["1"] class Solution: def binaryTreePath(self, root): elements = [] def dfs(node, s): if not node: return if node.left ...
[ "dadac76@hotmail.com" ]
dadac76@hotmail.com
47a9c6d4f6944ae56920c638179095749d695929
36b167e8a162e3bb9c21503592adfadcba024290
/fuxi/lib/Rete/CommandLine.py
901c8988e1e97740a4e5d234f12ffbf10100c068
[]
no_license
studioevoque/python-dlp
91d7b9f910ca4d741c953da3101a94806f0a2eff
4754cadbcb1fe38112bf01885f84744f46dcb178
refs/heads/master
2016-09-06T11:00:23.887749
2013-07-01T14:21:51
2013-07-01T14:21:51
33,859,595
0
0
null
null
null
null
UTF-8
Python
false
false
15,622
py
#!/usr/bin/env python """USAGE: Fuxi [options] factFile1 factFile2 ... Options: --closure If present, the inferred triples are serialized along with the original triples if asked for. Otherwise (the default behavior), only the inferred triple...
[ "chimezie@d0ad5f6e-b329-0410-b51c-492c9c4f233d" ]
chimezie@d0ad5f6e-b329-0410-b51c-492c9c4f233d
3e8c182c30acda216edcbfacad704a01282ee8c7
0ea7cdf05adf5ae281d02f7e3ee8c71a5cee5cc4
/moblife/app_config.py
b0ef42f234f1809f2d99ef69351293c1b08c2ffe
[]
no_license
groverc85/Mobile-Assistant
df4d4cd6ce4d3a454526536cfd8c8c77348d0eb7
7667e7143ca2ff6b37085f5bfea342ee09f78db0
refs/heads/master
2021-01-19T04:25:05.822978
2017-04-22T17:43:24
2017-04-22T17:43:24
87,370,233
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
class Config(object): DEBUG = False SQLALCHEMY_DATABASE_URI = 'sqlite://:memory:' class LocalDevConfig(Config): from datetime import timedelta DEBUG = True SQLALCHEMY_DATABASE_URI = 'mysql://root:root@192.168.0.101/xms' SQLALCHEMY_BINDS = { 'xms': 'mysql://root:root@192.168.0.101/xms', ...
[ "groverchen1994@gmail.com" ]
groverchen1994@gmail.com
85f1ce4737c8836e7c1b35cc884dbb17e7877313
9a28f6bf8ba177ced8c498d04d3115d8f5ccdf7b
/ArkalysOS/urls.py
ba21fe26978e15c9603a83ec0bf4721cfaf8bbea
[]
no_license
owinckle/Arkalys-OS
0fabc396a4d91e0267a0beac762e519c47fe312b
964de2005bb40fe8bfb37fbafeb1028047d99b02
refs/heads/main
2023-06-25T01:41:19.322400
2021-07-19T17:28:25
2021-07-19T17:28:25
384,285,954
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), # Frontend path('dashboard/', include('Ark.urls')), # Modules path('api/user-settings/', include('UserSettings.urls')), path('api/contacts/', include('Contacts.urls')), pa...
[ "oceanwinckler.rem@gmail.com" ]
oceanwinckler.rem@gmail.com
c5284396fc5399b0f66bc16ba674ff9cce0fcd00
384d58e0226ac0b25b132b9a226032bd2366aba8
/lib/python3.6/hmac.py
4ef9d5da89b523a0d728eb1bd5831f847ad98f17
[ "MIT" ]
permissive
scottyadean/picbiz
482ed9f677301129302175edd676602cd5208958
e14bb7456936ee43d8124279456f059affd0fa16
refs/heads/master
2020-03-17T23:16:57.848971
2018-06-26T17:00:48
2018-06-26T17:00:48
134,038,191
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
/home/scotty/.pyenv/versions/3.6.1/lib/python3.6/hmac.py
[ "scott.dean@marketingevolution.com" ]
scott.dean@marketingevolution.com
104efcdb045eb9a95054153f994edc345d127dac
3a6633d1af0c6cbd30bcec40c0fd2dac84468880
/misc.py
e565342b8f0068e2ce352a82ce9f6d75c392b58d
[]
no_license
SiyuLiu0329/cyclegan-example
0813179ae81ce8886bddc4ebed1b3920d53cfd56
bb89e908dded832b914685864ae0d5ad886040ea
refs/heads/main
2022-12-21T07:01:46.536591
2020-10-10T11:55:36
2020-10-10T11:55:36
302,883,682
2
1
null
null
null
null
UTF-8
Python
false
false
4,214
py
import tensorflow as tf import os import sys import random import numpy as np import cv2 from PIL import Image def load_and_resize_img(img, size): h, w = size img = Image.open(img) img = img.convert('RGB') img = np.array(img) x, y, _ = img.shape if h is not None and w is not None: img ...
[ "s4392957@eait.uq.edu.au" ]
s4392957@eait.uq.edu.au
90afbb7dcfc470cf63d3d7377d986165be786cbe
7eeeb635c08475c68f137fcb44db98177ce1ff4c
/drfx/users/serializers.py
772e049950979dc085ffb3595c0aa440353ca48b
[]
no_license
Mr-YYM/Python_web_learning
f2017ce795e598017c85f24e97c17220930fb177
62095f36c35858a5be4b15f454de555bc441a9fb
refs/heads/master
2022-12-11T09:58:46.833562
2018-11-03T05:10:07
2018-11-03T05:10:07
152,242,456
0
0
null
2022-12-08T01:18:29
2018-10-09T11:52:10
Python
UTF-8
Python
false
false
202
py
from rest_framework import serializers from . import models class UserSerializer(serializers.ModelSerializer): class Meta: model = models.CustomUser fields = ('email', 'username',)
[ "492851378@qq.com" ]
492851378@qq.com
c34f28b064723496b9f76b20880853d1b861b23c
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/aio/operations/_tables_operations.py
1cfeb4326088fb395f5d11a07bd548a359826a3a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
32,472
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
6509a48313412b962480842b1fb0d090d2edd745
3fc3ba3f30d60bcbc0baed660327d575adf6932f
/ex91.py
53a4f3d6f54b43a2102bcfcb3dd4c3b05ec84ff1
[]
no_license
User9000/100python
44ef0b885f0a3c411fa55a959aea8c5ae75f11f3
1c757c3c76d67eea81fb928519eb7349db9fa175
refs/heads/master
2021-01-11T20:47:31.545133
2017-07-01T15:48:16
2017-07-01T15:48:16
79,184,295
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
import sqlite3 import pandas conn = sqlite3.connect("database.db") cur= conn.cursor() data = pandas.read_csv('ten-more-countries.txt') for index, row in data.iterrows(): cur.execute("INSERT INTO countries VALUES (NULL,?,?,NULL)", (row["Country"], row["Area"])) conn.commit() conn.close()
[ "Carlo@Carlos-MacBook-Pro.local" ]
Carlo@Carlos-MacBook-Pro.local
9e656061375e6a5225c6de0e83fae8c1cdc6db7f
b3e0d941ac23992e3a80edb1df5bd53e856ce5d5
/docs/source/conf.py
46b7f0f9c95cd64808e625b4e341ff0415384b63
[ "MIT" ]
permissive
tjryankeogh/phytophotoutils
6f5c33b4dda06c66f07bd45d5c27336c6304e9b0
48c1747bca837f1d4c73ff48d7c232840eca8352
refs/heads/master
2023-04-18T00:00:50.236233
2021-04-12T13:51:58
2021-04-12T13:51:58
364,512,652
0
1
null
null
null
null
UTF-8
Python
false
false
3,271
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "tjryankeogh@googlemail.com" ]
tjryankeogh@googlemail.com
ebe6ba66f1743f17d66488c547d62eb1dd646dc3
a972c5de4144940d1c5903bb5636df4bcaf4b283
/ejerciciokenwin/__init__.py
bcbe09dd494756b2f4afdb3392ceb03bc3b19d99
[]
no_license
apocalipsys/ejerciciopyramid-2020
5dafe2926bb78338eb1eca17d2be8f6ef2eba8fa
2411601f4e2e0dd9aa49951251f9acfe73d43777
refs/heads/master
2020-12-21T00:51:38.700245
2020-02-07T07:24:51
2020-02-07T07:24:51
236,258,661
3
1
null
2020-02-05T06:29:14
2020-01-26T02:42:08
Python
UTF-8
Python
false
false
802
py
#This is a config file, necesary to include the views, moludes, models and so on #Este archivo de configuracion sirve para incluir las vistas, modelo de base de datos, modulos etc. from pyramid.config import Configurator from pyramid.session import SignedCookieSessionFactory import os static_dir = os.path.abspath(os....
[ "martinvargas82@gmail.com" ]
martinvargas82@gmail.com
5370e171697af7ddf7f47b4300bf5ee5e89e9d8b
8acbaac388f586fb31ebc62fae5b0f262c6d6892
/xcheck/boolcheck.py
72808ac342432cbf7bb05eed3e1baa6e645d3357
[]
no_license
JoshuaEnglish/pyxmlcheck
54e146fa095016557b5c86670d0ef3000e83fc7c
8e96b557f506cf16bf533b6744c03c1d34fe0b89
refs/heads/master
2021-01-10T16:37:30.399116
2014-04-08T19:09:56
2014-04-08T19:09:56
44,216,185
0
0
null
null
null
null
UTF-8
Python
false
false
4,828
py
from core import XCheck, ET class BoolCheck(XCheck): """BoolCheck(name, **kwargs) Checks a various number of things that could be interpreted as True. These check as True: True, true, 1, Yes, yes, T, t, Y, y These check as False: False, false, 0, No, no, N, n, F, f Attrib...
[ "joshua.r.english@gmail.com" ]
joshua.r.english@gmail.com
67dcb99c50642a8467d4d28635d4b33f9f713578
c49a80ed4c69ecbe56c26d0fda04bf0e81f62b98
/8_Puzzle_solver_branching_factor.py
169b9454007b89a3ccc079c83aad0c621b12983a
[]
no_license
aayushsoni10/8_Puzzle_AI
1d7e2950233ec8572ccede62388560fa2cf8062d
363d11968c54f5ae64e0fbaaae42f9244a8e94d9
refs/heads/master
2020-08-03T00:24:18.298639
2019-10-18T20:52:02
2019-10-18T20:52:02
211,562,994
0
0
null
null
null
null
UTF-8
Python
false
false
8,656
py
import sys import heapq from random import randint # This class is used to Create the n X n puzzle class EightPuzzle: # Initiating the object def __init__(self,size): self.size=size self.puzzle=[] self.zero=(0,0) self.moves=["U","D","L","R"] count=1 for i in range(0,size): self.puzzle.append([]) ...
[ "soni.aayush98@gmail.com" ]
soni.aayush98@gmail.com
0a948854e027da6e1d313f2c60f11f0684e5b0f2
e7e497b20442a4220296dea1550091a457df5a38
/main_project/AdHot/monitorsystem/monitorsystem/controllers/zoom_graph.py
4e70d23eb63430c0430abba719d0b4142562c92e
[]
no_license
gunner14/old_rr_code
cf17a2dedf8dfcdcf441d49139adaadc770c0eea
bb047dc88fa7243ded61d840af0f8bad22d68dee
refs/heads/master
2021-01-17T18:23:28.154228
2013-12-02T23:45:33
2013-12-02T23:45:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,518
py
import logging import rrdtool from pylons import request, response, session, tmpl_context as c, url from pylons.controllers.util import abort, redirect from monitorsystem.lib.base import BaseController, render from monitorsystem.lib.app_globals import Globals as g from monitorsystem.lib.get_chart_info import GetAll...
[ "liyong19861014@gmail.com" ]
liyong19861014@gmail.com
4331f303b88abc1007c44aedec54876888a6b860
1a74a9ec3e51e7776e5c15e98c66b4cb5a9f8144
/source/webapp/views/base_views.py
3bf9e6278427c473397fb2e32f09ab53e41e9079
[]
no_license
Aitmatow/issue_tracker
d66e47a7f633a455e28a1921c5220c60a4c5907f
96f482be1251d9c557446bc0bfa0e949cc3129d9
refs/heads/master
2022-11-26T19:59:12.929073
2019-12-09T12:52:13
2019-12-09T12:52:13
211,033,057
0
0
null
2022-11-22T04:47:23
2019-09-26T07:57:27
Python
UTF-8
Python
false
false
4,098
py
from django.db.models import Q from django.shortcuts import get_object_or_404, render, redirect from django.utils.http import urlencode from django.views import View from django.views.generic import TemplateView, ListView class DetailView(TemplateView): context_key = 'objects' model = None def get_contex...
[ "aitmarowd@gmail.com" ]
aitmarowd@gmail.com
05316d88a35289d491a107f6328cede2a1c6eb9f
4eaa1b9b08914e0a2cc9276363e489ccef19d3a2
/ch9/electric_car.py
a3903742781c7a56beb7c524f66ba35a4bb8f545
[]
no_license
melihcanyardi/Python-Crash-Course-2e-Part-I
69b3b5b3f63cdbd7be6fabd6d4f2ddfd9a3434a3
0c9b250f512985c04b2c0397f3afaa8bf3a57f17
refs/heads/main
2023-03-12T21:43:14.012537
2021-03-03T19:23:41
2021-03-03T19:23:41
344,236,741
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
from car import Car class Battery(): """A simple attempt to model a battery for an electric car.""" def __init__(self, battery_size=75): """Initialize the battery's attributes.""" self.battery_size = battery_size def describe_battery(self): """Print a statement describing the bat...
[ "melihcanyardi@hotmail.com" ]
melihcanyardi@hotmail.com
6074cbe705474f5e7bd46b7bf9442b9d8c0a6685
d072c940209bea63b5f1b4315d4ecfe7cd9b042b
/test/test_matrix.py
e9a111401df4eca154e828acdaf4e6d6f21b70c6
[]
no_license
majegit/workflowtest
267174293070635e23fe959da7adfef3f4a1a360
99b5a13cf3677dfb81db1cffda350b44dd84db5f
refs/heads/main
2023-07-19T22:35:58.407508
2021-08-05T00:03:53
2021-08-05T00:03:53
392,796,004
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
import numpy as np import matrix def test_matrixMultiplication(): a = np.array([1,2]) b = np.array([1,2]) assert matrix.matrixMultiplication(a,b) == [5]
[ "68793210+majegit@users.noreply.github.com" ]
68793210+majegit@users.noreply.github.com
9878aa70c6c4979e347708410e1b4bfdc95469e0
f4fbeb3b1f91043b82d1aacf7b40608644b4130e
/tensorflow/python/keras/_impl/keras/layers/normalization_test.py
84f0b2776c9980e0bdc00c173b275604ce16697a
[ "Apache-2.0" ]
permissive
angelmorinigo/tensorflow
0609a99122315ef466bfb1f8e5334b45361b9d29
3176ba990070cdde62b7cdf81747d70107d2e032
refs/heads/master
2020-03-17T15:33:47.145977
2018-05-16T16:58:05
2018-05-16T16:58:05
133,715,400
1
0
Apache-2.0
2018-05-16T19:45:02
2018-05-16T19:45:02
null
UTF-8
Python
false
false
8,571
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
320c1bbbf64e3e763dce44ad317f6eb844167a4c
330f35bc9519895a14bf527f5b849f3c42ecfcbb
/src/zencelium/models.py
b9b1f00ca35efeb3c2d35b18ee564384540d3720
[ "BSD-3-Clause" ]
permissive
zentropi/python-zencelium
6ba81b35a12a7e86456a867da1eece51172a6dfc
e7dc78d92790d658bb69b0917c0f6fec5f50c620
refs/heads/master
2021-02-24T10:21:23.987587
2020-03-14T17:58:02
2020-03-14T17:58:02
245,428,579
0
0
BSD-3-Clause
2020-03-14T17:58:04
2020-03-06T13:35:56
Python
UTF-8
Python
false
false
5,925
py
import logging from base64 import b64encode from datetime import datetime from hashlib import sha256 from uuid import uuid4 import peewee as pw from bcrypt import checkpw from bcrypt import hashpw from bcrypt import gensalt logger = logging.getLogger(__name__) db_proxy = pw.DatabaseProxy() def generate_uuid(): ...
[ "harshad@sharma.io" ]
harshad@sharma.io
5e07f54214c2e42f5d3fcea511e087cabd630ece
1989d4bc58c7f886c6afdc44d83af9b626ea5aa9
/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build/config.gypi
2f1bdbe92e174996b2a40b303b43adfe72d1c4e2
[ "Apache-2.0", "MIT" ]
permissive
navin1976/MDT-API
eebb4fefb20aef7234ceb8a6e9f40231043b7d79
fbf7ad256e488daebd471a13822786257f929070
refs/heads/master
2021-01-12T12:00:05.645995
2016-09-21T15:21:20
2016-09-21T15:21:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,758
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "icu_data_file": "icudt54l.dat", "icu_d...
[ "hale.j.0810@gmail.com" ]
hale.j.0810@gmail.com
466c50bd91fc4be61abb950479c4d47fb1041ed9
8ed80561e1b3c0bcdb6201cae8af845d5da23edc
/guppe/exercicios_secao_8/ex_10.py
62a551fc304de9116280ee458a9d1eaa9680822e
[]
no_license
Fulvio7/curso-python-guppe
42d5a1ecd80c1f3b27dc3f5dad074a51c9b774eb
98966963f698eb33e65ed58a84f96e28f675848a
refs/heads/main
2023-08-28T13:31:12.916407
2021-10-09T19:03:17
2021-10-09T19:03:17
415,393,122
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" 10- Faça uma função que receba dois números e retorne qual deles é o maior. """ def retorna_maior(n1, n2): if n1 > n2: return f'{n1} é maior.' elif n2 > n1: return f'{n2} é maior.' return 'Os dois números são iguais! XP ' print('Descubra o maior número') num1 = int(input('Num1 = ')) ...
[ "fulvio.barichello@gmail.com" ]
fulvio.barichello@gmail.com
54bf75dd8884b487a9504f14b27458b18c386ed7
6226e633c04ed8d79b5d6a444fee3cc5736e5eeb
/mri_analysis/apps/app.py
6e0b4289826d47a858aa33111f759a26b017fcd0
[]
no_license
mszinte/PredictEye
97aab2c20813072645c3c4f4cfea8670d50f79ad
f17e2481134fdad223b62393e53db1b4c192e2ac
refs/heads/master
2023-06-12T06:58:09.722847
2021-06-16T12:30:27
2021-06-16T12:30:27
285,290,953
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import dash external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets, suppress_callback_exceptions=True) server = app.server
[ "mszinte@login02.cluster" ]
mszinte@login02.cluster
c56cc8021807db2c955139751d6445c4ed332629
0517048969512fc73aa7401c7d2a63d3fb005971
/main.py
a548d57010c2e50d6e3117aa45053dfd06aeae37
[]
no_license
krtvand/tornado_proxy
77357469cd9b6042d13ff07090a816c83454b6b7
28f407ddf80aa8e8648cdcefac4476ecc6eb166d
refs/heads/master
2020-05-25T20:46:43.671020
2017-03-15T12:03:31
2017-03-15T12:03:31
84,966,940
1
0
null
null
null
null
UTF-8
Python
false
false
4,876
py
import json import logging import os import sys import socket from urllib.parse import urlparse, urlunparse import tornado.httpserver import tornado.ioloop import tornado.iostream import tornado.web import tornado.httpclient import tornado.httputil MAP = { '127.0.0.1:77': {x for x in range(7700, 7799)}, '127...
[ "krtvand@gmail.com" ]
krtvand@gmail.com
0a9b48c28c74f9a89bad246e7ab0bf551cd00e0a
379634162f6bcf9f9eb43b43c985896462a158f9
/utils/dnn_app_utils.py
191aab664956a77b4ac456b7f95585ec04c6db28
[]
no_license
jeffreyrnorton/Notebooks_MachineLearning
34b28718949566f55320b6810b186c61c7338c1d
2308a9b243ec4664f32c6154b5e8fb930acfa0ba
refs/heads/master
2020-03-09T02:14:37.693110
2018-11-15T07:03:46
2018-11-15T07:03:46
128,535,323
1
1
null
null
null
null
UTF-8
Python
false
false
14,785
py
import numpy as np import matplotlib.pyplot as plt import h5py def sigmoid(Z): """ Implements the sigmoid activation in numpy Arguments: Z -- numpy array of any shape Returns: A -- output of sigmoid(z), same shape as Z cache -- returns Z as well, useful during backpropagation ...
[ "jrnorton0@gmail.com" ]
jrnorton0@gmail.com
9c3d015fca656b111401ededbdedbbbc63be072f
10de91a2ee64080d9e5b45b743d5d58b106139ac
/visualize.py
801b8f068052413186891de70648b8c18dd5d72e
[]
no_license
Roi262/COVID-19
2950998c643928b176c1e628c0ed1030561f58e6
c1b8e72e1e0165e8a17333281112eede8181e656
refs/heads/master
2021-05-25T22:01:20.078936
2020-04-08T00:41:46
2020-04-08T00:41:46
253,933,609
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
from config import * import pandas as pd import numpy as np import csv import matplotlib.pyplot as plt path = NIR_ETZION_PATH def plot_counter(value): with open(path, newline='') as f: df = pd.read_csv(f) values = df[value] distincts = values.value_counts() sizes = list(distincts)...
[ "roi262@gmail.com" ]
roi262@gmail.com
97ddfdff0283a737ef6126c126f4452ed384a780
4f3e46570427bed0954de06ea53f1ae739f7db48
/node_modules/node-zopfli/build/config.gypi
63819a5203dc55a645175f3597fa89e89fd0d8af
[ "MIT" ]
permissive
jonoforbes/ether-app
c6311d637a302f05da2ba04fc2c3bb462ff7d5fd
f8c98df0b9772f6cb4abe842976163c23a3db94f
refs/heads/master
2020-07-20T07:35:40.181413
2017-06-21T16:53:40
2017-06-21T16:53:40
94,337,999
0
0
null
null
null
null
UTF-8
Python
false
false
4,641
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "debug_devtools": "node", "force_dynamic_crt": 0, "host_arch...
[ "jonoforbes@me.com" ]
jonoforbes@me.com
8bf53a909789453f987ea914f19cfea3897e44ae
bcf4316366954dd25a61ab9c2f02965613883184
/Argument Mining/run_final.py
7c5eb50dcc740b1efba519f2c533ba1cee72d276
[]
no_license
sshivam95/Snowden2.0
ad1da2195d058d809a2392018a709057bd0e9ec6
298d683d748b52dee9d56d93a96d4352b66f36c7
refs/heads/master
2023-06-12T20:33:24.121193
2021-07-10T21:51:01
2021-07-10T21:51:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,099
py
import numpy as np import pandas as pd import spacy from sklearn import svm from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.metrics import f1_score from sklearn.preprocessing import normalize nlp = spacy.load('en_core_web_sm') train_file = 'train-data-prepared.json' # Change to test filename...
[ "noreply@github.com" ]
sshivam95.noreply@github.com
6f5739437c1132e3e559ac5dced0ee9060cff126
0e3663763320586449c4206963e982abf81a0f9b
/sumogsuitealertscollector/main.py
01394d5e601350cf68c4ff000872eff52225f763
[ "Apache-2.0" ]
permissive
blaise-sumo/sumologic-gsuitealertcenter
de3a38dc3e89fcf280e5632fded48134ff3d91b5
daba442c9eab39b6be9fba7c17d990f6a266dd92
refs/heads/master
2020-05-20T17:26:52.407000
2019-04-08T04:52:09
2019-04-08T04:52:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,290
py
# -*- coding: future_fstrings -*- import traceback import sys import time import os import datetime from concurrent import futures from common.logger import get_logger from omnistorage.factory import ProviderFactory from sumoclient.factory import OutputHandlerFactory from sumoclient.utils import get_current_timestamp, ...
[ "hp.iiita@gmail.com" ]
hp.iiita@gmail.com
fe9398d41deafc9f535b1e5e54c14691d00280a9
0d990de062665b41e0e77da0756a21635915d659
/TP3/mediciones placa ada/continua/continua.py
f182a292e2f609451c950e14595c3c4f02a0222d
[]
no_license
newtonis/22.05-Signals-and-Systems-Analysis-Projects
954b6b5f3bfdbf10a6124fbf49128118bdc44fae
1d759aa22d70ae19fd6fc66b335296b8242339e5
refs/heads/master
2022-03-23T08:58:55.544863
2019-12-02T03:07:55
2019-12-02T03:07:55
174,744,007
0
1
null
null
null
null
UTF-8
Python
false
false
1,033
py
import matplotlib.pyplot as plt import csv import matplotlib.patches as mpatches import numpy as np filename = "adc.csv" vin = [] vout = [] bin = [] with open(filename, 'r') as csvfile: reader = csv.reader(csvfile) next(reader, None) for row in reader: vin.append(float(row[0])) bin.append(float(row[1])) vo...
[ "rparra@itba.edu.ar" ]
rparra@itba.edu.ar
96898f3e3eb0c9ddd687c732bcf3b7497158bfd5
a45cbdc8b6d8b358fbe5604997dc2d8423ea1b32
/project 6.py
2272b463a80d96bbcda1c8576c95226715bda9b7
[]
no_license
GDM-git/database-project
e6508ab4073301e8faeb578428697546db9de9cf
31979d81c693a28a0325822a0005d418b254c64a
refs/heads/main
2023-05-07T21:38:15.054638
2021-05-28T04:51:26
2021-05-28T04:51:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,462
py
import psycopg2 as lib def command_1(): database = lib.connect(dbname="postgres", user="postgres", password="123g321j", host="127.0.0.1", port="5433") cursor = database.cursor() cursor.execute('SELECT * FROM free_trucks_exists ();') for row in cursor: print(row) database.commit(...
[ "noreply@github.com" ]
GDM-git.noreply@github.com
843d2dad5d3ab35696c22610183d4689025cc5fb
8b85d71b17ac8c5f71565d95011d8a50e9609f5a
/cashier/migrations/0004_auto_20180315_1941.py
ae964420f0c1f013ea3d9128ed6fa6dd5f9ac7d6
[]
no_license
irsyadf27/Point-of-Sale
8a6d8d16a7a3e91751829662b35febf33ee433d0
a077092f3debb089a05be26b7572db5819f058fc
refs/heads/master
2021-09-10T15:17:45.797065
2018-03-28T11:01:17
2018-03-28T11:01:17
111,640,735
0
1
null
null
null
null
UTF-8
Python
false
false
962
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-03-15 12:41 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependenc...
[ "irsyad.fauzan777@gmail.com" ]
irsyad.fauzan777@gmail.com
3518fd2cc14d2ce5ab3297741d351dc4635fe976
5a04919d14d3f34815987a202d520609c17cc605
/problems/forritun/hefja_i_veldi/tests/gen.py
1397acd8903770e81c30e87255b3e79a5210b121
[]
no_license
SuprDewd/forritunarverkefni
49e9864c6efaa192747b3f004f79a53a4519c10a
702819f9fa2d106fede4ff2284a00b5141662493
refs/heads/master
2021-01-15T11:14:44.316308
2014-08-09T15:09:09
2014-08-09T15:09:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
import math tests = [ (10, 4), (10, -4), (15, -1), (1, 4), (0, 3), (1, -2), (-1, 2), (-1, 3), (-1, 0), (13, 2), (-13, 2), (13, 3), (-13, 3), (-5, -6) ] for i, t in enumerate(tests): with open('T%d.in' % i, 'w') as f: f.write('%d %d\n' % tuple(t)) with open('T%d.out' % i, 'w') as f: f.write('%f\n' % math.pow(t[...
[ "suprdewd@gmail.com" ]
suprdewd@gmail.com
2d015e55784146c1b52cefe9e60a34d454a025c2
69ea17c792c5eee02dbf98f8cc90902e40bca08f
/modules/sentry.py
9e21eab652e13c02511371966db72059cc74699f
[]
no_license
macherstube/git-auto-deploy
f662ac2d6ba172f65fec41d3bb20dc0a6b8096c8
3a0bc1f0cb70535c2206f5f5bc2a1964ba9eb6a2
refs/heads/main
2023-07-16T07:13:49.961448
2021-08-08T18:41:16
2021-08-08T18:41:16
388,553,704
1
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ########################################################## # title: sentry.py # author: Josias Bruderer # date: 29.07.2021 # desc: simple implementation of sentry ########################################################## import sentry_sdk from sentry_sdk import cap...
[ "josias@macherstube.ch" ]
josias@macherstube.ch
0aedf92297cf51ec02e89bc2bc311a1853fdf095
4725b14e7f5f808ada1a5e1776f25dcd37249c0d
/empg_erp/empg_erp/doctype/city/city.py
a5d82b5ec64c4f77ff11b1fd94f85c705fda7f0d
[ "MIT" ]
permissive
shahzadzameen/empghr_erp
cce408247f2d9efe39bce4da2f832d8d3640bf98
ba24a833b7fea8f17b155435064ead761f2a134c
refs/heads/master
2020-09-01T14:01:48.922805
2019-11-01T11:58:43
2019-11-01T11:58:43
218,974,425
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, zameen and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class City(Document): pass
[ "shahzad.naser@zameen.com" ]
shahzad.naser@zameen.com
37281aad81bec02c5269f6e7836a07d07e82bdd5
cb52f8113203b19b80956ce4fb46b6291f5e0de6
/OOP_Problem_set/cash_desk.py
7db2b35aae0421c1850182715e004207e966a81f
[]
no_license
eevlogieva/HackBulgaria_Programming101
0b8d2570b8b4932f8c1b758eb1a23b065e151dea
b2d8b5c7e73bb0063dd4cc9a1e35b4d611ed6b54
refs/heads/master
2020-05-26T09:49:54.468716
2015-04-21T13:40:21
2015-04-21T13:40:21
25,029,745
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
class CashDesk(): def __init__(self): self.money = {100: 0, 50: 0, 20: 0, 10: 0, 5: 0, 2: 0, 1: 0} def take_money(self, notes): for note in notes: self.money[note] += notes[note] def total(self): total = 0 for note in self.money: total += self.money[...
[ "eevlogieva@yahoo.com" ]
eevlogieva@yahoo.com
1dfaa8cf11a2d14dd19b5bf31b58f44bf15e34a0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03379/s477030145.py
93534519416891d22f6c4c276609f50101689a1d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
def main(): n = int(input()) x_lst = list(map(int, input().split())) x_sorted_lst = sorted(x_lst) median1 = x_sorted_lst[n // 2 - 1] median2 = x_sorted_lst[n // 2] if median1 == median2: lst = [median1] * n else: lst = [] for i in range(n): x = x_lst[i]...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1a19af9a0fadedcb4bd7e45597b3e62571e51821
3c6b0521eb788dc5e54e46370373e37eab4a164b
/holistic_eval/roberta_mnli/examples/scripts/scripts/run_experiment.py
9d5f149859a049824f329d3eeca723f861738f66
[ "Apache-2.0" ]
permissive
y12uc231/DialEvalMetrics
7402f883390b94854f5d5ae142f700a697d7a21c
f27d717cfb02b08ffd774e60faa6b319a766ae77
refs/heads/main
2023-09-02T21:56:07.232363
2021-11-08T21:25:24
2021-11-08T21:25:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,598
py
import os import smtplib from email.mime.text import MIMEText mail_host = 'smtp.163.com' mail_user = 'aigu3525' mail_pass = 'WOaibaobao' sender = 'aigu3525@163.com' receivers = ['liuyixian0317@gmail.com'] def run_training(ex_title, type, paras_dict, node, GPU, logger=None , print_=False): print('_'*100) if ty...
[ "yitingye@cs.cmu.edu" ]
yitingye@cs.cmu.edu
71e14762493667ad2bae0d74ce90bd364e9333a7
780183a7842ad548703f3a62be0d1413fc901254
/frappe/frappe/sessions.py
f2c5efe8e3fb2c2bf63699f3729c398fb244d934
[ "MIT" ]
permissive
Shreyasnaik01/Library-Management
9ab49281fd331d73c85c0d6f15797be97ecdbfc4
8bda4131309897c22e2fcbc54b402aded35a5523
refs/heads/master
2023-08-29T02:36:15.972349
2021-10-19T13:43:43
2021-10-19T13:43:43
418,891,924
0
0
null
null
null
null
UTF-8
Python
false
false
12,260
py
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals """ Boot session from cache or build Session bootstraps info needed by common client side activities including permission, homepage, default variables, system defaults etc """ im...
[ "you@example.com" ]
you@example.com
53b6f743c52e16229449c9f99dc18438957c017f
4290daae480aabfc35c85374a468085a6fa1a1ac
/ctt-server/openapi_server/test/test_result_controller.py
652d6ffdfa52d2b04f99be41db1f222c6a23aec6
[ "Apache-2.0" ]
permissive
pjakovits/radon-ctt
01c8bc760372f6887798722c291674971b10a86d
8c73e05a83ef66bd6e9dba6608d2bee089df7e86
refs/heads/master
2021-05-20T19:13:35.919410
2021-03-28T17:07:20
2021-03-28T17:07:20
252,386,523
0
0
Apache-2.0
2020-04-02T07:34:24
2020-04-02T07:34:23
null
UTF-8
Python
false
false
2,596
py
# coding: utf-8 from __future__ import absolute_import import unittest from flask import json from six import BytesIO from openapi_server.models.result import Result # noqa: E501 from openapi_server.test import BaseTestCase class TestResultController(BaseTestCase): """ResultController integration test stubs""...
[ "duellmann@iste.uni-stuttgart.de" ]
duellmann@iste.uni-stuttgart.de
10d1bf00d434f01ca2cb8508777a5a075caff03a
fb51a82f51ba4e5f5160358822a6154cc5c9466b
/mrc_utils/json2db/squad_mysql_nia.py
3179dddc87fae5ee65ad135fee5860c4450a6d07
[]
no_license
yeongsunpark/good
cc26cda2106117d66ddc3bd89099dcd9d3c952eb
3e5d510548d2d5e63174490344aa14539d6e8785
refs/heads/master
2020-05-02T03:30:38.354551
2019-12-04T01:18:33
2019-12-04T01:18:33
177,730,317
0
0
null
null
null
null
UTF-8
Python
false
false
30,996
py
import json import logging import os, sys import random import math import time import re import concurrent.futures import string from multiprocessing import Pool import pymysql sys.path.append(os.path.abspath('..')) import custom_logger from morp_analyze_my import NLPAnalyzer def return_myself(token): return t...
[ "ylunar@naver.com" ]
ylunar@naver.com
777643ac64cb8e81d39cfa5c89c89ab64253e30c
2a54f6b90df3a8e424c9fbd23767d91ce73fcbd5
/psd.py
acab23d8c74c63aca1d741aabf4019c543b3f067
[]
no_license
khannema/contrib-snufflings
438978b1a1dd9a2c23071b798cd7580c9ebc17bb
8fcfb605b98d39fb45b46dbb4e4e1fb4cd452fae
refs/heads/master
2020-12-25T03:00:18.835817
2015-09-08T08:59:21
2015-09-08T08:59:21
42,101,091
0
0
null
2015-09-08T08:54:23
2015-09-08T08:54:23
Python
UTF-8
Python
false
false
6,683
py
from pyrocko.snuffling import Snuffling, Param, Choice, Switch import numpy as num from pyrocko.plot import graph_colors as colors def to01(c): return c[0]/255., c[1]/255., c[2]/255. class PlotPSD(Snuffling): ''' <html> <body> <h1>Plot PSD (Power Spectral Density)</h1> Visible or select...
[ "sebastian.heimann@gfz-potsdam.de" ]
sebastian.heimann@gfz-potsdam.de
f5a1eed04c1ee8d3a1ddc5ce81fc7b55a2556021
260324a1ddd44ce43d432182d9a24e85520ccd28
/manage.py
b0540dc2795b540d41c18263b2556e2055a7e405
[]
no_license
bengHak/garden_backend
cb2de2df64e4308b7aac7a304b887531b5de46c6
c50682b388a82d1590bf39a793822c5b19954802
refs/heads/master
2020-11-30T04:42:32.983563
2020-02-22T07:30:51
2020-02-22T07:30:51
230,305,013
0
1
null
null
null
null
UTF-8
Python
false
false
637
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', 'garden_api_server.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ra...
[ "41236155+bengHak@users.noreply.github.com" ]
41236155+bengHak@users.noreply.github.com
a8612ac222aae209f9c985d771c92a8900557d7e
f76e8b03862264731be92bc16e4ced7b7e078b0a
/instagram/urls.py
64a8b30ddbdcb0ea06908f107e67a02fbccf2f17
[ "MIT" ]
permissive
bryomajor/instalite
b8d400d6b1ecc337e5008ddd6738e8df4653df05
c3854b30235960fae89682c55c88637fb8fb05ad
refs/heads/master
2022-12-11T15:06:32.222163
2021-04-07T10:13:46
2021-04-07T10:13:46
221,914,550
0
1
MIT
2021-06-10T22:16:42
2019-11-15T11:54:53
Python
UTF-8
Python
false
false
1,134
py
from django.conf.urls import url from django.conf import settings from django.conf.urls.static import static from . import views urlpatterns = [ url(r'^home/', views.timeline, name = 'index'), url(r'^$', views.home, name = 'home'), url(r'^signup/$', views.signup, name = 'signup'), url(r'^activate/(?P<u...
[ "bryomajor@gmail.com" ]
bryomajor@gmail.com
c86cb2828df06ddc266a9731fc96708cc80b6139
2e2a6afb6aeddd4f73cfb4d9162820ec3cb56175
/utils/exceptions.py
948212cbfb54236488fb9aab132d1321151f1002
[]
no_license
bingfengxindong/hat
dca6ea251a57c0e747933c05cc61dca1f2b56556
458df46c89ee2f6945225ad82cb932014750d1ac
refs/heads/master
2022-12-12T19:28:07.822885
2019-06-06T07:34:46
2019-06-06T07:34:46
188,367,211
0
0
null
2022-12-08T02:32:17
2019-05-24T06:42:07
JavaScript
UTF-8
Python
false
false
841
py
from rest_framework.views import exception_handler as drf_exception_handler import logging from django.db import DatabaseError from rest_framework.response import Response from rest_framework import status logger = logging.getLogger('django') def exception_handler(exc, context): """ 自定义异常处理 :param exc: 异...
[ "15736950639@163.com" ]
15736950639@163.com
b38db9e200c0c60b469d324e5e0dc94473edecc6
4b1035e4b55d6833efd07d74958a28adfe00536a
/NewsCrawler/RealRules.py
61f9e730e61834f2444c195032e78f2d029f65e9
[]
no_license
bigheiniu/MM-COVID
803f6e34a7f5156febf0a5ddb03e8fde19f0ec2f
316511a3c0e4e484cc94e48bf45bc7ae3ac42adb
refs/heads/main
2023-03-23T15:41:00.000218
2021-03-20T16:19:02
2021-03-20T16:19:02
311,139,384
30
6
null
null
null
null
UTF-8
Python
false
false
46,516
py
import os from util.Util import chunkify, multiprocess_function, get_selenium_driver import logging import configparser import time from bs4 import BeautifulSoup import traceback import requests key_words_list = ['sars-cov-2', 'covid-19', "coronavirus", "covid"] def ReliableCrawler(name, page_count, db): if name...
[ "yichuan1@asu.edu" ]
yichuan1@asu.edu
eecb609da64a18c488569976c547696dcfe2242f
a294a151e49df7ef3962c1953f0bf26e315403f6
/Switch/NewHorizons/msbt_reader.py
e7b5f5d76d51de4b9dff35ba8bb88d3356e04139
[]
no_license
NWPlayer123/Resources
6419f0c0a07bdbe5fc2f775911ad654685447b9b
8834c780abfb7c3bfe510291d3404689af5dd7a1
refs/heads/master
2021-11-24T20:36:29.904369
2021-11-06T21:02:29
2021-11-06T21:02:29
102,266,164
23
4
null
2019-10-04T19:51:17
2017-09-03T13:22:59
C
UTF-8
Python
false
false
4,137
py
#Very terrible msbt reader, only has the Aminal sections, just for #scraping data/string names #comment out a line in TXT2 if you want the raw strings returned #comment out a line in read_msbt if you want the raw label groups, not an array from struct import pack, unpack from io import BytesIO from binascii import hexl...
[ "NWPlayer123@users.noreply.github.com" ]
NWPlayer123@users.noreply.github.com
6f080c6049634c09d57e902811bd291c2241e3a2
995b0681b0808cc8b3a4e8312bd504fa4d7835bb
/src/transformers/models/mbart/__init__.py
b98d226625034e2b357c61c0162b99c5cc2ffdd9
[ "Apache-2.0" ]
permissive
NatLun137/transformers
3e4ae6adc145ddf7204ab127feb7f6d593873d58
5fc8cfddb7220cdfbea843ff4db890648fb7017e
refs/heads/master
2023-01-27T15:37:49.230126
2020-12-10T20:16:21
2020-12-10T20:16:21
320,227,406
1
0
Apache-2.0
2020-12-10T20:24:34
2020-12-10T09:49:28
Python
UTF-8
Python
false
false
1,293
py
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
[ "noreply@github.com" ]
NatLun137.noreply@github.com
736ef284dfd95e34847e321aa2fd21e8638dd397
4c6bbb104cde6efe6f416d215fd6783285a308df
/examples_py_har/examples_py/test_matplotlib_bars.py
a73a7623a51ceebc87b349cabc60571b849e6caf
[ "MIT" ]
permissive
alejack9/Transport-Mode-Detection
c416b391f6d4bd9727732f127a2e0ab5770fa39d
6b0a9bcec6f437895cb88f7adcb45b37defb9be4
refs/heads/main
2023-04-19T11:07:36.715263
2021-05-03T22:47:28
2021-05-03T22:47:28
427,343,561
1
0
null
null
null
null
UTF-8
Python
false
false
338
py
import matplotlib.pyplot as plt import numpy as np import math label=["2000", "2002", "2004", "2006", "2008", "2010"] valuesX=[0,1,2,3,4,5] valuesY=[10.3, 13.23, 15.12, 16.12, 17.13, 18.67] plt.axis([-1,6,10,19]) plt.bar(valuesX, valuesY, 0.5) plt.xticks(np.arange(6), label) plt.ylabel("Current values") plt.xlabel("Ye...
[ "paolapersico95@gmail.com" ]
paolapersico95@gmail.com
1d0bc33f6c20182daefaba5af9e8841db4fc115c
144d462ba4a87fbb89b37d28f421721eef4f04c8
/tic-tac-toe-socket.py
ef4dcda57c12bc47a2850749a548dea79d299a6f
[]
no_license
arjunoggu/coding
c0083c5c025225be9fba14b5dbbff0d47dea865d
3ac21506af8e0f3825c42b8157cbcc5cdf7730a7
refs/heads/master
2022-12-03T06:20:13.283573
2020-08-14T10:57:19
2020-08-14T10:57:19
286,955,441
0
0
null
null
null
null
UTF-8
Python
false
false
6,063
py
import socket class ServerClient: global board play = True board = ['', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '] def __init__(self): self.serversock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) def bind(self): port = 1235 self.serversock.setsockopt...
[ "arjunoggu11@gmail.com" ]
arjunoggu11@gmail.com
ad0949a54642f8e8a5cb3dca5d419b9568432a6d
e6ac0a3c010fe343f4e3228a3fcb7202cdb19a1e
/enron_mail/tools/parse_out_email_text.py
a6632fcd63c4571e959ebcd3044c3f85ec1f5806
[]
no_license
LinzzMichael/machine-Learning
c0b32775b0abd1f2d0b5229b2918f6133f908fe4
b88fb70318be9b3036492fabafe8749ca070a34f
refs/heads/master
2020-03-31T12:05:26.751012
2018-10-15T08:07:38
2018-10-15T08:07:38
152,202,717
0
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
#!/usr/bin/python from nltk.stem.snowball import SnowballStemmer import string def parseOutText(f): """ given an opened email file f, parse out all text below the metadata block at the top (in Part 2, you will also add stemming capabilities) and return a string that contains all the words ...
[ "1059548222@qq.com" ]
1059548222@qq.com
2c5ad861fcce9b4203e5ff1c9b6fbdabf1e10047
7c0ac74b1215a5e53698924b69b89221fec0cfd6
/torch_geometric/utils/matmul.py
8e8f4bb6aaea1430f1a94da1c9239473e4b18be1
[ "MIT" ]
permissive
ZackPashkin/pytorch_geometric
b30c1a220f3f5f593ec4ac12b696f2cac1ae4e0a
3663a96c8e649af46c29a32beb03f49cc97f5b86
refs/heads/master
2020-03-20T09:33:51.497347
2019-03-19T05:07:30
2019-03-19T05:07:30
137,341,025
0
0
null
2018-06-14T10:05:30
2018-06-14T10:05:29
null
UTF-8
Python
false
false
415
py
from torch_scatter import scatter_add def matmul(index, value, tensor): tensor = tensor if tensor.dim() > 1 else tensor.unsqueeze(-1) assert (value is None or value.dim() == 1) and tensor.dim() == 2 row, col = index out_col = tensor[col] out_col = out_col if value is None else out_col * value.uns...
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
176d1760118ea2e983185c8849cc45ed9634f172
cc337c93128d061af41fc2a6959c399d927fcdd3
/migrations/versions/5787a70a193d_.py
4ebf3c682e8d3cca3bb3f969f9d7b1c68299e8e9
[]
no_license
ackfla/fyyur-app
b982f3b406c81ec3e35d2e61d7c89508e1b1a34a
68967d27f518ca14fbecc7964f3079ac0428304f
refs/heads/master
2023-06-15T21:49:56.988926
2021-07-12T20:32:44
2021-07-12T20:32:44
372,621,714
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
"""empty message Revision ID: 5787a70a193d Revises: Create Date: 2021-06-03 12:21:32.078956 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5787a70a193d' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "lucyweath@msn.com" ]
lucyweath@msn.com
831580494562f0b3d39fe4fe401918c9104bb1e3
dfcf0df4fa83746f03bba57c1c64450771250e8c
/strava/cli/activities/commands.py
253dda9257fdebff79ee94d700807f88b58f4cf4
[ "MIT" ]
permissive
dparret/strava-cli
30d1eed3e8f0399966dc635f5df6950c9e319607
2426ea7f3fe4580aea352476b261cec31d3f0b11
refs/heads/master
2023-03-30T10:42:28.932015
2021-03-29T19:22:50
2021-03-29T19:22:50
325,947,785
0
0
MIT
2021-03-01T11:46:31
2021-01-01T09:07:17
Python
UTF-8
Python
false
false
297
py
import click from strava.commands import get_all_activities, get_weekly_activities @click.group(name='activities', help='[GROUP] Get a list of recent activities.') def cli_activities(): pass cli_activities.add_command(get_all_activities) cli_activities.add_command(get_weekly_activities)
[ "damienparret@hotmail.com" ]
damienparret@hotmail.com
90a9aef2b70d49e4f51075425d4970640c8bbdee
c3aaa011108ed031e8369611ed6658c85fb596fe
/mainBot.py
209da3213dbfefeb511dae1a1c359b1e399b3f16
[]
no_license
MBObaaqir/LanguagePoliceBot
bf4fcf3724e83ea0f8499429909a67f3daba16bd
8d8c6e8ef2cb2c7935aaa5bbaaf8b1817af35d74
refs/heads/main
2023-06-05T17:02:57.298460
2021-06-29T15:18:39
2021-06-29T15:18:39
381,026,168
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
from telegram.ext import Updater import logging import helpers from telegram.ext import MessageHandler, Filters import environment polling_handler = MessageHandler(Filters.text & (~Filters.command), helpers.polling_threading) # Enable logging logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(mess...
[ "baaqir@hotmail.com" ]
baaqir@hotmail.com
b8ff4a45267c078994fe4c3210e79026135f1622
4dc5fcc1277e2f4d4cc58a88a26873a2f41711d4
/Test/re_complie/re_test.py
2759f5427b025195ced8055bdf75b54e9585834f
[]
no_license
pqGC/Python_Note
9db573feacb7eddc8fbd9cf5182e60e775429f18
59d2dd5550e07a707ba4582edebb891f1c262485
refs/heads/master
2020-04-02T12:57:13.592077
2018-10-24T08:05:19
2018-10-24T08:05:19
154,459,818
1
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
import re # """(?:\"?|\')(?:https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|](?:\"?|\')""" # pattern = "document\.write\(.<iframe.*?src=\s*(?:\"?|\')(?:https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|](?:\"?|\').*?>" # content = """document.write("<iframe width="100" height="10...
[ "pq@anfou.cn" ]
pq@anfou.cn
7684611bf1669d9ca27f8b1ac9469806c3fcf51f
0638fb87d24591f57f9a0c08da3e7c3a825a5443
/env/bin/easy_install-3.4
b8f5a91e2d5558719778711ae0845bf321796b09
[]
no_license
lscalpati/hackathon-houston
2e168635b7355b00fd11aed1073b1b016776436f
b5e971be8ecbde9bf39cf8819ebaef2996a77839
refs/heads/master
2020-06-12T19:27:37.415309
2016-12-06T21:11:21
2016-12-06T21:11:21
75,765,951
0
0
null
null
null
null
UTF-8
Python
false
false
306
4
#!/home/louscalpati/devel/appengine-sample/getting-started-python/6-pubsub/env/bin/python3 # -*- 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())
[ "louscalpati@google.com" ]
louscalpati@google.com
ae45020c21d9815b4fa6c936bb2c2acf39771a1d
dd89440eadf6942eabe8a19d3c4757ffe8cd476c
/algorithms/gcd.py
220c58b564505aab36ccd877fe31f922289be214
[]
no_license
raythurman2386/Notes
4bfcf8df599e4fe321c808d149a64e637e8a5e6f
b4fecb71866a3bcb362c136410bfc5c510637ce5
refs/heads/master
2023-03-15T20:38:59.968758
2022-03-03T16:02:35
2022-03-03T16:02:35
174,013,500
0
0
null
2023-03-06T00:40:39
2019-03-05T20:09:49
JavaScript
UTF-8
Python
false
false
252
py
def greatest_common_denom(a, b): while b != 0: temp = a a = b b = temp % b print(a) return a greatest_common_denom(20, 4) greatest_common_denom(50, 15) greatest_common_denom(200, 60) greatest_common_denom(60, 96)
[ "raymondthurman5@gmail.com" ]
raymondthurman5@gmail.com
fb45888ce05b385b1eed66c4818952c494f6e702
ca93da6ec6bed83d1bf7bfc17c0ea8524e2f2032
/twitch.py
b5e88089af127b683a8c7bd7117e580c66c034d6
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pa-pyrus/ircCommander
1fa570a46c6ff75f2e804977669d157dc1ac4b2f
4b1121957dd7feaf3e416de718f1ef0fdc0c52d6
refs/heads/master
2016-09-05T23:14:18.429977
2015-08-30T07:42:03
2015-08-30T07:42:03
30,403,614
0
1
null
null
null
null
UTF-8
Python
false
false
2,561
py
# vim:fileencoding=utf-8:ts=8:et:sw=4:sts=4:tw=79 from binascii import crc32 from json import loads from twisted.internet.defer import Deferred from twisted.python import log from twisted.web.client import getPage TWITCH_URL = "https://api.twitch.tv/kraken/streams?game=Planetary+Annihilation" class TwitchParser(ob...
[ "pa-pyrus@users.noreply.github.com" ]
pa-pyrus@users.noreply.github.com
41e932859262ecd130fa82758da732679b561e81
b73482ee0df7b4e8514c21f2f98b99d98ff8013d
/3 workshop/try_service_sum.py
5cf274db2428c4af86bb9dfa415770020d58f05a
[]
no_license
JjVera96/Client-Server
167e006b6d4b18c2753768ced3bccf6beabf2103
66fdd96b09aa676edba15e9d9a97fa20453f521f
refs/heads/master
2020-03-25T05:00:20.043584
2018-11-24T17:29:13
2018-11-24T17:29:13
143,424,458
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
import socket HOST = '192.168.8.229' PORT = 5500 s_recv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) print 'Listening to ip {} in port {}'.format(HOST, PORT) s_recv.bind((HOST, PORT)) s_recv.listen(1) conn, addr = s_recv.accept() print 'Connected by', addr conn.send('Ok') data = conn.recv(1024) print(data) whil...
[ "utp@utp" ]
utp@utp
54dfda9b7aa9d7fa1d61f506b4266155a7266e1a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/294/80466/submittedfiles/testes.py
9d7f6042a7d4b71cbfecc32848c07dbb8ef2064f
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO nome= str(input('Qual o seu nome? ')) print('Olá' +nome+ 'seja bem vinda!')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5ffb982e62eb751b952318b60fb800f712713ca9
f3f732881b813dd5d6e1239618f5d4d6bb394db7
/160.intersectionLinkedList.py
6fc29a7e0f2285d1531677f1a175803bb8ec1e0d
[]
no_license
umnstao/leetcodeOJ
45917528abb693fa23678356497267e4ce571a4f
f7cb7cfa6e1f04efd741c2456ad930db48101573
refs/heads/master
2021-01-21T14:57:22.257064
2017-11-22T22:57:48
2017-11-22T22:57:48
95,362,154
0
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, headA, headB): """ :type head1, head1: ListNode :rtype: ListNode """ lenA = 0 ...
[ "umnstao@gmail.com" ]
umnstao@gmail.com
334a9993a10f1558bd6a909096986c6cb5f989ec
14c732e368947ed5e347bd8554e23f7cc4e0e865
/ASAMs/ARCHIVE/GAUSSIAN/GaussianSAM_snn.py
54da4c0faa9b150f656044d3cf75aab380dd102e
[]
no_license
rosenfeld88/FuzzyComposer
cc8af614aca9304c2a332d1de3ef237567020fcd
b149dc9001871edad93dff7f11ee6ce593a8cec4
refs/heads/master
2020-03-14T20:25:05.978269
2018-06-29T21:53:16
2018-06-29T21:53:16
131,776,328
0
0
null
null
null
null
UTF-8
Python
false
false
8,146
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import os from six.moves.urllib.request import urlopen import numpy as np import tensorflow as tf import UTIL.ChordSymbolsLib as chords_lib import scipy.io as spio ##FUZZY MUSIC COMPOSITION## #GAUSSIAN S...
[ "tmrosenfeld88@gmail.com" ]
tmrosenfeld88@gmail.com
303cb5ff1bf3c1ad69ba4c41f7e30fbfd19991b6
d775ed27e3205eb028c13ceb45289a64239ea69a
/tests/auth_test.py
181d026214be1bd921864491ca1010f37613cae5
[ "Apache-2.0" ]
permissive
LibertyGlobal/sequoia-python-client-sdk
8cd50db9bdc8ed3645a25fa7e6b298bce0a181fd
0468ca4fa20a61bb840be39c6c68a59a83f686cd
refs/heads/master
2021-03-04T05:19:34.772668
2020-02-10T14:01:58
2020-02-10T14:01:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
import unittest from hamcrest import assert_that, is_ from sequoia.auth import TokenCache, ClientGrantAuth class TestClientGrantAuth(unittest.TestCase): def setUp(self): TokenCache._token_storage = {} def test_given_token_is_not_provided_and_it_is_not_in_cache_then_token_is_none(self): auth...
[ "marco.romero.andujar@gmail.com" ]
marco.romero.andujar@gmail.com
e3927f2bbe1447e57c5f9862e6bdbbed472c3f4d
ef72a7df3c39c215dd90ac5e72b164eb9d7da892
/rpg/monsters/imp.py
b23f023017e8acdf3b1f1eebfbf51bb93c44f41b
[]
no_license
thebmo/messing_around
d49a87fc1ff722428ea67bc710ca99ad287098bd
4cb12e0b224cf7d1f93cb4ae6ff7603619fb7aa9
refs/heads/master
2021-01-13T02:18:50.799898
2015-04-08T01:12:41
2015-04-08T01:12:41
28,570,375
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
""" Imp monster sub-class of parents Monster and NPC. """ from monster import Monster from npc import NPC class Imp(Monster, NPC): NAME = 'Imp' STATS = { 'STR': 5, 'AGI': 3, 'INT': 1, 'CHA': 0, 'LCK': 0, 'max_hp': 6, 'max_ap': 1, '...
[ "bmosier@gmail.com" ]
bmosier@gmail.com
fb05e86a7d9d3905fe1578338c2c578881d1bbd9
139654b5277164f10e1c67cd03ac2131e8101ffb
/eventex/settings.py
036383c079b56720f8bcf6b1b727b94e06f71d6a
[]
no_license
WSDSilva/eventex
b2267875a7a507301515db643e761cc4715a99ca
97340e9ca5456bbfcb97837f4e851c341afdd7f6
refs/heads/master
2020-12-25T14:39:20.545607
2016-11-17T19:43:20
2016-11-17T19:43:20
66,491,101
0
0
null
null
null
null
UTF-8
Python
false
false
3,753
py
""" Django settings for eventex project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os f...
[ "wandersonduarte.br@gmail.com" ]
wandersonduarte.br@gmail.com
58387329bb15b94260f2528c77fccfb21cdb8190
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/SqbyWYwqChQroXfhu_23.py
85771451090fc8484ee47a515d24c515837f537c
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
""" This challenge concerns _square matrices_ (same number of rows and columns) as the below example illustrates: [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ] The entries in the diagonal line from the top left to the bottom right form the _main diagonal_ of the matrix. In this case, 1,5,9 form the...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
36be545091b5a5b71812ae79c709ef9bda995fc8
6865f26fbbd6d100454712b27deac1c1338fcdb9
/ec_sri/objects/product.py
9db9c8409b6167b3b22d8037fff143d55b5496e5
[]
no_license
syscod/addons_account
9978408815d6a51130758b5a90d763e1a2d333f2
073378c7ff62b3c348c25dbea179c2936ee62c53
refs/heads/master
2021-01-10T19:11:27.186835
2013-07-24T18:45:11
2013-07-24T18:45:11
10,797,382
0
1
null
null
null
null
UTF-8
Python
false
false
2,126
py
# -*- coding: UTF-8 -*- # ######################################################################### # Copyright (C) 2011 Christopher Ormaza, Ecuadorenlinea.net # # # #This program is free software: you can redistribute it and/or modify ...
[ "edtegomez@gmail.com" ]
edtegomez@gmail.com
ff54c9c913e9a0d876744c59e5036fa4992f106c
cbab8b9218b4c7965e6d1dacfb2104e4096c18d1
/backend/helo_tesrt_dev_2404/urls.py
fbe6d1e20a84147bb29ba5acf7482a6bb158ce79
[]
no_license
crowdbotics-apps/helo-tesrt-dev-2404
480408a7b426413ebaa8803e8e754efae08ea091
44599c5058dc7b284bdd3eaba3e38b2b5d5c33db
refs/heads/master
2023-02-06T01:56:10.488868
2020-04-07T15:51:58
2020-04-07T15:51:58
253,755,570
0
0
null
2023-01-24T01:57:30
2020-04-07T10:04:28
JavaScript
UTF-8
Python
false
false
1,929
py
"""helo_tesrt_dev_2404 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home')...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0d0662c43a5d9a7703fd6b09578c2a3ee47ea32e
73ef727bf3a505981197c09c445d7856a4c67a83
/lib/shz_models/rel_model_depth_union.py
73f205bbe718b8657dc52cc76d927118d2c5b853
[ "MIT" ]
permissive
sharifza/Depth-VRD
ce44c49ae289de344910b6cb4e46b2b635d7532d
39fb0d493f44ac2daf4bbc8569a1c74e8828da5f
refs/heads/master
2021-01-01T01:47:41.798736
2020-02-02T12:54:33
2020-02-02T12:54:33
239,128,239
1
0
MIT
2020-02-08T13:45:56
2020-02-08T12:22:53
null
UTF-8
Python
false
false
6,300
py
""" Depth-Union relation detection model """ import torch.nn as nn from torch.autograd import Variable from torch.nn import functional as F from lib.depth_backbone.depth_cnn import DepthCNN, DEPTH_DIMS, DEPTH_CHANNELS, DEPTH_MODELS from lib.shz_models.rel_model_base import RelModelBase from lib.get_union_boxes import...
[ "sina.baharlou@gmail.com" ]
sina.baharlou@gmail.com
bc488533414e97ad8722f8961c39cf8f985447c0
d4a62bea6e8393d47576d66de3b0a187df8dfd02
/erlotinib/apps/_simulation.py
f50a26c223dfb055ae92d509ea670cf6ca7cebaa
[ "BSD-3-Clause" ]
permissive
pkpdapp-team/erlotinib
13ece87728473a428fed9d77c094c29ed0e45b4b
fbdfffe0d0e3feab6b45c9a3f983f8dd3fcfdad3
refs/heads/main
2023-02-28T09:43:53.439689
2021-02-10T15:22:25
2021-02-10T15:22:25
337,726,135
0
0
BSD-3-Clause
2021-02-10T13:03:58
2021-02-10T13:03:57
null
UTF-8
Python
false
false
13,900
py
# # This file is part of the erlotinib repository # (https://github.com/DavAug/erlotinib/) which is released under the # BSD 3-clause license. See accompanying LICENSE.md for copyright notice and # full license details. # import warnings import dash_bootstrap_components as dbc import dash_core_components as dcc impor...
[ "david.augustin@gmx.net" ]
david.augustin@gmx.net
247c239100ef619a331be5d46ae4dabbf1f51393
bf69394cc6015f2c8ac28ae927be2a83b96facf3
/lib/utils/training_stats.py
6aff48aa5ddbb6c269cd19eb13e3b1621d6a791a
[ "MIT" ]
permissive
fangyuan-ksgk/Detectron.pytorch
bf1133b73763ec682b4f219a857e81515d86ebf5
e8dfb86fbc68d30b9f443bc6aec722c5e4ce301e
refs/heads/master
2023-03-16T04:48:22.648717
2018-04-30T14:54:28
2018-04-30T14:54:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,618
py
#!/usr/bin/env python2 # Copyright (c) 2017-present, Facebook, Inc. # # 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 ...
[ "roytseng.tw@gmail.com" ]
roytseng.tw@gmail.com
c697d125b0367a7834e07b1127c2335e79570e79
2dfbb018568209864544375de59a157c8752689a
/skimreads/comments/migrations/0002_auto__del_field_comment_reading__add_field_comment_note.py
7b339a69401d147362ef5085086bdfaa985c3fb8
[]
no_license
tommydangerous/skimreads
7df4bde603c6122f20242d4591357802a4484f9f
6e73341ab034b52bb48cde4f076948946944d2a9
refs/heads/master
2020-05-17T23:20:15.020065
2014-09-27T06:28:34
2014-09-27T06:28:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,250
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Comment.reading' db.delete_column('comments_comment', 'reading_id') ...
[ "quantumventuress@gmail.com" ]
quantumventuress@gmail.com
761276023e111f4ca39b6d67b8224aa0d968fd79
ab07c40a2f2a3149ceef0aa2965a7a5979cdb7ac
/constancias/wsgi.py
e884794ab41774dd21531c84957f586cdde837d0
[]
no_license
softwareguru/constancias
b92f3a02d61201a92d4270c4e80c1929157b8a27
87101589a60d6a15d9222bcfcb1fe819a4e9f32f
refs/heads/main
2022-11-30T17:59:12.288811
2022-10-31T19:34:36
2022-10-31T19:34:36
2,902,746
0
1
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for constancias project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "pedro@sg.com.mx" ]
pedro@sg.com.mx
35df46f2b718dfffc5c21fdb1f400f09aca891c5
144941dcc3e89f1f400054803b65c2ec5f267f77
/my_project_web_v7/data/users.py
43aaa96cd01743b00ac14d06cfa4b19fd043c55b
[]
no_license
SZel393/cows_and_bulls
518c214ebfc0637a7927add57ab7eec1c3943964
201d236a9ff744575154f88e8e434d13b0d426f4
refs/heads/main
2023-04-07T11:16:14.493398
2021-04-21T10:49:42
2021-04-21T10:49:42
359,844,887
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
import datetime import sqlalchemy from .db_session import SqlAlchemyBase from sqlalchemy import orm from flask_login import UserMixin from werkzeug.security import check_password_hash, generate_password_hash class User(SqlAlchemyBase, UserMixin): __tablename__ = 'users' id = sqlalchemy.Column(sqla...
[ "noreply@github.com" ]
SZel393.noreply@github.com
6e942ba9777842cc7011fd0a18a65bbc177ac8d5
ab9f1f20b6b98537f0e80bf77d8fd558fbc0d6c7
/pcap/day10/__main__.py
ecfe6d7721cf85f422c42df11312cd478d04c76c
[]
no_license
Starchery/cit-assoc-exam
67c0ec308a4439cfbb943299c516f549a42c1ae7
d93d3d20dc3f02758a14333de617408c3aed6bf5
refs/heads/main
2023-01-22T10:45:56.429272
2020-11-24T23:50:02
2020-11-24T23:50:02
309,832,085
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
"""Docstring for __main__.py""" from pcap.day10.uploader import Uploader # If this file is being run directly # instead of being imported if __name__ == "__main__": uploader = Uploader() uploader.upload() print(uploader.url)
[ "pivotsallit@gmail.com" ]
pivotsallit@gmail.com
a75ea16fc96deba8ed6592b54837c4622da43d54
b9a2097b1ff526f0f980cb44f321ecdecc071baf
/backend/manage.py
4772a9003f0358346446794a2b58b87dce416f4e
[]
no_license
crowdbotics-apps/nwh-elkhart-metrics-26614
ce08c984d6c939b7f7cd5158b5c39fe37be94dcc
e86088482281f83fe789ce0b492e76981df1c08c
refs/heads/master
2023-05-01T08:17:44.464562
2021-05-12T18:42:43
2021-05-12T18:42:43
366,794,511
0
0
null
null
null
null
UTF-8
Python
false
false
659
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", "nwh_elkhart_metrics_26614.settings" ) try: from django.core.management import execute_from_command_line except ImportEr...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5905d6b90141004034939f0dd662452a6aaefdaa
334c92f848ae51e10b713e305d91f40b22e13371
/파이썬/13908_비밀번호.py
86a0cf6b892469a1acf6b65cb20dae3f814c89ed
[]
no_license
brrgi/-Algo
798e5d705cad43dab16f5daacb8ef53f9027316e
2d04794c5d3213d3e30772bdf1e9fd25aae12e14
refs/heads/master
2023-08-13T04:19:16.264407
2021-10-08T14:53:02
2021-10-08T14:53:02
207,121,055
1
0
null
null
null
null
UTF-8
Python
false
false
283
py
result=0 start=10 n,m=map(int, input().split()) k=list(map(int, input().split())) def fact(a): temp=1 for i in range(a): temp*=i+1 return temp for i in range(m+1): result+=(int)(fact(m)/(fact(m-i)*fact(i)))*pow(start,n)*((-1)**i) start-=1 print(result)
[ "48500985+brrgi@users.noreply.github.com" ]
48500985+brrgi@users.noreply.github.com
ea051c5911af350e0ba353248c8ec40515baaea9
132f19c0424b4e0943567cb0bfb27380087fe3cc
/pynanacolight/core.py
247334466f6d98b0cb4c8ef44205ae68eb8b4f87
[ "MIT" ]
permissive
mursts/PyNanacoLight
bb9a9d3c572ef8ee7eff6103892beed171a36304
5a9be2a571c2ecbc20a9a43d333ae1e94232d000
refs/heads/master
2020-03-31T05:33:19.586432
2018-09-22T13:22:34
2018-09-22T13:22:34
151,950,219
0
0
MIT
2018-10-07T14:30:31
2018-10-07T14:30:30
null
UTF-8
Python
false
false
5,520
py
# -*- coding: utf-8 -*- from pynanacolight.page import LoginPage, MenuPage from pynanacolight.page_creditcharge import CreditChargeMenuPage, CreditChargeHistoryPage, CreditChargePasswordAuthPage, \ CreditChargeInputPage, CreditChargeConfirmPage, CreditChargeCancelPage, CreditChargeCancelConfirmPage # CreditChar...
[ "riskreturn5@gmail.com" ]
riskreturn5@gmail.com
a43bb394d9813203066b09dc5296d553f9d21924
e9b1be3f47a135aa08c2dfd9630f364dda7a0f8f
/Problemsolving/4933 뉴턴의 사과.py
f3feed3acfa38a7f347c5550c80480cf49520331
[]
no_license
JudyH0pps/Algorithms-and-Problem-Solving
0acdf9a5799b2d7f256cf3fd7517faef0d5bf8f9
203dc39978549a20e29fa0a2c1ad7bb780e61853
refs/heads/master
2021-11-23T03:16:48.270092
2021-11-04T05:14:59
2021-11-04T05:14:59
235,740,611
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
import sys sys.stdin = open('input.txt') def recur(nodes1, nodes2): print(nodes1, nodes2) if nodes1[-1] != nodes2[-1]: return False if len(nodes1) == 1: return True l = (len(nodes1) - 1) // 2 return recur(nodes1[:l + 1], nodes2[:l + 1]) and recur(nodes1[l + 1:-1], nodes2[l + 1:-1])...
[ "ssafy_coach_43@ssafy.com" ]
ssafy_coach_43@ssafy.com
fa6df867465274ac8444a135a311aa00afd86d2c
48d08e7c20628479ea69b4a1a51f99a3db26c79d
/MathPy/04_sympy_intro.py
9a8b4683b4bf945cb6a3376f182c1efe1b83b73d
[]
no_license
PyRPy/stats_py
59ae0975c5b549fb47f7630b1f232caf715fe2ff
0c87ebf7f84eb7a21bcedb3234170ef220ca2f14
refs/heads/master
2022-09-27T21:01:53.316765
2022-09-17T01:52:09
2022-09-17T01:52:09
167,268,454
4
6
null
null
null
null
UTF-8
Python
false
false
379
py
from sympy import Symbol # ------------------Defining Symbols and Symbolic Operations ------------------- x = Symbol('x') print(x + x + 1) a = Symbol('x') print(a + a + 1) # find the original symbol object print(a.name) # define multiple symbols from sympy import symbols x, y, z = symbols('x, y, z') s ...
[ "noreply@github.com" ]
PyRPy.noreply@github.com