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
c56346d5e02e189e90e5374d286151645a824c52
87ff30e00840128a191a77ff16f4ce98d812d91b
/image processing/recognize/models.py
a88061b54ff71ab57ee700f6cd63e8ded8421991
[]
no_license
joshtechnologygroup/roomvacancydetector
22b1d7b6c93ae94d7e0bc842f2417a4950ea8bcf
4618c6e6306a5ae0216e5c3d91360c64a2724a6c
refs/heads/master
2021-01-20T07:18:48.457305
2017-08-27T06:17:52
2017-08-27T06:17:52
101,531,991
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from django.utils.timezone import now import uuid class Document(models.Model): video = models.FileField(upload_to = 'videos/' , blank=True, null=True) image = models.FileField(upload_to = 'images/', bl...
[ "sakskam.kakkar@joshtechnologygroup.com" ]
sakskam.kakkar@joshtechnologygroup.com
ab0328589096ab7be9b25479f128feea2fa40df5
0ed714e120347eda4fdd763c08870ee5ac58c097
/projet-back1/Tickets/models.py
be7746b32b1f1ad443f6b88299e8c71754d2a0c1
[]
no_license
eunice-manuela/projet-django
4ac09ddee3c45e7787e56aaba3e1732d563b5b98
1c67fd2a078b099139c18b960ce13d3f3187967d
refs/heads/master
2022-11-12T23:07:23.429407
2020-07-14T14:52:30
2020-07-14T14:52:30
257,627,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
from django.db import models # Create your models here. class Services(models.Model): name=models.CharField(max_length=20) addresse =models.CharField(max_length=20) class User(models.Model): name=models.CharField(max_length=200) service=models.ForeignKey(Services, on_delete=models.CASCADE) class resp...
[ "lemotieuarold@gmail.com" ]
lemotieuarold@gmail.com
7665dceb01aafd365f05ce088641e70e85a0288a
af7c03e8dafcbc22dfc814734f237c5b92c25a2b
/db/manage.py
ed0ac32a380536b3a7c625fc6a0a589dbec33ac2
[]
no_license
rafilurie/ReadMate
4832a36ce32a2f69478d1ff4d3ef7f2f1aee4acd
6c78e119b7df88fdaa40176f516493b54c691b9e
refs/heads/master
2021-01-22T02:28:13.953086
2015-07-25T02:41:16
2015-07-25T02:41:16
39,038,894
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
#!/usr/bin/env python from migrate.versioning.shell import main if __name__ == '__main__': main(six='<module 'six' from '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/six.pyc'>')
[ "afrancis@betterworks.com" ]
afrancis@betterworks.com
a5c8b0844f3e3f0990d4f845b8d75cdee5f9893d
3a1f697938a743c7fdc1ec0dd956dc18afa96bc2
/dealextream/dealextream/items.py
312ff44184ac60dc7796b836a6b1a427ecf3b2b8
[]
no_license
Ashish-singha08/scrapers
ee3828dd139f745f49ad1ee6797bce0300313f7b
45ebc27daba4cd4eaa7691d7ef9e91820ddef055
refs/heads/master
2022-12-24T10:23:23.085775
2013-04-23T22:40:01
2013-04-23T22:40:01
300,263,471
0
0
null
2020-10-01T12:00:22
2020-10-01T12:00:21
null
UTF-8
Python
false
false
308
py
# Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/topics/items.html from scrapy.item import Item, Field class DealextreamItem(Item): # define the fields for your item here like: title = Field() price = Field() img_url = Field() description = Field()
[ "shluvme@gmail.com" ]
shluvme@gmail.com
182b07851c952743938682ef9603220e5b4d1cbc
03a37d9f3fa8ed6e9d72f1ba4f1263ef11ab223b
/plugins/cisco.py
1f9f15ef1cb94e9288b7c36a58ac8080ed991ca2
[ "Apache-2.0" ]
permissive
mjethanandani/pyang-cisco-plugin
4fc989de37d8a04a8a7a3060957308f6147c68df
922c0849c47d5ec9f2f3a4a609f8db0d6eb87325
refs/heads/master
2020-05-26T14:11:05.089245
2017-06-13T16:46:25
2017-06-13T16:46:25
85,004,446
1
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
"""Cisco usage guidelines plugin """ import optparse import sys from pyang import plugin from pyang import statements from pyang import error from pyang.error import err_add from pyang.plugins import lint def pyang_plugin_init(): plugin.register_plugin(CiscoPlugin()) class CiscoPlugin(lint.LintPlugin): def ...
[ "mjethanandani@gmail.com" ]
mjethanandani@gmail.com
369cce71e52ec528a93ffd23afb6bc58a3eb8d11
85e4024fa2f295328b759f05c50cbb84ae3e775b
/flask-simple-image-gallery/gallery/views.py
6642173fa0aba557fdaaf43389de807320280e7b
[]
no_license
chard4/GPhoto2FlaskStuff
105fd54c2df9859827f24f183a668ee7a63a4228
c8555c191ad3bc54f4530cbd81630bb3e96b788e
refs/heads/master
2021-01-20T05:27:10.258589
2017-08-25T22:39:42
2017-08-25T22:39:42
101,445,429
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
from flask import Blueprint, render_template, request, current_app import simplejson from .models import Image # Static files only work for blueprints registered with url_prefix # https://github.com/mitsuhiko/flask/issues/348 gallery = Blueprint('gallery', __name__, template_folder='templates', static_folder='static...
[ "captaincardo@gmail.com" ]
captaincardo@gmail.com
5fd268ba2b6a8383a11a014c24b3443640f8143d
d647dc6b7e5594d7a52a6e4f599e6b55d20d8d85
/clustR.py
f50583b84da44e44658f8a35a21b0fa13ed19021
[]
no_license
itclunie/Python_wiki-VIIRS
2147f8eb984ceaaf799d1c123eea3fc5cf82d7b5
71a1a1693d66c91ccab203bfae33c05f15b47df5
refs/heads/master
2021-04-30T04:48:33.111434
2018-02-14T18:04:53
2018-02-14T18:04:53
121,543,113
1
0
null
null
null
null
UTF-8
Python
false
false
1,582
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ http://nbviewer.jupyter.org/github/lmcinnes/hdbscan/blob/master/notebooks/How%20HDBSCAN%20Works.ipynb break into months hexify, then cluster within hexes? # of groups within hexes? """ import hdbscan, sys, csv import numpy as np def append2csv(inLst, csvPathName): ...
[ "noreply@github.com" ]
itclunie.noreply@github.com
09944950b10af988e22dc6cc5424f94d952c0407
8d72c34a87195091fcaa01266cb5bdfc66f44066
/almoxarifado/users/forms.py
2e5d14d5c1ff7b573bbc2a246f83bcf3f1c11108
[ "MIT" ]
permissive
GustavoCruz12/ALmoxarifadoLimpo
cef0a13f640b2fc0a37bc75fcd390af40c7d63dc
13ab2113cc9e41e9268ede85562da712f86c7139
refs/heads/master
2020-03-31T18:21:19.557793
2018-10-10T18:16:00
2018-10-10T18:16:00
152,294,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
from django.contrib.auth import get_user_model, forms from django.core.exceptions import ValidationError from django.utils.translation import ugettext_lazy as _ User = get_user_model() class UserChangeForm(forms.UserChangeForm): class Meta(forms.UserChangeForm.Meta): model = User class UserCreationFor...
[ "gustavocruz201419@gmail.com" ]
gustavocruz201419@gmail.com
71ef274c3bc61c3ed6659ee4c1974e6c92f063a8
45b013eddc741fc8525676a90df3f076171f4424
/apbot_nav/scripts/countertop_spray.py
0b0e33b8ae4b7d62664110c09854705892cfb80b
[]
no_license
NickNair/GigaRoboticsArtpark
e9f0181c0121e140c628fa082f82fdc8fc6c2650
5ae1da24ff7f447a2777d7e1dc7b9d53fdf699b7
refs/heads/main
2023-07-27T22:54:48.886149
2021-09-06T17:52:40
2021-09-06T17:52:40
403,372,805
1
2
null
2021-09-06T17:52:41
2021-09-05T17:35:03
Python
UTF-8
Python
false
false
19,243
py
#!/usr/bin/env python3 import rospy import actionlib import subprocess import math import sys import copy import moveit_commander import moveit_msgs.msg import geometry_msgs.msg import actionlib import tf import sensor_msgs.point_cloud2 as pc2 from std_msgs.msg import String from move_base_msgs.msg import MoveBaseAc...
[ "noreply@github.com" ]
NickNair.noreply@github.com
8e7c21c5c368200821fd72558b7f330492b6a1fe
5f01ee9fd052e5f148d1d8c6bbdd76d632420e8c
/5.Strategy/stage4CompositeIteratorStrategy_v2.py
5b95c3b17cf8f4f1b276828f287f6aa4ad13c8d3
[]
no_license
ShravyaKadur/articles-querying-using-dp
3122182f3727cd7d545a51be60b468c4f65f18fe
40a6fdf109a2bf5c083b0a7782724ad35550b8a6
refs/heads/master
2020-12-31T22:57:20.150829
2020-02-08T03:34:58
2020-02-08T03:34:58
239,063,593
0
0
null
null
null
null
UTF-8
Python
false
false
11,760
py
import os class Node: parent = None def setParent(self, parent): self.parent = parent def display(self): pass class SetN(Node): def __init__(self, val, cat): self.subsets = [] self.setVal = val self.setCat = cat def display(self): for se in self.subsets: se.display() def addSubset(...
[ "noreply@github.com" ]
ShravyaKadur.noreply@github.com
609f143ff981921a46a56f69577e2d76754c0514
e370cc68a85e075c2f2697580e321ecc73878868
/Algorithms/DynamicProgramming/more/zig_zag_sequence.py
8522c7f899502260fc575c2bbfbddd0da7ab0b24
[]
no_license
mayksi/HackerRank
6a3154241be2ca105424cc5e1a17d045e7405ec0
702848bb671d601305fd319198fd5f272c4c1094
refs/heads/master
2021-01-10T07:28:37.398198
2016-01-11T17:26:09
2016-01-11T17:26:09
48,819,840
0
0
null
null
null
null
UTF-8
Python
false
false
2,487
py
''' A sequence of numbers is called a zig-zag sequence if the differences between successive numbers strictly alternate between positive and negative. The first difference (if one exists) may be either positive or negative. A sequence with fewer than two elements is trivially a zig-zag sequence. Detailed problem statem...
[ "mayksi@users.noreply.github.com" ]
mayksi@users.noreply.github.com
d82ebe724a02cf28cbe8e99a32c39dcf8103c759
e79ec78ff3a1e7d28a933270ce873365090d92e8
/corr_engagement.py
8e15ee49a577997786b67fc88e750f7fb8fb8600
[]
no_license
mrksbrg/stats_utils
fecd5777b5939d5bd0b2dbf36b99f9590e8b10ed
3222cd8df42a5c337cdb88dbd2f8ba7d8fd62466
refs/heads/main
2023-05-27T23:33:54.691936
2021-06-20T19:00:35
2021-06-20T19:00:35
378,486,526
0
0
null
null
null
null
UTF-8
Python
false
false
2,497
py
# calculate the Pearson's correlation between two variables import numpy as np from scipy.stats import pearsonr import matplotlib.pyplot as plt timestamps = np.arange(1, 25, 1) timestamps_cleaned = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]) engagement = np.array([70, 70, 78, 78, 76,...
[ "markus.borg@ri.se" ]
markus.borg@ri.se
f09a6697e42c5c90a16869f745cfbe0b46dd7f73
b39b0625795b0640a6a68151f2012ce139f423b8
/iaas/swagger_client/models/update_cloud_account_vsphere_specification.py
fd4577902eca7039a339f64a80d244677ff174aa
[]
no_license
darrylcauldwell/casCodegen
8e82b1f08e8260482996aec3d8be10934a65dd03
1f1ff9ab8a33102bcfcb8be276d51992d96bcb61
refs/heads/master
2020-07-27T14:42:28.550855
2019-09-17T18:30:28
2019-09-17T18:30:28
209,127,702
0
0
null
null
null
null
UTF-8
Python
false
false
6,490
py
# coding: utf-8 """ VMware Cloud Assembly IaaS API A multi-cloud IaaS API for Cloud Automation Services # noqa: E501 OpenAPI spec version: 2019-01-15 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.model...
[ "dcauldwell@dcauldwell-a01.vmware.com" ]
dcauldwell@dcauldwell-a01.vmware.com
905c27335a29c06c69925c75220d18b736ff3e98
89c7232a954357302926b0985b0b6a58f01d6e38
/sensitive_attribute.py
3ff2ccd1ee4c36a4aecab363c106a2f6d2533d33
[]
no_license
BJTFDGR/Embedding-Processing
516f4b11a5ab1a240ffd69c6d5a82422c7e95bed
038c6b86bb558fa5aa0193295eecad5690596b8e
refs/heads/master
2023-07-18T20:36:36.241202
2021-09-27T05:25:32
2021-09-27T05:25:32
363,048,034
0
0
null
null
null
null
UTF-8
Python
false
false
9,713
py
import sys import os import torch new_folder='/home/chenboc1/githubfolder/bookcorpus/books1/pt/' sys.path.append(new_folder) os.environ["CUDA_VISIBLE_DEVICES"] = "2" # If there's a GPU available... if torch.cuda.is_available(): # Tell PyTorch to use the GPU. device = torch.device("cuda") n_gpu =...
[ "chenbc@sjtu.edu.cn" ]
chenbc@sjtu.edu.cn
ba0a0979ec5aa6c21e36ac124a45997ac4ff3a15
53e04629451d4e76ccf7304cebccc0d97170f98a
/node_modules/pineapple/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/config.gypi
e8b54c7809908945ae0cb157b30a13ad47842981
[ "Apache-2.0", "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
moovatom/moovatom-js
a33a5548535c862f20f126e6c90e623c1bf947d6
0a3691bc0b9934589f0cb7c3316c48f6029bdcfb
refs/heads/master
2021-01-13T02:16:10.015973
2012-12-29T19:11:19
2012-12-29T19:11:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,831
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": 0, "gcc_version": 42, "host_arch": "x64", "node_install_npm": ...
[ "joseph.werle@gmail.com" ]
joseph.werle@gmail.com
ba860627bff98abd7e2bed65878863b6d4dbcf5e
fdc49067bfcb67c038d2db4464bcfb5cca30ebc8
/src/safetywrap/__init__.py
24b0a5329378b7cbb0fcae9bf8f5206c3c19e950
[ "Apache-2.0" ]
permissive
MustardForBreakfast/safetywrap
96d726af7bcfd9f6de79263c7c9e81e6e050ecf5
170f836e12df455aed9b6dce5e7c634f6b9e8f87
refs/heads/master
2020-12-07T07:29:13.249294
2020-01-08T15:37:06
2020-01-08T15:37:06
232,672,517
0
0
Apache-2.0
2020-01-08T22:27:40
2020-01-08T22:27:39
null
UTF-8
Python
false
false
267
py
"""Typesafe python versions of Rust-inspired result types.""" __all__ = ("Option", "Result", "Ok", "Err", "Some", "Nothing") __version__ = "1.1.0" __version_info__ = tuple(map(int, __version__.split("."))) from ._impl import Option, Result, Ok, Err, Some, Nothing
[ "msplanchard@gmail.com" ]
msplanchard@gmail.com
42cc7b83af5192affc936746a49636525817a5b7
428b23f6c702acdbd4c4a30896d3aa53aaba9246
/plugins/web/active/W3AF_Unauthenticated@OWTF-WVS-004.py
bf86d82d2e95270f27fe36e7fa7ba0514412ab23
[]
no_license
assem-ch/owtf
6a8f9663e16a1997ade7e290c024aca3c10c2d32
4d90bdc260edd226385e736831abcd450b9f107b
refs/heads/master
2021-01-16T21:47:22.592695
2014-01-06T20:44:15
2014-01-06T20:44:15
9,756,924
9
0
null
null
null
null
UTF-8
Python
false
false
2,085
py
""" owtf is an OWASP+PTES-focused try to unite great tools and facilitate pen testing Copyright (c) 2011, Abraham Aranguren <name.surname@gmail.com> Twitter: @7a_ http://7-a.org All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the follow...
[ "abraham.aranguren@gmail.com" ]
abraham.aranguren@gmail.com
a3a8dc82b9694d926ab2a13730c19b066db74876
b44f2bfdedfc3ac0dd60df426f01a8205173b389
/SECURE ERP/model/hr/hr.py
13994dcb91ee149a5ff3fab8d790a6bfbfb5de43
[]
no_license
imarcins/ERP
1baab4ae9c0556828cf8173b4676e677c6f31e3f
fa96a9110201307aff81dd8311085b42036be47c
refs/heads/main
2023-02-10T13:02:36.592101
2020-12-19T14:19:40
2020-12-19T14:19:40
322,863,959
0
0
null
null
null
null
UTF-8
Python
false
false
1,702
py
import operator from model import data_manager, util from typing import List # from datetime import date # from datetime import datetime DATAFILE = "model/hr/hr.csv" headers = ["Id", "Name", "Date of birth", "Department", "Clearance"] YEARS_OLD = 0 NAME_INDEX=1 DOB_INDEX=2 DEPARTMENT_INDEX=3 CLEARANCE_INDEX=4 CURRENT...
[ "noreply@github.com" ]
imarcins.noreply@github.com
0d2e54a53abfb81d992c291c78a83d1897d2f5d2
dfa02970133ee08cae66061ab28f1b8dec210745
/calc.py
38c4db7d3d2427e8c537204a9c713c2272901d4a
[]
no_license
KGT777/git-test
ab486e395cc01594926555a721abadb1447da9aa
67c12f53f3c41cbd727b2983123ba4c2659ee954
refs/heads/master
2022-12-19T13:51:47.540892
2020-09-20T14:32:18
2020-09-20T14:32:18
297,090,602
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# add program def sum_function( n1 , n2): # 두 정수의 합을 구하는 함수 return n1 + n2 num1 = int ( input("input number 1") ) num2 = int ( input("input number 2") ) sum = sum_function(num1 , num2) print(num1 , "+" , num2 , "=" , sum )
[ "eric0523@naver.com" ]
eric0523@naver.com
aec47ac264535f56213ffb03c3bbbc0190acf1c7
c5075dba60f127261baabe9d32bc17babdd6fa98
/Django/myvenv/bin/markdown_py
50d69005e1e77ad2a370622171a9243e2295e92d
[]
no_license
peterretief/drf_vue_boilerplate
d2cd3d590d0b0f61b2968a314ab6679091d9b7f7
f1665366efc5687d7286012c83839b384c71c9a2
refs/heads/master
2021-08-15T00:02:33.071615
2017-11-17T01:58:11
2017-11-17T01:58:11
111,043,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
#!/home/peter/SCRATCH/Django/myvenv/bin/python3 """ Python Markdown, the Command Line Script ======================================== This is the command line script for Python Markdown. Basic use from the command line: markdown source.txt > destination.html Run "markdown --help" to see more options. See markd...
[ "piet@nix64bit.com" ]
piet@nix64bit.com
f1508f07fed37ca315f9fa194b758e983d5eb175
716369db2f47b300018112951abbdbebe8335310
/30/main.py
0e279d5bc0c2bc9bed8cf3a2cbafe8de750af4cb
[]
no_license
Pedrcavalc/Exercicios-em-Python-openCV
069dbc4e1923041d105bcf9bea6b79faf21c2dc3
8a80f12048711162856dad48ee71d4f3469f349d
refs/heads/main
2023-07-16T10:03:33.562022
2021-09-02T21:40:19
2021-09-02T21:40:19
383,163,807
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
import cv2 import numpy as np image = cv2.imread('image.png') grayscale = cv2.cvtColor(image, cv2.COLOR_RGB2GRAY) canny = cv2.Canny(grayscale, 80, 200) contornos, heranca = cv2.findContours(canny,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) imagem_contorno = np.copy(image) cv2.drawContours(imagem_contorno, contornos, -...
[ "77468171+pedrokkl@users.noreply.github.com" ]
77468171+pedrokkl@users.noreply.github.com
e44158ee7da6945ff660a11c2a54e14194737054
90c1f648df5fb188c10abadec76387f1c85cfb9c
/nbsplit
fa9a16fecf62368ca3d05674400ed1ce7faee49f
[]
no_license
minrk/script-dump
914a323e103d1dccc864b3405920e08972728fb6
3b1152fbeaf8bd5e39236e0126a6a02cf4fa76a8
refs/heads/master
2023-08-27T23:52:53.627600
2015-07-13T02:43:59
2015-07-13T02:43:59
38,987,826
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
#!/usr/bin/env python """ Usage: nbsplit notebook.ipynb [other_notebooks.ipynb] Script for splitting IPython notebooks based on heading level 1 cells. Just add heading 1 wherever you want your notebook to be split. Author: Min RK (@minrk) License: Public Domain """ import io import os import sys from IPython.nbfor...
[ "benjaminrk@gmail.com" ]
benjaminrk@gmail.com
4bbf268dc80e532dae794338425822960e9e5af6
c90d8cca7790387061bc132c1f76363a97f79f14
/mvp_texting_app/schedules/forms.py
595d396b0ebc71fb489cfa4345a3460672ed5e3d
[]
no_license
scottleith/mvp_for_kevin
505273618bff6020f791cf84bea7e0c934f6246e
c018bb043d061bd959e52d7d798c7bbccaa63b00
refs/heads/master
2022-12-01T05:18:54.736586
2020-08-23T15:23:46
2020-08-23T15:23:46
289,253,364
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
from django import forms from mvp_texting_app.schedules.models import TextBooking, GoalSchedule class TextBookingCreationForm(forms.ModelForm): class Meta: model = TextBooking fields = ['user_id', 'text_id', 'start_send_period', 'end_send_period'] class TextBookingChangeForm(forms.ModelForm): ...
[ "scottford.leith@gmail.com" ]
scottford.leith@gmail.com
b69979cd90644572d710f129a9762b6b1f90398b
0d987f2217e4fb25844204f785aeaef90dd17e7e
/bot.py
15032dfc7e846e7bf1d5e418cb9f9216811e02a6
[]
no_license
theamankumarsingh/CoviReq
9db43402f1c8c07514526dd96cc4ae4fe5a3c8e5
3adec6ab74d647db2f353f85a4f1c765affc98a6
refs/heads/main
2023-04-30T14:22:20.093266
2021-05-24T14:53:26
2021-05-24T14:53:26
367,649,338
4
0
null
null
null
null
UTF-8
Python
false
false
6,067
py
import logging import os import tweepy from tweepy import OAuthHandler from os import environ import telegram from datetime import date, timedelta from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update from telegram.ext import Updater, CommandHandler, CallbackQueryHandler, CallbackContext from datetime...
[ "zapaktayat@gmail.com" ]
zapaktayat@gmail.com
ebeec7044c71a01d8da72d24a0b68c61d1725491
889dcbcdae1be8be516d89bafc21ce32dbe63c66
/run.py
8e66b3ddf737767ad46fba30638cda56083b2e9c
[]
no_license
fujitako03/sponavi_data
18ec5d1e6ecab8f9f54b8df8db536442145d7a65
eb3601bed18f976c1fae5d7633e14c3930b16313
refs/heads/main
2023-07-31T17:03:43.691357
2021-04-25T14:52:03
2021-04-25T14:52:03
350,350,203
1
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# import argparse import datetime import os from omegaconf import OmegaConf from src.scraping import ScrapingSponavi now_datetime = datetime.datetime.now() # 出力先 conf_dir = "config" conf_cli = OmegaConf.from_cli() conf_exec = OmegaConf.load(os.path.join(conf_dir, "config_exec.yaml")) conf_path = OmegaConf.load(os.p...
[ "thisis.snsd03@gmail.com" ]
thisis.snsd03@gmail.com
cb63ce23f06d65570b27a21342404337db38f8ce
3fdddc28f7dbd7bd4d2a4ad9e44c433166dc5b4b
/userlogs/mixins.py
d5fd004bf63f1077fee79a5ed2469763559c9dd5
[]
no_license
Swiftkind/swiftlearn
1206d858fb1acaf7077ea7250aec1182b3d6b5b0
b66d2479ae2e42fb50c4fc39090fb66258a19428
refs/heads/master
2020-05-21T08:51:24.163184
2016-11-16T06:22:48
2016-11-16T06:22:48
69,433,900
0
4
null
2016-11-18T08:36:08
2016-09-28T06:41:41
CSS
UTF-8
Python
false
false
515
py
from .models import RecentActivity class RecentActivityMixin(object): ra_model = RecentActivity def __init__(self, *args, **kwargs): return super(RecentActivityMixin, self).__init__(*args, **kwargs) def log_activity(self, user, action, action_type, obj=None): """ create a activity ...
[ "earvin.gemenez@gmail.com" ]
earvin.gemenez@gmail.com
4a6d90fb63723a618f882fb752f6dbb883a38bd6
12dcf02fd184c7c59df1ae526ef1f071c0dd4744
/RegexProblems/regexHW3.py
e761867cc77b7f811018fbc3d101dafeeed6fd4a
[]
no_license
rk9md/TJArtificialIntelligence
c1d909afb38bb9070cc10de015ea37aa98ec4d5c
98bcbd43a1ae6186f4f5c2cc03560f742d422abb
refs/heads/main
2023-01-04T02:03:12.939251
2020-10-29T21:52:28
2020-10-29T21:52:28
307,576,575
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
import sys, re probNum = int(sys.argv[1]) solutions = [] solutions.append("/^0$|^100$|^101$/") #31 solutions.append("/^[01]+$/") #32 solutions.append("/0$/") #33 solutions.append("/\w*[aeiou]\w*[aeiou]\w*/i") #34 solutions.append("/^0$|^1[01]*0$/") #35 solutions.append("/^[01]*110[01]*$/") #36 solutions.append("/^.{2,...
[ "rk9md@virgina.edu" ]
rk9md@virgina.edu
123138f24b34e5b829bc93732d8a32c02eced224
3d0244bcf6be6c174714b75076667c27aff93c5c
/Module-2/CP-ELECTIVE-07-isfactor-Python/07-isfactor-Python/isfactor.py
95f38b2f8fb9bdb1408d040e0c9572fb89cb0aab
[]
no_license
BommakantiHarshitha-1/O11_Cp-Python
e1d3be1b7ac4ad8acfc9e547be507d30f3a319cf
023b77df1a0c8e36200f7aa2d18a1cd6e996a029
refs/heads/main
2023-07-08T01:22:29.479674
2021-09-02T09:52:37
2021-09-02T09:52:37
402,368,969
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
# Write the function isFactor(f, n) that takes # two int values f and n, and returns True # if f is a factor of n, and False otherwise. # Note that every integer is a factor of 0. def fun_isfactor(f, n): if f==0 and n==0: return True if f==0: return False if n%f == 0: return Tr...
[ "bommakantiharshitha@msitprogram.net" ]
bommakantiharshitha@msitprogram.net
30586dd7481107af8d7542ad9fe3809322ad3987
edda7e3af0b5078bb06ab5fd8448d15428b00f77
/public/sw2_off.py
160ad736b1f6c530638f703ace3417d247bad0c6
[]
no_license
quique123/aismarthome
8f141ea07a8785f899d6fd0ac4e4cc3eab2c5165
3c01863a2a4538f57467b772c046cc2865f5eb9d
refs/heads/master
2021-01-19T13:49:35.690907
2017-05-14T00:10:31
2017-05-14T00:10:31
88,111,304
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
# Edit line 6 to match your chosen GPIO pin-off import logging #import RPi.GPIO as GPIO logging.warning('2gpio pin toggle OFF!') # will print a message to the console #GPIO.setwarnings(False) #GPIO.setmode(GPIO.BCM) #GPIO.setup(23, GPIO.IN) #GPIO.cleanup() #!/usr/bin/env python import serial ser = serial.Serial( ...
[ "noreply@github.com" ]
quique123.noreply@github.com
735daf1cd92ff2fedd3e8631b5e61e3a43f54fd5
44e0a68d3d7403a569d2a776d54369aec1253512
/experiments/day06/epm062.py
d2686e01a9d24661ef1ef0dd4fde2c5bd420328d
[]
no_license
infrub/TaNuKi
c1d016f987b27a90ebe48b0d6a977bc01387dbce
1623c258054eb0bc7163606d61a901c2b067a7ac
refs/heads/master
2020-06-01T06:09:05.063582
2019-11-09T02:45:27
2019-11-09T02:45:27
190,666,023
0
0
null
null
null
null
UTF-8
Python
false
false
4,666
py
import sys,os sys.path.append('../../') from tanuki import * import numpy as np import scipy as sp import scipy.optimize as spo import random from colorama import Fore, Back, Style import math import matplotlib as mpl from matplotlib import pyplot as plt import matplotlib.cm as cm import pandas as pd from datetime impo...
[ "infrub@gmail.com" ]
infrub@gmail.com
0e1b1f5898264a45fc866939cc4df962912238cc
e50b25ba63e854f5d2c5114c8ebb6ee410221321
/proyecto/camera.py
bc4463caa4f3a8b6d36a776068e1313ba3747d6c
[]
no_license
PatrickC96/proyectoFlask
6d95ccf4820f02867f7d7cb7af8049c302a2150b
8768417068d3d56b186fead7fdd9eb0673077562
refs/heads/master
2022-12-03T08:11:20.535816
2020-08-10T22:43:46
2020-08-10T22:43:46
286,539,934
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
import cv2 import threading class RecordingThread (threading.Thread): def __init__(self, name, camera): threading.Thread.__init__(self) self.name = name self.isRunning = True self.cap = camera fourcc = cv2.VideoWriter_fourcc(*'MJPG') self.out = cv2.VideoWriter('./st...
[ "patrick.cabezas@epn.edu.ec" ]
patrick.cabezas@epn.edu.ec
00d9682b2a409b8ecb4448ac47f96be6a14242fd
2fdf33eff3f22a4f2e0337f065646de8fe6cc01f
/mq/tests/rabbitmq_tests.py
61f7ce3d503fd6c6e4a134b6dc043a8599b79028
[ "MIT" ]
permissive
apnarm/python-mq
007d978fe6a23b0d65555909ad34f2a21df5c5d5
14037cf86abc2393c4f8d791fd76bcca7a781607
refs/heads/master
2020-04-15T10:30:05.739270
2014-06-09T20:58:47
2014-06-09T20:58:47
20,659,543
0
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
import unittest from mq.backends import rabbitmq_backend from mq.tests import AMQPTestCase, ThreadingTestCase class RabbitTests(AMQPTestCase, ThreadingTestCase, unittest.TestCase): backend = rabbitmq_backend.create_backend() def test_put(self): """Ensure that the put method works, even with connect...
[ "randomy@gmail.com" ]
randomy@gmail.com
e6cfc63f9f227868bc459f191652431fa0477e4e
5ad0b1987054e431737d1348c3f3eaaf08c79d9d
/avx2-hps2048677/bitpermutations/bitpermutations/printing.py
777f9223402664cc0e03b2d4e4285cf3f605db08
[ "CC0-1.0" ]
permissive
jschanck/ntru
050c5597683faa0754d26c7bda9cb2ab86825e2a
6d96ed3746000b6497392a425712fe483988fc80
refs/heads/master
2022-12-27T10:37:56.485583
2021-11-11T19:24:53
2021-11-11T19:24:53
170,588,295
27
12
CC0-1.0
2021-06-18T12:44:35
2019-02-13T22:19:50
Python
UTF-8
Python
false
false
1,331
py
from .data import MemoryFragment, ZERO import bitpermutations.instructions as instructions import bitpermutations.data as data import bitpermutations.utils as utils from .utils import reg_to_memfunc def print_memfunc(f, in_size, out_size, per_reg=256, initialize=False): """Wraps a function that operates on regist...
[ "jschanck@uwaterloo.ca" ]
jschanck@uwaterloo.ca
637a1c8f06af5ecc08fb671ef4c0396554e1172c
4c8966e6a65f9707f45f67988906110308f34f99
/test/selenium_mock.py
32935d6e2923033ed73357eeec9742059282c0f8
[]
no_license
xprathamesh/Git-Answer-Bot-for-Stack-Overflow
67445b3893d937f5d77aa49630a0969e5081e696
7b3249784e9ea8ed2ff35fd3dba42b896cc92b41
refs/heads/master
2023-07-25T22:39:47.282757
2023-07-10T04:31:29
2023-07-10T04:31:29
234,755,180
0
0
null
2023-07-10T04:31:30
2020-01-18T15:28:56
Python
UTF-8
Python
false
false
7,087
py
import asyncio import unittest from selenium import webdriver from selenium.webdriver.common.keys import Keys import poster import Credentials as c from test import mocking # Ensure question answer is posted. class TestAnswerQueryH(unittest.TestCase): """Happy scenario for providing an answer to a git-tagged que...
[ "pratzorro@gmail.com" ]
pratzorro@gmail.com
9d2c4f4bb1a18bb3263f2a4969d8bb08dfff556a
7f06cc76a513df2a068d8d897b4219b61a676a78
/stockProject/stockpython/venv/Scripts/pip-script.py
1e2c7a28daaf53b3c019cfc7212cbc8e96d0480d
[]
no_license
leeshinil/StockPredictProject
8b952cc1c75da465117a9e9bb084adf17554b9cc
0627e97e77031170d6f3726cdf55c2c380245f4f
refs/heads/master
2020-09-12T07:52:11.412032
2019-11-18T04:22:58
2019-11-18T04:22:58
220,896,180
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!C:\Users\lexsh\Desktop\stockProject\stockpython\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', s...
[ "lexshinil1@gmail.com" ]
lexshinil1@gmail.com
87855cf5b923a4e5f5316f403bf81da48b239eb7
a38180435ac5786185c0aa48891c0aed0ab9d72b
/S4/S4 Library/simulation/routing/route_events/route_event_type_animation.py
be5f29988cfc84019d4368610cf2769fc1e53357
[ "CC-BY-4.0" ]
permissive
NeonOcean/Environment
e190b6b09dd5dbecba0a38c497c01f84c6f9dc7d
ca658cf66e8fd6866c22a4a0136d415705b36d26
refs/heads/master
2022-12-03T13:17:00.100440
2021-01-09T23:26:55
2021-01-09T23:26:55
178,096,522
1
1
CC-BY-4.0
2022-11-22T20:24:59
2019-03-28T00:38:17
Python
UTF-8
Python
false
false
6,715
py
from animation.arb import Arb from animation.arb_element import distribute_arb_element from animation.posture_manifest import MATCH_NONE from event_testing.resolver import SingleObjectResolver, SingleSimResolver from event_testing.results import TestResult from interactions import ParticipantType from interactions.util...
[ "40919586+NeonOcean@users.noreply.github.com" ]
40919586+NeonOcean@users.noreply.github.com
59658cf05a54e4a57f45925e24fbec4959e3ccf9
5ffdf4ddee5700e6bb3b062a07c1a9cf7e6adbc1
/Algorithms/Implementation/breaking_the_records.py
b81b0de921ac912d759cafa31ef64032fb68eafa
[ "MIT" ]
permissive
byung-u/HackerRank
23df791f9460970c3b4517cb7bb15f615c5d47d0
4c02fefff7002b3af774b99ebf8d40f149f9d163
refs/heads/master
2021-05-05T13:05:46.722675
2018-03-30T08:07:36
2018-03-30T08:07:36
104,960,152
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
#!/usr/bin/env python3 def getRecord(S): h, l = S[0], S[0] h_cnt, l_cnt = 0, 0 for s in S: if s > h: h_cnt += 1 h = s elif s < l: l_cnt += 1 l = s return [h_cnt, l_cnt] n = int(input().strip()) s = list(map(int, input().strip().split(' ')...
[ "iam.byungwoo@gmail.com" ]
iam.byungwoo@gmail.com
853e370583cc940d09d41b89f8639fbb639d69c0
11097c7a3a96afee9320fe2cb45a079369285e09
/install_python_dependencies.py
63f4219ee97f824a899918edb0e89c447b8794a2
[]
no_license
natsukoa/JapaneseTokenizers
70069dc40d22c90933c178a4540d8871785ad1f2
3c9a46d5d9debe5bafc0533ca739e00c0bbffe71
refs/heads/master
2021-06-11T09:22:52.279014
2017-01-13T00:29:10
2017-01-13T00:29:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
__author__ = 'kensuke-mi' import sys import pip python_version = sys.version_info with open("requirement.txt") as f: for line in f: if 'mecab' in line: if python_version < (3, 0, 0): pip.main(['install', line]) else: pip.main(['install', 'mecab-python3']) else: p...
[ "kensuke.mit@gmail.com" ]
kensuke.mit@gmail.com
29c0e607c253fca5a74336aa897e4d78e2a2c4fe
054ddbc1fa0e1b1d0a999bbe877591e942aa0f12
/python/05-python高级/06-网络编程-1/01-udp-send.py
409ff15c6f9e439048ba4b1cd5498ce3afe1e511
[]
no_license
VinceBy/newone
66c8cf77159344c7d2ec196233d58a412e1c3073
ffc6a0d9ccbdb3f66c4995834f01e3bc2df0415d
refs/heads/master
2022-02-22T23:00:21.720497
2019-07-09T08:47:25
2019-07-09T08:47:25
195,958,240
0
0
null
2022-02-12T09:19:32
2019-07-09T07:42:20
Python
UTF-8
Python
false
false
114
py
from socket import * udpSocket = socket(AF_INET,SOCK_DGRAM) udpSocket.sendto(b"haha",("192.168.172.128",7788))
[ "1260787968@qq.com" ]
1260787968@qq.com
cefc5440623e28814164707c8880de589e176b81
dbea3c8b47fb1db1068b8323eb2c457e4188cb3e
/app/models.py
18d48abfe0266c60c70e7f78e9d9dd4ff8c632fd
[]
no_license
Yingmin-Li/twitter-api
2d062fde8404437e8df4ab7a6a61ca9a92454a2e
0b232f43d63c7a4f1ee2001f0d2d558e25ca6300
refs/heads/master
2023-01-19T18:46:39.325246
2020-11-26T09:48:44
2020-11-26T09:48:44
316,015,454
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
import time class Tweet: id=None text='' created_at=0 updated_at=0 def __init__(self, text): self.text=text self.created_at="%.20f" % time.time() self.updated_at=self.created_at def update(self, text): self.text=text self.updated_at="%.20f" % time.tim...
[ "yingmin.chine@gmail.com" ]
yingmin.chine@gmail.com
933c75171570e88f04cbae3a7b568c48902e153f
91c41d714ac5a61049093153560ac4a4873d2550
/chater5/zoo.py
44656e830b30e3819cdab6a741a26aceb30e4bb0
[]
no_license
hyunjeeChoi/introducing-Python
8f0d2b5b754c6aa0a36e1bb933d5f26809008c3c
195141f0b203b62f5e5c6c92f92669ef79bf229a
refs/heads/master
2020-03-19T00:57:06.594545
2018-06-23T06:31:16
2018-06-23T06:31:16
135,512,021
2
0
null
null
null
null
UTF-8
Python
false
false
40
py
def hours(): print('Open 9-5 daily')
[ "jenny.choi@kakaocorp.com" ]
jenny.choi@kakaocorp.com
e937061a7829675e71a2d61351c93e9d869558a1
816edec5c48c380dfa542d8ce0582f4593c725ef
/网络代码/xiaoyouxi1.py
ffd815f132fd00c41671fa92de1e2bc8bbcd72f0
[]
no_license
liujiang9/python0421
c75f351d32e39fb9f8ad1b8af4129c8e170dfbb7
e11f5fcb10f37a0f0663e4c746ca862b076f9aee
refs/heads/master
2022-07-26T09:34:30.881906
2020-05-21T09:40:29
2020-05-21T09:40:29
265,728,500
1
0
null
null
null
null
UTF-8
Python
false
false
9,137
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # 作者:魏明泽 # 参考网址: http://2048game.com/ import random import math __mataclass__ = type # 使用新式类 # 此类为地图模块封装的类 class map2048(): # 重新设置游戏数据 def reset(self): self.__row = 4 # 行数 self.__col = 4 # 列数 self.data = [ [0 for x in ran...
[ "228923910@qq.com" ]
228923910@qq.com
753f12dafc8e475b345fe20b589264cf3a0d6899
ce8f4075655fe8c1f12905d32f3eeb50254f31a6
/apps/catalogs/api/v1/serializers.py
13f8af5d99932425b27bf53c9318b94ea28b1d78
[]
no_license
abogdanov87/mrlapkins
837cab2be1b80174cb17b882243b931ce4b86d9e
2b02b9b03869fb2212c94b891e995ff73dc0f123
refs/heads/master
2023-05-29T15:16:13.318231
2021-06-11T07:22:39
2021-06-11T07:22:39
356,865,105
0
0
null
null
null
null
UTF-8
Python
false
false
6,809
py
from rest_framework import serializers from rest_framework_bulk import BulkListSerializer, BulkSerializerMixin from catalogs.models import ( Breed, GenderSpec, EyeColor, CoatColor, Gallery, ) class GenderSpecSerializer(serializers.ModelSerializer): class Meta: model = GenderSpec ...
[ "aybogdanov@yandex-team.ru" ]
aybogdanov@yandex-team.ru
0aa4cdf595a5d08553bb2237dd0184e99d0f2e1c
7d35c812dbf2dbb690543653a26fe5ef7a6c949f
/apps/coc/views.py
b814dc29bdd55c657dce9121a42bd865d2524cd3
[]
no_license
jvillama/Catalog-Project
96383855fa3da1ff3981e46723485691e68ea209
8a042873440bf328e8331175e7712f6fc26ba8a5
refs/heads/master
2016-09-11T08:34:14.563489
2013-04-03T22:32:10
2013-04-03T22:32:10
1,957,117
0
1
null
null
null
null
UTF-8
Python
false
false
6,948
py
from django.http import HttpResponseRedirect,HttpResponse from django.shortcuts import render_to_response from django.conf.urls.defaults import * from models import * from ftplib import FTP from datetime import datetime from django.utils import simplejson as json from django.core import serializers from django.contrib....
[ "jvillamarzo@gmail.com" ]
jvillamarzo@gmail.com
be5a03fdbca982ec7e49e61ab6d8d22e921b55bb
5906ac8a5a3e46a65ac9b8b38c3f7b7b6edf2a49
/lipid_maps_download.py
b3fee822a9c62d0b4a8370dbe74c42e94136dc96
[]
no_license
iwelsh47/friendly-pancake
6e29d5c0eaf9cff4a8c9247871a803b6723d805d
885bdc1684bf5b276a2f3dac178b5bfaad4fce58
refs/heads/master
2021-05-31T13:01:24.116208
2016-03-15T23:18:55
2016-03-15T23:18:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
#!/usr/bin/env python3 ''' Created on 8/12/2015 @author: iwelsh ''' def main(): import os from time import sleep from random import shuffle source_file = '/Users/iwelsh/Downloads/LMSDSearchResultsDownload13H10M37S07Dec15.csv' dest_dir = '/Users/iwelsh/Documents/Lipid_MOL_files/' get_cmd = '/o...
[ "i.welsh@massey.ac.nz" ]
i.welsh@massey.ac.nz
29545e9ea17d07032110cf79e7922acb0e7881a7
3783129f07f93414327dadcd07b42334d980b4ed
/dbUtils/leagueDbUtils.py
17cac93d7da6ead4ae58b37cf973b91f41fe02d6
[]
no_license
ohadkorenok/football_project
1e9b8c2afb93b0118a34a7aeb1980cf9812baced
a7a68a6c2b2376ca8811463f0c7967cfb17b39af
refs/heads/master
2023-08-25T09:00:15.660374
2020-07-24T10:48:47
2020-07-24T10:48:47
282,188,578
0
0
null
2023-08-14T21:37:52
2020-07-24T10:18:39
Python
UTF-8
Python
false
false
1,886
py
from dbUtils.db import * from consts import * from bson.json_util import dumps from dbUtils.commonDbUtils import get_item, get_items def create_league(league_country: str, league_name: str, league_level: int): """ This function gets league_country, league_name and league_level in JSON format, checks if there ...
[ "ohadkorenok@gmail.com" ]
ohadkorenok@gmail.com
849d1c312943128ef4a358e9fa0f96817013296f
b2912c376313f46b484ececea687c150a0272066
/chapter7/src/pearson_correlation.py
01d9abb4b065f19b75888929cef2544e337b7d46
[]
no_license
xfsm1912/Approaching_Any_ML_Problem
c6cf186fe5cccda9af9467d6bc7bf5e2a96f507a
edebb8e5906e7bed8aaf015b0d3c36a40fe3f165
refs/heads/main
2023-04-26T23:10:51.413127
2020-11-03T21:05:41
2020-11-03T21:05:41
309,792,735
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
import pandas as pd import numpy as np from sklearn.datasets import fetch_california_housing # fetch a regression dataset data = fetch_california_housing() X = data['data'] col_names = data['feature_names'] y = data['target'] # convert to pandas dataframe df = pd.DataFrame(X, columns=col_names) # introduce a highly ...
[ "jianhua@lifeq.com" ]
jianhua@lifeq.com
3dd0dc3cde5f64d32b234beef58ea1cc8db7eec4
af4174eba006aafcb9470f7a2c8c30f581e095f1
/odd.py
d8101873a222afef9aad1e444a7616c9d62982b8
[]
no_license
sanderfo/IN1900
bb20c15fdce6ea541814379cbb370e69252544ad
63be05db075b3a9d6ce0a1734d80e473a686c29a
refs/heads/master
2020-04-02T22:17:58.380709
2018-10-26T12:10:20
2018-10-26T12:10:20
154,828,925
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
""" first number: odd=1 next number: odd=odd+2 """ n = 10 odd = 1 while odd <= n: print(odd) odd += 2 # betyr odd = odd + 2
[ "37813853+sanderfo@users.noreply.github.com" ]
37813853+sanderfo@users.noreply.github.com
5e856de0fe8e002e1c8c78be5e8513063b4ba841
b2086f422cc45312ac04cd190bc0b56fde236339
/action_handler/action_handler.py
094eab2f89b44ebe3952b0e112ce162a90581790
[]
no_license
spelinski/SmartMirror
c05782600501e18836b74c6ab16f3cb591813db8
ea3c393826bc4349a86d5ddb18acfc9febea3d0c
refs/heads/master
2021-05-12T04:53:24.183225
2018-01-16T04:23:53
2018-01-16T04:23:53
117,176,888
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
class ActionHandler(): def __init__(self, music_player): self.player = music_player def take_action(self, action_string): if "play pandora" in action_string: return self.player.play() elif "stop pandora" in action_string: return self.player.stop() elif "k...
[ "rohk88@gmail.com" ]
rohk88@gmail.com
96e20c5779740d30ef905512fee740ee9b3c117e
07ecc53b5be6b1a34914a0e02265e847f3ac1a65
/Python/Tree/104_Easy_二叉树的最大深度.py
4431c0ab357b2dfc8b6d4820c6fcafbc4ced391e
[]
no_license
JasmineRain/Algorithm
764473109ad12c051f5337ed6f22b517ed9bff30
84d7e11c1a01b1994e04a3ab446f0a35eb3d362a
refs/heads/master
2023-03-14T00:39:51.767074
2021-03-09T12:41:44
2021-03-09T12:41:44
289,603,630
1
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
from collections import deque # Definition for a binary tree node. from typing import List class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: # 递归法 # def maxDepth(self, root: TreeNode) -> int: ...
[ "530781348@qq.com" ]
530781348@qq.com
c3054920c597c6aee2c2af7d2a72e56941fe7f3f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02646/s977415720.py
ff219157c414449e91daf41f24d22ed56eb957d1
[]
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
264
py
#!/usr/bin/env python3 import sys import numpy as np input = sys.stdin.readline a, b = map(int, input().split()) c, d = map(int, input().split()) t = int(input()) if b==d : print('NO') elif (abs(a-c)/(b-d))<= t and d<b : print('YES') else: print('NO')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3193d3fd2c11f5ae2bbee3532a8ca2474594c0e1
e7aa3755381b216883605d86fae50db6d632a338
/3.Python/shaheer.py
b0804416a4bfc17c195c26d3968dc5243fa33fe1
[ "MIT" ]
permissive
anjima1008/Learn-Coding
b2520e447158b259d4deddc7cb5da4fb10e778d9
553f3e818c3e4dd751e317a4ac9905487d5894fb
refs/heads/master
2022-12-27T08:47:18.129700
2020-10-16T07:33:50
2020-10-16T07:33:50
304,551,428
1
0
MIT
2020-10-16T07:24:42
2020-10-16T07:24:41
null
UTF-8
Python
false
false
153
py
name, age = "shaheer", *YOUR AGE* username = "shaheershah313" print ('Hello!') print("Name: {}\n19: {}\nshaheershah313: {}".format(name, age, username))
[ "noreply@github.com" ]
anjima1008.noreply@github.com
94973b456f84c36b0cc830a508938ebc170725b2
08519e9f78f622058872bf0f34a75336eb49a984
/reinforcement/gridworld.py
31460a01a7b825b5cf38d62855692445c639da1f
[]
no_license
timolapre/Project2-KI-Master
0035d9330289bf6f5cc9e9394057a8b3223bfc23
7b60f931b6208a882178c2bd4a7244f477df6bf6
refs/heads/master
2020-04-11T19:07:24.451542
2018-12-17T19:55:14
2018-12-17T19:55:14
162,023,386
0
0
null
null
null
null
UTF-8
Python
false
false
20,993
py
# gridworld.py # ------------ # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. ...
[ "timolapre1998@gmail.com" ]
timolapre1998@gmail.com
9d7e63bc4c2bfaf4f7b4c619bc67081c31699819
e82ca136486730677d5591744d16aed891debaad
/nlb_lightning/callbacks.py
fc327af4651c1f6e5ec94b737e54e0a03991c732
[ "MIT" ]
permissive
arsedler9/nlb-lightning
5b01801ae7280dedd33db10f1a400649087e7467
b2529ecdd1288eb5897e55f0622181a1425d701e
refs/heads/main
2023-05-23T16:42:48.997311
2023-01-13T22:03:29
2023-01-13T22:03:29
459,264,776
9
2
null
null
null
null
UTF-8
Python
false
false
11,667
py
import warnings import matplotlib.pyplot as plt import numpy as np import pytorch_lightning as pl import torch from scipy.linalg import LinAlgWarning from sklearn.decomposition import PCA from nlb_tools.evaluation import ( bits_per_spike, eval_psth, speed_tp_correlation, velocity_decoding, ) plt.swit...
[ "arsedler9@gmail.com" ]
arsedler9@gmail.com
28aa49da0c2012be233dd9559d11f7f157e50a1e
dd0185d10e9be56ea693e15a1e97d2817276a93e
/efefal/searchclient.py
a6ceb777dfe091c2576ea1929bbba31a08e9921a
[]
no_license
sparky005/EFEFAL
0af8912c02a98b9eda0a1139917e972fd2507730
5683d32e45d93811d4a9ea7c97c264dbb7c218da
refs/heads/master
2018-09-01T05:27:36.027364
2018-06-17T04:25:29
2018-06-17T04:25:29
119,923,453
0
0
null
null
null
null
UTF-8
Python
false
false
7,897
py
import json import itertools from datetime import datetime from elasticsearch import Elasticsearch from elasticsearch_dsl import Search class SearchClient(): def __init__(self): self.client = Elasticsearch() def timestamp_to_dt(self, timestamp): """ converts weird timestamps into work...
[ "sparky.005@gmail.com" ]
sparky.005@gmail.com
a02438030b428e7fa07a48b86e88e5a29016281e
2ad771a7cc3a8c2e5188da4eb94cd80148021bc9
/ECommerce/migrations/0001_initial.py
68bd8efd4661aeb050bc4dae4628dcff1718478a
[]
no_license
DiogenesPuig/EcommerceANT2021
af4e13630d6aaee2c6b3ca2ac5df194a94838458
3df1d1c33fdceb3a9b00891ad7d98314d2fab03e
refs/heads/main
2023-07-10T07:09:16.203667
2021-08-12T03:25:09
2021-08-12T03:25:09
375,713,191
1
0
null
null
null
null
UTF-8
Python
false
false
4,892
py
# Generated by Django 3.2 on 2021-08-11 18:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "lucio.moralesdemaria@gmail.com" ]
lucio.moralesdemaria@gmail.com
2c9cd67fd5fd36a71a2703df028bcb9916b15eb2
64d9a33622f2671f669efe9df4059d8fa3593c62
/dsc/index.py
c1fd5bdf0ef3feb2e0a4677357fe63801addc37a
[]
no_license
emonti/star
1ae421a709afee2bbeafccd1c142b487dab1f257
13ff58d0a06ca1a10c513f41d491b546f1090d48
refs/heads/master
2020-12-24T22:30:16.637740
2010-09-28T22:33:17
2010-09-28T22:33:17
943,708
4
0
null
null
null
null
UTF-8
Python
false
false
2,240
py
import struct, anydbm, sys, glob def build(path): db = anydbm.open('index', 'c') files = glob.glob('%s/*.txt' % path) db['_files'] = '\0'.join(files) for fil in files: lineno = 1 fileoff = 0 for line in open(fil, 'rb'): scratch = line[:6] try: ...
[ "comexk@gmail.com" ]
comexk@gmail.com
0d485fafb88cd1b4b43e495ef44c9e49b577988b
14fdabb4e07e96f486ff325bb653debd8dfbcf30
/bullet.py
6d1da23b9b7f6a78362cd6010381b073d60c4c84
[]
no_license
YasminTorres/CPSC386-02_SpaceInvaders
62d32d91b7b87cdaf300bec8b002963abd75cfd7
bb66e50007d047926d34c1abb8b789f284bc02af
refs/heads/master
2020-08-10T19:53:33.012403
2019-10-11T15:36:49
2019-10-11T15:36:49
214,409,815
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
import pygame from pygame.sprite import Sprite class Bullet(Sprite): def __init__(self, ai_settings, screen, ship): super(Bullet, self).__init__() self.screen = screen self.rect = pygame.Rect(0, 0, ai_settings.bullet_width, ai_settings.bullet_height) self.rect.centerx = ...
[ "noreply@github.com" ]
YasminTorres.noreply@github.com
ccfe49dd966567bd3e90393cd3138e7c3173ce26
783235be871e692de21bc0b1f482e0c64d4a0044
/config_tester.py
b799c68a52e903727285d2cf2bd0d62e1ef8a6b5
[]
no_license
maxbergmark/julia-explorer-opencl
e7f9acd2d308ffd1b01afb3071427b51127dfe10
d7a711069bb971cd74a3a5815db5f53491595313
refs/heads/master
2022-09-11T07:23:56.533828
2022-08-30T08:16:10
2022-08-30T08:16:10
247,465,835
1
1
null
2022-08-30T08:16:11
2020-03-15T12:53:08
Python
UTF-8
Python
false
false
1,091
py
''' Listing 4.3: Testing a device’s floating-point features ''' import pyopencl as cl import utility # Get device and context, create command queue and program dev = utility.get_default_device() # Check for double floating point features fp_flag = dev.single_fp_config fp_masks = [('Denorm', cl.device_f...
[ "max.bergmark@gmail.com" ]
max.bergmark@gmail.com
03ac5c339f76016d80e2581af7d6ff0888ccb5ca
2bb2c4d0547a6ae86ae486662505e9f06af4f146
/python_tutorial02/python_tutorial/python_tutorial/cython/cpp_template/setup.py
809f68ad70d1855a5d4546e1ac4a5f041213f007
[]
no_license
JinFree/cac.kias.re.kr-2017-3rd-day
9fe6815eb146cfb139bd352031c970ce3094864a
9454b666806c5f9a6d39d14b15424770a1e61a86
refs/heads/master
2020-12-03T04:16:50.329281
2017-06-30T05:21:02
2017-06-30T05:21:02
95,844,411
0
1
null
null
null
null
UTF-8
Python
false
false
262
py
from distutils.core import setup, Extension from Cython.Build import cythonize exts = cythonize([ Extension(name="vec",sources=["vec.pyx"],language="c++"), Extension(name="vec2",sources=["vec2.pyx"],language="c++"), ]) setup( ext_modules = exts, )
[ "guest@gpu.kias.re.kr" ]
guest@gpu.kias.re.kr
d603779b503c2e5bb352264e6757ac655ad5b527
5bdcc3e0514626cc683bb236fb16a89735ce09fd
/ModelUtils/Models/structurer/MlpStructurer.py
4e73d199343ad9a1a7038157a6a67a58d639dc3d
[]
no_license
jsarni/KaggleCompetition2020
f83d85d3acefdfa264c55b03eba6ba9df44a30bb
527ecd311660414cfdf6f6b9e32be65bedef957e
refs/heads/master
2021-04-24T00:20:29.992532
2020-05-15T13:56:10
2020-05-15T13:56:10
250,042,229
0
0
null
2020-04-23T11:28:21
2020-03-25T17:13:00
Python
UTF-8
Python
false
false
764
py
from .ModelName import MLP class MlpStructurer: def __init__(self): self.name = MLP self.nb_hidden_layers = 0 self.nb_classes = 0 self.layers_size = [] self.input_shape = (16, 16, 3) self.layers_activation = 'relu' self.output_activation = 'softmax' ...
[ "juba.sarni@gmail.com" ]
juba.sarni@gmail.com
bfda01939ca390d676ce07ce86055318eb58fb36
b85792d592426a63184ab7ba5e69975856267b45
/accounts/migrations/0033_auto_20210721_0759.py
00601bd972e9672fd2cd200b236636f263acefd3
[]
no_license
ananduv2/Teq-soul
bedfcea0b7ed759854793321722e7e64e76c9f0b
917fa9163072d5a8e01432f2778157b1884a6d75
refs/heads/master
2023-08-17T11:07:31.145644
2021-09-27T10:16:39
2021-09-27T10:16:39
397,057,554
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
# Generated by Django 3.2.3 on 2021-07-21 02:29 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0032_auto_20210721_0758'), ] operations = [ migrations.AlterField( ...
[ "ubuntu@ip-172-31-53-229.ec2.internal" ]
ubuntu@ip-172-31-53-229.ec2.internal
b0c142c047b84a3b5b79241f5ae45c042d90a84a
323096dbd822afbee8dc8a6cb14d7b0b855574d2
/src/Server_slidingWindow.py
573e578d70519643aa92b0b561cdb122ab451e75
[]
no_license
Azmah-Bad/ServerX
70937941f9ec34f11b56184b2573e068820d0650
631e403ae5a65053994cebb030314b5a4612816c
refs/heads/master
2023-02-14T05:29:14.368065
2021-01-10T22:21:07
2021-01-10T22:21:07
316,426,053
2
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
import socket from src import BaseServer import logging class SlidingWindowServer(BaseServer): """ Sliding window engine start by sending a window of segments then reads the ACK recieved if the segment is received sends the next segment if a segment was dropped # Perf 5.9 MBps for small fi...
[ "hamza.badaoui@insa-lyon.fr" ]
hamza.badaoui@insa-lyon.fr
f3dd034ab0128fc7008888d17b99297f70d94714
39e8f775416e1a330381c0a8c0593cd71472f9eb
/lines/snapshot/__init__.py
9fced060f79010ec32b7fd9d5d72d8885c7e0649
[ "MIT" ]
permissive
betfund/betfund-lines
2c5ee268c8edd3799b8762e48ee16e06660260ea
9fe3e2aa69bb493df3efc2a3923889f444f2c66d
refs/heads/master
2021-05-18T05:47:39.045981
2020-04-05T20:52:12
2020-04-05T20:52:12
251,143,008
0
0
MIT
2020-04-06T00:34:58
2020-03-29T21:57:04
Python
UTF-8
Python
false
false
129
py
"""BetFund client.snapshot namespace.""" from .temporal_to_snapshot import TemporalToSnapshot __all__ = ["TemporalToSnapshot"]
[ "leonkozlowski@gmail.com" ]
leonkozlowski@gmail.com
0d5678a6d503ac3a2fc880cd4afae10ee356db95
56d208b264a60746b9a31370e7edee0766e84d9b
/holocron/settings.py
08ad0d6e566c5dbcb674f5f3e4dbbdfa304abce1
[]
no_license
cassiobotaro/holocron
05d414b1f1752a074092bb521e3143971a84dfff
8add5aeb50f8b7480d23485845abb8625169f31b
refs/heads/main
2023-02-28T16:01:07.802857
2021-02-06T14:29:47
2021-02-06T14:29:47
239,394,591
2
0
null
null
null
null
UTF-8
Python
false
false
681
py
BOT_NAME = "holocron" SPIDER_MODULES = ["holocron.spiders"] NEWSPIDER_MODULE = "holocron.spiders" ROBOTSTXT_OBEY = False DEFAULT_REQUEST_HEADERS = { "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0" # noqa: E501 } # DOWNLOAD_DELAY = 0.25 SPLASH_URL = "http://localhost:805...
[ "cassiobotaro@gmail.com" ]
cassiobotaro@gmail.com
8867e19f310da59e05ed497a4dd1fabde4a7a1a2
3fbd05e539e12e05fd0b75109a0d7d3e36c61946
/app/migrations/0007_entradablog_destacados.py
08e5118873515a6546e520a738eed0fac1c62028
[]
no_license
Diana-Toledo/Naturopatia
1eaa8ed6a663f755a207c18d6266bba8a7708648
74c6d5063aef1ae46ade17209e705afacaf4117c
refs/heads/main
2023-07-02T19:48:01.299930
2021-08-01T16:20:19
2021-08-01T16:20:19
391,036,811
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# Generated by Django 2.2.11 on 2020-04-22 07:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0006_auto_20200407_1139'), ] operations = [ migrations.AddField( model_name='entradablog', name='destacados'...
[ "diaelitg@gmail.com" ]
diaelitg@gmail.com
444a35effa5887e654c35f4241581be07be6f59c
4a1be3f4f891b4cf54637221581abc02d5f39847
/config/urls.py
2a1240e0571fd625888884244ff0b77dbb7a2bbd
[]
no_license
Nayoung-apeach/NetworkProgramming_jathub
7594b9f0ec982317296460e69c21f672aaafd5c8
012d39904d87669e6318263460c5b192d0ab7714
refs/heads/master
2023-06-11T08:03:41.507786
2021-06-29T04:22:49
2021-06-29T04:22:49
370,860,233
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
"""config 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') Class-based ...
[ "s2019w04@e-mirim.hs.kr" ]
s2019w04@e-mirim.hs.kr
22d6004984b02614ba25c0b8628aee87dffef767
e651145ab96210db2d245ad67914254cf077b45f
/tests.py
c36f7bb816302fb861677e5b4130f450bd99fbf5
[]
no_license
OrangeHoodie240/SB_24_3_12
bb980657bc94177689fba4b0ae06f75e2afc35c3
3ff454aabec5ef6ecb29d93b69eb2f466efc3adb
refs/heads/master
2023-04-09T18:52:40.055152
2021-04-05T08:05:50
2021-04-05T08:05:50
354,762,697
0
0
null
null
null
null
UTF-8
Python
false
false
3,920
py
from unittest import TestCase from app import app from models import db, Cupcake # Use test database and don't clutter tests with SQL app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql:///cupcakes_test' app.config['SQLALCHEMY_ECHO'] = False # Make Flask errors be real errors, rather than HTML pages with error info ...
[ "daddarios@dupage.edu" ]
daddarios@dupage.edu
fdf331ca5d16ec70b1db28fa5a376e4f626a6122
ee2871e299cb49cbf25e4bc0f4c7f8aa3e5013dd
/backend/location/migrations/0002_auto_20190508_1416.py
f3dd9d0a04cb4176dc8ac41e4685b3c71535a8d9
[ "MIT" ]
permissive
aurma97/gl52
d97e22ceb3f71c7c4d4c1531037b49790f6628e5
bf55dcf1d13884301a8b112fd21840e55c328661
refs/heads/master
2023-01-12T13:02:27.988017
2019-06-19T06:58:57
2019-06-19T06:58:57
185,694,686
0
0
NOASSERTION
2023-01-03T21:47:24
2019-05-08T23:50:30
Vue
UTF-8
Python
false
false
580
py
# Generated by Django 2.2.1 on 2019-05-08 14:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('location', '0001_initial'), ] operations = [ migrations.AddField( model_name='location', name='current_location', ...
[ "aurelienmarcel77@gmail.com" ]
aurelienmarcel77@gmail.com
93a3531973b54e2996cf44cdcdef0cb769124c57
e8c7419003c5b1ba7890a8719573e386a7505161
/InspectData_OppositeVan.py
f2122ea23e601635bd637883ebdac98350143659
[]
no_license
sietse93/Thesis
aeec6ac9522d532b260fd467cc7c9ced2ae94478
3e07097444f3041d58baa1597de2fe2ec40e6bff
refs/heads/master
2020-03-30T12:55:59.974402
2019-08-29T15:36:04
2019-08-29T15:36:04
151,248,606
1
0
null
null
null
null
UTF-8
Python
false
false
2,060
py
import json from func_Convert2Json import json2crf from evaluate_pose import * from class_ScenarioLocationPerformance import * from matplotlib import pyplot as plt import pdb from main_InspectData import InspectJsonFileInDir from func_EvaluateRpeDist import evaluate_RPE_dist, calc_rmse import numpy as np def main(): ...
[ "sietsevschouwenburg@gmail.com" ]
sietsevschouwenburg@gmail.com
6a9c76aa136bd381e188b008cf37ae2a0ebd34a9
011c0eecd3ce6a33019e2679fd0ce3bd1c79ebed
/pass.py
7944d40998272eca67efea21da9071a6dc8f6ddc
[]
no_license
Shichimenchou/DailyTodo
714f5417dff5aa3de743ee60441027174327d065
cad58efd29cda7829e846b4436284d34faef7d6e
refs/heads/master
2023-01-01T15:31:44.764586
2020-10-23T04:08:55
2020-10-23T04:08:55
300,763,318
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
import sys import os from datetime import date today = date.today() d = today.strftime('%b-%d-%Y') os.chdir(os.path.expanduser('~') + '/Projects/Dailies/') f = open('History/' + d, 'r') todo = f.readlines() t = [] for i in todo: t.append(i.split('\t')) count = 0 tring = '' for i in t: if int(i[3]) == 0: ...
[ "linsonphillip@yahoo.com" ]
linsonphillip@yahoo.com
67e26d90470efcf18c46eb9e257377553f5fc6d0
8f836e3c4add1af6311abd8c71d517847d29e8f9
/python_learning/chapter_07/05_homework_car_rent.py
7b66d4d0bf70f4cab6b8030b08a564e391e17394
[]
no_license
DanilWH/Python
f6282d5aff5d4fa79c1fd0f0108e6c0c3777a485
b87319409a94e26faf084c22b1eb6a1d55458282
refs/heads/master
2021-01-03T21:23:02.305101
2020-03-11T16:20:27
2020-03-11T16:20:27
240,238,725
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
car = input("What car will you drive? ") print("Let's me see if i can find you a " + car.title() + ".") # Упражнение 7-1. table = input("How many seats do you want to book a table for? ") table = int(table) if table > 8: print("You'll have to wait!") else: print("Your table is ready!") # Упражнение 7-2. ...
[ "danil-lomakin-02@mail.ru" ]
danil-lomakin-02@mail.ru
eaf29e83d40cec35b810a8a9c15508e823833c0a
c9715623943f02a128e41d68cbed9e0cef403977
/Lesson_2/fib.py
b7b93260c862d4e14215d1cb5cb4e0f42ea39ce4
[]
no_license
uctpythonmlgroup/Intro_to_python
ff7a1fffe883d4fb333206f5f4a509256ea5e3c4
425cc7ca16392788e53f042e8788bb0a63dfef7a
refs/heads/master
2021-08-11T07:41:28.587367
2017-11-13T10:14:43
2017-11-13T10:14:43
109,162,044
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
a=1 b=1 for k in range(0,9): print(min(a,b)) print(max(a,b)) b = a + b a=b+a
[ "noreply@github.com" ]
uctpythonmlgroup.noreply@github.com
1732ddf41c7cc5d3f9943f743096a79655acd97f
b8de48551cbadf1738f3eafeb738b80dbcfc4494
/students/YingGuo/lessons/lesson09/assignment/charges_calc_02.py
49596e9a7e31aa70e0ac0aa69ed9161bf50defca
[]
no_license
UWPCE-PythonCert-ClassRepos/py220BV201901
41a6d4a73109ca4b5b22675972397e7445e6b8bd
23ceab6bcb0b9f086d72dfad9b021ac0b53095e8
refs/heads/master
2020-04-15T19:22:48.976024
2019-03-18T14:16:23
2019-03-18T14:16:23
164,947,759
0
6
null
2019-03-18T14:16:24
2019-01-09T22:25:01
Python
UTF-8
Python
false
false
5,723
py
''' Returns total price paid for individual rentals make logging selective, by using decorators. Add decorator(s) to introduce conditional logging so that a single command line variable can turn logging on or off for decorated classes or functions. ''' import argparse import json import datetime import math import logg...
[ "guoguoying2013@gmail.com" ]
guoguoying2013@gmail.com
43fc8a4ea2cf68653b12fb4c5a54251004fda3a3
f4571a321bc392fa778361321c24f026060d39da
/src/constants/mattermost_status.py
aae3c92de0021ae4d2ddcb4259d20065637a402c
[]
no_license
zaantar/gcal-mm-status
ea3dc82435e85fa820a1ea268a433db89ed44f8e
e37f0ff3c50237e0afab743b435e1eb635ee6297
refs/heads/master
2020-11-30T05:31:21.625590
2020-03-08T17:36:45
2020-03-08T17:36:45
230,316,964
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
from __future__ import annotations import enum class MattermostStatus(enum.Enum): """ Available statuses in Mattermost. """ ONLINE = 'online' AWAY = 'away' DND = 'dnd' OFFLINE = 'offline' @staticmethod def from_string(value: str) -> MattermostStatus: try: retur...
[ "jan.s@icanlocalize.com" ]
jan.s@icanlocalize.com
1a7c19bb17aa7bdc6a88688b9ee0476a0a96361c
7d9da7893d33bfbcbb9da98d4a530885cdfc74d3
/server/libnetfow/analizator.py
8854aaebdf6a4c0aaf813aa9456e9e7e39ea9adb
[]
no_license
alex-eri/spot4
f01be5426ce8b29ba3ca847b63c7c66423e0f382
2611b1e833c1ce7de5a42fb5d437bcabfe15f1ce
refs/heads/master
2022-12-10T20:28:08.676121
2021-10-20T14:20:11
2021-10-20T14:20:11
63,141,818
1
0
null
2022-12-05T02:22:42
2016-07-12T08:46:12
Python
UTF-8
Python
false
false
1,293
py
import logging logger = logging.getLogger('netflow') debug = logger.debug RX=1 TX=0 async def aggregate_remoteaddr(db, account): sensor = account['sensor'] start = account['start_time'] end = account['event_time'] ip = account['ip'] def group_remoteaddr(direction=TX): match = { ...
[ "alex-eri@ya.ru" ]
alex-eri@ya.ru
daf9645ae49b6bd310089aaeaba47b2468dbfa18
a1f74832850a512312b418c9f1c8e4a50d1c6b8f
/john_lam_folder/Loops_challenge.py
e701e15e9eaf38301e3e0847f2f59cff73f77b00
[]
no_license
aryndavis/pod1_test_repo
5a0250ed872c95125b078b19e82002c2a0c83907
9fe305ef8ab5d2904eca0162539a23c514289e6c
refs/heads/main
2023-03-27T05:21:37.035545
2021-03-23T22:59:26
2021-03-23T22:59:26
333,952,446
0
1
null
2021-03-25T03:39:48
2021-01-28T21:14:04
Python
UTF-8
Python
false
false
2,018
py
# You run a startup media company called Ripple Media # It's typical when you hire a new employee in your company, to setup an email id for them print('Question 1') employee_name = 'Ash Rahman' # You have decided the format of the email should be: Ash Rahman -> ash.rahman@ripplemedia.com # Let's write some code that...
[ "johnvenhlam@gmail.com" ]
johnvenhlam@gmail.com
bd76d6ead403f7af79152854fe8b102f29a3117f
30115fa73113b1f24168b797fc3baa360fd43474
/venv/lib/python3.6/site-packages/moto/secretsmanager/responses.py
c50c6a6e1422b302c815501ca7f3c6617ea52c1c
[ "MIT" ]
permissive
Yugandhar445/new
43a3282e3b0333c105e8ebc383eef337e1501777
d46018cae017e68e34f1150b455bffc4af34d369
refs/heads/master
2020-12-20T08:04:45.225152
2020-01-24T13:46:02
2020-01-24T13:46:02
236,007,538
0
1
MIT
2020-07-24T18:14:05
2020-01-24T13:27:25
Python
UTF-8
Python
false
false
2,161
py
from __future__ import unicode_literals from moto.core.responses import BaseResponse from .models import secretsmanager_backends class SecretsManagerResponse(BaseResponse): def get_secret_value(self): secret_id = self._get_param('SecretId') version_id = self._get_param('VersionId') vers...
[ "yugandhar445@gmail.com" ]
yugandhar445@gmail.com
568687cb6048f79a68d212cad5e6e087138109a1
0a8ff6940e22ea1118fefafa153496406c4009a7
/solucion_usando_verlet.py
d0c65a814c457b13934acb26e5adcb521cedfed3
[ "MIT" ]
permissive
FernandaPerezV/04Tarea
4828d01930b89930a352e86ba582f50b0a7729c9
2a542b96631836f7abd11c4beed44ad943f30e91
refs/heads/master
2021-01-17T10:41:00.270058
2015-10-21T00:12:31
2015-10-21T00:12:31
44,348,399
0
0
null
2015-10-15T22:09:40
2015-10-15T22:09:40
null
UTF-8
Python
false
false
1,613
py
''' Este script utiliza la clase planeta para integrar la trayectoria de aproximadamente 5 orbitas con el metodo de verlet, graficando la trayectoria y la energia vs tiempo en cada momento. Grafica dos veces energia vs tiempo con el fin de dejarlo en dos escalas: una de cerca para ver a forma de la funcion y otra mas d...
[ "fer20mc@gmail.com" ]
fer20mc@gmail.com
66946768c93316b60069c1afc10b1b5790bacf50
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Numerical_Eng_Python/goldSearch.py
8c5202bce215850addb3cc3ad6d9c493f9b1402d
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
1,532
py
## module goldSearch ''' a,b = bracket(f,xStart,h) Finds the brackets (a,b) of a minimum point of the user-supplied scalar function f(x). The search starts downhill from xStart with a step length h. x,fMin = search(f,a,b,tol=1.0e-6) Golden section method for determining x that minimizes...
[ "bb@b.om" ]
bb@b.om
deaa7e28eef166b4cf7fd73fc4075a4b0a7d9d97
2010641ee39d6796dc74ed013260d96621e7ca71
/DDQN_Sell/m3/trade_env.py
043de1e5310508e4a7d49ce62d9466fdb7cc38a2
[]
no_license
citymap/RLGAN_Trade
2328bc8b6ffacbbea2464b04e088e9c1434ce358
f2e1045ae499a8a9e11912d4966f99b63101e642
refs/heads/master
2020-07-27T19:25:04.847193
2018-09-14T15:56:55
2018-09-14T15:56:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,186
py
import gym from gym import spaces, logger from gym.utils import seeding import numpy as np import lib.dblib as db import matplotlib.pyplot as plt RUN_DATE_COUNT = 300 #學習過去幾天的資料 WINDOWWIDTH = 300 # 螢幕寬度 lose_cnt=[] win_cnt=[] point_list=[] profit=[] points=0 lose=0 win=0 class TradeEnv(gym.Env): metadata = { 're...
[ "Geniustom@gmail.com" ]
Geniustom@gmail.com
64c03040122c2b32331a217bc57f2efe4b61298b
127373716feed1df726f45d83db9c896834102a8
/src-py/jobber/runners.py
b31c042a6330a6e5f859af31d99240ad5d8104ce
[]
no_license
immanetize/jobber
4c41b46be85ad31a962a02c0f6f7cd1c00b3acc1
34db36a63b7212b5a105b78de1ae988e5d8aa788
refs/heads/master
2020-09-12T05:18:18.267103
2019-11-17T22:58:15
2019-11-17T22:58:15
222,321,138
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
import argparse import os import re import configparser def test_included_function(positional, extra): print("Your positional arg was:") print(" %s" % positional) print("Your extra arg was:") print(" %s" % extra)
[ "immanetize@fedoraproject.org" ]
immanetize@fedoraproject.org
01fc8cc94a55039be167ca32c48430ee164cedde
d532b85841b459c61d88d380e88dd08d29836d43
/solutions/173_binary_search_tree_iterator.py
da29a2dc51a3ae69bb060f3e154484013f1638cc
[ "MIT" ]
permissive
YiqunPeng/leetcode_pro
ad942468df5506de9dc48a4019933f658e2a3121
4a508a982b125a3a90ea893ae70863df7c99cc70
refs/heads/master
2022-05-15T09:32:02.699180
2022-05-14T16:32:17
2022-05-14T16:32:17
182,453,966
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
class BSTIterator: def __init__(self, root: TreeNode): self.st = [] while root: self.st.append(root) root = root.left def next(self) -> int: node = self.st.pop() res = node.val node = node.right while node: self.st.append(node...
[ "ypeng1@andrew.cmu.edu" ]
ypeng1@andrew.cmu.edu
b371a7a7a040e7ebd7765a0db3fa98ecc7a75150
4ac1ead85fa677320a4a31f2c3fc9187066c7e60
/src/DSGRN/Query/NstableQuery.py
8bed46c3b696a96b7d5f063eb626d4a92062a559
[ "MIT" ]
permissive
marciogameiro/DSGRN
bdca3f88403c0240d90130f43af89cd8f80bf202
47163f4cf3c5ec63972e44b63ec561091ac6f06f
refs/heads/master
2023-01-10T08:34:44.617331
2023-01-02T04:59:58
2023-01-02T04:59:58
182,584,073
2
8
MIT
2021-03-10T03:16:05
2019-04-21T21:26:57
Jupyter Notebook
UTF-8
Python
false
false
1,000
py
# NstableQuery.py # Bree Cummins # Edited from # MultistableQuery.py # MIT LICENSE 2016 # Shaun Harker class NstableQuery: """ NstableQuery Query to check if morse graph index corresponds to a Morse graph with at least N minimal fixed points """ def __init__ (self, database, N ): self.database = databa...
[ "breecummins@gmail.com" ]
breecummins@gmail.com
d8e00a7937baf084fbcb310af4bfb6344cd6093d
e22973173e823d48eb94766754f04e4a486ab764
/pages/urls.py
867aff122100b7f1365463294b9fa2879f29b8ef
[]
no_license
ENADSOFT/realestate
6b11f65f9c77c46806e544d5693d2eef0f865853
de7d52fd197d8303263056a43f227424399382ac
refs/heads/main
2023-01-03T04:37:30.586769
2020-10-13T12:00:08
2020-10-13T12:00:08
303,678,667
0
0
null
2020-10-13T12:00:09
2020-10-13T11:20:15
null
UTF-8
Python
false
false
160
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('courses',views.courses,name='courses'), ]
[ "adeboyeamos7@gmail.com" ]
adeboyeamos7@gmail.com
3ee76fd83f988252ce9429816f54fa2e50372b0b
d59fce89fd7e7e93e0f8ebfe677e8060e5c2144a
/loops/string_iterate.py
2f2d5ccb4e91af570a989c04273030e64cb4cf0f
[ "MIT" ]
permissive
Rhoynar/pysel
a7cdb91063270c1f41fb88661702b0127c009931
7a283cfdcaea3b1e33e615d1e655b6bd1f23f09f
refs/heads/master
2021-05-07T03:38:22.376371
2017-12-01T22:19:02
2017-12-01T22:19:02
110,787,353
1
0
null
null
null
null
UTF-8
Python
false
false
88
py
alphabets = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' for alphabet in alphabets: print(alphabet)
[ "harsh@rhoynar.com" ]
harsh@rhoynar.com
b0eca7988058e2bf2c3dfda77e98548675ecd863
122b2a025a491fea990e1834249276fbc2a80c16
/lab2/modules/number_printer.py
4baf43a6b317a188ac6e6f08c7145307a310fd0d
[]
no_license
markiiankyselytsia/devops-labs
62ac83ff1eed2d42dc1a99693320a61712f1304f
990c1fc6b9ea95cfd7dd194c186973ed4288320e
refs/heads/main
2023-02-17T07:33:39.665031
2021-01-18T20:24:24
2021-01-18T20:24:24
308,987,179
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
import logging def print_nums(is_even): print(list(range(2, 101, 2) if is_even else range(1, 101, 2))) def inverse(num): try: print(1 / num) except ZeroDivisionError: logging.getLogger().info('Число не може бути 0')
[ "noreply@github.com" ]
markiiankyselytsia.noreply@github.com
d59f7f06c3e1d1f3a9b01ea03a2e891f2c561325
e62096aab55170f3041c0b05eeca837a64c9c8f3
/base/day3/迭代.py
a6494327d807701cac644aebe0ecc5718d22f1eb
[]
no_license
dianligegege/learn-Python
b8850d52cede9b9ec582c84a2fed6d66624cbc07
60f4bc61ab111574ee48a2d81f45ecec0d6845bb
refs/heads/master
2020-04-19T10:07:01.150348
2019-04-08T11:31:18
2019-04-08T11:31:18
168,130,739
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
from collections.abc import Iterable # 迭代 d = {'a':1,'b':2,'c':3} print(d.items()) for k in d: print(k) for v in d.values(): print(v) for k,v in d.items(): print(k,v) for i in d.items(): print(i) print(isinstance(i, Iterable)) for i, value in enumerate(['a','b','c']): print(i,value) # ...
[ "zhangli@huobi.com" ]
zhangli@huobi.com
dfa4b91b68f7ef3f9200edc023eb807dc582bfc3
942d9826bb58f917bf1ad2988f184822bf180859
/lang/lexer.py
8b0abc5ae728dc76556accc21fed31c9ed8ed2ee
[]
no_license
andars/lang
f1d03cdae67757b908b8e2edd6abf6fe772195ab
aab861ff6f2d33826367ee78fcc97d731b2f33ce
refs/heads/master
2021-01-19T11:37:26.180226
2014-04-27T21:50:35
2014-04-27T21:50:35
19,206,965
1
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
import sys import re from .tokens import token_expressions from .token import Token class Lexer(): def __init__(self, content): self.content = content self.offset = 0; #Save and Load allow for the parser to look ahead and move back def save(self): return [self.offset] def load(self, state): self.offset =...
[ "afoote97@gmail.com" ]
afoote97@gmail.com
4dc9f22cd8a24ac318191db8404a75f6b608c804
fa04b859e04c315a7c64bf435b2b8a0156083727
/OldResearchAndDevelopment/aw-ml-algorithm/online_examples/aiml/recurrent_nn_tutorial/lstm_tutorial.py
9ce8c3f3ca95d46374008800a3c2e4cfd7a9dea6
[]
no_license
awoziji/olympian-biotech
0923ccec23b387456800e5259e6e0f12a5fe5d57
39ec0c89fdf180d6eacb3342e9a73c4a04225330
refs/heads/master
2021-04-20T16:19:37.593415
2018-06-27T01:14:55
2018-06-27T01:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,547
py
import tensorflow as tf import numpy as np import collections import os import argparse import datetime as dt """To run this code, you'll need to first download and extract the text dataset from here: http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz. Change the data_path variable below to your local...
[ "apsw@wallace2.com" ]
apsw@wallace2.com
0d25581023f8d8b557c1dcda1457ecdc5a273c8f
2fd5a0e32d5f697e8328aad5f6a79f3943b61d65
/service/elasticsearch-service.py
0ab11eda65b338d26dc47ddfd64e136fbb36e7ba
[ "Apache-2.0" ]
permissive
sesam-community/elasticsearch-source
f5da0348d1e852081b2882ff1244ce7c41408bd4
3ae13c12ca7bf0c1b190d4ffdcd2df80909f1158
refs/heads/master
2023-06-01T01:15:11.518997
2019-12-10T12:27:54
2019-12-10T12:27:54
223,147,179
0
0
Apache-2.0
2019-11-22T07:48:02
2019-11-21T10:22:24
Python
UTF-8
Python
false
false
4,131
py
from flask import Flask, request, Response import cherrypy from datetime import datetime, timedelta import json import logging import paste.translogger import requests import os import boto3 from botocore.credentials import InstanceMetadataProvider, InstanceMetadataFetcher from requests_aws4auth import AWS4Auth secret...
[ "gramoore@outlook.com" ]
gramoore@outlook.com
e8fee5d2b9a5d9953e740a80cc82fbe9dbd5500d
cdb095702a35cb38255651c075ff4719e8b2401b
/qualcoder/GUI/ui_save_query.py
5f2f0252ff2b1f11996caad226ee095b876d3864
[ "MIT" ]
permissive
ilippert/QualCoder
dfb7015027a03bde3f79de4b12984afe51dc805c
cb3ec9bcd347adaba5d81fef5d83f40c6a338c64
refs/heads/master
2023-07-06T07:43:32.576748
2021-12-17T18:54:39
2021-12-17T18:54:39
248,160,930
0
0
MIT
2020-03-18T07:02:17
2020-03-18T07:02:16
null
UTF-8
Python
false
false
2,973
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_save_query.ui' # # Created by: PyQt5 UI code generator 5.14.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_DialogSaveQuery(object): def setupUi(self, DialogSaveQuery)...
[ "noreply@github.com" ]
ilippert.noreply@github.com
9788f57270dd8a4fd16f6f293f386bace2713928
7084a96fc21297f8d60461a7ec18b377481460ac
/hello_app/modules.py
3381f66ad6244b1cbae54a38e6a0460581350884
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
masonnixon/python-webform-flask-app
a4331d7d3bd02904fbb2b2c724a2cc095d3154cc
6a122f9d7c83415d6ccdd638c1a925af60c99de0
refs/heads/master
2023-03-23T05:23:10.050597
2021-03-18T18:08:21
2021-03-18T18:08:21
348,856,106
1
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
# functions to be used by the routes # retrieve all the names from the dataset and put them into a list def get_names(source): names = [] for row in source: # lowercase all the names for better searching name = row["name"].lower() names.append(name) return sorted(names) # find the ...
[ "masonnixon@gmail.com" ]
masonnixon@gmail.com
0ae02d349e4887377624aa3f3912d19f811b752f
72d5da7ee23be1efbcea2e756c1e30be24523ad1
/src/sort function.py
3e80e473e1866edd3b502564c92fbee9d4095b2f
[ "MIT" ]
permissive
christian-fox/Poker
99ef69b67d8ed1a4aca27912989843446a575942
53984e6de571f832c010d1364e284f6cbfdd46e6
refs/heads/master
2023-05-30T21:49:17.982788
2021-06-23T09:37:15
2021-06-23T09:37:15
330,729,067
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
number_list = ['8 S','14 H','3 C',10,7,2] print(number_list.sort())
[ "10foxc@ChristiansMBP2.home" ]
10foxc@ChristiansMBP2.home
675ecc3bb9c3d84673ee69a64c91a5fa080af81d
359f3d8a1a2b5524490c314a44d60cec1d06f658
/whoweb/users/models/__init__.py
36572f662c8de8723b1fe5cba580e20525b29784
[]
no_license
sivasuriyangithub/Merket_Intellect-s3.route
ec9d9aa7d4575d5ff8006e1454f69e4033193fc0
71a9ab642f9a31f4a318cebec7fe6a075870a83c
refs/heads/master
2023-08-25T13:51:02.116705
2021-10-19T01:06:49
2021-10-19T01:06:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from .organization import Group, GroupOwner, Seat, DeveloperKey from .user_profile import User, UserProfile __all__ = ["User", "UserProfile", "Group", "Seat", "GroupOwner", "DeveloperKey"]
[ "zach@whoknows.com" ]
zach@whoknows.com
20aa50a3725a3abe382b5d70e5525a1f739f9bc6
86465d9f76a96a9375f81013cb9a06740c0b558e
/git_test.py
7d80561f8d7f94e5603d8d1efc7549a2c3368f94
[]
no_license
GaryChen10128/test
f5a29ea305b705c2ff7e96e3f5c4400d2d3cc3bb
df180123499c5a7dd37ba98faa7c6c0c96640edb
refs/heads/master
2020-05-26T20:59:40.364628
2019-05-24T08:17:26
2019-05-24T08:17:26
188,371,860
0
0
null
null
null
null
UTF-8
Python
false
false
5,904
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 11 14:21:56 2019 @author: 180218 """ import gitlab # private token or personal token authentication #gl = gitlab.Gitlab('http://10.0.0.1', private_token='JVNSESs8EwWRx5yDxM5q') #gl = gitlab.Gitlab('http://gitlab.ideas.iii.org.tw', private_token='JLj9KwzuqNPGBmZ37VrK') #g...
[ "garychen@iii.org.tw" ]
garychen@iii.org.tw
f1349eeb2548da2ee6788c62c1b9ce3bce799e31
c8b8fb9d674ee800b79b30aab91c43f76ec9b3ff
/Rosol-Odoo/extras/rosol/controllers/controllers.py
ef660be6876e598df9938a0000cf64f4cfd2b14d
[]
no_license
MariaLatif/Rosol-Odoo
03e3774aa09c8ba0facbb501e40e1b8eb844ce6a
987c0d559a987013b7450de6ede8767c8ae58893
refs/heads/master
2021-07-06T00:44:55.873924
2017-09-30T22:13:46
2017-09-30T22:13:46
105,398,811
0
0
null
2017-09-30T22:13:47
2017-09-30T20:28:35
Python
UTF-8
Python
false
false
669
py
# -*- coding: utf-8 -*- from odoo import http # class Rosol(http.Controller): # @http.route('/rosol/rosol/', auth='public') # def index(self, **kw): # return "Hello, world" # @http.route('/rosol/rosol/objects/', auth='public') # def list(self, **kw): # return http.request.render('rosol...
[ "maria.mia.latif94@gmail.com" ]
maria.mia.latif94@gmail.com
85bee7243b4ec80b1dc308b93e5ea2081a95ae6c
3482928a04e467dfd4808aa6df0d87bd28c34b98
/lesson8_1.py
78d71c6012af50a52b370b29be1e5e90ce8190c8
[]
no_license
rkashapov2015/python_lesson8
45ea758684f0078f2c9c8b0538aafbbecc21956c
64fe8c99c2537f41ee90ae7c9ff497193a3665a0
refs/heads/master
2020-03-29T03:50:31.104253
2018-09-21T04:54:30
2018-09-21T04:54:30
149,503,460
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
import os import webbrowser webbrowser.open('https://wwww.ya.ru')
[ "rinatkzz@yandex.ru" ]
rinatkzz@yandex.ru
359719151fda0cd81217ebd01501d97d6aac818c
bf72ddbf4bf0fbb944aab69bea50632cb0d0fba5
/code/weapons.py
5037cd45333fc56a724a2bcd28d0802f9e874b85
[]
no_license
UnaStankovic/GlobalTerrorismDatabaseAnalysis
0665fa3f1d82ec94974357449586e31247b9711d
a0ffbbc7b56b06a77a2289dcfed769b4c31ee134
refs/heads/master
2021-01-22T07:48:05.927360
2017-06-30T00:19:34
2017-06-30T00:19:34
92,576,982
0
1
null
null
null
null
UTF-8
Python
false
false
2,399
py
import pandas as pd import matplotlib.patches as mpat import seaborn as sns import matplotlib.pyplot as plt import numpy as np import sys def year_group(year): yr_grp='' if year < 1980: yr_grp = 'Group 1' elif year < 1990: yr_grp = 'Group 2' elif year < 2000: yr_grp = 'Group 3' ...
[ "urosstegic@gmx.com" ]
urosstegic@gmx.com
989a8f0dbaf50909bbb1c170f47ee5721c8c9124
c2d81dbce6858217e2fdaa9399e936a6667f5be7
/01_dell.py
97298f330c56acfda8b4dd7d14d6ccee4b04aaa2
[]
no_license
akash123456-hub/hello.py
2a705fded2e0b7eca3e4c48080cb05c8a8ac126f
9da2235804041217efb7b26a00ad3b3bc4b0eabd
refs/heads/master
2023-08-15T11:42:46.582938
2021-08-03T17:19:00
2021-08-03T17:19:00
372,376,642
0
0
null
2021-08-03T17:19:01
2021-05-31T03:57:03
Python
UTF-8
Python
false
false
267
py
class Employee: company = "Google" salary = 3000 alka = Employee() rehman = Employee() alka.salary = 4000 rehman.salary = 5000 print(alka.company) print(rehman.company) Employee.company = "Youtube" print(alka.company) print(alka.salary) print(rehman.company)
[ "akash.m@ipsator.com" ]
akash.m@ipsator.com