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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
5e494f738e2347aa42a5db0272e5ee6fb9c74abf
310fbab72b4b4f1c308a7ddefd34cb04e54b1fa0
/care/migrations/0003_patient_status.py
12be556c703104420aa886fc4548c291b78f1309
[ "MIT" ]
permissive
GituMbugua/patient-care
767748c764b2fd9269f2328a17be18edbfa09007
79935ff27ebef5c160ac77e0c958c31c6dccb3f6
refs/heads/master
2021-08-30T00:04:17.584295
2017-12-15T10:59:11
2017-12-15T10:59:11
113,864,824
1
1
null
null
null
null
UTF-8
Python
false
false
567
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-12-13 17:03 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('care', '0002_auto_20171213_1204'), ] operations = [ migrations.AddField( ...
[ "gmbugua38@gmail.com" ]
gmbugua38@gmail.com
912198bc71c0aca72cd66b68a560dd698503898a
72200c201fcc6d2ebed915e902ecca35469b904f
/server/ca/models.py
4584a48b6628705110851e08974e633e5e46d84a
[ "MIT" ]
permissive
knaou/mysign
a86f68c78b2b84f163af5afb1f40ca1cdb95187a
83a2748f2e3a69bc8741bc6a4ee2bb508a8aadba
refs/heads/master
2021-11-03T05:31:43.581688
2020-05-28T16:05:47
2020-05-28T16:05:47
176,100,477
0
0
MIT
2021-09-01T01:57:14
2019-03-17T12:50:59
Python
UTF-8
Python
false
false
1,140
py
from django.db import models class CertificateAuthority(models.Model): name = models.CharField(max_length=255, null=False) description = models.TextField(null=False, blank=True, default='') next_serial = models.IntegerField(null=False) key_pem = models.TextField(null=False) csr_pem = models.TextFi...
[ "monaou@gmail.com" ]
monaou@gmail.com
9203c91286bc5ec6669b399df3679ab852e02685
35f102cb79a609770ee4d2bccd4c9b79d4379295
/setup.py
90c54bd55e7322d5ef4c3507cd8326528359c88d
[ "MIT" ]
permissive
ahitrin/SiebenApp
b404aab2fb248db4a8bec727b25c73aa574e23e8
07782976bddecb1e3ba1ca2ab03ccbad024beda1
refs/heads/master
2023-08-16T16:25:32.409525
2023-08-14T06:53:07
2023-08-14T07:26:14
74,811,457
18
1
MIT
2023-09-11T06:08:01
2016-11-26T07:28:17
Python
UTF-8
Python
false
false
373
py
#!/usr/bin/env python3 from distutils.core import setup setup( name='SiebenApp', version='0.12', description='An experimental dependency-aware goal manager', author='Andrey Hitrin', author_email='andrey.hitrin@gmail.com', url='https://github.com/ahitrin/SiebenApp', packages=['siebenapp'], ...
[ "andrey.hitrin@gmail.com" ]
andrey.hitrin@gmail.com
546a1923ba578b58a263e4e4a8c6151cc1b740ea
84b04d0787cf4cca686f54dcb4ca8eb0a480bdd5
/src/plonetheme/kasteeldehaar/tests/test_robot.py
637d955684aa80abb6b0c6a48ffd0cdc2dd7c458
[]
no_license
plone-ve/plonetheme.kasteeldehaar
357c1399d2d14d1b07cbd507521af4bfd4182897
136e0304b935f3ffb085824ed85d7a71a71924d4
refs/heads/master
2023-08-25T15:10:11.249942
2016-11-04T16:58:00
2016-11-04T16:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
# -*- coding: utf-8 -*- from plonetheme.kasteeldehaar.testing import plonetheme.kasteeldehaar_ACCEPTANCE_TESTING # noqa from plone.app.testing import ROBOT_TEST_LEVEL from plone.testing import layered import os import robotsuite import unittest def test_suite(): suite = unittest.TestSuite() current_dir = os...
[ "andreslb1@gmail.com" ]
andreslb1@gmail.com
d5d7b8d6c78ac89d67efcee7fda2c0c241f8e41c
9b0b746bffa1bc4b54ee46397d4ca837c0a62733
/SocialMedia Project/backends/apps/userprofile/migrations/0002_userprofile_bio.py
8605f48c0553749091fcf2da8045831155f47930
[]
no_license
indalyadav56/Django-React-Projects
548b1132f713b8466e6254a70c4c69ac8f6ad328
a01b7a770f77ddf804caf0ee78b50a6a38ace0ee
refs/heads/main
2023-06-23T06:26:28.399644
2021-07-09T23:23:15
2021-07-09T23:23:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# Generated by Django 3.1 on 2021-05-23 11:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('userprofile', '0001_initial'), ] operations = [ migrations.AddField( model_name='userprofile', name='bio', ...
[ "yadavindal269@gmail.com" ]
yadavindal269@gmail.com
f4b6d2cb02e5d3c46fa681499e99a27767d36b5e
7e24d101e793afa60cb4252f3b9bf8726c104a9c
/petaldata/datasets/stripe/reports/abstract_stripe_report.py
8bbc43f639030b11e5cbc35f9ccbe8208d974f47
[ "MIT" ]
permissive
petaldata/petaldata-python
42fbe496ee259a2ffd4f083f5d420f28be273e44
6d3b7bdc8f2d6f6ef86f7e61606ffebed168c81d
refs/heads/master
2020-05-16T14:34:28.724775
2019-06-06T22:47:49
2019-06-06T22:47:49
183,106,671
3
1
null
null
null
null
UTF-8
Python
false
false
3,209
py
import pandas as pd import datetime from datetime import datetime from datetime import date import pygsheets import petaldata from petaldata.datasets.stripe.reports import query_filters from petaldata.datasets.stripe.reports.adjusted_invoices import AdjustedInvoices class AbstractStripeReport(object): def __init__...
[ "derek.haynes@gmail.com" ]
derek.haynes@gmail.com
9d2fa34a66d6dbc7159a496377e64a378cf8bf8a
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/P.O.R.-master/pirates/npc/BossAI.py
20a0702863d316eba876ab90f147f6b3362cec96
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
568
py
from direct.distributed import DistributedObjectAI class BossAI(DistributedObjectAI.DistributedObjectAI): def ___init___(self, air): DistributedObjectAI.DistributedObjectAI.__init__(self, air) def announceGenerate(self): DistributedObjectAI.DistributedObjectAI.announceGenerate(self) def ...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
cb860b9132b59035ea6c32bbac91d56cf9d58630
827e04177a3bec11aaa2a73eb124538e6712d7d8
/blog/migrations/0005_blogpost_views.py
3e51c827359ab40ec46b500b7538db4de86bd0f3
[]
no_license
iamajaykharat/TechnoWorld-Dynamic-Blog
de938f11925346c2047e3436ecd57522096758ae
d1dad8f7c451e7516b76cea3623b74dac87a70ac
refs/heads/master
2023-08-15T03:13:12.745049
2020-07-18T11:15:53
2020-07-18T11:15:53
280,628,874
0
0
null
2021-09-22T19:27:27
2020-07-18T10:00:52
HTML
UTF-8
Python
false
false
401
py
# Generated by Django 3.0.8 on 2020-07-18 09:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0004_blogcomment'), ] operations = [ migrations.AddField( model_name='blogpost', name='views', f...
[ "iamajaykharat@gmail.com" ]
iamajaykharat@gmail.com
dae4dad98f402fcd4f26493669a7c17624c0be8f
e7e4b4ee58aeb8d55ee4d301ff6debaaf6c1e3ff
/app/constansts.py
60726dba9c0dd5a19ed7d997680ee0426737782f
[]
no_license
eduna75/news-reader
ef724a25536902d56259806f42a9b2d7948550b6
d18775f52a6f6db8be1527a04c29f85ab2a90e67
refs/heads/master
2023-05-27T03:01:07.780629
2020-02-19T14:33:18
2020-02-19T14:33:18
30,923,274
0
0
null
2019-10-05T12:21:36
2015-02-17T15:33:43
HTML
UTF-8
Python
false
false
233
py
# User role ADMIN = 0 STAFF = 1 USER = 2 ROLE = { ADMIN: 'admin', STAFF: 'staff', USER: 'user', } # User status INACTIVE = 0 NEW = 1 ACTIVE = 2 STATUS = { INACTIVE: 'inactive', NEW: 'new', ACTIVE: 'active', }
[ "justus@justus.justus" ]
justus@justus.justus
636eabbfe9b1909c7aaa44fde421170464adefb2
7cf04200a04a92a682f50bbd3866ec1e0052278b
/ddosdb/ddosdb/apps.py
d476e18379ef2a359e7ff3b1dafdf87d0542971c
[]
no_license
ddosgrid/ddosdb
ca2a75816eeb81e45f25a9ee2d1d2b81cd496271
8491535c245d56fcf770fc3d7689f2ae4bc14559
refs/heads/master
2023-02-21T07:42:48.986929
2021-01-21T14:09:22
2021-01-21T14:09:22
294,374,673
0
0
null
2020-09-10T10:14:37
2020-09-10T10:14:36
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class DdosdbConfig(AppConfig): name = 'ddosdb'
[ "remco.poortinga@surfnet.nl" ]
remco.poortinga@surfnet.nl
d64822947bd318ef999a252c8a3923e1a6f107a8
f654f5f07dd8109c0ee31ba89dd4804e6b288343
/src/programy/utils/oob/email.py
7ce0678ee5141d87a71f7ce51bfe85ecb32f96c5
[ "MIT" ]
permissive
sprinteroz/program-y
3d1f5f28e4f3be770705d4bef15410b8b78f19da
454c6bde225dce7c3fb01c549d46249248caf7b5
refs/heads/master
2021-01-19T16:05:25.636700
2017-08-22T03:56:33
2017-08-22T03:56:33
100,986,551
1
0
null
2017-08-21T19:43:43
2017-08-21T19:43:43
null
UTF-8
Python
false
false
1,220
py
import logging import xml.etree.ElementTree as ET from programy.utils.oob.oob import OutOfBandProcessor """ <oob> <email> <to>recipient</to> <subject>subject text</subject> <body>body text</body> </email> </oob> """ class EmailOutOfBandProcessor(OutOfBandProcessor): def __init__(...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
9f900007269828e38296a9cb405a59c496d3de71
2479f74eec86d34c65f7c3b132346ca303e3cc23
/TrueHome/TrueHome/wsgi.py
41a3f3ce490255137f3a52f83adcb3749fc0b377
[ "MIT" ]
permissive
AletzB/true_home_test
2cdfa11161bc5258221e2d7ea2c0449ba73622ef
fc03fdf1ef09fe6283a4cd706c06e0a5a413a36d
refs/heads/main
2023-03-05T15:26:54.785018
2021-02-16T22:33:01
2021-02-16T22:33:01
339,537,664
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for TrueHome project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "alexanderbermudez@usantotomas.edu.co" ]
alexanderbermudez@usantotomas.edu.co
06aaaeed472b7854be2301e974e4720c1124be28
ae0de2f4bc8e7436a4c6e789b6249fc51a9404d0
/Speaker_Verification/src/layers/batch_preprocess.py
16c0077eb3fcfa2ec82ff3d5c5d709a650256c1c
[ "MIT" ]
permissive
TaeYoon2/KerasSpeakerEmbedding
69e1046ea401c7813fd032b5bd0fc9f2700d4a3b
a4a53ac0c209a283cab4969d61305f056a99b6c3
refs/heads/master
2020-11-25T20:27:05.072887
2019-12-18T12:28:54
2019-12-18T12:28:54
228,831,223
5
0
null
null
null
null
UTF-8
Python
false
false
3,502
py
import tensorflow as tf class Batch_preprocess(tf.keras.layers.Layer): def __init__(self, sr, fft_hop, fft_window, nfft, nmel, mode, window, hop, **kwargs): self.sr = sr self.fft_hop = fft_hop / 1000 self.fft_window = fft_window / 1000 self.nfft = nfft self.nmel = nmel ...
[ "lty92@naver.com" ]
lty92@naver.com
f07504b3b4c9717a85031b9b16b66da1b901b37c
309d452ec97f7003e2ef681bde102986c373ebaf
/djangoAdmin/asgi.py
59e54533ae58cfc71ac7cd20b79abb86954c498f
[]
no_license
CleytonCLois/APS-2020
b2c99488a8e2ddef35e32163fdeddb64b6c00450
479330a416798e8ca6158f055f59ecbdd46a96a2
refs/heads/master
2023-07-11T10:07:38.138180
2020-11-18T00:00:36
2020-11-18T00:00:36
265,688,681
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for djangoAdmin project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/dev/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "cleytonclois@gmail.com" ]
cleytonclois@gmail.com
f5db9f6c7200aa09c359fa4156c99124cbaf9b9a
a7e09640c081cf858f30c3cc3fe2d6ffc986eb7c
/gui/system/migrations/0008_auto_20170906_2335.py
ead8a168e06533db3ffd002005ee3b25fcc68f3b
[]
no_license
cbwest3/freenas
3fbeffe66c78a375843f138afd1ee306954a9c87
9947174014dd740145d540f03c1849a851f3b6e7
refs/heads/master
2021-04-30T13:59:53.975592
2018-02-12T05:25:55
2018-02-12T05:25:55
121,202,118
1
0
null
2018-02-12T05:01:39
2018-02-12T05:01:38
null
UTF-8
Python
false
false
869
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-09-06 23:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('system', '0007_auto_201708211858'), ] operations = [ migrations.AddField( ...
[ "wg@FreeBSD.org" ]
wg@FreeBSD.org
df93f65d97755a6b38917bb204e856bbf90a7efd
a0947c2778742aec26b1c0600ceca17df42326cd
/Python/PythonInADay2/CSV-Files-Drill/37of79-119.py
7707852ef6e09fc8a3743fa9851f02ce0b0f3c43
[]
no_license
JohnCDunn/Course-Work-TTA
5758319d4607114914ba9723328658bed8fb2024
8c4f60d51007dac2ac4cceb84b0f9666e143c0d7
refs/heads/master
2021-01-10T16:37:02.609879
2016-02-01T18:05:38
2016-02-01T18:05:38
49,983,248
0
0
null
null
null
null
UTF-8
Python
false
false
5,560
py
import wx, db_program class Frame(wx.Frame): def __init__(self, title): wx.Frame.__init__(self, None,\ title=title, size=(800,600)) panel = wx.Panel(self) # Creating the menu bar menuBar = wx.MenuBar() fileMenu = wx.Menu() exitItem = fileMenu.Append(wx...
[ "JohnClydeDunn@Gmail.com" ]
JohnClydeDunn@Gmail.com
c41d4a8545a558b242743537e1ac944437a90c6d
448a18bb54062a5e477f17adc3e2dbf7f5d19586
/preparation/get_density_map_gaussian.py
a122a91d4b95a63824a9e382f05cccc8cf12269a
[]
no_license
guoswang/Crowd-Counting
ae65e3f567e96ea7d31f9099e5ab757abee5b153
1c1e1b3f712039a7411dd405ff01c984cc9d5673
refs/heads/master
2020-04-16T13:29:45.938637
2018-09-25T14:52:33
2018-09-25T14:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
import numpy as np import math def matlab_style_gauss2D(shape=(3, 3), sigma=0.5): """ 2D gaussian mask - should give the same result as MATLAB's fspecial('gaussian',[shape],[sigma]) """ m, n = [(ss - 1.) / 2. for ss in shape] y, x = np.ogrid[-m:m + 1, -n:n + 1] h = np.exp(-(x * x + y * y) ...
[ "609012488@qq.com" ]
609012488@qq.com
41e10feedfe876d5f99cdf53a89cb472419a65d8
1ab04c85e37f1d5fc49dcf8054fd551104a1ad58
/helloworld.py
6ed25b2f85330ac67172666f6458a4af939a189a
[]
no_license
htetphyoaung97/Athina
33a4286d4bf5998fbbad9b0be25d4c13246ffc87
0c55df96604656b5efa05fd65d11c6b0337e7392
refs/heads/master
2022-11-16T17:55:16.234385
2020-07-17T08:50:13
2020-07-17T08:50:13
280,368,853
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
input1 = input("Enter Your First Name:") input2 = input("Enter Your Last Name:") result = input1 + " " + input2 print(result)
[ "dev.htetphyoaung@gmail.com" ]
dev.htetphyoaung@gmail.com
1cb1a5a7d714a543f49ebabf54a2b5ea99009cc6
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/DFL260-MIB.py
125dad8d74ee966bee6ebfc13c5c740e0dec552b
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
96,348
py
# # PySNMP MIB module DFL260-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DFL260-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:42:07 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
de5eea017c032a61da30c0fc838bd5c7842e7b01
7ad35f591c8ac671022eb02fa0de3f76b767345b
/_static/scripts/part2/helloobject/run_hello.py
dff12d4f74edd27ded2abce5bb1db3c176a9443b
[ "CC-BY-4.0" ]
permissive
mattsinc/learning_gem5
8d68ca4290ef34312d75580c98797fe3ce47f265
702f89f6b657e5d9201978333e56f2882e6f49fe
refs/heads/master
2021-01-23T08:33:19.830467
2018-09-14T05:02:38
2018-09-14T05:05:51
102,510,868
0
0
null
2017-09-05T17:29:40
2017-09-05T17:29:40
null
UTF-8
Python
false
false
2,359
py
# -*- coding: utf-8 -*- # Copyright (c) 2016 Jason Lowe-Power # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this list o...
[ "power.jg@gmail.com" ]
power.jg@gmail.com
2a63560da1481242bfff318fc858f7393a06df42
44080d747fd7454c11d575baaa4dcd17acc2b362
/gamelogic.py
9f18ae845471796a06a89c45078b8bb4589a2b0b
[]
no_license
oltyan/mathmagical
545fd38e552becc50067558dcaf0bb652c253fdb
73cc3869323d4914044098bfa918f03613eb0b0d
refs/heads/master
2021-09-02T06:21:43.263209
2017-12-31T01:01:44
2017-12-31T01:01:44
109,418,597
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
import random def get_continue(hp,enemy_count): if hp > 0 and enemy_count > 0: return True else: return False def choose_difficulty(): print("Please Select a difficulty: \n" "1. Easy (5 mosters, 0-10 numbers\n" "2. Challenge (8 monsters, 0-20\n" "3. Brutal (10...
[ "oltyan@gmail.com" ]
oltyan@gmail.com
3d76da29d6541bdb7ca2bb2cb1dd9e631ec40f74
bbe420ca711776140452b5639b935e37feb7d8ea
/Task1/chapter26.py
f2970c154dab1352dd124f107528c2c59dac5de3
[]
no_license
shkhaider2015/artificial_intelligence
9f2f156ab2cadcdc38f2c576f1af66667f21dc86
785e00dac28cec64a4b35068dbef0d1dcfc5ff3c
refs/heads/master
2020-03-28T20:27:33.406289
2018-11-22T09:11:25
2018-11-22T09:11:25
149,072,716
2
0
null
null
null
null
UTF-8
Python
false
false
163
py
Data = { "Name:": "Usama Riaz", "ID:": "1500-2015", "Age:": "21", "DOB:": "29/05/1997", "Location:": "Karachi" } for a,b in Data.items(): print(a,b)
[ "43218437+shkhaider2015@users.noreply.github.com" ]
43218437+shkhaider2015@users.noreply.github.com
db0aaaaee506d0a2bec90b0566b95ef7f862eee9
2dc50cd2aaf094bb4ceafc06d0a32633dc2b0c6b
/imagenet/models_cifar/resnet2.py
bb780ffbcf985c6bf700b75255f586ece5a8acb1
[]
no_license
jaykuo2005/RBNN
3a17b57ad75e9e94a27e36b18d7fdcf7707f7080
f7df8d66bf4b67030fc5a399a37be6df94332e64
refs/heads/master
2023-03-24T09:11:48.088776
2021-03-15T05:15:32
2021-03-15T05:15:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,704
py
'''ResNet in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' import torch import torch.nn as nn import torch.nn.functional as F import torch.nn.init as init from modules ...
[ "791411501@qq.com" ]
791411501@qq.com
1695a61483d9bea6d281bfd9b4b698c7c37bdbc1
1e1efdc1900ec0242dfb1c7a425f5b7874241054
/NLG_Rap_Bot/CreateIndex_NLG.py
545bd4a7ba00a8d9198e353635bffcc58e0d3007
[]
no_license
liam9/FreeStyle
01bcda77a16ef1b2beacab9840ba521f6dbc09ed
b65a4ac668cb2dc24c689cec20aa3509d472d327
refs/heads/master
2020-03-26T15:57:09.864565
2018-08-17T05:47:32
2018-08-17T05:47:32
145,073,467
1
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
''' This file indexes the lyrics so that the rhymes can be found very quickly ''' import sys,os dir = os.path.dirname(__file__) ''' This function indexes the lyrics. The index acts like a dictionary where the key is the rhyme and the value is the sentence which the rhyme is in. ''' def IndexLyrics...
[ "noreply@github.com" ]
liam9.noreply@github.com
cf8ae1bf18dadeb8aa363dc03bb7037db385880c
3747768c664256fe65108b4bc21e6baa7eb7a613
/ex5_2.py
134e8bdceb2cf74704904190393ea28a661a4674
[]
no_license
Ellzud/Python_Hard
c4a41e606620b426c7e16410190598d30049e17c
32c1bb12f18bde9b1d7d7516cd4621ac9416ab8d
refs/heads/master
2020-03-12T15:53:32.439419
2018-04-25T13:54:39
2018-04-25T13:54:39
130,702,309
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
# Learn python the hard way # exercise 5 # more variables and printing # Rafael Serrano 4/23/2018 name = 'Zed A. Shaw' age = 35 # not a lie height = 74 # inches weight = 180 # lbs eyes = 'Blue' teeth = 'White' hair = 'Brown' print "Let's talk about %s." % name print "He's %d inches tall." % height print "he's %d poun...
[ "serrano.rafael1@gmail.com" ]
serrano.rafael1@gmail.com
d19988ad33589d48cc57918d518294a2fd6150d7
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/exp-big-490.py
878f7cc3ed471a6dd801ce1f464e12d880342a22
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
3,180
py
# Compute x**y def exp(x: int, y: int) -> int: a: int = 0 a2: int = 0 a3: int = 0 a4: int = 0 a5: int = 0 def f(i: int) -> int: nonlocal a nonlocal a2 nonlocal a3 nonlocal a4 nonlocal a5 def geta() -> int: return a if i <= 0: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
0b03d074fa0c57ddbd4539401be24204d3559b54
322df586ef094872d4c4609097bcf3e52c361695
/test/operations/math/test_div.py
c8d4161e541ba3d40cd52468dfb862576e53b667
[ "MIT" ]
permissive
xpenalosa/PyPc
04b19d05d8628d39f9bc8759e3875620cce89c06
fff3ae29b800d127d261492098aecbbf6719bd07
refs/heads/master
2020-12-09T06:22:11.306317
2020-02-16T21:11:30
2020-02-16T21:11:30
233,220,411
0
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
from pypc.memory import MemoryTypes from pypc.operations import Operations from test.operations.operation_test import OperationTestBase class DivTest(OperationTestBase): def test_div_basic(self): memory_type = MemoryTypes.BASIC initial_data = "\n".join([ "DIV 8, 2, 0"]) expect...
[ "xavier.penalosa.esteller@gmail.com" ]
xavier.penalosa.esteller@gmail.com
ac25687848306c6a9cff59e9ab2267b666d426d9
71f00ed87cd980bb2f92c08b085c5abe40a317fb
/BestOreo/W2V_CNN_robustchecking.py
e2d480f65e769e2d5e81dee662d63187818b0ca9
[]
no_license
factoryofthesun/Rao-NLP
2bd8269a8eed1cb352c14c8fde88e3111ccca088
87f9723f5ee51bd21310d58c3425a2a7271ec3c5
refs/heads/master
2023-04-18T08:54:08.370155
2020-06-09T23:24:07
2020-06-09T23:24:07
248,070,291
0
1
null
2021-04-30T21:13:04
2020-03-17T20:49:03
Python
UTF-8
Python
false
false
9,146
py
# -*- coding: utf-8 -*- """Shuaiqi_train.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/11DfSUkrGQfPsEtfHoJxewiBcqBM8OlfZ """ # Commented out IPython magic to ensure Python compatibility. # %tensorflow_version 1.x import tensorflow as tf import ...
[ "guanzhi97@gmail.com" ]
guanzhi97@gmail.com
22587d55f9f9fab4188c819fa38b8dfd4eef0c1d
d7a88bb64c1b343ebbacf140ba07495c23e1cc3d
/NegStars.py
fa287ce660e4fde3769cb20b5fcf2e39ea6e6b2c
[]
no_license
RubyEye7/Week-1
b485c103b296bec5e0fa6b7f613de3ae22582cc4
ff499338b8e630caeb513e41f58c772227d9f236
refs/heads/master
2020-03-23T00:54:35.559294
2018-07-13T20:54:21
2018-07-13T20:54:21
140,891,609
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
a = int(input("How many lines do you want: ")) count = a while(count > 0): count -= 1 print("**" * count)
[ "40636561+Andrew800@users.noreply.github.com" ]
40636561+Andrew800@users.noreply.github.com
92322e9b068c373a41915258ab7f5d03e802e076
187dfad282778ba66c9fbc410e53a25410b8ad57
/hellosign_python_sdk/tests/functional_tests/test_team.py
cb8dc2198a36e323e5900c81bbf5c88276884f63
[]
no_license
binti-family/hellosign-python-sdk
eaff6f0bd1d1905cc5a0e64d6cd7e9b70adad8b3
5acf8c74c4ae85e6a7be9e850d8d1f2a55c11595
refs/heads/master
2021-01-21T02:41:13.123103
2014-03-26T08:00:22
2014-03-26T08:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,489
py
from unittest import TestCase from hellosign_python_sdk.tests.test_helper import api_key from hellosign_python_sdk.hsclient import HSClient from hellosign_python_sdk.resource.team import Team from hellosign_python_sdk.utils.exception import NotFound, HSException, InvalidEmail, Forbidden class TestTeam(TestCase): ...
[ "minhdanh@tgm.vn" ]
minhdanh@tgm.vn
92477151719bfd2fe4fb01b879caecf255490283
9fa57500b2f5201048da971d1e5e5cc4af056dc9
/tests/unit/models/reddit/test_inline_media.py
ec5a18607b1761d46a42e6768b73a9a6810a1df5
[ "BSD-2-Clause" ]
permissive
LilSpazJoekp/asyncpraw
7fc95bf88f875010097d601e7f488748392fedf6
afddfb770b31a08f06a1b8ced6af803e499804e7
refs/heads/master
2022-04-01T09:42:42.035001
2022-03-04T21:32:09
2022-03-04T21:32:09
320,988,731
0
0
BSD-2-Clause
2020-12-13T05:19:57
2020-12-13T05:10:34
null
UTF-8
Python
false
false
2,307
py
from asyncpraw.models import InlineGif, InlineImage, InlineMedia, InlineVideo from ... import UnitTest class TestInlineMedia(UnitTest): def test_equality(self): media1 = InlineMedia(path="path1", caption="caption1") media1.media_id = "media_id1" media2 = InlineMedia(path="path1", caption=...
[ "15524072+LilSpazJoekp@users.noreply.github.com" ]
15524072+LilSpazJoekp@users.noreply.github.com
e6a936ccc3de105e36ffef350ea2096d974dc9f0
760e1c14d056dd75958d367242c2a50e829ac4f0
/剑指offer/6_旋转数组最小的数字.py
795e06ad064cd143007a5bdc31ea65296446baea
[]
no_license
lawtech0902/py_imooc_algorithm
8e85265b716f376ff1c53d0afd550470679224fb
74550d68cd3fd2cfcc92e1bf6579ac3b8f31aa75
refs/heads/master
2021-04-26T22:54:42.176596
2018-09-23T15:45:22
2018-09-23T15:45:22
123,894,744
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
# _*_ coding: utf-8 _*_ """ 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。 输入一个非递减排序的数组的一个旋转,输出旋转数组的最小元素。 例如数组{3,4,5,1,2}为{1,2,3,4,5}的一个旋转,该数组的最小值为1。 NOTE:给出的所有元素都大于0,若数组大小为0,请返回0。 __author__ = 'lawtech' __date__ = '2018/5/9 下午9:35' """ class Solution: def minNumberInRotateArray(self, rotateArray): # write code here ...
[ "584563542@qq.com" ]
584563542@qq.com
a82beeb3c4f4b2b11632854d1f7251427ba6389b
9d5c9d9373002ab4ed1b493136517e8b4ab160e5
/saas/backend/apps/application/migrations/0009_auto_20200902_1134.py
1040ea6a30228a6fcf4b7f4921d2955e0bf91fbf
[ "MIT" ]
permissive
robert871126/bk-iam-saas
f8299bb632fc853ef0131d445f84c6084fc84aba
33c8f4ffe8697081abcfc5771b98a88c0578059f
refs/heads/master
2023-08-23T19:23:01.987394
2021-10-22T09:45:28
2021-10-22T09:45:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-权限中心(BlueKing-IAM) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with th...
[ "zhu327@gmail.com" ]
zhu327@gmail.com
a315cc93eb48378a0694c0131b8d1a8bd460e157
432b9b1ba469ef94ffd93065d4fde5d8c89f1a6e
/DM3/src/data.py
22298997aad2e1ff16e001bfe849a1acca56c01a
[]
no_license
NelleV/SVM
0ea9931e2152d6200ef094325a9f1838eed99943
a46cfecb7f5d4361a93d36bdf85c2cc76c72838b
refs/heads/master
2020-06-05T07:31:34.034416
2012-03-06T19:36:40
2012-03-06T19:36:40
3,238,738
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
import csv import numpy as np def libras_movement(): """ Fetches the Libras Movement dataset Returns ------- X, Y """ dataset = csv.reader(open('data/movement_libras.data', 'r')) X = [] Y = [] for element in dataset: X.append(element[:-1]) Y.append(element[-...
[ "nelle.varoquaux@gmail.com" ]
nelle.varoquaux@gmail.com
13cfea6db55dada74d7680481f21ba2ede13b5c4
616024faf0f95aafb76db2f6caa96c5aa2fccbf0
/session.py
a8ae892a5f0b1041e9f8ff87a3aff9387c6a857b
[]
no_license
Shevane12/Chisel
154f0025664f23c0eaf52ebcb64aa3a7c2495115
d3a7e8a5926e5ed9ed6edf0fed6e166387352e8c
refs/heads/master
2022-12-30T05:56:08.033868
2020-10-23T23:27:48
2020-10-23T23:27:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,057
py
from requests import Session from selenium.webdriver import Chrome from selenium.webdriver.chrome.options import Options from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support.expected_conditions import title_is from selenium.common.exceptions import TimeoutException from selenium.webdr...
[ "deboer.wilco@gmail.com" ]
deboer.wilco@gmail.com
915d93ebfb350f0981dab2804861e7fe19306cc7
b0ede55e98d454f558e5397369f9265893deedb5
/SWEA/D3/4698_special_prime.py
7e90335df7e3a59a8beb755177ef82b1905f53a7
[]
no_license
YeonggilGo/python_practice
5ff65852900c4c6769d541af16f74a27a67920ec
43082568b5045a8efc1d596074bdca3e66b2fed1
refs/heads/master
2023-06-22T02:09:31.906745
2023-06-17T01:27:22
2023-06-17T01:27:22
280,361,205
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
primes = [] numbers = [True] * 1000001 numbers[0], numbers[1] = False, False for i in range(2, 1000001): if numbers[i]: primes.append(i) for j in range(i, 1000001, i): numbers[j] = False T = int(input()) for tc in range(1, T + 1): D, A, B = map(int, input().split()) ans = 0 for prim...
[ "dudrlf1859@naver.com" ]
dudrlf1859@naver.com
ba59ebba2e068546face3a92c586930dc6c334c9
a45c87da1d573891a6009546b58320e6e9e0a54e
/html_compiler/compiler.py
ca07b433b7198def73b4a5f7ebd278ef26c0fcb4
[ "MIT" ]
permissive
hsuanhauliu/html-compiler
f805254a5b58c3b21a95882d98784f55d63547fb
17f2659b95153690b517f58964f9002426c08c03
refs/heads/master
2020-09-11T12:00:12.677145
2019-12-14T06:10:05
2019-12-14T06:10:05
222,057,278
2
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
""" Compiler module. """ import os from bs4 import BeautifulSoup def compile(path): """ Recursive function for merging components """ soup = "" next_dir, filename = _separate_dir_and_file(path) with cd(next_dir): with open(filename, "r") as rfile: soup = BeautifulSoup(rfile, ...
[ "hsuanhal@usc.edu" ]
hsuanhal@usc.edu
62c33222a67be9a4d9938a2ef8513d7ecd54029e
544356d5eacf67a27b5be7dfb276a919a232f547
/post_test.py
ac6510a661435ee9210a0fa9382cf6dc6454a849
[]
no_license
drellxor/wolf_markov
8967d660bd248d674b47ae65fa1bc9d6a9fa8497
8df4e882464209461bf9f3d4c43ee3888ec747e0
refs/heads/main
2023-04-12T19:52:20.339640
2021-05-03T14:44:42
2021-05-03T14:44:42
322,602,373
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
import vk_api from markov_wolf import MarkovWolf if __name__ == '__main__': # session = vk_api.VkApi(token='c8767213cdfa52be374952b3eb9632c6d4ed4b442b8202ed295efba6520613f8d1eb109a2a302595a6b59') # api = session.get_api() # # uploader = vk_api.upload.VkUpload(api) # result = uploader.photo_wall([pi...
[ "tryakinan@gmail.com" ]
tryakinan@gmail.com
b11803d6a0a1957d777cda1dc1d36376308e22ff
00dfa1c55b2c3e6ad98e2e1ceebcdabb65bb3712
/Recursion/tower_of_hanoi.py
f2fe72980f98b55d2fb878c8479f8cd2434956ca
[]
no_license
taddes/algos_python
889f580c296ced1b74fdebbb38ba16df1249306a
b72417e53fe9b45ed12270716fe13cbed6a178d1
refs/heads/master
2023-02-12T00:43:36.414418
2021-01-02T23:15:33
2021-01-02T23:15:33
284,581,471
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
""" Three rods and a number of disks of different sizes which can slide on any rod. Puzzle begins with the disks in a neat stack in ascending order of size on the leftmost rod. The smallest disk is at the top, making a conical shape. Rules: Only one disk can be moved at a time Each move consists of taking the upper di...
[ "taddes.korris@gmail.com" ]
taddes.korris@gmail.com
0c7002f95919d1deecaa962259fac4be46263738
5dcfef2058f8daae0a6b3436cde9486562943c8c
/2016/Computer Vision Labs/Lab 1/hellocv.py
eb569449a606d236369f864fdd6c99c1044b97d5
[]
no_license
RhysAgombar/CV-Misc-Files
84f8c258edb981885192ab0d1b091c7564244328
8cc98c04a8c0b0fd6a5951f86db132fd4fc58bb0
refs/heads/master
2021-01-20T02:29:21.211280
2017-04-25T23:15:13
2017-04-25T23:15:13
89,414,721
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from cv2.cv import * img = LoadImage("C:/Users/100515147/Desktop/Computer Vision Labs/Lab 1/test.jpg") NamedWindow("opencv") ShowImage("opencv",img) WaitKey(0)
[ "Rhys.Agombar@uoit.net" ]
Rhys.Agombar@uoit.net
5fa380db591b15f03f9b47603efafac84ba50a64
994e60f19bf8cf45317cf48a92bee64ac798eb44
/code/loop.py
b487f1a007b8844e7844a0e86234323c812c3b58
[]
no_license
ozntur/col_oil_prod
ad74e9182d594ca30cda213d8e7648cb8e8e0c4b
15247b2c937a7f5cf6ee64e520f74578fc07ca11
refs/heads/master
2022-11-07T05:52:02.642364
2020-07-02T18:43:27
2020-07-02T18:43:27
276,159,482
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
# USEFUL LOOP TO DOWNLOAD DATA import geopandas as gpd import pandas as pd ds = gpd.read_file('data/WELLS_SHP/Wells.shp') print('asd') #print('done') print(ds.API[ds.Facil_Stat == 'PR']) #print('done') d = {} for x in (ds.API[ds.Facil_Stat =='PR']): a = ds.API_County.loc[ds.API == x].item() b = ds.API_Seq.lo...
[ "ozan.turkes@gmail.com" ]
ozan.turkes@gmail.com
2bc6bf87b8a17707f937427fda6c823672244a56
14303ddae70645ed8beb32c869fa00a9bd7870a1
/orbit_return.py
eb87165ca0c0b88340cbbebe04499046bba9aeb8
[]
no_license
bpmagallon/Diwata1_Orbit
65e292906122005afe58b041376f71147f185d97
d2463233317ab5af126a266920da5c247fd72b78
refs/heads/master
2021-01-10T14:21:22.583284
2016-03-13T20:34:43
2016-03-13T20:34:43
53,806,032
0
2
null
null
null
null
UTF-8
Python
false
false
5,740
py
import numpy as np import math import dateAdd import urllib import geoc_geod import getXY import arcpy import getNearest import ephem import datetime import geod_to_geoc import isAM import groundtrack import get_vector import spherical arcpy.env.overwriteOutput = True celestrak = urllib.urlopen("http://www.celestrak....
[ "bpmagallon@gmail.com" ]
bpmagallon@gmail.com
504c177772b52656ec86a57238ff9dc5ffc4b589
172adddeaf9da90f39fbb7e93b59e2369f44d64a
/level_2/next_bignum.py
f43fbbb3e67c5ce6011d2cac06bf65c397728152
[]
no_license
sujin16/studycoding
1e7bae941513e4d65e3df44cbde471764940b7e9
1a394f3fd6851c296dc37fba0d67b01cc665ecce
refs/heads/main
2023-03-14T03:51:14.022481
2021-03-04T12:56:04
2021-03-04T12:56:04
324,210,004
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
def solution(n): num =list(bin(n)).count('1') i =1 while True: n+=1 if list(bin(n)).count('1') ==num:return n n=15 print(solution(n))
[ "tnwls9712@ajou.ac.kr" ]
tnwls9712@ajou.ac.kr
2707f52621ecd803872de5c8f53a8a4582b75aef
6814c5b1facf4c5a2a1b35e194a50a67c6e547b8
/classifier.py
2f41d6d38436823ebee17c62f85e90babc9b8e9f
[]
no_license
Sahana012/Model-View-Controller
f9a9916dd78eb336930772174c6c366b8d648109
15fc6b7035635442046f0c0910f6e08d0122795b
refs/heads/main
2023-06-22T21:22:18.644303
2021-07-25T01:30:03
2021-07-25T01:30:03
389,233,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
import numpy as np import pandas as pd from sklearn.datasets import fetch_openml from sklearn.model_selection import train_test_split from sklearn.linear_model import LogisticRegression from PIL import Image import PIL.ImageOps X = np.load('image.npz')['arr_0'] y = pd.read_csv("labels.csv")["labels"] print(pd.Series(y...
[ "noreply@github.com" ]
Sahana012.noreply@github.com
67a5365443ffe32e04263ef87eabb797f29e9ddf
af0661c89e70c914f9e2f1e5053fae69558b7c71
/Lesson_01/Lesson_01.py
a4c7052cf1214813a906c7ccf1cb269aa7b16662
[]
no_license
kamyninatatyana/DataSearch
ca1021233ed53874dbbca57f70d3eecd722c5b20
dceee3bcdf55a8ad418c69921d2cf77efec0f921
refs/heads/master
2023-04-07T04:11:11.935750
2021-04-17T13:59:50
2021-04-17T13:59:50
358,893,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
import requests import json # Задание 1 # Посмотреть документацию к API GitHub, разобраться как вывести список репозиториев для конкретного пользователя, # сохранить JSON-вывод в файле *.json. print('Задание 1') print() user_name = 'kamyninatatyana' my_url = 'https://api.github.com' my_request = requests.get(f'{my_u...
[ "tatyanak@yandex.ru" ]
tatyanak@yandex.ru
deb50bc3047abbdefa3468e418745c566c58248e
a985c6024fb0ab2665ed49eb82f01dedb6209531
/logs.py
01e49ca7d71c4e17280d07106ee3fccd0ca64b9e
[]
no_license
JessDF/LogsAnalysisProject
7f4a914bdb64950ea685895492c818bc5ef9dad9
c04aed4b4a53c5e925eccf97c17117aedb4995f6
refs/heads/master
2021-05-16T10:15:37.641460
2018-01-02T21:36:29
2018-01-02T21:36:29
104,678,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
#!/usr/bin/env python3 # ---------------------- DESCRIPTION --------------------- # logs.py is an example of how to query a Postgresql database # to report data from a news website. The purpose is to obtain # information from the newsdata and ouput it. import psycopg2 DBNAME = 'news' def process_query(us...
[ "noreply@github.com" ]
JessDF.noreply@github.com
63c68801afba7e64361b69647cb7a4ce297ee086
60c71a35efed4321ace93042f822896cd3eb5588
/app/spider/reply/generate_reply_spider.py
85fa1b27a79ea64b8b6bf88904236d8b03d0e1fb
[ "Apache-2.0" ]
permissive
zkguchun/ASoulCnki
b3e21ba3f7c1a5ff4840c73346469418a3d6ec52
e66b8427dac68ed0fd0347447c93f161a04ff785
refs/heads/master
2023-06-30T07:20:03.496162
2021-07-25T02:08:06
2021-07-25T02:08:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
from app.config import sqla import datetime import app.models as models import tasks def send_low_priority_reply_spider_task(): session = sqla['session'] three_day_ago = int((datetime.datetime.now() - datetime.timedelta(days=3)).timestamp()) low_priority_reply_task = session.query(models.UserDynamic).filt...
[ "stream2000@139.com" ]
stream2000@139.com
f74f9719deb520d9f4b0f1dbb3b693f5511b8485
2fbf9e271de7889d15fe78696cbb4807f35fcc30
/boards/views.py
2559b77fa121c89158261e694ca58572d3a89057
[]
no_license
xsaints/proj0064
03c990a0fc2be269c079b07399fb651b9fbd7bd2
49c80b3eba89418d5b24f838140bbf2be1d3c242
refs/heads/master
2020-04-03T12:41:09.786367
2018-10-29T18:42:27
2018-10-29T18:42:27
155,259,737
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponseRedirect from django.urls import reverse from .models import Board, Topic, Post from .forms import NewTopicForm, NewPostForm ''' def home(request): return render(request, 'boards/home.html') ''' def boards(request): '''...
[ "xsaints@yahoo.com" ]
xsaints@yahoo.com
cb9fbb26c3919aa6d7f1384ed52081e21a14efb5
b514dce7f2796022bb50792e8fb22265160eb3e7
/experiments/sf-heuristic/make-testbed-exp-testbed-ga.py
53ef07cacf538b50c2985144f297d718ea448b85
[]
no_license
imec-idlab/tsch-slotbonding-ga-simulator
7ac48b12fa8165e01c6f38702f78be31f5081136
7fe670baa7ea5f6319d7f5ad5ab77d590100d0cb
refs/heads/main
2023-02-24T07:13:50.483590
2021-02-02T11:49:07
2021-02-02T11:49:07
335,271,078
0
1
null
null
null
null
UTF-8
Python
false
false
5,018
py
import random import json import os import sys sys.path.insert(1, '../../simulator/SimEngine/') random.seed(100) ITERATIONS = 20 INPUT_DIR = '../input' MAX_SEED = 10000 random_seeds = [] ##### SIMULATOR SPECIFIC SETTINGS ##### expLength = 300 # seconds cooldownLength = 60 # seconds simulator_config = {} simulato...
[ "glenn.daneels@uantwerpen.be" ]
glenn.daneels@uantwerpen.be
9dbdc9a4865ba9be97a3a163f61fe24566c2591a
8cb3604a6cba69d13ec7ee0c38b8c617daff5d82
/Array/sort012.py
3e1b1633707ceabd5d681f6bccd1e4f0910f5557
[]
no_license
therohitsingh/CODE
6e4ba53f52d939ada183e6d02a4f03f1c0680cde
d803a226d24afc6b7e417be6ef1e51e81da9fe92
refs/heads/master
2023-06-10T09:14:50.703222
2021-07-02T15:52:40
2021-07-02T15:52:40
382,393,947
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
def sortarr(a,n): a = [] n = len(a) count0 = 0 count1 = 0 count2 = 0 for i in range(n): if a[i]==0: count0+=1 elif a[i]==1: count1+=1 elif a[i]==2: count2+=1 i = 0 while(count0>0): a[i] = 0 i+=1 ...
[ "therohitsinghr@gmail.com" ]
therohitsinghr@gmail.com
12c5fac8d736aaa2b4d1f2cb36d9d2f8cbecc0b1
fac5254bbad63a9abdf77c575b76a86b47f62a29
/fetch_and_prepare/people_dataframe.py
4ea51ae19426d70e5f330182beea0ff74675ffc4
[]
no_license
Nickheythatsme/baseball-ml
91aa1a00ec1472118b6a9da07728b6ec1d08961e
0159695a3a82e1a02a7622384b04cafd8e41df68
refs/heads/master
2020-06-06T06:54:59.134126
2019-06-21T06:24:42
2019-06-21T06:24:42
192,671,070
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
from baseball_dataframe import BaseballDataFrame class PeopleDataFrame(BaseballDataFrame): def __init__(self): super().__init__('people.csv') print(super().memory_usage()) self['birthYear'] = self['birthYear'].fillna(value=0).astype('int') self['birthMonth'] = self['birthMonth'].fi...
[ "nick_grout@ext.airbnb.com" ]
nick_grout@ext.airbnb.com
b8fbc89b00c608ef7d1a47c1ca35b6688318a5ea
2776f806297ae2f05d6c6bcbf2205ed8eb3b9db8
/ico/tests/contracts/test_require_customer_id.py
3dfa23e0d176551f9efd672c9a4c5a07982db7b1
[ "Apache-2.0" ]
permissive
ZOLTbyZENUM/ico
138207db242053ded62ecc9a4f7d273209232a3f
26e4ae717e5f04a3f41f32f5f52f7dddedaac65d
refs/heads/master
2022-12-12T16:01:40.922647
2018-02-28T12:47:33
2018-02-28T12:47:33
123,442,497
0
0
NOASSERTION
2022-12-08T00:42:32
2018-03-01T14:02:07
Python
UTF-8
Python
false
false
2,433
py
"""Customer id tracking.""" import uuid import pytest from ethereum.tester import TransactionFailed from eth_utils import to_wei from ico.tests.utils import time_travel from ico.state import CrowdsaleState from sha3 import keccak_256 from rlp.utils import decode_hex @pytest.fixture def crowdsale(uncapped_flatprice,...
[ "mikko@opensourcehacker.com" ]
mikko@opensourcehacker.com
72212e31ccf58f2dc7b46b3e6ecd97d710db25ae
db54b1234f2c7e2c1fda0700365cad4937d13089
/musicbrainz/search/urls.py
5b2eae9d6470a58e188065a4c071b3a2ce4d94d8
[]
no_license
manuelmamut/musicbrainz_search
6add73fe1ef9f6786fcefefa7c19fd993979736f
72ce439809cbbf4a0b3b5556363a7eb16b9c8bd4
refs/heads/master
2020-03-26T17:19:21.415485
2018-08-22T02:05:52
2018-08-22T02:05:52
145,154,966
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from django.conf.urls import url from django.views.generic import RedirectView from search import views from django.views.decorators.cache import cache_page urlpatterns = [ url(r'^$', RedirectView.as_view(url='release-groups/')), url(r'^release-groups/$', cache_page(60 * 15)(views.releaseGroupView.as_view())...
[ "manuelj.fuentesg@gmail.com" ]
manuelj.fuentesg@gmail.com
8798346e2d05dabe4d21c475211f6096d376a636
a5b3c21b7dc0ebfc7096e877228dbd4740713bab
/Python - learning/Data Structures/copy.py
7c31451ef93b11fb7127d05eadf7cfb705c7f771
[]
no_license
Cameron-Calpin/Code
7dd1ee7d8b83e3d325510ef14a92d36f254bc078
fc32e0ed2464efb64b0ebad7f76270a369e2a829
refs/heads/master
2023-07-07T06:37:54.397181
2023-07-01T23:06:58
2023-07-01T23:06:58
91,615,709
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
mytuple = ('one', 'two', 'three') listcopy = list(mytuple) listcopy.sort() for item in listcopy: print item myDict = {'one': 1, 'two': 2, 'three': 3} keys = myDict.keys() keys.sort() for key in keys: print key, myDict[key]
[ "cameron.calpin.14@cnu.edu" ]
cameron.calpin.14@cnu.edu
fc9ba580ad9a11c6f67bcea854c79af053e832b4
2a5145f811c0679b35af367d25fce5914c2e0e40
/Algorithm/169_MajorityElement.py
641252ef81bfbf55f340168da7a95c33bb00a40e
[]
no_license
lingtianwan/Leetcode
8f93fc3fc85db289ca8f618143af2a43711425ba
bf2edab87dd96afab1ff411df35d3163c1dfdc55
refs/heads/master
2021-01-12T19:16:31.918703
2017-02-09T01:50:53
2017-02-09T01:50:53
81,396,498
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
# Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. # # You may assume that the array is non-empty and the majority element always exist in the array. class Solution(object): def majorityElement(self, nums): """ :type num...
[ "lingtian.wan@gmail.com" ]
lingtian.wan@gmail.com
ce7fe6a703bd4648ba39e7da18929b3abdecddae
1cf84b1c4e0bfc3145b758879e5c4648fab8024d
/7.5. Filter out 53 copies of the products to be tested in the table.py
c7504bd073b3b26981a001341db332d037c1d306
[ "Apache-2.0" ]
permissive
zy-yao/Clothes-Matching-on-Taobao
8d8e9c73c8f429748ec89cffec9e1ea8d20e1810
1910c25bd764495021c3a4e2f6a11c5cdb56f15f
refs/heads/master
2023-01-30T15:19:46.948461
2020-12-03T15:07:46
2020-12-03T15:07:46
276,325,917
0
1
null
2020-07-16T09:35:53
2020-07-01T08:49:20
Python
UTF-8
Python
false
false
366
py
import pandas as pd for i in range(0,53): d = pd.read_csv('/Users/YAO/.spyder-py3/ForPython/new method/rule1_weekresult3/result'+str(i+1)+'_3.csv') testItems = pd.read_csv('testItems.csv') predict = pd.merge(testItems,d) predict.to_csv('/Users/YAO/.spyder-py3/ForPython/new method/rule1_weekresult_last/...
[ "33860709+zy-yao@users.noreply.github.com" ]
33860709+zy-yao@users.noreply.github.com
01bed1080979fef67de4c80a741868bc5950a4d9
8ba01e6790ce6d0a3e25b3e05281dd1aa64d2f2f
/classification/lightgbm.py
77fc6f9f85991a596e3440ead795b2810d5ce5af
[]
no_license
weineng-zhou/MachineLearning
4a358026627a693f3297d2b770e699d351bfc15c
30e327154619096fa9dc6aba3142f7d8cc50c4d6
refs/heads/master
2022-06-14T11:33:13.014329
2020-05-04T07:58:07
2020-05-04T07:58:07
261,112,109
4
0
null
null
null
null
UTF-8
Python
false
false
12,130
py
# -*- coding: utf-8 -*- import datetime import numpy as np import pandas as pd import matplotlib.pyplot as plt plt.rcParams['font.sans-serif'] = ['SimHei'] plt.rcParams['axes.unicode_minus'] = False from sklearn.model_selection import train_test_split from lightgbm import LGBMClassifier from sklearn.model_selection im...
[ "zwn911208@163.com" ]
zwn911208@163.com
a6ddd8d4f9f38b972820df093ba01dd54e608881
d701f0f5027c77fa41b0a9209b8989b9d0316aa8
/brain_games/logic/prime.py
fc01cab602a8fff9789a05a778f877bafe972ecd
[]
no_license
DenisTrukhin/python-project-lvl1
8d4c548bbb2bffed117340b8b480fade01cd044c
a4c6f8286b3e0dc8f0fcbbd848f54a8293cc4a85
refs/heads/main
2023-01-31T20:39:58.337152
2020-12-16T14:21:12
2020-12-16T14:24:31
311,041,345
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
import random def is_prime(n): if n % 2 == 0: return n == 2 d = 3 while d ** 2 <= n and n % d != 0: d += 2 return d ** 2 > n def prime(): positive_answer = 'yes' negative_answer = 'no' number = random.randint(1, 1000) expression = f'{number}' correct_answer = pos...
[ "denis.trukhin@balance-pl.ru" ]
denis.trukhin@balance-pl.ru
d11816bf434a2bc2cc962cfc510a0957f1ccd0a4
04f210ca1ec260a9fd1fa24a55876098a63203ba
/6GetParameters2.py
8cb6b0427ba39fb2c47d6dc8418baca39921a09a
[]
no_license
FocusYangQ/PythonSpider
bc757bf68fbea2c7d8ce8ff3a7500fbbd1a93c9f
e5d349efe4dd894bec688662a773e4756f466cd0
refs/heads/master
2023-08-24T22:27:46.400172
2021-10-15T13:08:09
2021-10-15T13:08:09
415,536,127
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
import requests if __name__ == '__main__' : data = { "name" : "hezhi" , "age" : 20 } response = requests.get ( "http://httpbin.org/get" , params = data ) print ( response.status_code ) print ( response.text )
[ "35205142+FocusYangQ@users.noreply.github.com" ]
35205142+FocusYangQ@users.noreply.github.com
d935698ed1490a86579c7639a9248a6761ca3fde
0125bbe0ce453e94604ff5834fbc280fe44f3220
/transquest/algo/sentence_level/siamesetransquest/readers/__init__.py
ae4c6526b6069a91c156cfd8a0f55c7f847bb325
[ "Apache-2.0" ]
permissive
mfomicheva/TransQuest
fc51bcb90e386534845841fd75a3860054e76dd7
4225f7195a703414ed13ce597854cc1a59703229
refs/heads/master
2023-06-12T14:52:49.066705
2021-05-07T10:35:21
2021-05-07T10:35:21
263,876,762
6
1
Apache-2.0
2020-05-14T09:52:07
2020-05-14T09:52:06
null
UTF-8
Python
false
false
231
py
# from .input_example import InputExample # from .label_sentence_reader import LabelSentenceReader # from .nli_data_reader import NLIDataReader # from .qe_data_reader import QEDataReader # from .triplet_reader import TripletReader
[ "rhtdranasinghe@gmail.com" ]
rhtdranasinghe@gmail.com
a51f49b8ad549be6578aed13784e031c214b6f48
03f23bb43a8161d4479486db4f0cf4df5ead360c
/search/services.py
74a44bf460b9d45c4c2920333046ff63c6a5bf2a
[]
no_license
nalimhahs/shopnani-backend
6f070440b64d389090da05307f18bec82e32b537
d6ebf193fa1f57b18a5aa7a94f166e18a0fa162f
refs/heads/master
2022-12-11T16:17:24.029075
2019-08-24T07:52:01
2019-08-24T07:52:01
195,423,400
0
0
null
2022-04-22T22:13:08
2019-07-05T14:31:09
Python
UTF-8
Python
false
false
719
py
import os import requests # The function accepts a query and passes it to the flipkart api. # The results are then converted to json and then returned. # The affiliate ID and Token are stored as environment variables to prevent unintentional exposure. def getResultsService(query): affiliateId = os.environ.get('DJ...
[ "milanshah1@gmail.com" ]
milanshah1@gmail.com
ce69a986c534d70a5aa60a0025175768ba380815
52b5773617a1b972a905de4d692540d26ff74926
/.history/clouds_20200703155257.py
611b20c61a4e392632a8177a3ecf3c4d6ae86dde
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
def jumpingClouds(c): i = 0 jumps = 0 while i < len(c)-2: if c[i+2] == 0: print('c------>',i,c[i]) print('here1') jumps +=1 elif c[i+1] == 0: print('here') jumps +=1 i +=1 print(jumps) ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
eafd957ce79a41486e0e5515ec49bc2b2ecf71e1
7ef991ef5d595ef987eb9ef74d5ed0469bdbb39e
/examples/ensemble/plot_monotonic_constraints.py
8b3f69f1d542e9a891b51bb11f879321501d143a
[ "BSD-3-Clause" ]
permissive
ogrisel/scikit-learn-github-actions
1762eb7961dabfd60c574c54b6b4ed1044ca986f
d88deccde974c70d8d89b9c880a809d53c2e32eb
refs/heads/master
2023-03-05T10:32:07.363536
2020-12-01T12:20:55
2020-12-01T12:20:55
317,551,992
3
3
BSD-3-Clause
2021-02-08T19:28:13
2020-12-01T13:36:07
Python
UTF-8
Python
false
false
2,241
py
""" ===================== Monotonic Constraints ===================== This example illustrates the effect of monotonic constraints on a gradient boosting estimator. We build an artificial dataset where the target value is in general positively correlated with the first feature (with some random and non-random variati...
[ "noreply@github.com" ]
ogrisel.noreply@github.com
c96341db1a252c067b17e8947a829457d1b9a95c
81632cda811a3ca43497457dc25c382e53685c01
/week2_algorithmic_warmup/1_fibonacci_number/fibonacci.py
bbf8f4211aae3a7847f0fae6b8d1522ef93ff585
[]
no_license
fernandoyto/algorithmic-toolbox
63511da14801ae3bfabe8da008f6d51a3e2b5572
059a897ad7edadd1d9278f0f87c7f5adb42e49e5
refs/heads/master
2022-09-22T09:45:55.736963
2020-06-01T01:59:58
2020-06-01T01:59:58
262,603,253
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
# Uses python3 def calc_fib(n): if n <= 1: return n arr = [0, 1] while len(arr) <= n: arr.append(arr[-1] + arr[-2]) return arr[-1] n = int(input()) print(calc_fib(n))
[ "fernando.toshioyto@gmail.com" ]
fernando.toshioyto@gmail.com
24a0d4647a4f5c7bfff17bb405ead7562f3e47a3
48caf249eaa70e9f71f9b94696316af62284d036
/how bad did you fail your test.py
32c190787aa77a4d25b72cbad2ebc52fcae8a799
[]
no_license
wannabruh/Python2020-08-17-minecraft-coding-
e4d6194fd241277c06ff8ee2a3003c3e7ad45e40
5252bace5b642758d32f8df4dc2160c36c586d8a
refs/heads/master
2022-12-03T10:52:54.774328
2020-08-17T08:52:36
2020-08-17T08:52:36
288,129,982
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
math = int(input("math")) eng = int(input("eng")) if math >=0 and math <=100 and eng >=0 and eng <=100: if math >=90 and eng >=90: print("eeeeeeeee") if math >=80 and eng >=80: print("teeeeeeeee") if math >=70 and eng >=70: print("reeeeeeeee") if math >=60 and eng >=60: ...
[ "noreply@github.com" ]
wannabruh.noreply@github.com
e41960c52ed9f1d8f4899297c7aa4df4e18f5413
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/og-.py
e881559c8f292114595ae1314a66e46d1d5952e6
[]
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
fc1654e347aab42f2c8356ba6bf4279a456c1caf
afd7a171d1d75b1f202745ddd355c05b7013aa77
/tensorflow_fix/flags.py
ce5bf191a99ad2f55815d47ebd3d683667429856
[]
no_license
erdnase1902/web-demo-vm
06f9464253bf3110d542e1ef7989325f59fe7693
8d7c16ec4402659e8c6fcbcd1cfbcf1cc292b6de
refs/heads/master
2023-02-27T02:40:43.300761
2021-02-02T00:24:03
2021-02-02T00:24:03
335,121,700
0
0
null
null
null
null
UTF-8
Python
false
false
4,756
py
# Copyright 2015 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...
[ "josephlu85@engineering.ucla.edu" ]
josephlu85@engineering.ucla.edu
28ded34c244dfde21440e7b8a4c967128d3118be
b39d72ba5de9d4683041e6b4413f8483c817f821
/GeneVisualization/ass1/Lib/site-packages/itk/itkImageDuplicatorPython.py
feba22d089e1bed3a6240415b04b2f8985228d76
[]
no_license
ssalmaan/DataVisualization
d93a0afe1290e4ea46c3be5718d503c71a6f99a7
eff072f11337f124681ce08742e1a092033680cc
refs/heads/master
2021-03-13T05:40:23.679095
2020-03-11T21:37:45
2020-03-11T21:37:45
246,642,979
0
0
null
null
null
null
UTF-8
Python
false
false
149,049
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3, 0, 0): new_instancemethod = lambda func, inst, cls: _itkI...
[ "44883043+ssalmaan@users.noreply.github.com" ]
44883043+ssalmaan@users.noreply.github.com
3d81722193663c5a56f5fcd5a04e2b8555f01b4e
c8471c09e9bf146a5dcec34a381e5ea4fcf7d1c2
/day1_star2.py
3440901f68795b5c27e1fb7b59a4eb553e45816b
[]
no_license
cmueh/AoC19
dea8456bb814b99efc53ce16fab6f488d7e4f896
2c219e221bddb33616ea5dcaa4824820fdb65598
refs/heads/master
2020-09-23T02:35:22.233081
2019-12-07T16:36:43
2019-12-07T16:36:43
225,380,404
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
f = open('input.txt') def calc(n): s = 0 while True: v = n // 3 - 2 if v <= 0: break s += v n = v return s arr = [calc(int(x.strip())) for x in f.readlines()] print(sum(arr))
[ "noreply@github.com" ]
cmueh.noreply@github.com
86fcd24ccd2ff7f53cde4be30ecfe987c53c067a
0c823c3975deff4d12edeb2628b0380e9282fb4b
/venv/bin/pew
047ec0aafcc0b94fbada6a1f164fb179627743fe
[]
no_license
shocktrop89/helloworld
a8a69927e35fd1198c30f458a426f5c060bf7bbb
eae76cb2e585e403edaa9e3775e820a646c80574
refs/heads/master
2022-12-14T19:56:46.990044
2018-02-22T15:07:20
2018-02-22T15:07:20
122,350,951
0
0
null
2022-09-16T17:46:27
2018-02-21T15:03:54
Python
UTF-8
Python
false
false
249
#!/Users/mbp13/Documents/GitHub/helloworld/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pew.pew import pew if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(pew())
[ "neo_x2k@hotmail.com" ]
neo_x2k@hotmail.com
d8590c08bf2977e339d8f90929d589b87f9ce6f4
54c269be3d6882141fc43fba55fccaafb773cc59
/PythonExercises/desafio32.py
5998f9be211e9845d51b8633de64c32baa68d73b
[]
no_license
ClaudioJrCode/SQLZOOexercises
80fb8eb2500419a52cdde0553eddd1561f3aecab
e4b90823b7309f2f1c7f260db4cee2f56084e0f7
refs/heads/main
2023-04-10T06:11:23.857484
2021-04-22T01:15:04
2021-04-22T01:15:04
360,316,526
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
while 1: ano = int(input('Digite um ano: ')) flag = True if ano % 4 != 0: if ano % 400 != 0: print('O ano não é bissexto') if ano % 4 == 0: if ano % 100 != 0: print('O ano é bissexto')
[ "noreply@github.com" ]
ClaudioJrCode.noreply@github.com
12e9c4dcfd45ee85d030c29f1e736d00d2d4d700
ec3e7aed2d85b1ad83500ff6944ac04c3f213b4c
/statinf/data/ProcessData.py
adfe35ae6f12625eebd8e3decdda3a63cf557817
[ "MIT" ]
permissive
vishalbelsare/statinf
2ef58526a93a85709c9177d437979be13d8f6072
c1dd7e0855809f4676845d33e0b9b040169463cb
refs/heads/master
2023-09-04T04:46:03.561451
2023-08-18T17:33:27
2023-08-18T17:33:27
230,207,975
0
0
MIT
2023-08-19T03:20:31
2019-12-26T06:26:23
Python
UTF-8
Python
false
false
27,132
py
import numpy as np import pandas as pd import re import warnings from types import SimpleNamespace # Ranking data def rankdata(x): """Assigns rank to data. This is mainly used for analysis like Spearman's correlation. :param x: Input vector. Format can be :obj:`numpy.array`, :obj:`list` or :obj:`pandas....
[ "florian.website.mail@gmail.com" ]
florian.website.mail@gmail.com
158c8568933800e1a190e58735a06e07f2d82e6b
21d21402c70d8a95d9a4b492078e3fb36e2c9af1
/shivi_khanuja/django/DojoNinja/apps/dojoninja/apps.py
d4941bb2d14a3111f7bbf5c0ed2410810df42a05
[]
no_license
hmp36/python_aug_2017
df897a1b0aa161300386192d48e3fcac9eb495c8
8747429b91b09349e5b5469d8932593b06f645e1
refs/heads/master
2021-04-29T23:16:50.149226
2017-09-11T20:14:37
2017-09-11T20:14:37
121,552,666
1
0
null
2018-02-14T19:34:54
2018-02-14T19:34:54
null
UTF-8
Python
false
false
166
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class DojoninjaConfig(AppConfig): name = 'dojoninja'
[ "shivalikhanuja.net@gmail.com" ]
shivalikhanuja.net@gmail.com
a29754c4c378ca8e960133b73f1081e25847597c
a91bea54a2d440f4333d48278ff9d870e5777069
/wxjlibrary/backend/urls.py
0786cc48f287fa09295e5a9e811d5aca2736bcb7
[]
no_license
angelawxj/backend
f22908373b019d0feb1085928e13765e15882b3a
d53c88fde56d4bda039d9a9844ead9ecfeb28354
refs/heads/master
2021-06-30T16:39:24.527606
2019-02-20T09:37:31
2019-02-20T09:37:31
136,135,401
0
1
null
null
null
null
UTF-8
Python
false
false
795
py
"""backend URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "2472569272@qq.com" ]
2472569272@qq.com
cc7e2f7e8d161493bd6b230d519996a73308c768
7b6377050fba4d30f00e9fb5d56dfacb22d388e1
/brownies/bin/lev-vis.py
f897e5f5de2f2be76fa12584493985dffe688620
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
LLNL/fudge
0a4fe8e3a68b66d58e42d1f4d209ea3f713c6370
6ba80855ae47cb32c37f635d065b228fadb03412
refs/heads/master
2023-08-16T21:05:31.111098
2023-08-01T22:09:32
2023-08-01T22:09:32
203,678,373
21
4
NOASSERTION
2023-06-28T20:51:02
2019-08-21T23:22:20
Python
UTF-8
Python
false
false
7,520
py
#! /usr/bin/env python import sys import os import argparse import brownies.BNL.RIPL.level_density as LD import brownies.BNL.RIPL.level_scheme as LS from PoPs.chemicalElements .misc import symbolFromZ as elementSymbolFromZ import numpy as np import matplotlib.pyplot as plt HOME=os.environ['HOME'] DESKTOP=HOME+'/Deskto...
[ "mattoon1@llnl.gov" ]
mattoon1@llnl.gov
699b405df3c5154f4dc032a56062766d9dea7aac
501fa9383672b83f0d1f5516c9c4e9971ac37399
/Planar Model/Equilibrium/Analyze.py
e5021c8d67d459f2b78c21a2d7f59b2412ad9ab0
[]
no_license
vsa1920/Monte-Carlo-methods-in-Ising-Model
a42b2a8e8494a5efe15fed9b8c5e56865a97ee7c
426647a63ea121f40799c6e9022c813c925ee580
refs/heads/main
2023-04-10T06:37:35.907962
2023-03-29T03:42:25
2023-03-29T03:42:25
339,046,824
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
from matplotlib import pyplot from Metropolis import nearest_neighbours, acceptance_ratio import random from math import e, cos, sin, pi import numpy as np # A function to read states from text files # Constants J = 1 def read_func(file_name): file = open(file_name, 'r') state = [] for i in...
[ "noreply@github.com" ]
vsa1920.noreply@github.com
ead54b3adea54e5e8b36d168ada47fa6b99b2957
513b9bd0fca9e219a8d33cd9352f45f401a6b533
/python/test/test_actions.py
e0d04fe5a6a610a1fa991f18417870ef0b07e9ce
[]
no_license
EdginAround/edgin_around_api
a50b3cd03b992b68f2f42b3616c86534a9ad1b8f
0c97610385c409b1c4ceb3472d977bbb8d2dd45e
refs/heads/main
2023-06-01T00:13:23.219528
2021-06-27T19:21:20
2021-06-30T14:14:26
354,341,869
0
0
null
2021-06-30T14:14:27
2021-04-03T16:36:39
Python
UTF-8
Python
false
false
1,949
py
import unittest from typing import Any, Dict from . import common from edgin_around_api import actions class ActionsTest(common.SerdeTest): def test_serde_actor_deletion(self) -> None: """Test serialisation and deserialisation of DeleteActorsAction.""" original: Dict[str, Any] = { ...
[ "wojciech.kluczka@gmail.com" ]
wojciech.kluczka@gmail.com
b6dc0cc56bc60c50f7a85c67bbc5ce45005f3b89
79f2838de509de74350a10abf256ca6c394bce65
/listasevariaveis/exemplomultiplaslistasbusca.py
c75b27df0df7fdc0781614ba70f82989ee962f46
[]
no_license
psanrosa13/pythonEstudo
b520825025219adb1752a2cc71cdfc2693026f42
6a130390750d7783be969de4a8c75122f71f9d32
refs/heads/master
2023-01-18T21:11:00.543839
2020-11-21T00:03:59
2020-11-21T00:03:59
313,464,099
1
0
null
null
null
null
UTF-8
Python
false
false
716
py
equipamentos = [] valores = [] seriais = [] departamentos = [] resposta ='S' while resposta=='S': equipamentos.append(input('Equipamento: ')) valores.append(float(input('Valor: '))) seriais.append(int(input('Número Serial: '))) departamentos.append(input('Departamento: ')) resposta=input('Digite \'...
[ "psanrosa13@gmail.com" ]
psanrosa13@gmail.com
09681c3b1e3c1c5978a17a6fe55b3707c490dd3e
0f58fc4ef95b88bdc12feb3fae6f193d3427d322
/algorithm_loader.py
52aacde3de169fb033712d462f6b0eb2a6aa0f24
[]
no_license
makmanalp/samplerun
0f0869a0d7f8ccf698cc2f55b3aa824d51e0a971
97a68223e76f661ccff998e957f66f9cafdadde6
refs/heads/master
2021-03-12T23:56:50.266647
2015-01-06T22:41:46
2015-01-06T22:41:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
import pytest import os import imp import inspect from base_algorithm import Algorithm def load_plugins(plugin_folder): plugins = {} cwd = os.path.abspath(os.path.curdir) plugin_folder = os.path.join(cwd, plugin_folder) folders = [x for x in os.listdir(plugin_folder) if os.path.isdir(...
[ "mali@akmanalp.com" ]
mali@akmanalp.com
633fdf3de990a8d52a022b237ae5b520e5aea688
ee968d0cb10c6fc57cfc53e45ac9d758e82f7749
/TSA/ABSAPyTorch/temp.py
e228ef4d514b86865b2cadb926f6fab0799c5a9f
[ "MIT" ]
permissive
jakeyap/Stance-Detection
12f86bdfb2078ae32eec9d28201d04e3e421c806
2cb98bf84f7303bc7f436b38084a2b5c32a0ea8e
refs/heads/master
2022-11-19T09:47:19.441536
2020-06-02T17:34:05
2020-06-02T17:34:05
281,282,637
3
1
null
null
null
null
UTF-8
Python
false
false
2,229
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Feb 19 14:00:39 2020 @author: lweiren """ from twitter import * import os import tweepy import datetime import sys import time CONSUMER_KEY="A2FjDYLSKc8tfvGLcexZywK35" CONSUMER_SECRET='kDR9HRGR54otDoAqp7XWFFbRIadUmG9g9li7aaY12qOnKQt2oK' MY_TWITTER_CR...
[ "lweiren@instance-1.asia-southeast1-b.c.model-augury-245215.internal" ]
lweiren@instance-1.asia-southeast1-b.c.model-augury-245215.internal
bd0caf3452ccfe76d5df1c8d98d8f0cb9a1b329a
384d0be5ac54b306b945cf38c10d9b0a44c975ea
/stack/keystone/keystone/logic/types/biller.py
00a135b11cbea421c4b431b0ff3dd0914cf9dfc5
[ "Apache-2.0" ]
permissive
ashokcse/openstack-bill
05ae313637b3cfecba946d2a9b32e8c7609fc721
1a3d7575d4b341f64fa1764ed47e47a7504a9bcc
refs/heads/master
2021-01-18T14:05:24.696165
2012-09-12T11:29:20
2012-09-12T11:29:20
5,424,267
5
2
null
null
null
null
UTF-8
Python
false
false
19,643
py
# Copyright (c) 2010-2011 OpenStack, LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
[ "ashokcse@live.com" ]
ashokcse@live.com
56c82dd9a2f16f67ef47c7062fa1ce5db1ae45cf
029948b3fd0e41d80d66c84d808abff4fcb24ac8
/test/test_path_response_result_response_egress_physical_interface.py
b1100af354156581698006d61033889305c3445f
[]
no_license
yijxiang/dnac-api-client
842d1da9e156820942656b8f34342d52c96d3c37
256d016e2df8fc1b3fdad6e28f441c6005b43b07
refs/heads/master
2021-09-25T21:10:09.502447
2018-10-25T14:39:57
2018-10-25T14:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
# coding: utf-8 """ Cisco DNA Center Platform v. 1.2.x (EFT) REST API (EFT) # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import dnac_api_client from dnac_api_client.models...
[ "cunningr@cisco.com" ]
cunningr@cisco.com
2f0309d995be662395d1be6753bdcb2d17c2133e
7c1a0ee337c4407768c343518ebee7f8a1b540ef
/env/lib/python3.6/sre_parse.py
19de139eab2af7ff41ea9fcb49c30ccd7c952d3b
[]
no_license
spmarisa/flask_demo
8dcce02b43664da0b6afe97975e70a675425e22f
e5be66cfe1ebddc130875fb9fddc294d81085a0e
refs/heads/master
2020-03-23T19:58:39.017626
2018-07-23T12:51:14
2018-07-23T12:51:14
142,013,715
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
/home/phaneendra/anaconda3/lib/python3.6/sre_parse.py
[ "phaneendra.marisa@gmail.com" ]
phaneendra.marisa@gmail.com
fb37d57c90646fad12d0114c9dd4dd83f5fc02e5
0edfa72a67e2b0f0437a9868a9b08ddf22f9fa65
/venv/Scripts/pip-script.py
bb75b067804392863229bfd405d6645c02f475c1
[]
no_license
neesmusuns/cracker
2bc54c61ba19d8547774cd2864aec3ecd22d1469
376faf6d5b22b49a68ffdbc5b4b914128b1d5bf0
refs/heads/master
2021-02-25T21:36:19.940427
2020-03-12T12:34:01
2020-03-12T12:34:01
245,150,865
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
#!"C:\Users\Irma Leinerte\Documents\2020spring\systems_security\verkefni1\cracker\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(...
[ "31275615+neesmusuns@users.noreply.github.com" ]
31275615+neesmusuns@users.noreply.github.com
397bd82f3974cc589904835d4c50f7e3f60e39a9
8cb6b6b233be0f53d86230e7be7fe2c12e04d3ad
/Titanic/code.py
f8fdce6d968749c2356532056f03dd6f3281448e
[]
no_license
benignavesh/kaggle
09a6b9f0773962f22efdc042d776110712d4cf41
c5a3f4722d2baf63dbe678e5817a651fb30da967
refs/heads/master
2020-03-20T02:26:37.284051
2018-06-12T18:39:45
2018-06-12T18:39:45
137,113,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
import pandas as pd dataset_train = pd.read_csv('train.csv') dataset_test = pd.read_csv('test.csv') labels_train = dataset_train.iloc[:,[1]].values features_train = dataset_train.iloc[:,[2,4,5,6,7]].values features_test = dataset_test.iloc[:,[1,3,4,5,6]].values #Missing data analysis for age from skl...
[ "noreply@github.com" ]
benignavesh.noreply@github.com
f2e46158afebdf251132475b4a4284e808cdffbb
7205218c520b405f01d5fa1ae5728c9f3071f04d
/Exercises - Module III/EX108 - Formatando moeda().py
49c953dc8e09077c0b5a0a9b8b4069bbd79bf6f3
[]
no_license
talesritz/Learning-Python---Guanabara-classes
164b22ca27158b41e851152257750ac5fcd0cecc
273a06037e3b283a4e78a3f105c0828ae70bfab0
refs/heads/master
2020-05-19T23:43:12.007950
2019-05-06T21:44:44
2019-05-06T21:44:44
185,273,748
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
# Adapte o código do desafio 107, criando uma função adicional chamada moeda() que consiga mostrar os valores como um valor monetário formatado. from uteis import formata, moedab, validacao #Versão necessária para o ex108 formata.cabecalho('EX108 - Formatando Moeda()') tmp = validacao.leiaInt('Digite o preç...
[ "noreply@github.com" ]
talesritz.noreply@github.com
62eaf9858c418fef633ac4d4dff91466518cb03b
c47e4c82a68563dbb5828dae8e9b1a3598297b7c
/NajaParser.py
8f71d0beb5236a2d8f756c33fae40069a7b2d5b8
[]
no_license
MarceloCFSF/Naja
b0f28afc1a1feae7339d916a2b11189e6be0290a
edc38d5bd02afe840ea2ad006491e0d950191818
refs/heads/master
2023-07-11T15:06:06.850798
2021-08-14T05:17:09
2021-08-14T05:17:09
395,882,114
0
0
null
null
null
null
UTF-8
Python
false
false
38,637
py
# Generated from Naja.g4 by ANTLR 4.9 # encoding: utf-8 from antlr4 import * from io import StringIO import sys if sys.version_info[1] > 5: from typing import TextIO else: from typing.io import TextIO def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5...
[ "marcelo.cfsf@gmail.com" ]
marcelo.cfsf@gmail.com
bcd00e175fe8619264aa97bc0a61bbf04c8d0fc0
61a887eaf972bda8839728292147bf923103e8a1
/representations/explicit.py
4cf27c5cfa3ff12a6320ead1c90aa30c691999e8
[]
no_license
soltustik/RHG
45f05fb215f0e2fbcd1b51b8a44b78ae09454b5b
c94de165285cf06f3d101c316173175328874848
refs/heads/master
2023-01-01T02:17:36.041309
2020-10-07T10:00:24
2020-10-07T10:00:24
300,230,313
1
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
import heapq from scipy.sparse import dok_matrix, csr_matrix from scipy.stats import logistic import numpy as np from representations.matrix_serializer import load_vocabulary, load_matrix class Explicit: """ Base class for explicit representations. Assumes that the serialized input is e^PMI. """ ...
[ "noreply@github.com" ]
soltustik.noreply@github.com
2cd97cb8b0b9c6e273657a730b6c9cceac772bfc
694760b87cbf4b72eb2cfc554fe3818f666c81a0
/source code/hello-world.py
327a22d8d96d42ef4d2e35959436a7d662703bee
[]
no_license
vipermax/dummy-project
a5aac2860849abf46efdbcddd9a35c361aeb9481
dd0047fac7ad53e428b1ff7b208d319d79efa853
refs/heads/master
2021-01-10T01:30:36.137587
2016-03-01T08:58:58
2016-03-01T08:58:58
52,859,628
0
0
null
2016-03-01T08:57:32
2016-03-01T08:09:18
Python
UTF-8
Python
false
false
280
py
print "Hello World!" print "Hello Again and again" print "I like typing this." print "This is a lot of fun." print 'Yay! Printing.' print "I'd much rather you 'not'." print 'I "said" do not touch this.' Print "Hey, here is something new!" print "some udpdate from master branch"
[ "vipermax@gmail.com" ]
vipermax@gmail.com
767c75ec5475f49c3ec0b2ee8035aef2f54e30b0
6b1d152e7b236b97819b058e303829e3db2b19be
/prac_02/word_generator.py
7aafa8f1c5b30c4a6eb106b64d6e85386cc92c87
[]
no_license
Linda-Kirk/cp1404practicals
4bbc03fc3fdf497b24165129a3d8aaa37c7fb1ef
d40316a8349a01478124f16be35bdfff53623698
refs/heads/master
2020-07-05T12:58:21.816450
2019-10-29T00:17:46
2019-10-29T00:17:46
202,653,504
0
0
null
2019-09-23T08:25:42
2019-08-16T03:40:48
Python
UTF-8
Python
false
false
524
py
""" CP1404/CP5632 - Practical Random word generator - based on format of words Another way to get just consonants would be to use string.ascii_lowercase (all letters) and remove the vowels. """ import random VOWELS = "aeiou" CONSONANTS = "bcdfghjklmnpqrstvwxyz" word_format = input("Enter the word format e.g. 'ccvcvv...
[ "linda.kirk@my.jcu.edu.au" ]
linda.kirk@my.jcu.edu.au
d3238509ecaea8d3e0a51a8943890b4578e5a8da
e3d447a81c5462d2d14201f2bc6b82cdcbbca51a
/chapter10/c10_6_addition.py
af50d5e3378247cb7a726c51df05b727370cecc4
[]
no_license
barcern/python-crash-course
f6026f13f75ecddc7806711d65bc53cb88e24496
8b55775c9f0ed49444becb35b8d529620537fa54
refs/heads/master
2023-04-19T17:28:44.342022
2021-02-07T23:51:06
2021-02-07T23:51:06
257,201,280
2
3
null
2021-05-12T17:35:56
2020-04-20T07:14:28
Python
UTF-8
Python
false
false
2,214
py
# -*- coding: utf-8 -*- """ Created on Sun Jul 26 12:27:25 2020 @author: barbora One common problem when prompting for numerical input occurs when people provide text instead of numbers. When you try to convert the input to an int, you'll get a ValueError. Write a program that prompts for two numbers. Add them toge...
[ "bcernakova01@gmail.com" ]
bcernakova01@gmail.com
562d159153258105237dee275a61136e7c194853
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.3/django/contrib/localflavor/generic/forms.py
b8a111a6b5f57fa81698f292b86258925d561b4a
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
109
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.3/django/contrib/localflavor/generic/forms.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
2e54441258e9589bbbcf8cfd910724f80e61d746
966d68245763f12d950efbc39928cbb14655b9d1
/backend/textManipulation/summarization.py
05f35fdc3ae8da0ba8c1c697fe038840a8d6ad96
[]
no_license
wcooper90/ivyhacks2020
ebd1352465eb364d802f7673af06ffa407758f1f
684d964a5a352cd78faf11df91c3b1bc08355ee8
refs/heads/main
2022-12-25T00:14:34.213824
2020-10-04T17:57:53
2020-10-04T17:57:53
301,185,526
0
0
null
null
null
null
UTF-8
Python
false
false
2,453
py
from __future__ import absolute_import from __future__ import division, print_function, unicode_literals from sumy.parsers.html import HtmlParser from sumy.parsers.plaintext import PlaintextParser from sumy.nlp.tokenizers import Tokenizer from sumy.summarizers.lsa import LsaSummarizer as Summarizer from sumy.nl...
[ "wcooperhockey@gmail.com" ]
wcooperhockey@gmail.com
acea4cdf9cddd739a1daddc42cb820e70fe0e59c
3a18085d011b2dfc2c15ca6eb10838c604ef8a2c
/transform_web_traffic.py
60b01996ed53bf8eaf3b2b944629e994c5dd01a9
[]
no_license
ericness/when_i_work_code_challenge
049f986df9cc9c1de29f502f006e138e119bac70
7e67505ebc451138327effd51ec967f200ee9d0a
refs/heads/master
2021-07-24T06:42:34.133140
2017-11-02T20:25:05
2017-11-02T20:25:05
109,053,886
0
0
null
null
null
null
UTF-8
Python
false
false
5,285
py
import argparse import io import re import pandas as pd import boto3 import botocore # parse command args to set run configuration parser = argparse.ArgumentParser(description=('Transform raw web traffic data ' 'into a pivoted table of aggregated time per ' ...
[ "ericness@UdemySparkCourse.fpcodpc5vfjurkxi5gs5htsn0d.gx.internal.cloudapp.net" ]
ericness@UdemySparkCourse.fpcodpc5vfjurkxi5gs5htsn0d.gx.internal.cloudapp.net
aa98278bf982510809e97f209972b9d3ffecdc03
4b191334ac835f99236d51ab6a7857f968250df2
/utils/add_ipv6.py
bb66dc7c153fcc6c478e5b53b9b056124f043392
[]
no_license
soutzis/Janus-IPv6
bfdd1e89260a9d5faf9796e9da836d96fbfc607b
a1079a1f3283bc193597b40f90e998a149ae2781
refs/heads/master
2021-07-12T17:55:05.936232
2020-06-24T14:30:53
2020-06-24T14:30:53
168,965,023
2
1
null
null
null
null
UTF-8
Python
false
false
1,493
py
#!/usr/bin/python3.6 from subprocess import call import argparse ''' For simplicity, this file is also copied in "usr/local/bin", so that it can be run from any directory by simply calling: add_ipv6 <hostname> <ipv6>. The file in "usr/local/bin" is renamed to 'add_ipv6' (no ".py" file extension) ''' add_ipv6_cmd = ...
[ "noreply@github.com" ]
soutzis.noreply@github.com
83518dea03fcf81599d027eab229b0560c3ccfbe
7de280a2cb54bdec1eaa3b683097974b7a2c0964
/main.py
6bb5ae1f4496ffa7314e3a9a4a160bc53285b558
[]
no_license
kpiaskowski/DL_hand_gestures
f1d2e748a9587d07e9593380f6a9ce01171d073c
3d65b18821208195b89b5ce1f63e002da03f315e
refs/heads/master
2021-09-10T06:48:20.220804
2018-03-21T20:44:22
2018-03-21T20:44:22
125,994,782
0
1
null
null
null
null
UTF-8
Python
false
false
3,811
py
import os import tensorflow as tf from architectures.decoder import decoder_model from architectures.latent_space import latent_space from architectures.pretrained_encoder import encoder_model from vae_dataprovider import DataProvider epochs = 50 batch_size = 20 latent_units = 200 l_rate = 0.00001 label_w = 64 label...
[ "kar.piaskowski@gmail.com" ]
kar.piaskowski@gmail.com
e47f21b19c216ae807692a673b8184880a5aa25d
51761bbf3e42543687664291dd3a7d3ae9a90fd2
/utils.py
68c6c6eba79327b7c718fd4655159cd4dda8850b
[]
no_license
MarcelaBarella/luizalabs_challenge
03612291e8f89875c1572eb301235bc5b6f7948d
12b977b6836222bcd7a8d8464a7b840425d2afe2
refs/heads/master
2020-03-20T11:43:29.243943
2019-11-22T14:59:50
2019-11-22T14:59:50
137,410,494
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
from datetime import datetime def str_to_datetime(date): if type(date) != str: return date return datetime.strptime(date, '%d/%m/%Y %H:%M')
[ "marcela.barella@hotmail.com" ]
marcela.barella@hotmail.com
59429ee5ee8ca7e0edd5fe634b9e3e46f97d9c73
9bf9ba2ff40e63e87efc67d0d90416b3e839ca3f
/TwoPlayerTicTacToe2.py
1976094f651cf9f5f5bca70443c4c2911928cc3e
[]
no_license
Muhammad-Ahmed-Mansoor/Python-tic-tac-toe
243353dda52cad2256633cd979fe989c8fdc5f13
79d3619aea057bafab015498de3ae85418cf7889
refs/heads/master
2022-11-13T21:57:52.504479
2020-07-07T15:48:47
2020-07-07T15:48:47
277,858,848
0
0
null
null
null
null
UTF-8
Python
false
false
2,952
py
import os; def boardPrint(): #displays the board global board print('\n') #two blank lines for clarity's sake for i in [7,8,9,4,5,6,1,2,3]:#to match keyboard numpad if i % 3 !=0:#to avoid '|' at the end of a row print(board[i],'|',end=' ') else: #to insert new ...
[ "noreply@github.com" ]
Muhammad-Ahmed-Mansoor.noreply@github.com
bdf4f576aceba31d7d274c2ec7efd61e1f4a337c
5d48aba44824ff9b9ae7e3616df10aad323c260e
/bfs/127.word_ladder.py
0e02bffe5c4014c13978aea31a08fd842253ceea
[]
no_license
eric496/leetcode.py
37eab98a68d6d3417780230f4b5a840f6d4bd2a6
32a76cf4ced6ed5f89b5fc98af4695b8a81b9f17
refs/heads/master
2021-07-25T11:08:36.776720
2021-07-01T15:49:31
2021-07-01T15:49:31
139,770,188
3
0
null
null
null
null
UTF-8
Python
false
false
1,705
py
""" Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, such that: Only one letter can be changed at a time. Each transformed word must exist in the word list. Note that beginWord is not a transformed word. Note: Return 0...
[ "eric.mlengineer@gmail.com" ]
eric.mlengineer@gmail.com
fb535040a409105773f5e30f68bd636c8b3931a2
307d6435a8da159eede9c233dc14bce29d8af11f
/src/fewer_than_15_siblings.py
0450dcc4a5c0f7321f333cc894452d9854905de2
[]
no_license
Ahsan45/SSW-CS555
7d82d0f039bfb31cbb775718debfde02615a8ce1
fc4808884a99d48ff29f122d67c197061102c57c
refs/heads/master
2021-01-25T06:30:25.675681
2017-08-03T00:56:58
2017-08-03T00:56:58
93,584,540
1
0
null
null
null
null
UTF-8
Python
false
false
282
py
#Erik Lim #SSW 555 Agile Methods for Software Development '''Module for checking if mthere are fewer than 15 siblings in a family''' from utils import date_first def fewer_than_15_siblings(fam): if 'CHIL' in fam: return len(fam['CHIL']) < 15 return True
[ "noreply@github.com" ]
Ahsan45.noreply@github.com