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
fe11ab8369162212f8ea26d7d1324131d3d39039
7c285bc226eb1424a7b9dae154301e92af08e2ee
/.c9/metadata/environment/products/models.py
2d3c42af567c10672fc988634cbb7a3ce5766a4a
[]
no_license
JShad30/ecommerce
f0755d06e2790a9456b3b90f6e8cd7bb9e3f5f51
1634618b00dee14400948d4d06321d02a999a5c4
refs/heads/master
2020-06-20T03:40:41.073735
2019-07-15T10:45:30
2019-07-15T10:45:30
196,979,298
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
{"filter":false,"title":"models.py","tooltip":"/products/models.py","ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":10,"column":24},"end":{"row":10,"column":24},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":45,"mode":"ace/mo...
[ "ubuntu@ip-172-31-80-73.ec2.internal" ]
ubuntu@ip-172-31-80-73.ec2.internal
28279a0327096fede9a88609bda8fc917788902d
e022862c20d92931f6b119998792377d028d0137
/multi-agent-irl/irl/mack/ncdail.py
f13bb1d098d528977b874cc1834e4af99ef3efb1
[ "Apache-2.0" ]
permissive
renos/CoDAIL
3519dface3720318c79bd9afa3cc0ae889b9ee05
92423c90166ac7c5b88637ca1ef0002f126918db
refs/heads/master
2023-06-26T06:20:09.275801
2021-07-30T03:11:33
2021-07-30T03:11:33
384,311,940
0
0
Apache-2.0
2021-07-09T03:36:48
2021-07-09T03:36:47
null
UTF-8
Python
false
false
27,922
py
import os.path as osp import random import time import joblib import numpy as np import tensorflow as tf from scipy.stats import pearsonr, spearmanr from rl.acktr.utils import Scheduler, find_trainable_variables, discount_with_dones from rl.acktr.utils import cat_entropy, mse, onehot, multionehot from rl import logge...
[ "ericliuof97@gmail.com" ]
ericliuof97@gmail.com
70c2e83deb862bcaf5c7853c8fc59b7e6fda372a
2c4739888c53871524eb883f884470932c93542a
/PyPoll/Main/main.py
14dffa7ea8bf1fea7e838735332869024f228e15
[]
no_license
ncastal/python-challenge
c3171530437cd499f40f27cdb0f66b8a336ec62a
cc4eee24dbbf411c067252e4ad5b04672f9d77bc
refs/heads/master
2020-09-16T14:27:59.102292
2019-12-06T03:14:58
2019-12-06T03:14:58
223,798,869
0
0
null
null
null
null
UTF-8
Python
false
false
2,865
py
import os #importing libraries import csv os.chdir(os.path.dirname(os.path.abspath(__file__))) #change working directory to one where the python file is located election_csv = os.path.join("..","Resources","election_data.csv") #giving the location for election_data.csv election_result = os.path.join("..","Output","ele...
[ "nick.cast89@gmail.com" ]
nick.cast89@gmail.com
8ef65c6fea59304140275f2c14c1aed2bd814595
be26f8fa36ea4e52ef94555fc69a104e88d3fd16
/models/Juan's Models/old scripts/gen_logits_and_embeddings.py
2427ab44a4892dcff7b042188c28007e2df740d6
[]
no_license
davidday99/twitter-data-collector
599eeed1bf0fd995da28053d3547f3b95ddb2385
bf7d203c380dc727d30f1e17b0297f1c011642b0
refs/heads/master
2022-06-02T09:41:26.940830
2020-05-06T19:20:47
2020-05-06T19:20:47
254,766,551
3
3
null
2020-04-27T08:35:19
2020-04-11T00:59:04
Python
UTF-8
Python
false
false
13,350
py
import random import os import pandas as pd import numpy as np from transformers import BertTokenizer, BertForSequenceClassification, BertModel, BertPreTrainedModel, BertConfig from transformers import AdamW, BertConfig, get_linear_schedule_with_warmup from keras.preprocessing.sequence import pad_sequences import torch...
[ "juanpaez@utexas.edu" ]
juanpaez@utexas.edu
672cf8f365696192c08ad050669fd61e20d0a34b
504398cad76a23e1ad5f4eebf8f499b855d57771
/manage.py
2e47f39a342cb53f05ed73b51f03116c9fe19445
[]
no_license
jvxtaposed/WebFrame
75cd0c437eb94ed4c78e8e2dd47d0e6d21fa4421
4da3d76fb8ed79c8a0f32dccb28ca671688802cf
refs/heads/master
2020-03-18T16:57:43.814453
2018-05-26T21:36:00
2018-05-26T21:36:00
134,996,205
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "WebFrame.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "iliketreeslol@gmail.com" ]
iliketreeslol@gmail.com
ac05dc636b481b86f4960bbd377201c4bffdcfe9
569498d8a61dd6cdaa515165415d3a72c5dbf0c5
/part 2/050.py
a014890e32dbfcda0d6f27e272044b4dc8cee371
[]
no_license
baikzzi/python
068e0b05ea13ab30a3798e97a25f9ea48084c36b
112b4565d8bc09eb08b9c152eaf2dd6dd0ba8b35
refs/heads/master
2023-03-04T20:45:03.028018
2021-02-15T01:53:04
2021-02-15T01:53:04
338,942,000
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
class MyClass: var = '안녕하세요' def sayHello(self): param1 = '안녕' self.param2 = '하이' print(param1) #'안녕'이 출력됨 print(self.var) #'안녕하세요'가 출력됨 obj = MyClass() print(obj.var) #'안녕하세요'가 출력됨 obj.sayHello() #obj.param1
[ "qorwlghks120@gmail.com" ]
qorwlghks120@gmail.com
f71f2963e3eed53924dacf78596b44a5360a72d6
ea7555f1a0ae52a3f97268add832ba1e45d23c8e
/plate_tracker.py
e0573c66651ed579341fc45b01fe37f2c9464008
[]
no_license
alexjfreij/Projects
bae27c580b29e9d40aa2071ac79afbc35d97838f
71ba51929e62ff2ae0d3de4910bb32ce500b372f
refs/heads/master
2021-05-25T21:17:02.814498
2020-04-07T22:19:10
2020-04-07T22:19:10
253,923,017
0
0
null
null
null
null
UTF-8
Python
false
false
1,545
py
# Program to read a jpg files and convert it to one file # with data that has a time stamp from the file and convert # the content of the file into a character string of license plate # and date and time to process # # import os, datetime, time from datetime import datetime from os.path import getmtime ...
[ "noreply@github.com" ]
alexjfreij.noreply@github.com
36303e57f19d8642e572535bcda07112eb1b0a31
e1266f257c741395be3f9f3fe02c34a652c3612e
/scrapyP1/scrapyP1/settings.py
3b8e8c21ffcf3c53286d11e9b94ccd902342b438
[]
no_license
zhaocc1106/Web-spider
94ffadcaadeb38fbdc1da8f5841a5a623565b236
ed0de975c22c2d7235dfc668b99ea946ad99a6c5
refs/heads/master
2020-04-09T04:01:49.756553
2018-12-02T02:51:51
2018-12-02T02:51:51
160,007,481
0
0
null
null
null
null
UTF-8
Python
false
false
3,091
py
# -*- coding: utf-8 -*- # Scrapy settings for scrapyP1 project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topi...
[ "450959507@qq.com" ]
450959507@qq.com
afc1a666a4f46b1ed0c0e581248921cb5c0ed709
3a9ab7e571e992b7af50c23673cb9b31971a8868
/python essentials/indexing and slicing/indexing.py
45ac5d5eedadc0db9495a51a432e1fd02c3abf73
[]
no_license
chenkeyu1997/python
6e3f3997aa62d245699e1b9066c201a2b015c434
9a638242b06735cfa48ad074909842452b104651
refs/heads/master
2022-12-18T11:07:10.126932
2020-09-21T06:00:05
2020-09-21T06:00:05
296,557,357
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
s='hello world' print(s[0]) """负向索引,负几则表示倒数第几个元素""" print(s[-2]) try: print(s[123]) except IndexError: print("string index out of range")
[ "cky123" ]
cky123
a66199c42e47bad003812f72f14cdc6b3c5af967
54b52c70ebf3b3c17c72f7c5cc8219a060c1ffdf
/main/migrations/0001_initial.py
d78f2b40b82a4ca0837be9975207f8df6bde8129
[]
no_license
arslan77/learnobot
e892d990736bd4a882ba6786cfbe00dc00acd326
7646cde351231a138b6e30529690f76b3989837e
refs/heads/master
2020-03-29T10:40:46.554285
2018-09-24T03:53:48
2018-09-24T03:53:48
149,817,437
0
0
null
null
null
null
UTF-8
Python
false
false
2,236
py
# Generated by Django 2.1.1 on 2018-09-20 23:17 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('Course', '0004_auto_20180921_0417'), migrations.swappable_depen...
[ "arslanarshad07@gmail.com" ]
arslanarshad07@gmail.com
eaafa5a0d6f534e474290d094f533956580c7495
689fcced10cc920c263e4d85bed5a51f85c76abb
/aragwas_server/aragwas/settings/dev.py
8c4d30842e367920ea352a2e0638d1fd37694449
[ "MIT" ]
permissive
1001genomes/AraGWAS
ddb10ea3e476c8cee31e75f9db6dc2bd79f7f487
be02c0480bf18228b07853740e63f249fe31d7e5
refs/heads/master
2022-12-29T00:12:59.936918
2020-08-31T16:32:04
2020-08-31T16:32:04
82,693,787
13
9
MIT
2022-12-06T20:20:08
2017-02-21T15:11:31
Vue
UTF-8
Python
false
false
554
py
""" Development settings using sqlite3 and DEBUG = TRUE """ import os # Load defaults in order to then add/override with dev-only settings from .defaults import * DEBUG = True TEMPLATES[0]['OPTIONS']['debug'] = DEBUG DATACITE_REST_URL='https://mds.test.datacite.org/' # Database # https://docs.djangoproject.com/en/1....
[ "uemit.seren@gmail.com" ]
uemit.seren@gmail.com
aa51cfc869fb53ffd850f220d3edca3c6f687c19
bb9f832674635e264e1950d041c03acdec7bd83e
/Day 27/main.py
d2dc8b3910956424adeeeaec0b72a63f4f5c1ce5
[]
no_license
guilhermeaugusto9/100daysofpython
4e8030a2ae63b5d210b72844e2dccd5cfcf95ee3
8100ac0c80ae6af8fb4af49fe5973b0b3575ee0d
refs/heads/master
2023-08-11T16:22:22.681346
2021-10-11T14:40:34
2021-10-11T14:40:34
415,956,708
0
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
from tkinter import * # Creating a new window and configurations window = Tk() window.title("Widget Examples") window.minsize(width=500, height=500) # Labels label = Label(text="This is old text") label.config(text="This is new text") label.pack() # Buttons def action(): print("Do something") # calls action(...
[ "guilherme.augusto9@outlook.com" ]
guilherme.augusto9@outlook.com
2a1904b74022c083eb628ee0359acd8f7fb3c450
4b93aa80436d4683d0254c4bd4b1e95c41e8c6ce
/ZenPacks/community/zenAppProfiler/ProfileSets.py
5e8074b104b9d14da519239077c4f3a688f2f899
[]
no_license
j053ph4/ZenPacks.community.zenAppProfiler
984d5aa04766cc6209ee76a055ceab3373baa0bd
e41d030d67b5df8e41a40f180fa1f57656f20a03
refs/heads/master
2021-01-22T22:39:16.448979
2011-10-20T20:39:36
2011-10-20T20:39:36
2,608,336
0
1
null
null
null
null
UTF-8
Python
false
false
4,993
py
import re import os import string import Globals from Products.ZenModel.ZenPackable import ZenPackable from ProfileData import ProfileData class ProfileSets(ZenPackable): ''' Class containing logic for evaluating rule outcomes. ''' def __init__(self,dmd): self.dmd = dmd self.data = Pr...
[ "janderson@atxg.com" ]
janderson@atxg.com
a6ae38ab912151500b6230c13145389b39b83dc1
01677f99acef3c457b49804990321a7db10f35f7
/LaneCV.py
c11a6e30953006fb4eb6b4b0e2e619d2383e0909
[]
no_license
pranitdemiri/Cap
d56569b75b17bcba23d13e4177d4f457965a82cd
5eb2111b9e0d17ab3ec85e939f8986309210972e
refs/heads/master
2023-01-06T17:43:58.960119
2020-10-21T21:20:39
2020-10-21T21:20:39
306,150,318
0
0
null
null
null
null
UTF-8
Python
false
false
10,321
py
import cv2 import numpy as np import logging import math _SHOW_IMAGE = False class HandCodedLaneFollower(object): def __init__(self, car=None): logging.info('Creating a HandCodedLaneFollower...') self.car = car self.curr_steering_angle = 90 def follow_lane(self, frame): # M...
[ "pranitpokhrel@gmail.com" ]
pranitpokhrel@gmail.com
5771ab25a8f03b02ce6256a0612f9f2a7e8269a9
81a02bce72a7db755eb813cb9619c423bb06684d
/core/migrations/0004_auto_20190314_2308.py
e3e1c39da39e49c4d011f278cb2ddf2d92819f71
[ "MIT" ]
permissive
tsnaf/semita
5d6f88ea982b5296649cfe65e4689fad45ac1641
23cc7954c9bcdf5607592b8d3bb264f69098d5a8
refs/heads/master
2020-08-22T16:59:13.381126
2019-09-06T00:12:52
2019-09-06T00:12:52
216,441,977
1
0
MIT
2019-10-20T23:36:21
2019-10-20T23:36:21
null
UTF-8
Python
false
false
1,706
py
# Generated by Django 2.1.7 on 2019-03-14 23:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [("core", "0003_grant_attachment")] operations = [ migrations.CreateModel( name="Dashboard", fields...
[ "hello@rae.li" ]
hello@rae.li
a5b7936e3d25a8f5c8f9deb635771dc4d7de386f
898f25bb22cd08c191b461934e27c2c6b5bcff42
/finalcnn.py
9e0d18cfce01691895ebb723d8b5e5fe2e8a0c03
[]
no_license
alkadafare01/multiclasscnnmodel
ca4e042d91d3b59774b472d53c6f2622a32e1159
2cf12defd0d3c81dc28ee1c06380bf7d6969bdad
refs/heads/main
2023-04-19T00:12:26.681393
2021-05-07T12:36:49
2021-05-07T12:36:49
322,548,881
0
0
null
null
null
null
UTF-8
Python
false
false
3,957
py
from keras.callbacks import EarlyStopping, CSVLogger, ModelCheckpoint from keras.models import Sequential from keras.layers import Conv2D, Dropout from keras.layers import MaxPooling2D from keras.layers import Flatten from keras.layers import Dense # Initialising the CNN #from tensorflow_core.python.client import sess...
[ "pinki.dafare@gmail.com" ]
pinki.dafare@gmail.com
b1bd3b08a695c7d52e2546ee8ac9436a091b47ac
22a7e337eca6a244205b48e4d06cca67f2b5033a
/SimpleCode/PY_CookBook/chapter8/ceshi_yield.py
06b50f2eafeb4ee2b61554155e44228699ac437a
[]
no_license
chen19901225/SimplePyCode
48f373f66e486276ed6603b7d0d8e388bd236a6c
8276c660e7663688d3d381391a77a50f90e61afa
refs/heads/master
2021-01-01T19:34:57.697967
2014-11-12T10:05:14
2014-11-12T10:05:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
def echo(value=None): print "Execution starts when 'next()' is called for the first time." try: while True: try: value=(yield value) except Exception,e: value=e finally: print "Don't forget to clean up when 'close()' is called." ge...
[ "guoning.leng@o2omobi.com" ]
guoning.leng@o2omobi.com
35fd3b5566f1aaafda384b69fbcda78b39a3b231
334a0efacc8abaa26d92d4a06ef1ba8bb5b7b213
/clockString2image.py
ab8a88dd1535e142436f310ecce5b87b73ee8cce
[]
no_license
gunman-vagabond/gunclock-tensorflow-flask
84c39e2ca387f4b9bdf13b6ebf65c77af8f32563
d6a0af8672d2c6583b385c54248364fd555119a2
refs/heads/master
2022-12-11T06:14:32.194994
2020-02-11T03:04:05
2020-02-11T03:04:05
236,270,374
0
0
null
2022-09-23T22:35:25
2020-01-26T05:18:08
Python
UTF-8
Python
false
false
447
py
import os,csv import sys import numpy as np from PIL import Image,ImageDraw,ImageFont def clockString2image(clockString): text = clockString text_split = text.split("\n") clocksize = len(text_split) - 1 img = Image.new("RGB", (clocksize*12, clocksize*12), (255,255,255)) draw = ImageDraw.Draw(img...
[ "noreply@github.com" ]
gunman-vagabond.noreply@github.com
2fcdb0d6b42b464448075d478508767377ecbf00
e38cdd027c9809c182765d1920d5bf8686c7015a
/Galtron-master/settings.py
04f7aa789313617aed1e1a765f5b2045512897cb
[]
no_license
Moongss/Kookmin_OSS_2017
2c7f4f636fa1fdc5bf68de7792bf349a43d5fc39
8e83f2770610cc3260813c4f8cff5af946a0cbaf
refs/heads/master
2021-01-01T20:38:33.429672
2017-07-31T15:58:45
2017-07-31T15:58:45
98,905,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
import pygame as pg from pygame.transform import * class Settings(): """A class to store all settings for game""" def __init__(self): """Initialize the class""" self.windowCaption = 'MOONGS INVADER' self.screenWidth = 1280 self.screenHeight = 720 self.bgColor = (20, 20, 20) img = pg.image.load('gfx/back...
[ "min@adminui-Mac-Pro.local" ]
min@adminui-Mac-Pro.local
5e7d45027e713ff5923387f455b14bddd9a31ef3
2ae53bf6063c0bb5c227e17c049c0c5963861d7f
/setup.py
73d9782ed28756e09d357999e1812ddbc45eda21
[]
no_license
PsychoDramatic/openshift_django
207e5757e3479ce1baaa6196a4c9175afd089e3a
0d76a07d3b9559429f3cd8031114949e3f141c62
refs/heads/master
2021-01-16T23:11:25.913630
2014-03-01T15:33:54
2014-03-01T15:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from setuptools import setup setup(name='MyDjangoApp', version='1.0', description='Measuredly website', author='Yourname', author_email='your_email@somewhere.com', url='http://www.python.org/sigs/distutils-sig/', install_requires=['django==1.6','django-crispy-forms'], )
[ "steve@mocarski.com" ]
steve@mocarski.com
6884574422f998a6b1d4e95b2c63df25a2b77db1
ddc7c07a4273aab5289a44fde5230856404a771b
/practica_02/p02e04.py
6a44df4ae2e37f90f2693033f98b3c0245ae6e05
[]
no_license
juan81mg/python2020
58736dd993461ab4b2952ccf4438df6e87523f54
e9f8d740569727d95c30ec306ada2774570dd04f
refs/heads/master
2021-03-16T20:19:56.648054
2020-06-22T16:49:27
2020-06-22T16:49:27
246,938,731
0
0
null
2020-05-25T19:55:44
2020-03-12T22:04:13
Python
UTF-8
Python
false
false
597
py
from random import shuffle preguntas = [['Buenos Aires limita con Santiago del Estero', 'no'], ['Jujuy limita con Bolivia', 'si'], ['San Juan limita con Misiones', 'no']] puntaje = 0 #inicializo el puntaje shuffle(preguntas) #desordeno la lista print('+++++ Juego de Preguntas +++++\n') for p in preguntas: print('>...
[ "juan81mg@gmail.com" ]
juan81mg@gmail.com
4296ad62182dde60033292fbec716ff5b8b146d6
fe45c03ac8ee55122e89b4ee2e541cd196c43b93
/Coffee/apps.py
a1e1644ad55807044d97515b49cbaabd4c882566
[]
no_license
ssemtner/CheckYoSelf
593a23b25d36ce7e5550822364b713ec3cfa7a51
36b497df3cd87af03b77476d393b56d3ba436edc
refs/heads/main
2023-02-16T09:23:26.179680
2021-01-13T18:23:03
2021-01-13T18:23:03
312,876,268
1
1
null
2020-12-10T02:25:52
2020-11-14T18:22:38
Python
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class CoffeeConfig(AppConfig): name = 'Coffee'
[ "sjsemtner@gmail.com" ]
sjsemtner@gmail.com
1954811c048f96bc8ce065432708a723ac852065
24d9ab3789aa0f7c3c6fffdf876315abb8b3f0ee
/app.py
ede3560a2c5a86c85ad5d62f44c4022c88dd421f
[]
no_license
winocas/project3
cc876362988c4f418a9c4bc98a3527d667be51c6
8e55cffc815eaef38c586aebefc6aec17ecbb351
refs/heads/master
2023-03-29T05:29:54.804122
2021-03-30T12:28:05
2021-03-30T12:28:05
352,922,013
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
# from flask import Flask, url_for, redirect # app = Flask(__name__) # @app.route('/') # def home(): # return redirect(url_for('main')) # @app.route('/service') # def main(): # return '서비스' # if __name__=='__main__': # app.run(debug=True) from flask import Flask, render_template, redirect, request, url...
[ "sec021122@gmail.com" ]
sec021122@gmail.com
575b513edcb70131289f04f5a2a9725d843d874e
0875d9c4ed9bec3794aee6435eb49243ab84ac05
/Machine Learning/IntroduccionML/Algoritmos/IntroVectorSR.py
9716ba998a6b438171a84f7cd323db2249efb065
[]
no_license
AngelSosaGonzalez/IntroduccionMachineLearning
b49ba29a717bd2c3bbd6c93615d3ef3bc5e1561d
d9e13efe5703e6a6375a971c87fd000ba98024c7
refs/heads/main
2023-03-05T14:08:23.066293
2021-02-20T04:31:34
2021-02-20T04:31:34
327,723,090
0
0
null
null
null
null
UTF-8
Python
false
false
5,221
py
""" Vectore de soporte de regresion: En este proyecto veremos en la marcha el concepto de como se puede aplicar este algoritmo de ML, en este proyecto aplicaremos los conociemiento basicos aprendidos en ML, de los antiguos proyecto que estan en este recopilatorio, te recomiendo revisar los proyecto que hablan sobre r...
[ "angelsosagonz@gmail.com" ]
angelsosagonz@gmail.com
2dd168e0be879c0702c0c7d22fff6db2edb3e519
528add9808b43905fb2f71c94fdf20d374b69878
/usersApp/models.py
8445c225db2dc6d46af37df5e1a28df75e4342fc
[]
no_license
paulsmalze/singleModelOrm
5695804a492e1be06650bc0598779df9288c5dac
30080a33a2a44ba13d595a7af136f5d9fd8ff12e
refs/heads/main
2023-04-25T12:20:55.718554
2021-05-08T15:43:25
2021-05-08T15:43:25
365,535,730
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from django.db import models # Create your models here. class User(models.Model): first_name = models.CharField(max_length=255) last_name = models.CharField(max_length=255) email_address = models.EmailField(unique=True) age = models.IntegerField() created_at = models.DateTimeField(auto_now_add...
[ "waffwegs@yahoo.com" ]
waffwegs@yahoo.com
00ea6f281f439dcb4972df7de507c087190b305f
fd8bbeed2fe5de26cce3630bab9ba477b371b3aa
/csv_to_android_table_layout.py
047c6e145a029d6498d844bbfd513cd120d8fff5
[]
no_license
himanshugarg/scripts
b905820a1a1e6ddeb0870d183b9ceb8b98c666fe
88140d9784b2fd236556f766fccd266f36b02da2
refs/heads/master
2023-09-02T17:20:17.220500
2021-11-21T02:33:32
2021-11-21T02:33:32
121,906,994
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
import csv import sys import os import pdb print """<?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:shrinkColumns="*" android:stretchColumns="*">""" #extr...
[ "noreply@github.com" ]
himanshugarg.noreply@github.com
fb08e0f0d2390feae8987bf4b8d691e996af235a
dd1ce317b6016ec1a86e913c4c227f803ec3e15f
/k11/digger/middlewares.py
27df64bac097a61280a4f6978051370ebbf0ed26
[]
no_license
JaisPiyush/k11
3933b7f9b542ff935e1c52a17129000a8b7c95b7
312ae1c6bb4ebc6fcb6581fcd4eb2e15846ce7f8
refs/heads/main
2023-08-05T01:56:30.355775
2021-10-08T05:21:09
2021-10-08T05:21:09
359,769,657
0
1
null
null
null
null
UTF-8
Python
false
false
3,648
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class DiggerSpiderMiddleware: ...
[ "iampiyushjaiswal103@gmail.com" ]
iampiyushjaiswal103@gmail.com
91e05bb48354f85dc8b7543296aeacca210c3e50
2fcef29373541c8707b4047c444cfd567aef03a4
/src/bttracker/_version.py
805186d291b945c1733ebe1b3ee68f7d3081fdab
[]
no_license
manjuladangalla/BtTracker
a6c94e752abfca89cad6b47e246847aec7203b3b
9641d7f6ac62c91986c1fd83879c4852bf208448
refs/heads/master
2022-12-03T15:39:31.276673
2020-08-07T03:35:02
2020-08-07T03:35:02
285,728,593
0
0
null
null
null
null
UTF-8
Python
false
false
18,442
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 t...
[ "noreply@github.com" ]
manjuladangalla.noreply@github.com
f3467f1043b80a0ea9337c61aa83eb37180e440c
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/mphnok005/question3.py
8ab32014734be33c45000ec60015c87758483dae
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
from math import* x=sqrt(2) a=2 pi=2*(a/x) while x<2: x=(sqrt(2+x)) pi=(pi*a/x) print("Approximation of pi:",round(pi,3)) c=eval(input("Enter the radius:\n")) print("Area:",round(c**2*pi,3))
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
94f2093636ae67fdc8ec2d5431c2b52cbd51d7c2
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.0_rd=0.5_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=25/params.py
1e06a0ee411f4cd8e4e96c1df8f010d7336d6730
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
{'cpus': 4, 'duration': 30, 'final_util': '3.041500', 'max_util': '3.0', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 25, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
452d72297d0a3b0666a56a4a72ddda202448eb36
c2c0f1f565a285146a30dcab99e08e8353e03e54
/geocoding_cache/backup.py
a74de831b589d1e9793dc0a64c2e9ade43388c34
[]
no_license
adamhammes/geocoding-cache
f522f9be6078ae32a62cf9dd427b94489662285e
110d6607af73d3ed064e06f432e6da33af2afb80
refs/heads/master
2023-06-14T04:42:25.109278
2021-07-07T17:47:20
2021-07-07T17:47:20
274,026,001
0
0
null
2021-03-20T04:25:04
2020-06-22T02:55:40
Python
UTF-8
Python
false
false
657
py
import datetime import sqlite3 import tempfile import boto3 def backup_db(source: sqlite3.Connection): print("Backing up the database") s3_client = boto3.client("s3") day_of_month = datetime.datetime.today().day object_name = f"geocoding_cache/{day_of_month:02}.sqlite3" with tempfile.NamedTempo...
[ "ahammes@cortexmedia.ca" ]
ahammes@cortexmedia.ca
ad90603cf859e61bf494044b900c7e253b975437
7ae423b21e39bc12b33566826ca8b27475a89e40
/spider_JDMeizitu.py
f3c9a215f25168acf884884ae610ef3d46c2d34a
[]
no_license
Joeliqq/PythonSpider
d28a3fd3d337f55a328cea57954c8ade5d6b01ad
afc1a3ef312a269b5efec18c363dd21649598d20
refs/heads/master
2021-05-04T10:02:15.913070
2018-01-31T00:45:51
2018-01-31T00:45:51
48,534,424
1
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
# coding:utf-8 import urllib2 import random import os from bs4 import BeautifulSoup def getSoup(url): req = urllib2.Request(url) req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36') html = urllib2.urlopen(req).read(...
[ "joe.study.work@gmail.com" ]
joe.study.work@gmail.com
3da3e17495525b485fd627a5d52d55b261e728ec
8d50cc4f37c153fcb51de4501f3fa50c00394d9b
/test/benchmark/resnet_tl_benchmark.py
0273e724c53f6d0c0598924637c84431b5b3fe0c
[ "MIT" ]
permissive
liujuanLT/InsightFace_TF
dbd239dfdda1866c348e82211932884f73cb3067
257b6e0dcf7e7c3523dc7e1c08ba529fab1bf75b
refs/heads/master
2022-04-27T21:24:01.458277
2022-03-17T12:28:15
2022-03-17T12:28:15
463,040,192
0
0
MIT
2022-02-24T06:51:16
2022-02-24T06:51:15
null
UTF-8
Python
false
false
1,255
py
import tensorflow as tf import tensorflow.contrib.slim.nets as nets import numpy as np from nets.resnet import get_resnet slim = tf.contrib.slim resnet = nets.resnet_v1 if __name__ == '__main__': output_shape = 85164 batch_size = 128 image = tf.placeholder(name='input_x', shape=[None, 224, 224, 3], dtype...
[ "auroua@yeah.net" ]
auroua@yeah.net
042e3b16684fe9c630da6b06a670a60326e24702
a63e53db61ef8a4596089eb3af99a94b128ce716
/util/alemutdf.py
7a5f495486dd37942f5cd7aa88f8e15e65724f49
[ "MIT" ]
permissive
Aletechdev/ava
6737214a99846e16b1cf51b4519b3651e000ee6a
fea1f382229c46f83b76ffbce32bf00ff05a37b9
refs/heads/master
2022-10-25T07:16:40.338415
2021-07-16T02:14:22
2021-07-16T02:14:22
231,140,046
0
0
null
null
null
null
UTF-8
Python
false
false
16,513
py
import os import os.path import pandas as pd import numpy as np from tqdm import tqdm import os, sys module_path = os.path.abspath(os.path.join('..')) if module_path not in sys.path: sys.path.append(module_path) from util.mut import get_del_size, get_ins_size, get_inv_size, get_con_size, get_sub_size, get_amp_size...
[ "pphaneuf@eng.ucsd.edu" ]
pphaneuf@eng.ucsd.edu
e2d5e7c66693b0f86ee9a3063be785b83ed0b7d5
ddfde9de04919c7a3bcd2b5dcfb8354c90568637
/nested_frame_work/test_framework_init.py
a1e70c813c19b4edef0ae948f23bc8bc8705a227
[]
no_license
ORNL-Fusion/ips-examples
aedfbf35e2abb08f1df5de9effcebca2eb3287d5
4950eeb8cb20eed764018fca10617473b814c883
refs/heads/master
2023-07-24T12:49:40.520201
2023-01-27T20:51:45
2023-01-27T20:51:45
44,407,382
4
5
null
2022-10-09T03:44:15
2015-10-16T19:53:59
Python
UTF-8
Python
false
false
1,928
py
#! /usr/bin/env python #------------------------------------------------------------------------------- # # IPS wrapper for TEST Init component. # #------------------------------------------------------------------------------- from component import Component #-------------------------------------------------------...
[ "cianciosamr@ornl.gov" ]
cianciosamr@ornl.gov
517883fff7511e6a85417acd48de8b4f13d37f6e
15b916d8a3f2adbb9bae525461b1c08e10f733d1
/models/dep.py
723a09884f9bf7de9fe3662e172d7b420b604e37
[]
no_license
sa1am8/digital-journal
d492d5dff71e9ee9f3b27879f490b585880f05b9
7e1b812f608234b59c68ab6e740fe386176824b6
refs/heads/master
2023-04-08T07:19:53.686831
2021-04-07T08:34:25
2021-04-07T08:34:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,213
py
from flask import render_template, Blueprint, url_for, redirect, request, flash from sqlalchemy.exc import IntegrityError import sys sys.path.insert(1, '/home/toshka/PycharmProjects/EPAM linux/EPAM') from models.models import Employee, Department from app import db from forms.forms import DepartmentForm dep = Blueprin...
[ "tinkerino571@gmail.com" ]
tinkerino571@gmail.com
ebcd6ed252031397cde74ec58dfbe8518d89830a
835722d5632969c3857506eed7a8a5b678419190
/wechatHeadImg.py
81f9d83c78c4493b7d74797d1dba6d330ce7559f
[]
no_license
Derrick-Wang/wechatFriend
176451cc83a90112fae107ab84170b0059b68dd9
9905ed6f3dd337b46e0e0a329b141938e5bd7444
refs/heads/master
2020-04-09T02:08:47.515340
2018-12-01T15:24:24
2018-12-01T15:24:24
159,930,099
0
0
null
null
null
null
UTF-8
Python
false
false
3,005
py
# coding:utf-8 import itchat import os import re import math import random import PIL.Image as Image import matplotlib.pyplot as plt from wordcloud import WordCloud # 获取头像 def headImg(): itchat.login() friends = itchat.get_friends(update=True) # 遍历好友数据 for count, f in enumerate(friends): # 根据us...
[ "wandereding@gmail.com" ]
wandereding@gmail.com
a3b2ff7c0ac1c3c0e55ab2b80b3a651100768d81
90bb32b3156232973012185896edb5899a5716c8
/cal/migrations/0001_initial.py
1efff23d2ab5b2b6d015cc44b05fcd6a75102041
[]
no_license
odedahay/django-calendar-app
a68c4e8a3072422f811a41d2562006be911e2fd9
b9daad72be7ebbb1827c5aa8facae3d7e4d68395
refs/heads/master
2022-04-13T14:51:32.021441
2020-04-12T10:42:43
2020-04-12T10:42:43
255,060,341
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
# Generated by Django 3.0.5 on 2020-04-12 04:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Event', fields=[ ('id', models.AutoField(au...
[ "odedahay@yahoo.com" ]
odedahay@yahoo.com
6cd613bcdd91d3c252c77c5671f432f525d64cfc
bee2af5228232ce94f418b61810cecd93af62615
/virtual/bin/django-admin.py
d6b83b56c12b4e16e7f24824f482b665a071f57a
[]
no_license
thuitafaith/djangoapp
b64c2e1a05c67b1135d4d9dd7975c17522238a69
e06280b34a7b1ec012d0baab6f0fb153875a39b4
refs/heads/master
2022-12-11T19:06:08.540528
2019-08-29T12:36:45
2019-08-29T12:36:45
203,321,071
0
0
null
2022-11-22T04:13:07
2019-08-20T07:15:28
Python
UTF-8
Python
false
false
158
py
#!/home/faith/Desktop/django-rem/virtual/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "thuitamuthoni15@gmail.com" ]
thuitamuthoni15@gmail.com
12e05ceaac7c5c4174fb21ada9bdbb1e70c90c54
ffb05b145989e01da075e2a607fb291955251f46
/pypers/oxford/non_cooperative.py
6c7b293967ae50f89ebf7f90ccccdc8e62ba6d40
[]
no_license
micheles/papers
a5e7f2fa0cf305cd3f8face7c7ecc0db70ce7cc7
be9070f8b7e8192b84a102444b1238266bdc55a0
refs/heads/master
2023-06-07T16:46:46.306040
2018-07-14T04:17:51
2018-07-14T04:17:51
32,264,461
2
0
null
null
null
null
UTF-8
Python
false
false
255
py
# non_cooperative.py class B1(object): def __init__(self, **kw): print "B1.__init__" super(B1, self).__init__(**kw) class B2(object): def __init__(self, **kw): print "B2.__init__" super(B2, self).__init__(**kw)
[ "michele.simionato@gmail.com" ]
michele.simionato@gmail.com
99023c5533e743afb8349cd031816969f2e0f52e
6527b66fd08d9e7f833973adf421faccd8b765f5
/yuancloud/recicler/event/tests/test_mail_schedule.py
7b92308e184f89e0d7bc6436545f7d9324c6b05d
[]
no_license
cash2one/yuancloud
9a41933514e57167afb70cb5daba7f352673fb4d
5a4fd72991c846d5cb7c5082f6bdfef5b2bca572
refs/heads/master
2021-06-19T22:11:08.260079
2017-06-29T06:26:15
2017-06-29T06:26:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,952
py
# -*- coding: utf-8 -*- import datetime from dateutil.relativedelta import relativedelta from yuancloud import fields, tools from yuancloud.addons.event.tests.common import TestEventCommon from yuancloud.tools import mute_logger class TestMailSchedule(TestEventCommon): @mute_logger('yuancloud.addons.base.ir.ir...
[ "liuganghao@lztogether.com" ]
liuganghao@lztogether.com
f34e9faec68e7fae95df6a032abed8a08c2de4b9
2dcf2376a47133cc3b0a47a6bf4a68959fc5070a
/Purva/__init__.py
e108078c8234edbff57608013737d12566e5a3c8
[]
no_license
princeapyds/Tg_90_Py_DS
2c079b2ff1ce876003a393289c92a1bdd0fd65af
90c3b5250344e0a57bf678f16821015442214106
refs/heads/main
2023-02-24T06:28:47.466909
2021-01-30T22:55:05
2021-01-30T22:55:05
334,366,019
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
a=78 b=98 print(a+b)
[ "Purvajagtap21@gmail.com" ]
Purvajagtap21@gmail.com
bb9d2da18b8fd9fb4ca15383251051ce2328118c
8dd7de62d854e797e96135040fefd4f879a729ca
/app/urls.py
a5232ba3e4899c6a8dae5b0d70df7122e8c8cf36
[]
no_license
Anusreechandra/newwebtd
12fc7e701302030c933c69da6d1c8101cd32ad78
53a2868f000d0dd56e0443a4815b5aee6bc6cc0b
refs/heads/master
2023-09-05T11:44:22.496261
2021-11-23T05:51:25
2021-11-23T05:51:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
from os import name from django.urls import path from django.urls.resolvers import URLPattern from. import views app_name="app" urlpatterns=[ path('',views.new,name="web"), ]
[ "anusreechandra.327@gmail.com" ]
anusreechandra.327@gmail.com
f9fafc94333b9b7d1a9ab84303e4f749d556117c
bfa6ce49304009fd079b23d33839561ed53e76da
/CSC-121-Python/Module2/New folder/OrengoAnthony_game_functions.py
17de24ec0b476507f8555dafd38ad8ab6d87dcd8
[]
no_license
orengoa0459/CSC-121
89df696ac6c56f0508234f89aedd20a3c00dce2c
026f3f5843ca9deb1ad28e1ad27943302a4d7427
refs/heads/main
2023-06-11T22:00:36.845210
2021-06-27T22:13:14
2021-06-27T22:13:14
372,833,071
0
0
null
null
null
null
UTF-8
Python
false
false
1,351
py
# The rockPaperScissors function receives numbers representing the # computer and player's choices. # It returns 0 if there is a tie, 1 if the computer won, 2 if the # player won, or 3 if the player made an invalid choice. # Global constants COMPUTER_WINS = 1 PLAYER_WINS = 2 TIE = 0 INVALID = 3 ROCK = 1 PAPER = 2 SCI...
[ "48802353+orengoa0459@users.noreply.github.com" ]
48802353+orengoa0459@users.noreply.github.com
65bb9e2842ec5aad1bd2c89bf069d156d746157c
bf91f844d0890f072208acbeb6bd78aa719d1533
/venv/Scripts/pyhtmlizer-script.py
9f1758ed305565d5482f2744e4b243ca70a5473d
[]
no_license
jiaohongtao/python_util
33b7b91405dd02e4318f59e9bafe60edc268c4dc
4baad933d4fbb0fc1919322143a53aec0cebd824
refs/heads/master
2023-02-16T19:57:01.431806
2021-01-14T06:53:08
2021-01-14T06:53:08
235,258,883
4
0
null
null
null
null
UTF-8
Python
false
false
441
py
#!E:\Projects\PycharmProjects\python_util\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==19.10.0','console_scripts','pyhtmlizer' __requires__ = 'Twisted==19.10.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?...
[ "jiaohongtao@beyondcent.com" ]
jiaohongtao@beyondcent.com
8ba80ac4b037dde92443141d60bd35bf1f98031e
e4414bd8152e52855db7ab9065ae12b7329143e0
/python/src/hangman.py
0dd38bbfdc6501bc39f632a253400dd40bbf2d07
[]
no_license
catalinc/programmingpraxis-solutions
39cb847877ec46d2fb85740791c24889ab5654a8
c0b13906aa76ffac705bf108db138fb9a38bc16a
refs/heads/master
2021-03-27T16:46:47.781839
2017-09-09T15:17:38
2017-09-09T15:17:38
53,532,233
1
0
null
null
null
null
UTF-8
Python
false
false
1,889
py
#!/usr/bin/env python # See http://programmingpraxis.com/2011/12/20/hangman/ import random import sys HANGMAN = [ "", """ O """, """ O | """, """ _O | """, """ _O_ | """, """ _O_ | / """, """ _O_ | / \\ """ ] def play_game(): secret_word = random_word().upper() guessed_letters = set() failed_at...
[ "catalin.cristu@gmail.com" ]
catalin.cristu@gmail.com
e49952bb3039c47341a3a2001f153c1fcea8521c
05169e203974411667ab947298a74575b8a179e0
/packages/jet_bridge_base/jet_bridge_base/serializers/relationship_override.py
c985788ccf2e5eeaf886f08eb8bb093846f356d8
[ "MIT" ]
permissive
jet-admin/jet-bridge
f6b563e1801985063483ddb02e9e1c3301dc0612
c53d30fb308eed5822083eaf71f641c4098610cc
refs/heads/master
2023-09-01T14:31:42.261427
2023-08-24T13:54:34
2023-08-24T13:54:34
163,167,532
1,564
166
MIT
2023-03-18T03:20:04
2018-12-26T10:27:33
Python
UTF-8
Python
false
false
4,873
py
from jet_bridge_base.models.model_relation_override import ModelRelationOverrideModel from jet_bridge_base.store import store from sqlalchemy import inspect from jet_bridge_base import fields from jet_bridge_base.db import get_mapped_base, reload_request_graphql_schema, get_request_connection from jet_bridge_base.exce...
[ "f1nal@cgaming.org" ]
f1nal@cgaming.org
74242c01bb15f0739920d399519d7227f57b8f8a
fc91e867bb74cbebcb0ee608f1477ae16af91631
/.venv/bin/django-admin.py
96ac186b1a98732e5519c8d218d286e285191802
[]
no_license
karthik018/FacebookPosts
7580afbfab066c6bd09a43be086e4ce9621bbd65
2fbe59e8640ca2da01e0028f7b10c4f9d7b62b65
refs/heads/master
2020-06-12T05:29:43.493418
2019-07-16T06:16:25
2019-07-16T06:16:25
194,204,422
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
#!/home/ib_admin/FacebookPosts/.venv/bin/python3.7 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "thinkcreative01karthik@gmail.com" ]
thinkcreative01karthik@gmail.com
00fd1033e37e360a31091239beb574fc36c393de
55ee96e2bba54908974cddbcd6ce39868bb6ccae
/config/urls.py
ca9abba46406f86aeb53b015d743107dc14505c9
[]
no_license
marti1125/BlogAPI
ec9d00816463b989108c451cab3aec05e48ea6c6
6275b67a762cc14cf214b3882c023a74927fc6da
refs/heads/main
2023-03-25T17:50:20.128068
2021-03-23T20:12:27
2021-03-23T20:12:27
350,809,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
"""config URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "marti1125@gmail.com" ]
marti1125@gmail.com
51d5ae1fa2d5ae73a65d826bd1113e9b57cef767
03383b657ad6d526e7e6aa6639fe41019cd39ea2
/recursion/palandrome.py
985c2d63e7528bf16d0978634606988d462fbf30
[]
no_license
ahmedmeshref/Leetcode-Solutions
1c5f908cb2f6487c9dfadcc8f91192dedbb5a17e
28f848cb25e4aa22e6d8c9d715488f191ed15137
refs/heads/main
2023-05-26T14:33:11.246122
2021-06-07T21:32:13
2021-06-07T21:32:13
356,045,965
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
def isPalindrome(s: str) -> bool: l = 0 r = len(s) - 1 while l != r: if not s[l].isalpha(): l += 1 elif not s[r].isalpha(): r -= 1 elif s[l].lower() != s[r].lower(): return False else: l += 1 r -= 1 ...
[ "a.meshref@alustudent.com" ]
a.meshref@alustudent.com
2307b6a1bef1cb4612e3ecc93f7bd664bb61386c
522c2645e1b14727279b417c4e6de16e0248406b
/Livrables/ExtractJson.py
dea1eccd47b7406340421cbe1d6b0cba442a2ef1
[]
no_license
jerem33620/P5_Pur_Beurre_OC
532757abd66484398f0389abcd53e647e2a45327
decc9a341e8f2659cdc9769a9a16659023e0a3a4
refs/heads/master
2020-04-23T02:23:14.508665
2019-02-19T14:53:23
2019-02-19T14:53:23
170,844,908
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
#! /usr/bin/env python3 # coding: utf-8 class ExtractFromJson: """ Permet de recupérer les données brut dans le json rendu par l'API et de lancer l'initialisation du json """ def __init__(self, json_data): """ Pour chaque produit enregistré dans la DB, j'aurais besoin de : id, pro...
[ "jeremyguy@orange.fr" ]
jeremyguy@orange.fr
61a8e927425ca7f83f10755c734017335c282faf
d3eba05768f13fb77037f094c8cd5bee0a2ce920
/python/pyclaw/evolve/rp/rp_nel.py
f2e2719f65640b03ee2716b28443d86dd264553b
[ "BSD-3-Clause" ]
permissive
geoflows/geoclaw-4.x
cb262ffcc30b483e4e1bf0ba480f43408cb1b6fd
c8879d25405017b38392aa3b1ea422ff3e3604ea
refs/heads/master
2023-07-10T06:39:42.774585
2021-02-23T20:15:36
2021-02-23T20:15:36
6,094,587
1
2
BSD-3-Clause
2023-06-28T16:50:43
2012-10-05T18:18:31
Fortran
UTF-8
Python
false
false
2,368
py
#!/usr/bin/env python # encoding: utf-8 r""" F-wave Riemann solver for nonlinear elasticity in heterogeneous media .. math:: q_t + f(q,x)_x = 0 where .. math:: q(x,t) = \left [ \begin{array}{c} \epsilon(x,t) \\ \rho(x) u(x,t) \end{array} \right ] and the flux vector is .. math:: f(q,x) = \left [ \be...
[ "dave.jorge@gmail.com" ]
dave.jorge@gmail.com
3838f2b41a6e02c39425f0fdede2a1ec591aa2eb
cbfa9a784f85df6ed0dd630757eac709b556deca
/venv/bin/pygmentize
a090a273b8a7c223c0aa644d85dcbd3d07124155
[]
no_license
itohdaigo/finance_app
c2b8b5c681180459054ee1744bff6e3b4726f8a4
afa9c17c12aadd5e28d62715c162cdadf4505ca0
refs/heads/master
2023-04-13T02:37:35.720408
2021-04-24T09:39:03
2021-04-24T09:39:03
361,120,790
0
0
null
null
null
null
UTF-8
Python
false
false
267
#!/Users/x17007xx/PycharmProjects/WebAPI/final_finance/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pygments.cmdline import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "x17007xx@pcx17007xx.local" ]
x17007xx@pcx17007xx.local
f2b1502e69ebbcb83d168b947b4e1536ab2f5ca9
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/nlp/Speech_Transformer_ID0487_for_PyTorch/test/test_lr.py
50038c0c6c0a3d30f8e5cf25a74a0eebf9c1ebc4
[ "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,717
py
# Copyright 2017 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...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
900ce188b2d480f02d08d8fe381e861ddc612129
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/j33.py
32bc61a86b88039321d406fcdd145e2fdf95b792
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
bfbfc8a34978055dd0f63e6431d91169cf9edad9
f697327e665ef5c19c182ac9dc0f02b648cc6f09
/Lib/site-packages/django/contrib/gis/geos/prototypes/geom.py
89f58f2b4bb5cb445437b3d599349712e35ce222
[ "BSD-3-Clause" ]
permissive
SgtSwagrid/swagbets
e45860949f1f3da8de2d89b45786357d5956f1ce
5391142a95a444e020d6fb8d76022ba538489ea6
refs/heads/develop
2023-08-19T03:38:05.314230
2020-04-30T14:02:35
2020-04-30T14:02:35
217,722,496
1
1
null
2021-09-22T18:37:31
2019-10-26T14:40:39
Python
UTF-8
Python
false
false
3,563
py
from ctypes import POINTER, c_char_p, c_int, c_size_t, c_ubyte from django.contrib.gis.geos.libgeos import CS_PTR, GEOM_PTR, GEOSFuncFactory from django.contrib.gis.geos.prototypes.errcheck import ( check_geom, check_minus_one, check_sized_string, check_string, ) # This is the return type used by binary output (W...
[ "alec.dorrington@protonmail.com" ]
alec.dorrington@protonmail.com
cdbf6fa8943b1af5835b87a56ecc9d8ee32cbe88
133150a4bfcfa14f45ffb0745d006ff10377e4a5
/natural_language_processing/basic_methods.py
7924d0d681e139fad1f26aa68a51c11cf9d9ded0
[]
no_license
ElvinOuyang/learning-and-practices
4ce8a05ec546fdf0d16aa53269cb028234c72a6d
244b5a21cf17cde4efa89b92e19ef54e8f9355e3
refs/heads/master
2020-07-05T00:50:03.579650
2019-10-15T02:47:27
2019-10-15T02:47:27
74,134,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,586
py
# preparation from __future__ import division import nltk from nltk.book import * 'Searching Text' # .concordance() will display context of each searched words text1.concordance("monstrous") text2.concordance("affection") text3.concordance("lived") print("\n") # .similar() will return words that appear in similar con...
[ "elvin.ouyang@gmail.com" ]
elvin.ouyang@gmail.com
d25af681e443d6b6f9b541e3f60dab32f7f5e5ae
f0c3edae1d5f97ffb0c5039bca2ed9c51a74bc6b
/libalgopy/common/interfaces/binary_search_tree.py
e892bd31ab6dd4b6ae1b8a50a912ad5f2931b1c3
[ "MIT" ]
permissive
PotapenkoOleg/libalgopy
d2bfbbcec6004c07e0b3aea4d835085ae18f3f6f
ac625c0f874918c1967218c302c6fcb200db0271
refs/heads/master
2020-07-07T03:36:02.698884
2019-09-24T19:13:45
2019-09-24T19:13:45
203,232,533
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
class BinarySearchTreeBase: def add(self, key, value): pass def get(self, key): pass def remove(self, key): pass def get_min(self): pass def get_max(self): pass def get_floor(self): pass def get_ceiling(self): pass def get_ra...
[ "PotapenkoOleg@gmail.com" ]
PotapenkoOleg@gmail.com
e72948be0ca42fe9b52c9425a7150892ba8b117e
704b303675dae80119257090fabf1afb386dd3e2
/AtCoder/misc/エイシング2020/A.py
e1d29b6edc2c66d6003073a54bbbaec2e551ba63
[]
no_license
kathmandu777/CompetitiveProgramming
7b7ead14d8a697df89f04faf05276030349a1a98
1949ab55fd399e16765c9effb95541e600601730
refs/heads/master
2023-05-13T19:23:30.503873
2021-06-07T10:15:57
2021-06-07T10:15:57
347,570,782
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
l, r, d = map(int, input().split()) ans = 0 for i in range(l, r + 1): if (i % d == 0): ans += 1 print(ans)
[ "mahhakatomanato@gmail.com" ]
mahhakatomanato@gmail.com
411dcfd4de66bbc272d46522811c996c36dce81d
e04a6a11b8770e8bbcfe9509348d8a86a4189295
/mapper/utils.py
6a8f9834d28a6b5a859a7d50eee77fa8fc178bbc
[]
no_license
minh5/mapper
48267c7591b022aa2f548665ff6b9349de5cccd5
04deb1d917ca1feb784afd6a5252303f44f704cc
refs/heads/master
2021-01-17T07:31:46.146206
2017-04-02T03:28:07
2017-04-02T03:28:07
83,748,075
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
DC_CENSUS_TRACTS = 'http://opendata.dc.gov/datasets/6969dd63c5cb4d6aa32f15effb8311f3_8.zip' DC_CENSUS_BLOCKS = 'http://opendata.dc.gov/datasets/c143846b7bf4438c954c5bb28e5d1a21_2.zip' DC_GEOJSON_TRACTS = 'mapper/static/geojson/dc_census_tracts.geojson' DC_GEOJSON_BLOCKS = 'mapper/static/geojson/dc_census_blocks.geojs...
[ "minh.v.mai@gmail.com" ]
minh.v.mai@gmail.com
d4e32ff94b192f142379526a3b922b50b3206f93
c8bac63e2b4da9a86bdf3217b665b0d4fc0fca8e
/module6_1_tensorboard.py
2989093f386404190e2f23be93da73d448ce0dcb
[]
no_license
jandziak/tensorflow_workshop
902cc62432f88b97176f22c7bc6664618660112b
a1daa34f0cd2967a178ad3319ac81b711b1f5223
refs/heads/master
2021-01-20T15:26:33.402415
2017-07-24T13:31:02
2017-07-24T13:31:02
82,812,810
6
3
null
null
null
null
UTF-8
Python
false
false
667
py
# Module 6: Tensorboard # Author: Dr. Alfred Ang import os os.environ['TF_CPP_MIN_LOG_LEVEL']='2' logdir = '/tmp/demo/4' import tensorflow as tf a = tf.constant(12,name='a') b = tf.constant(4,name='b') # c = tf.multiply(a,b,name='c') # d = tf.div(a, b, name='d') with tf.name_scope('multiply'): c = tf.multiply(...
[ "janidziak@gmail.com" ]
janidziak@gmail.com
53a8b28fc5cf1543cb3b8e7da6653456f2cfc645
8e61d9c9ee28014d1eb36f4c98b4295172ac4e4a
/2020/Linear-Regression/challenge_regression.py
f29b738bbd177f5d5d4c42fb52ceb5859f91845a
[]
no_license
vigneshwaran444/python-folders
d53d303fdc5ef4f6ced48d5e1528ebf9d6bff09f
0ebd8bafd03a7d1e23b6b180547d553d55b35d6a
refs/heads/master
2021-01-06T10:43:41.547026
2020-02-18T07:48:18
2020-02-18T07:48:18
241,300,716
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
import pandas as pd from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt #import data dataframe = pd.read_csv('data/challenge_dataset.csv') x_values = dataframe[['x']] y_values = dataframe[['y']] #train model on data model = LinearRegression() model.fit(x_values, y_values) #visualise res...
[ "noreply@github.com" ]
vigneshwaran444.noreply@github.com
3d195c4f0e242b52419cb18ba6b04f8c2286253c
a2fd4bdfea5030201b44320fc9bf8fccf5f31a59
/Robot/ttwifi.py
8f83c0a0b66d8c7dec442f5dd351d998ee1d2f6f
[]
no_license
aaron-visschedijk/PicoRobot
c2e1c51a621b6f6dc7f594183d5470d6e5cbfee5
71b6e9c550a24487f917c69499dc16d7b5799306
refs/heads/master
2022-10-31T11:04:35.264849
2020-06-10T11:31:30
2020-06-10T11:31:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
import network, time def init_wifi(apname, password, timeout=3000): """Connect to wifi. A timeout (milliseconds) will cause the function to block until the timeout has expired or a successful connection is made.""" wifi = network.WLAN(network.STA_IF) wifi.active(True) wifi.connect(apname, password) if tim...
[ "noreply@github.com" ]
aaron-visschedijk.noreply@github.com
7987e4d08bd07e960ecd3647886fef2d5e2e298e
7340cba4292746f9f2fb62f8414d7267a4a9f626
/sewamobilmysql/urls.py
d2b527c36e5268c9a09ba9026bdc9cc589ce3b72
[]
no_license
Fairizal/sewamobilmysql
931344c74b7b8a6f9ae2fc32686f2e211fd59b34
669d3ab3b90934cd121d0fe1ec5f1e932575caec
refs/heads/master
2023-02-10T09:34:24.903094
2021-01-07T14:14:54
2021-01-07T14:14:54
327,594,065
0
0
null
null
null
null
UTF-8
Python
false
false
2,096
py
"""sewamobilmysql URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "mrzarowtaz@gmail.com" ]
mrzarowtaz@gmail.com
43ccac82b3cdb77298df1e3149e0f74a89bcc7f9
ae462dab95f3a0c9a60ce884dcc57c45e282bec7
/venv/bin/django-admin.py
3332cf1d05f15580c89bc3163e45a63b1f521516
[]
no_license
aidandyde/bridging_coursework
8224a177536ef115eac2be86c7a891bfcd54b8b2
e4fe1df0baa4adf99b759a2fc84ebdf5d5c8bf1c
refs/heads/master
2022-12-24T11:48:59.882757
2020-10-10T13:03:44
2020-10-10T13:03:44
270,255,924
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
#!/home/adyde/PycharmProjects/bc2/venv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "adyde@DESKTOP-5A990CS.lan" ]
adyde@DESKTOP-5A990CS.lan
7d82abc23d5e3d4bf5e54cd6ec2da4a4d1a8768f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02631/s475540632.py
3a87c44b29ca2411c0463a78d1676b61c5e7616c
[]
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
267
py
N = int(input()) a = list(map(int, input().split())) # XOR演算子 ^ # aの要素全てのXORを計算、それをSとする S = 0 for aa in a: S ^= aa # i番目の番号はaiとSのXORで表される ans = [] for ai in a: ans.append(S ^ ai) print(*ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
280b77339358be2f20c549dc8150493e387dda41
70976a4a0526f7585f810921925cf8d19e6aabfa
/project/apps/registration/renderers.py
284383224eec531d0f219ee4cde5a726982bb973
[ "BSD-2-Clause" ]
permissive
barberscore/barberscore-api
36be50b943ed59ac2fc738069661f5b589354a36
1ed4c01ae35cad21282b573a492733837f956285
refs/heads/master
2023-09-03T21:14:57.358069
2023-07-08T20:45:03
2023-07-08T20:45:03
11,014,681
14
5
BSD-2-Clause
2023-02-08T01:18:17
2013-06-28T03:28:17
Python
UTF-8
Python
false
false
1,118
py
# Third-Party from rest_framework.renderers import BaseRenderer from rest_framework.renderers import BrowsableAPIRenderer from rest_framework_json_api.renderers import JSONRenderer class BrowsableAPIRendererWithoutForms(BrowsableAPIRenderer): """Renders the browsable api, but excludes the forms.""" def get_...
[ "noreply@github.com" ]
barberscore.noreply@github.com
62cd2150ee646c818aaf4bdc5ab5bad886d60b7d
13bb4b9391cecbe738f42fe5cdcc0ba8a7f9459b
/138.py
d34c56802331b035461fabcd1820ecb40f585599
[]
no_license
sairin1202/Leetcode
af526ad4dbcabeda2c4c0af293915b5a0f352997
ba97b463373f319f7531fe347e05adadf4c84255
refs/heads/master
2020-04-28T04:44:59.301283
2019-05-11T13:23:37
2019-05-11T13:23:37
174,992,262
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
""" # Definition for a Node. class Node(object): def __init__(self, val, next, random): self.val = val self.next = next self.random = random """ class Solution(object): def copyRandomList(self, head): """ :type head: Node :rtype: Node """ if head =...
[ "952141617@qq.com" ]
952141617@qq.com
a9c5464e88bf6c5aa66f33725d36f389ec6c8f5c
8db990c0b732597a02e77fb5f090bd2581ce7147
/setup.py
5e67da0140c2d6c387aec11110484b65a1d497e1
[]
no_license
bonham/python_patch_poc
fc68246c1d51cb0ca1d1907b995f7d1385bd7ee3
e8d5e774d937729333d311f781c7be090ff58d83
refs/heads/master
2023-01-15T17:32:31.216875
2020-12-01T20:56:45
2020-12-01T20:56:45
317,664,914
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
from setuptools import setup setup(name='acm', packages=['.'])
[ "2823246+bonham@users.noreply.github.com" ]
2823246+bonham@users.noreply.github.com
a8b9238885ae44f9ca50f62afbb013af1ccaf9fb
c5beafc6083f367581a85e509702117ab7e30571
/KJ_Python_101_lessons/Medium/HOW_MANY_COINS.py
498f911b1104a3248ab9269378ed3070c80245b0
[]
no_license
jevinkeffers/DC-Repos-Week-1
dc5720d9d56752d17ba384aeef67c53cdc7e7d09
5d2d88ad4f934e104a7084c119759198aff85597
refs/heads/master
2022-11-26T01:31:17.420529
2020-08-03T17:43:09
2020-08-03T17:43:09
284,602,277
0
0
null
2020-08-03T17:44:47
2020-08-03T04:23:09
Python
UTF-8
Python
false
false
503
py
# 3. How many coins? # Write a program that will prompt you for how many coins you want. Initially you have no coins. It will ask you if you want a coin? If you type "yes", it will give you one coin, and print out the current tally. If you type no, it will stop the program. coins = 0 answer = "yes" while answer == "ye...
[ "jevinkeffers@gmail.com" ]
jevinkeffers@gmail.com
7ecc62afd402ebb789b92db5a227ff9decfcf2eb
5cd8accc308978291ffba6d08aed7664d2ba9d6b
/ngrams.py
267c8cbe7109a9006bff0ea9eb7e21fa808c9669
[]
no_license
ValentineBlacker/PoetryBot
699752ac50a62b9f3e30409f1cdca6f67b2dddcd
db2c6b81c60e282de69a38b146a9c5a11f9930a8
refs/heads/master
2020-05-17T03:48:15.904719
2017-08-24T21:10:23
2017-08-24T21:10:23
40,332,648
1
0
null
null
null
null
UTF-8
Python
false
false
4,120
py
import nltk import random from nltk.collocations import * from nltk.metrics.association import * class NgramUtils(object): def __init__(self, sourcestring): self.text = self.buildtext(sourcestring) self.tokens = self.prepareTokens(self.text) def importFromLocal(self, filename): ...
[ "emoore@pillartechnology.com" ]
emoore@pillartechnology.com
d07a60bdf242a97e8858b4b2294e67ebaf2da416
b05346b257a7c73bf1b1cda2aadf2c737d48de6c
/nytimes/nytimes/items.py
6f76b1b3d546564e7b58c7b6dd1e1078deef7e33
[]
no_license
speedhawk21/bamboo-listeners
7494509d803f5875bcac07dbe2109cedd6af8aa6
3d026b50a9f639f138e8026249e1718950016c1a
refs/heads/master
2022-01-07T04:43:58.290590
2018-05-02T03:17:13
2018-05-02T03:17:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class NytimesItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "briansc@gmail.com" ]
briansc@gmail.com
4f8578fbd7547486757f7eca34ac33f443c2e858
6bb7b1c556e84234cc58c12072d211c5e0238467
/classic-algs/lab19/Morozov/main.py
be53ffaac8b0c3af3f3f6927f0d1632eca634ad1
[]
no_license
MikhailErofeev/a3200-2015-algs
56db99494c28f150c62042171d90fb89d089636c
186304637851c989b4680a6a75d9bd2851d326e0
refs/heads/master
2021-01-15T15:31:29.201475
2016-02-27T10:02:55
2016-02-27T10:02:55
42,346,823
0
28
null
2023-06-24T07:29:36
2015-09-12T06:08:16
Python
UTF-8
Python
false
false
914
py
from sys import stdin, stdout __author__ = 'vks' def palindrome(s): length = len(s) if length == 0: return "" dp = [[0 for i in range(length)] for i in range(length)] for i in range(length): dp[i][i] = 1 for i in range(length - 2, -1, -1): for j in range(i + 1, length): ...
[ "vks_m@mail.ru" ]
vks_m@mail.ru
946d3175c0adf994c71ca2c1a180f19e61fd3b8d
2b1421583f94290485751bfdd4b8bc84497ccf52
/example/SimpleExample/wordcount/wc_mapper.py
973ebec5271f6e8991c6e8100bba9c2b8511b172
[]
no_license
mrasu/SkipJack
dae792c0ef469f47439defbceda05e5db974e120
5d6a4d64f96a30b5b989eac95c1754b2ee8497bd
refs/heads/master
2021-01-01T19:20:27.048172
2015-01-12T08:15:50
2015-01-12T08:31:13
28,266,429
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
#!/usr/bin/env python3 # encoding: utf-8 import sys for l in sys.stdin: for word in l.strip().split(): print('{0}\t1'.format(word))
[ "m.rasu.hitsuji@gmail.com" ]
m.rasu.hitsuji@gmail.com
56bcbea21f1b75f0de25fd94d56e75f5b4c8ed34
1f5f63b5f42cf0b410cb4f67c355e51aba71f646
/lab1-2/part1.py
d9527bd97a2130e56b35f155e69308b4e91ea3d4
[]
no_license
danemortensen/databases
02378545faae783a7d227679dfa470e8437c869d
84dffd52908a52226ac152813cd6e40c3a99e08b
refs/heads/master
2021-08-23T02:48:33.709280
2017-09-27T06:00:39
2017-09-27T06:00:39
104,786,224
0
0
null
null
null
null
UTF-8
Python
false
false
5,186
py
# Dane Mortensen and Kartik Mendiratta import sys class Student: def __init__(self, first_name, last_name, grade, classroom, bus, gpa,\ teacher_first, teacher_last): self.first_name = first_name self.last_name = last_name self.grade = grade self.classroom = classroom self.bus = ...
[ "mortensendane@gmail.com" ]
mortensendane@gmail.com
32cc458f40f3f76f78a8c90090a128e02d2287c3
e79a2e369c616d53098af77fd5a778f2eee74efd
/carousel/serializers.py
a9bd729f51040e1157f7d729cbe8c2c1ca923ed3
[]
no_license
dev-codflaw/django-cms-app
ff5417740e21c50e8db3909aaa25b36bba010cf6
662cd6b32d3d93d32291f135cf9e925f547ee590
refs/heads/master
2023-03-15T07:22:22.196633
2021-03-28T20:13:22
2021-03-28T20:13:22
344,841,235
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
from rest_framework import serializers from .models import Carousel, CarouselSlide class CarouselSlideSerializer(serializers.ModelSerializer): class Meta: model = CarouselSlide fields = '__all__' class CarouselSerializer(serializers.ModelSerializer): images = CarouselSlideSerializer(many=Tru...
[ "dev.codflaw@gmail.com" ]
dev.codflaw@gmail.com
23467415c0ff0bb85683ce085bbe02f8ea763c9c
8209cc68a3fdd611922b00bae5936d70f149ae3e
/bin/jupyter-trust
a64b62fb12ec2c2a47a5bb4ab02634a0ad3644a4
[]
no_license
alinmuraretu/alin1987
ccab6afc12e44dc5f0b550f598874f391891b56a
8538af0de6a8619ef9bd225ce4bc027a9802aa71
refs/heads/master
2022-11-14T00:45:58.635014
2019-12-16T11:00:31
2019-12-16T11:00:31
225,604,601
0
1
null
2022-10-28T01:18:09
2019-12-03T11:34:43
Python
UTF-8
Python
false
false
273
#!/home/alin/alinH/hello/bin/python3 # -*- coding: utf-8 -*- import re import sys from nbformat.sign import TrustNotebookApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(TrustNotebookApp.launch_instance())
[ "alinmuraretu@gmail.com" ]
alinmuraretu@gmail.com
a9a8b662488d57b7b989089e053d23aa782604eb
55bf3dd0cddb5d43af367744895b8cafc7ca86bc
/Clss/Controller/HtmlConsensusController.py
40e4c8c86ededb354bcb1a5ab0d3c50525774f86
[]
no_license
Maximato/fstage
5f0c4d6936d92a713ac285209a5fa27651ad95a2
98f8dc52f735bcaa9cc8a2f1c2f1697fcf0f5b4d
refs/heads/master
2020-09-12T11:14:03.185510
2020-03-18T09:36:32
2020-03-18T09:36:32
222,405,657
0
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
from Clss.FileSys.Extractor import Extractor from Clss.Model.HtmlConsensusParser import HtmlConsensusParser from Clss.FileSys.PeMutateConsensusWriter import PeMutateConsensusWriter from Clss.FileSys.RecordsWriter import RecordsWriter from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord class HtmlConsensusContr...
[ "maxxxnes@gmail.com" ]
maxxxnes@gmail.com
08a3f80486dcb6dd1386d4e4c03661d4f81e29be
2d86283e9afcb3719484b7d1dc23d0463d58ae24
/pre_treat/proc_data.py
d958dceca71b18da1d4c801c31dcce9054c04975
[]
no_license
linzimu/SoGouClassifer
c95349feb1bc4cd1490ffa10d91a7df841df0c6e
3d1017ed685d115a9053fce4a52ce14f86ba4a90
refs/heads/master
2020-04-25T22:11:09.208697
2019-03-03T09:02:22
2019-03-03T09:02:22
173,103,298
6
1
null
null
null
null
UTF-8
Python
false
false
3,186
py
import xml.etree.cElementTree as ET import jieba import re import os def getcontent(text): """抽取指定text需要的内容""" root = ET.fromstring(text) record_url = root.find('url').text record_text = root.find('content').text if not record_text or not record_url: return None, None else: rec...
[ "m18744235218@163.com" ]
m18744235218@163.com
1749340cf3def999cc726ba63a0fb94d0a618ed5
69636805a67ed244e13d61d838b56791018dee62
/compjour/homework2/part3/b.py
7400d58870411077ae415bb3d0a9eddb5ca1c8a9
[]
no_license
anacrochas1/compciv-2016
2176306d774642f7d9a22f02c9d6a599a9942a18
abd94d0bfcc6c1612ada06f3f563c0764b2fe2b9
refs/heads/master
2021-01-18T21:09:33.755755
2016-06-02T05:54:18
2016-06-02T05:54:18
49,533,363
0
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
import requests import pdfplumber from os.path import basename from glob import glob import csv urls = [ 'https://www.nccommerce.com/Portals/11/Documents/Reports/WARN/Warn.pdf', 'https://www.nccommerce.com/Portals/11/Documents/Reports/WARN/warn-2015.pdf', 'https://www.nccommerce.com/Portals/11/WARN/Warn2014.pdf', 'ht...
[ "anasantos@stanford.edu" ]
anasantos@stanford.edu
997d82f70e17e51e762e7d35ef8e1a7305bfbda6
badaf6547fd2b47474ca02aa5bcc6910df193576
/tests/test_list.py
dc7f700c421e25dd1f2e0702c488404e212b4157
[ "MIT" ]
permissive
yongman/tidis
e70ae6252d1a7333d67cb56e5a17ae4ad3d65afa
405e53a63aa637b055d0e4c35333832d853fa6c6
refs/heads/master
2023-05-28T22:10:06.946529
2022-09-20T06:03:03
2022-09-20T06:03:03
129,863,749
1,473
151
MIT
2022-09-20T06:00:40
2018-04-17T07:25:40
Go
UTF-8
Python
false
false
4,768
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2018 yongman <yming0221@gmail.com> # # Distributed under terms of the MIT license. """ unit test for list type """ import unittest import time import string import random from rediswrap import RedisWrapper class ListTest(unittest.TestCas...
[ "yming0221@gmail.com" ]
yming0221@gmail.com
cc571bd6d4cd9e3ac6d6badcfa204d3458c75c01
2a7b18ad1e1ccc2abf1638ae4eb1a3cb3570ff1b
/docs/source/gallery/plotting_with_traja.py
d9b2fc91ab6eee03d574d96d55ede098364979aa
[ "MIT" ]
permissive
Saran-nns/traja
2d754b89562f43f9f922e0259e298a567cad5539
f2256cc47abd33377b3a87f110f4c8da1cf6765f
refs/heads/master
2021-06-21T20:04:35.385593
2020-12-25T21:35:14
2020-12-25T21:35:14
168,675,536
0
0
MIT
2021-01-01T15:01:08
2019-02-01T09:42:28
Python
UTF-8
Python
false
false
2,149
py
""" Plotting with traja ----------------------------------- `traja <https://traja.readthedocs.io>`_ is a Python library providing a selection of easy-to-use spatial visualizations. It is built on top of pandas and is designed to work with a range of libraries. For more details on the library refer to its documentation...
[ "shenkjustin@gmail.com" ]
shenkjustin@gmail.com
a2559efa512954198137adbc50e9f68a983b1d49
e2717a7e949e45d830a1f8f6e48db2eaf2acc559
/SendMail/HtmlMail.py
7f13bb8fec0dfcdaac286ca5411955eff59d4b2e
[]
no_license
wangfuli217/cookbooks
a256d17c813b752cd1a9a3a2bab24e35f53dbbc3
cd76e29cbfe54506e74be9aa8468b46939b9970d
refs/heads/master
2022-03-13T16:22:09.293003
2016-01-25T12:21:22
2016-01-25T12:21:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
''' Created on Mar 1, 2013 @author: absolootly ''' # # {{{ http://code.activestate.com/recipes/577751/ (r1) # Send an HTML email with an embedded image and a plain text message for # email clients that don't want to display the HTML. from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText fr...
[ "simon.takite@gmail.com" ]
simon.takite@gmail.com
8319e02dd8e51c0f3c972288a559d15a0f3bb1c5
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/common/Lib/plat-mac/Carbon/Cm.py
81888a1e6189f6251d73285153430da7c7720a3a
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
362
py
# 2017.05.04 15:34:09 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-mac/Carbon/Cm.py from _Cm import * # okay decompyling C:\Users\PC\wotmods\files\originals\res\packages\scripts\scripts\common\Lib\plat-mac\Carbon\Cm.pyc # decompiled 1 files: 1 okay, 0 failed, 0 verify failed # 2017.05.04 15...
[ "info@webium.sk" ]
info@webium.sk
34557398436b87628d05729c6353fc562dd95e50
2c3a8e18dbd7ae9aeaa3d11e16490fb24946c294
/main.py
f2c7e9683ddbb6a8a3bca25b910c95902e641a49
[]
no_license
Shicheng-Guo/pharma_scraper
f98af3b624f25559536959fa5e316dcd8eaf7524
6837bfdf4d6903a105bc2b89a345cb72ffae2399
refs/heads/master
2023-05-05T00:31:44.991795
2020-05-13T21:14:46
2020-05-13T21:14:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,206
py
import bio, yahoo from baker_bros import get_baker_holdings #libraries needed to make and open csv files import csv, os, sys from platform import system from datetime import datetime #progress bar code def progressbar(it, prefix="", size=60, file=sys.stdout): count = len(it) def show(j): x = int(size*j...
[ "veer.shah1016@gmail.com" ]
veer.shah1016@gmail.com
03077baac22100638f1f73d6914d61d5790e636d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03804/s359892659.py
cf5a2561cd5c03f89d2bfa0dc2d375e6139544c1
[]
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
477
py
n, m = map(int, input().split()) a = [""] * n b = [""] * m for i in range(n): a[i] = input() for i in range(m): b[i] = input() for i in range(n): for j in range(n): if i + m > n or j + m > n: continue flag = True for k in range(m): for l in range(m): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f656638e96e930f1109f6fab8c21afd95f6cfbb2
6522148a2dede107d02ee134bd40aa3a445c3d18
/Rating/movies/models.py
41b121b9848324ed243a4b6d0e8cb27f893e9dff
[]
no_license
nishchintg01/Inter-Task
3d22e92a52929853312354c1e7116d5c30891a05
d4fc887cc1dc809d8428c0832da49eac7454b7ba
refs/heads/master
2023-03-11T04:53:31.044017
2021-02-20T17:48:19
2021-02-20T17:48:19
340,706,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
from django.db import models from django.db.models import Avg from django.contrib.auth.models import User class Movies(models.Model): title = models.CharField(max_length=1000) Image = models.ImageField(upload_to = 'movies', default = 'default.png') Description = models.TextField() @property def Av...
[ "nishchintg01@gmail.com" ]
nishchintg01@gmail.com
2406a8e151d4c61ef3ecc2072ee1776148ed6813
389e77ec9c48d5c17ec60513af430baa9604e4ca
/User_Crawler/get_CC_by_date.py
b0f9ec2c6723947f79dde4fd763cc8547484a62f
[ "MIT" ]
permissive
lgs/Medium-crawler-with-data-analyzer
244a36fd654cd5f6f0070c81063877b812595640
fed1a99c0b524871d430b3090a6bd8f501654535
refs/heads/master
2020-04-13T23:49:49.776900
2017-11-12T11:33:25
2017-11-12T11:33:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
# -*- coding: utf-8 -*- from util_graph import * if __name__ == '__main__': get_CC_by_date()
[ "lifei9696@gmail.com" ]
lifei9696@gmail.com
81e5483abb52cfea3eba17ca5089a2da327ca720
21577a16046e9e6d80db673ce877f1e76a84ffb1
/a2c.py
de686e9f806c7950abcfc46ce3c6b5d474611cf7
[]
no_license
BenoitLeguay/DNA_RL
e741e8404990e2689bf8240455f66c29f7108d42
ffe92ac257522f58555310180cd8d79c785ddb77
refs/heads/master
2023-03-12T19:01:47.985028
2021-03-01T14:32:48
2021-03-01T14:32:48
273,250,548
3
0
null
null
null
null
UTF-8
Python
false
false
13,088
py
import numpy as np import torch from torch import nn import variable as var import utils class A2C: def __init__(self, init_a2c): self.discount_factor = init_a2c["discount_factor"] self.state_dim = init_a2c["state_dim"] self.action_dim = init_a2c["action_space"] self.critic = Criti...
[ "benoit.leguay@gmail.com" ]
benoit.leguay@gmail.com
bdd0dcb052c78df945e0924fea3a9b179b9a23d7
d0c9414f6bc85d29c1520ac47dd688c8c3a5092f
/join.py
ab3faef4cf2555ae8e6794589b631ec99981cfa3
[]
no_license
Bodek123/Udemy---Python
77de6dc54c99d87556aa078cb409e7e0cd56bc01
24bb32b5ad50d54a50295ee7841e1e25d49e289c
refs/heads/master
2021-04-29T21:48:20.398898
2018-02-17T12:05:46
2018-02-17T12:05:46
121,624,339
0
0
null
null
null
null
UTF-8
Python
false
false
2,435
py
# Modify the program so that the exits is a dictionary rather than a list, # with the keys being the numbers of the locations and the values being # dictionaries holding the exits (as they do at present). No change should # be needed to the actual code. # # Once that is working, create another dictionary that contains ...
[ "bodek87@gmail.com" ]
bodek87@gmail.com
f802ccf82930e013add713cd13df5f3f979a97d7
a051440b292819666be8761bde4ee4c80d391cfe
/custom_components/blink4home.py
6598c4607da296c10ae492ae5c40e3426c67d80b
[ "MIT" ]
permissive
dib0/home-assistant-custom-components
7b11fc64ed5af7b0d3a0d7e0efbf9d1fe44891fb
95ada814bf6b1538f29c2995792aed7bda3982be
refs/heads/master
2021-01-11T20:33:42.220320
2017-01-17T16:46:52
2017-01-17T16:46:52
79,143,629
0
0
null
null
null
null
UTF-8
Python
false
false
9,347
py
""" Support for Blink4home cameras. For more details about this component, please refer to the documentation at https://home-assistant.io/components/blink4home/ """ import asyncio import logging from datetime import timedelta import json import requests import voluptuous as vol import homeassistant.helpers.config_va...
[ "noreply@github.com" ]
dib0.noreply@github.com
b3df535e0bf14619764330e153f9691f97ebfe7a
ae3df32afc258c80cb2ce504ce87fa5bb7740ea7
/main/apps.py
a1c166fbd7a6ef9873d13d2341e00132f5d8b9dd
[]
no_license
chensandiego/elast-python
622251d806b947899d74dc064c19193b418ac505
8c28a47acfc5ef540a017abcd786cf815591b163
refs/heads/master
2020-12-24T05:40:38.917432
2016-08-08T09:16:39
2016-08-08T09:16:39
65,190,208
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from __future__ import unicode_literals from django.apps import AppConfig from elasticsearch_dsl.connections import connections class MainConfig(AppConfig): name = 'main' def ready(self): connections.create_connection()
[ "chensandiego@gmail.com" ]
chensandiego@gmail.com
6e476551aad9c0a33a8007d074245b6a965d219e
5f052c5ebc53e8d72978fad1f6232778c404b417
/hera/bin/hera-simulations-hermesWorkflow
3468e9e3d3c86d6d9356592b705931e76e129c08
[]
no_license
swipswaps/Hera
e7afa0cb0f15f377cd0ed47a27ff47c6e248439e
7fbf20536c81c54cd69d1745f88bbcb264158e82
refs/heads/master
2023-01-23T02:36:26.581758
2020-12-07T14:20:57
2020-12-07T14:20:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,768
#! /usr/bin/env python import argparse from hermes import expandWorkflow from hermes import hermesWorkflow import json import os import pathlib from hera.datalayer import Project from pathlib import Path class argsHandler(Project): templateDocType = "HermesOpenFOAM" def __init__(self,projectName=None): ...
[ "davidg@example.com" ]
davidg@example.com
1eb42d6df6e8ec59425615e6f90c19e7fc7803e3
91e05c703f3868d652fa4b32825df274cce26658
/neural_net/convolution.py
34f4d80ec2a81ad1939203d1993ef0b4fb23ce6a
[]
no_license
mie998/image_processing
2843a0423b84c89ddf95179d047fe7689ee56e4f
fcd9a5e306ca20a9e85f7f87caba83b148a772e1
refs/heads/master
2022-11-15T07:38:08.815740
2020-07-17T11:07:47
2020-07-17T11:07:47
224,567,512
0
0
null
null
null
null
UTF-8
Python
false
false
5,983
py
from collections import OrderedDict import matplotlib.pyplot as plt import os import sys sys.path.append(os.pardir) from common.layers import * from common.utils import * from common.optimizer import * class ConvolutionalNeuralNet: def __init__(self, input_shape, hidden_size, output_size, conv_params): f...
[ "kei.west.post920@gmail.com" ]
kei.west.post920@gmail.com
8e3269fafdfc4c4927faaa47a88c3a3c531bf398
676f6f2d02db6aeeaa1bb0b28ab49e8c73923d0e
/venv/Lib/site-packages/falcon/bench/bench.py
b0c60863ab0aaefa5eee2e548c536b1e6bc55c82
[ "Apache-2.0" ]
permissive
vrian/orsen
ce34f74ea3a14c95d37ffa5c694b7c66725925df
9c10148aba62868fad4b679a4b9b717829586e96
refs/heads/master
2023-01-21T21:47:06.210918
2018-06-23T04:46:26
2018-06-23T04:46:26
120,284,869
1
0
Apache-2.0
2023-01-09T09:39:16
2018-02-05T09:44:03
Python
UTF-8
Python
false
false
11,546
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2014 by Rackspace Hosting, 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 # ...
[ "jbryanalburo@gmail.com" ]
jbryanalburo@gmail.com
26c63443b63b1498758a95004e4fd26103c6f481
54ea50206d6532799da5dfb5f3948f9690835298
/python数据分析与挖掘学习笔记/src/chapter4/code/data_discretization.py
52bd10b44315afb727bf8d46e6f842f0aa03b813
[]
no_license
chenhch8/machine-learning
5860587e6363d1bcaca8046e0b8b0a334c38d755
77ff004e19be8748466dccb3e2492a760f9b1d3b
refs/heads/master
2021-01-21T16:45:31.883671
2017-07-13T16:36:01
2017-07-13T16:36:01
91,905,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,462
py
# -*- coding: utf-8 -*- '''数据规范化''' import pandas as pd file = '../data/discretization_data.xls' data = pd.read_excel(file) data = data[u'肝气郁结证型系数'].copy() k = 4 # 等宽离散化 d1 = pd.cut(data, k, labels = list(range(k))) # 等频离散化 w = [1.0 * i / k for i in range(k + 1)] w = data.describe(percentiles = w)[4:4+k+1] d2 = pd....
[ "496746441@qq.com" ]
496746441@qq.com
d5ca2bcbd5de3c1b9c9bac46eab8058ddbdaa268
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/1005.py
d1785f14535df9f9f8739a47a08da1ea17308063
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
import numpy as np def solve(n, j): front = 0 for i in range(1, len(n)): if n[-i-1] > n[-i]: n[-i-1] -= 1 front = i if front: n[-front:] = 9 if not n[0]: n = n[1:] print('Case #{}: {}'.format(j+1, ''.join(map(str, n)))) def main(): T = int(input()) for i in range(T): solv...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
dd8c3943762e6c4c542152b3b97add415fa3ebf0
91516f6f7bb90f7d88a437032b5e9b2c48014bfc
/Ceaser/admin.py
5843fb29aae84a055d47b1d126493ee70a76166d
[]
no_license
Hritikchoudhary1000/Ceaser
94b089b52c1a00e61a5f3890207f9f8d4454bd06
4dddea211382c9d619c3a7678498a50910c4ecae
refs/heads/master
2021-05-16T22:55:18.123932
2020-03-27T10:20:48
2020-03-27T10:20:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from django.contrib import admin from .models import Document, UserProfileInfo # Register your models here. admin.site.register(UserProfileInfo) admin.site.register(Document)
[ "bendwalayush3@gmail.com" ]
bendwalayush3@gmail.com
60cf3e5f03ac14e51283e70a544e7f187a594223
ca13620a0967cc6fccd9e98080c235db9faa65a7
/models/transaction.py
dcd5a391102a38bf9698510b890be94ae7b0e205
[]
no_license
Geoffe-Ga/grocery_list
b60a2771fa06ca8fd6be8d87ca74b9eb640aae80
b854cc180e1b0ebb0bdfb9e17ad2824cc1cdc392
refs/heads/master
2020-12-15T16:22:19.655624
2020-01-20T19:03:24
2020-01-20T19:03:24
235,175,577
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
from db import db from datetime import datetime class TransactionModel(db.Model): __tablename__ = 'transaction' id = db.Column(db.Integer, primary_key=True) product_id = db.Column(db.Integer, db.ForeignKey('product.id')) product = db.relationship('ProductModel') trip_id = db.Column(db.Integer, ...
[ "geoff@Geoffs-MacBook-Air.local" ]
geoff@Geoffs-MacBook-Air.local
76dfb7da0c46bc7c91e9cc31820e5adb7354dc54
7be373d17a0a46c0e1fa486ce66ef295c17b7757
/assignment3/complex.py
87edda453c390aa3674a5e07993b9dc44174c4de
[]
no_license
anettfre/INF3331
425c47deaa0438ec2b1c8075a36249139bfb3e1f
54ee1aba4ebf7d26dfd01d4e0ed34439dce02a59
refs/heads/master
2020-05-25T04:56:18.907988
2020-02-01T18:34:55
2020-02-01T18:34:55
187,638,067
0
0
null
null
null
null
UTF-8
Python
false
false
3,681
py
#!/usr/bin/python3 from math import sqrt class Complex(): def __init__(self, real, imag): """takes in self, a real part, and a imaginery part""" self.real = real self.imag = imag # Assignment 3.3 def conjugate(self): """this function takes in one argument, that is self,...
[ "noreply@github.com" ]
anettfre.noreply@github.com