Search is not available for this dataset
id
stringlengths
1
8
text
stringlengths
72
9.81M
addition_count
int64
0
10k
commit_subject
stringlengths
0
3.7k
deletion_count
int64
0
8.43k
file_extension
stringlengths
0
32
lang
stringlengths
1
94
license
stringclasses
10 values
repo_name
stringlengths
9
59
10049650
<NME> __init__.py <BEF> from xbrl import XBRLParser, GAAP, GAAPSerializer __version__ = '1.0.8' version = (1, 1, 0) <MSG> dot fixes it <DFF> @@ -1,5 +1,6 @@ -from xbrl import XBRLParser, GAAP, GAAPSerializer +from .xbrl import XBRLParser, GAAP, GAAPSerializer __version__ = '1.0.8' +
2
dot fixes it
1
.py
py
apache-2.0
greedo/python-xbrl
10049651
<NME> requirements.txt <BEF> pytest marshmallow beautifulsoup4 ordereddict==1.1 lxml==4.6.5 six==1.9.0 <MSG> adding ordereddict <DFF> @@ -1,3 +1,4 @@ pytest marshmallow beautifulsoup4 +ordereddict
1
adding ordereddict
0
.txt
txt
apache-2.0
greedo/python-xbrl
10049652
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
5
- Fixes issues described in Issue #39 - Now correctly parse current_assets. The gaap tag name is called us-gaap:AssetsCurrent not "currentassets" as was being searched for. - Current search regexp by including [^s] would incorrectly match on fields like NoncurrentAssets - The assets tag was also matching oth...
6
.py
py
apache-2.0
greedo/python-xbrl
10049653
<NME> blacklist_ip.txt <BEF> 234.23.1.2 128.3.1.2 <MSG> Update blacklist_ip.txt <DFF> @@ -1,3 +1,2 @@ 234.23.1.2 128.3.1.2 -
0
Update blacklist_ip.txt
1
.txt
txt
bsd-2-clause
CoolerVoid/raptor_waf
10049654
<NME> test_parse.py <BEF> import os from unittest import TestCase import sys sys.path.insert(0, os.path.abspath('..')) import six from parser import soup_maker, XBRLParser, XBRLParserException class TestParse(TestCase): def testEmptyFile(self): fh = six.BytesIO(six.b("")) self.assertRaises(XBRLP...
9
added initial tests
12
.py
py
apache-2.0
greedo/python-xbrl
10049655
<NME> proxy.c <BEF> #include "proxy.h" #include "BSD/strsec.h" /* items of struct tcp_server_thread_info char stamp[128]; char log_reg[18]; int stamp_port; int accepted_socket; int wafmode; short match_option; */ /// get ip of client char *get_ip_of(int sock) { socklen_t len; struct sockaddr_storage addr; c...
1
update
0
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049656
<NME> AUTHORS.rst <BEF> ADDFILE <MSG> Create AUTHORS.rst <DFF> @@ -0,0 +1,1 @@ +Joe Cabrera
1
Create AUTHORS.rst
0
.rst
rst
apache-2.0
greedo/python-xbrl
10049657
<NME> .travis.yml <BEF> sudo: false language: python python: - "3.4" - "3.3" - "2.7" - "2.6" addons: apt: packages: - build-essential # command to run tests script: - py.test --tb=line -vs - pep8 --exclude='./python-xbrl/gaap.py' # command to install dependencies instal...
1
Update .travis.yml
1
.yml
travis
apache-2.0
greedo/python-xbrl
10049658
<NME> requirements.txt <BEF> pytest==2.8.3 pep8==1.6.2 marshmallow>=2.15.1 beautifulsoup4==4.4.1 ordereddict==1.1 lxml==4.6.2 six==1.9.0 <MSG> Bump lxml from 4.6.2 to 4.6.5 Bumps [lxml](https://github.com/lxml/lxml) from 4.6.2 to 4.6.5. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://gi...
1
Bump lxml from 4.6.2 to 4.6.5
1
.txt
txt
apache-2.0
greedo/python-xbrl
10049659
<NME> mem_ops.c <BEF> #include "mem_ops.h" #include "utils.h" // based in OpenBSD reallocarray() function http://man.openbsd.org/reallocarray.3 void *xallocaarray (size_t nmemb, size_t size) { if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && nmemb > 0 && SIZE_MAX / nmemb < size) { DEBUG("integer ove...
2
update error handler in memory functions
2
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049660
<NME> requirements.txt <BEF> cffi==1.3.1 pytest==2.8.3 pep8==1.6.2 marshmallow==2.0.0b5 beautifulsoup4==4.4.1 ordereddict==1.1 lxml==4.6.5 six==1.9.0 <MSG> remove cffi <DFF> @@ -1,4 +1,3 @@ -cffi==1.3.1 pytest==2.8.3 pep8==1.6.2 marshmallow==2.0.0b5
0
remove cffi
1
.txt
txt
apache-2.0
greedo/python-xbrl
10049661
<NME> utils.c <BEF> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> #include <unistd.h> #include <signal.h> #include <sys/resource.h> #include <errno.h> #include <sys/types.h> #include <time.h> #include <ctype.h> #include "utils.h" #include "mem_ops.h" void No_Pause_Waf() { DEBUG("\n ...
24
Update utils.c
22
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049662
<NME> gaap.py <BEF> #! /usr/bin/env python # encoding: utf-8 from __future__ import print_function from xbrl import XBRLParser, GAAP, GAAPSerializer, DEISerializer xbrl_parser = XBRLParser(0) # Parse an incoming XBRL file file_to_parse = "../tests/sam-20130629.xml" xbrl = xbrl_parser.parse(file_to_parse) # Parse ...
0
remove legacy doc_type parameter from gaap.py
1
.py
py
apache-2.0
greedo/python-xbrl
10049663
<NME> requirements.txt <BEF> pytest==2.8.3 pep8==1.6.2 marshmallow==2.0.0b5 beautifulsoup4==4.4.1 ordereddict==1.1 lxml==3.5.0 six==1.9.0 <MSG> upgrading marshmallow to address CVE-2018-17175 <DFF> @@ -1,6 +1,6 @@ pytest==2.8.3 pep8==1.6.2 -marshmallow==2.0.0b5 +marshmallow>=2.15.1 beautifulsoup4==4.4.1 ordereddi...
1
upgrading marshmallow to address CVE-2018-17175
1
.txt
txt
apache-2.0
greedo/python-xbrl
10049664
<NME> utils.c <BEF> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> #include <unistd.h> #include <signal.h> #include <sys/resource.h> #include <errno.h> #include <errno.h> #include <sys/types.h> #include <time.h> #include "utils.h" #include "mem_ops.h" { DEBUG("\n When start Waf\n Yo...
1
Update utils.c
0
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049665
<NME> __init__.py <BEF> ADDFILE <MSG> Create __init__.py <DFF> @@ -0,0 +1,5 @@ + + +from .python-xbrl import XBRLParser, GAAP, GAAPSerializer + +__version__ = '1.0.1'
5
Create __init__.py
0
.py
py
apache-2.0
greedo/python-xbrl
10049666
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer except ImportError: from io import StringIO from xbrl import soup_maker, XBRLParser, XBRLParserException, \ GAAP, GAAPSerializer ...
1
updated tests
3
.py
py
apache-2.0
greedo/python-xbrl
10049667
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
0
removing legacy doc_type parameters
1
.py
py
apache-2.0
greedo/python-xbrl
10049668
<NME> rule.c <BEF> #include "utils.h" #include "mem_ops.h" #include "dfa_match.h" #include "file_ops.h" #include "blacklist.h" #include "matchlist.h" #include "BSD/strsec.h" bool Judge_malicious(char *buf, const int BUF_SIZE, char *addr, char *logfile, int wafmode, short match_option) { int line_number=1; time_t t ...
16
update change strcpy() to strlcpy(), change sprintf() to snprintf()
12
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049669
<NME> raptor.toc <BEF> ADDFILE <MSG> first write <DFF> @@ -0,0 +1,1 @@ +\beamer@endinputifotherversion {3.33pt}
1
first write
0
.toc
toc
bsd-2-clause
CoolerVoid/raptor_waf
10049670
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
6
Merge pull request #32 from TomLaMantia/master
3
.py
py
apache-2.0
greedo/python-xbrl
10049671
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
23
CommonStockSharesIssued, CommonStockSharesAuthorized added
1
.py
py
apache-2.0
greedo/python-xbrl
10049672
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
18
giving the docs some love
8
.rst
rst
apache-2.0
greedo/python-xbrl
10049673
<NME> .travis.yml <BEF> sudo: false language: python python: - "3.4" - "3.3" - "2.6" - "pypy" # command to install dependencies install: - pip install -r requirements.txt # command to install dependencies install: - pip install -r requirements.txt # command to run tests script: - py.test ...
5
pre-install apt packages
0
.yml
travis
apache-2.0
greedo/python-xbrl
10049674
<NME> Raptor.c <BEF> #include <stdio.h> #include <netdb.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <pthread.h> #include <sys/socket.h> #include <netinet/in.h> #include <getopt.h> #include <signal.h> #include <sys/resource.h> #include "utils.h" #include "proxy.h" // reve...
1
Update Raptor.c
1
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049675
<NME> __init__.py <BEF> #! /usr/bin/env python # encoding: utf-8 from __future__ import absolute_import from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException version = (1, 1, 0) <MSG> Merge pull request #34 from modman/modman-patch-1 DEISerializer Patch <DFF> @@ -3,6 +3,6 @@ from __future__ im...
1
Merge pull request #34 from modman/modman-patch-1
1
.py
py
apache-2.0
greedo/python-xbrl
10049676
<NME> requirements.txt <BEF> pytest==2.8.3 marshmallow beautifulsoup4 ordereddict lxml==4.6.5 six==1.9.0 <MSG> trying again <DFF> @@ -2,3 +2,4 @@ pytest marshmallow beautifulsoup4 ordereddict +lxml
1
trying again
0
.txt
txt
apache-2.0
greedo/python-xbrl
10049677
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 import sys sys.path.insert(0, os.path.abspath('..')) from parser import soup_maker, XBRLParser class TestParse(TestCase): def testEmptyFile(self): self.assertRaises(XBRLParserException, XBRLParser.parse, fh) #def test...
6
first parsed item
4
.py
py
apache-2.0
greedo/python-xbrl
10049678
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
1
santitize doc_date
0
.py
py
apache-2.0
greedo/python-xbrl
10049679
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
16
Merge branch 'master' of https://github.com/greedo/python-xbrl
0
.rst
rst
apache-2.0
greedo/python-xbrl
10049680
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
2
Merge pull request #35 from modman/modman-patch-2
1
.py
py
apache-2.0
greedo/python-xbrl
10049681
<NME> gaap.py <BEF> from xbrl import XBRLParser, GAAP, GAAPSerializer xbrl_parser = XBRLParser(precision=0) # Parse an incoming XBRL file xbrl = xbrl_parser.parse(file("../tests/sam-20140329.xml")) # Parse just the GAAP data from the xbrl object gaap_obj = xbrl_parser.parseGAAP(xbrl, ...
8
updated example
5
.py
py
apache-2.0
greedo/python-xbrl
10049682
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
2
PEP 8 cleanup
2
.py
py
apache-2.0
greedo/python-xbrl
10049683
<NME> rule.c <BEF> #include "utils.h" #include "mem_ops.h" #include "dfa_match.h" #include "file_ops.h" #include "blacklist.h" #include "matchlist.h" #include "BSD/strsec.h" bool Judge_malicious(char *buf, const int BUF_SIZE, char *addr, char *logfile, int wafmode, short match_option) { int line_number=1; time_t t ...
44
add simple match list and 3 diferent algorithms to match
4
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049684
<NME> proxy.c <BEF> #include "proxy.h" #include "BSD/strsec.h" /* items of struct tcp_server_thread_info char stamp[128]; char log_reg[18]; int stamp_port; int accepted_socket; int wafmode; short match_option; */ /// get ip of client char *get_ip_of(int sock) { socklen_t len; struct sockaddr_storage addr; c...
2
Fix bug in error msg
2
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049685
<NME> requirements.txt <BEF> pytest==2.8.3 pep8==1.6.2 marshmallow>=2.15.1 beautifulsoup4 ordereddict lxml futures <MSG> Revert "using futures instead of six, less code" This reverts commit ad97d2d1c284815e518a1963692dafd899605633. <DFF> @@ -4,4 +4,4 @@ marshmallow beautifulsoup4 ordereddict lxml -futures +six
1
Revert "using futures instead of six, less code"
1
.txt
txt
apache-2.0
greedo/python-xbrl
10049686
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
5
Merge pull request #40 from robren/asset-fix
6
.py
py
apache-2.0
greedo/python-xbrl
10049687
<NME> matchlist.c <BEF> #include "mem_ops.h" #include "utils.h" #include "BSD/strsec.h" #include "match_algorithms.h" /* read lines of file matchlist.txt and test if match strings If match context with request return array of void pointer with: if true returns matched string */ char *matchlist(char *input,int inpu...
9
Update version and add pcre regex to match rules at config/regex_rules.txt
2
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049688
<NME> LICENSE <BEF> GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/> 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this l...
25
Create LICENSE
340
LICENSE
bsd-2-clause
CoolerVoid/raptor_waf
10049689
<NME> proxy.c <BEF> #include "proxy.h" #include "BSD/strsec.h" /* items of struct tcp_server_thread_info char stamp[128]; char log_reg[18]; int stamp_port; int accepted_socket; int wafmode; short match_option; */ /// get ip of client char *get_ip_of(int sock) { socklen_t len; struct sockaddr_storage addr; c...
1
Update proxy.c
0
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049690
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
1
Merge pull request #38 from robren/py3-fixes
1
.rst
rst
apache-2.0
greedo/python-xbrl
10049691
<NME> setup.py <BEF> try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import os setup( name='python-xbrl', version='1.0.3', description='library for parsing xbrl documents', author='Joe Cabrera', author_email='jcabrera@eminorlabs.com', ...
1
version bump and python 3 ordereddict
1
.py
py
apache-2.0
greedo/python-xbrl
10049692
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
2
Update README.rst
0
.rst
rst
apache-2.0
greedo/python-xbrl
10049693
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest from parser import soup_maker, XBRLParser, XBRLParserException class TestParse(): ...
4
Merge branch 'master' of https://github.com/greedo/python-xbrl
1
.py
py
apache-2.0
greedo/python-xbrl
10049694
<NME> Makefile <BEF> export MALLOC_MMAP_THRESHOLD_=1 export MALLOC_CHECK_=1 export MALLOC_PERTURB_=1 CC=gcc CFLAGS=-g -W -Wall -O1 HARDENING= -mmitigate-rop -fstack-protector-all -pie -fPIE -ftrapv DFLAGS= lib/BSD/strsec.c DIR=src/ DIR_HEADERS=src/include/ DIROUT=bin/ UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Darwi...
1
remove backup files
1
Makefile
bsd-2-clause
CoolerVoid/raptor_waf
10049695
<NME> .travis.yml <BEF> sudo: false language: python python: - "3.4" - "3.3" - "2.7" - "2.6" addons: apt: packages: packages: - python-dev - build-essential - libxml2 - libxml2-dev - libxslt1-dev - python3-lxml ...
5
try without cpython
3
.yml
travis
apache-2.0
greedo/python-xbrl
10049696
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
1
fixed docs
1
.rst
rst
apache-2.0
greedo/python-xbrl
10049697
<NME> README.md <BEF> ![Alt text](https://github.com/CoolerVoid/raptor_waf/blob/master/doc/images/raptor2.png) # raptor_waf Raptor is a Web application firewall made in C, uses DFA to block SQL injection, Cross site scripting and path traversal. http://funguscodes.blogspot.com.br/ # THis is PoC version ![Alt text](ht...
7
Update README.md
7
.md
md
bsd-2-clause
CoolerVoid/raptor_waf
10049698
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest import sys import os import six try: import __pypy__ except ImportError: __pypy...
530
Merge pull request #54 from yosukesan/53_fix_test
530
.py
py
apache-2.0
greedo/python-xbrl
10049699
<NME> Raptor.c <BEF> #include <stdio.h> #include <netdb.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <pthread.h> #include <sys/socket.h> #include <netinet/in.h> #include <getopt.h> #include <signal.h> #include <sys/resource.h> #include "utils.h" #include "proxy.h" // reve...
7
improve argvs
1
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049700
<NME> __init__.py <BEF> #! /usr/bin/env python # encoding: utf-8 from __future__ import absolute_import __version__ = '1.0.9' from .xbrl import XBRLParser <MSG> adding some extra encoding PEP 0263 <DFF> @@ -3,6 +3,6 @@ from __future__ import absolute_import -__version__ = '1.0.9' +version = (1, 0, 9) -from ...
2
adding some extra encoding PEP 0263
2
.py
py
apache-2.0
greedo/python-xbrl
10049701
<NME> .travis.yml <BEF> sudo: true language: python python: - "3.4" - "3.3" - "2.7" - "2.6" - "pypy" # pre-pip packages before_install: - sudo apt-get update -qq - sudo apt-get install -qq python-dev libxml2 libxml2-dev libxslt-dev # command to install dependencies install: # command to r...
9
experimenting with using the new container-based infrastructure
5
.yml
travis
apache-2.0
greedo/python-xbrl
10049702
<NME> __init__.py <BEF> #! /usr/bin/env python # encoding: utf-8 from .xbrl import XBRLParser, GAAP, GAAPSerializer __version__ = '1.0.8' from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException, DEISerializer version = (1, 1, 0) <MSG> corrected formatting <DFF> @@ -3,4 +3,3 @@ from .xbrl import XB...
0
corrected formatting
1
.py
py
apache-2.0
greedo/python-xbrl
10049703
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
1
we do support Python 3.4
1
.rst
rst
apache-2.0
greedo/python-xbrl
10049704
<NME> .travis.yml <BEF> sudo: false language: python python: - "3.4" - "3.3" - "2.7" - "2.6" addons: apt: packages: - build-essential - python-dev - libxml2 - libxml2-dev - libxslt-dev # command to install dependencies install: ...
1
or with cython
1
.yml
travis
apache-2.0
greedo/python-xbrl
10049705
<NME> .travis.yml <BEF> sudo: false language: python python: - "3.4" - "3.3" - "2.7" - "2.6" # pre-pip packages before_install: - sudo apt-get update -qq - sudo apt-get install -qq python-dev libxml2 libxml2-dev libxslt-dev # command to install dependencies install: - libxslt-dev ...
1
trying python3-lxml
1
.yml
travis
apache-2.0
greedo/python-xbrl
10049706
<NME> xbrl.py <BEF> ../python-xbrl/xbrl.py # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
1
updating softlink
1
.py
py
apache-2.0
greedo/python-xbrl
10049707
<NME> gaap.py <BEF> #! /usr/bin/env python # encoding: utf-8 from __future__ import print_function from xbrl import XBRLParser, GAAP, GAAPSerializer, DEISerializer xbrl_parser = XBRLParser(precision=0) # Parse an incoming XBRL file xbrl = xbrl_parser.parse("../tests/sam-20130629.xml") # Parse just the GAAP data fr...
3
lets use serializers correctly
2
.py
py
apache-2.0
greedo/python-xbrl
10049708
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest import sys import os import six try: import __pypy__ except ImportError: __pypy...
11
updating test
11
.py
py
apache-2.0
greedo/python-xbrl
10049709
<NME> gaap.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser, GAAP, GAAPSerializer, DEISerializer xbrl_parser = XBRLParser(precision=0) # Parse an incoming XBRL file xbrl = xbrl_parser.parse(file("../tests/sam-20130629.xml")) # Parse just the GAAP data from the xbrl object gaap_obj = xbr...
6
updating the example to support python3
6
.py
py
apache-2.0
greedo/python-xbrl
10049710
<NME> setup.py <BEF> try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import os setup( name='python-xbrl', version='1.0.2', description='library for parsing xbrl documents', author='Joe Cabrera', author_email='jcabrera@eminorlabs.com', ...
2
version bump
2
.py
py
apache-2.0
greedo/python-xbrl
10049711
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest import sys import os import six try: import __pypy__ except ImportError: __pypy...
127
parsing works for webfilings
2
.py
py
apache-2.0
greedo/python-xbrl
10049712
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest import sys import os import six try: import __pypy__ except ImportError: __pypy...
53
think this is finally correct
52
.py
py
apache-2.0
greedo/python-xbrl
10049713
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest import sys import os import six try: import __pypy__ except ImportError: __pypy...
88
finished initial unit tests
0
.py
py
apache-2.0
greedo/python-xbrl
10049714
<NME> .travis.yml <BEF> sudo: false language: python python: - "3.4" - "3.3" - "2.7" - "2.6" addons: apt: apt: packages: - python-dev - libxml2 - libxml2-dev - libxslt1-dev # command to install dependencies install: - pip install -r re...
1
maybe we need build-essentials
0
.yml
travis
apache-2.0
greedo/python-xbrl
10049715
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
3
Merge branch 'master' of https://github.com/greedo/python-xbrl
3
.py
py
apache-2.0
greedo/python-xbrl
10049716
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
18
Merge branch 'master' of https://github.com/greedo/python-xbrl
8
.rst
rst
apache-2.0
greedo/python-xbrl
10049717
<NME> gaap.py <BEF> #! /usr/bin/env python # encoding: utf-8 from __future__ import print_function from xbrl import XBRLParser, GAAP, GAAPSerializer, DEISerializer xbrl_parser = XBRLParser(precision=0) # Parse an incoming XBRL file xbrl = xbrl_parser.parse("../tests/sam-20130629.xml") # Parse just the GAAP data fr...
18
adding examples for DEI and Custom data parsing
0
.py
py
apache-2.0
greedo/python-xbrl
10049718
<NME> setup.cfg <BEF> [bdist_wheel] # This flag says that the code is written to work on both Python 2 and Python # 3. If at all possible, it is good practice to do this. If you cannot, you # will need to generate wheels for each Python version that you support. universal=1 [pep8] ignore = E221 <MSG> fixed small synt...
1
fixed small syntax bug
1
.cfg
cfg
apache-2.0
greedo/python-xbrl
10049719
<NME> requirements.txt <BEF> pytest==2.8.3 pep8==1.6.2 marshmallow>=2.15.1 beautifulsoup4 ordereddict lxml six <MSG> using futures instead of six, less code <DFF> @@ -4,4 +4,4 @@ marshmallow beautifulsoup4 ordereddict lxml -six +futures
1
using futures instead of six, less code
1
.txt
txt
apache-2.0
greedo/python-xbrl
10049720
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from parser import soup_maker, XBRLParser, XBRLParserException class TestParse(TestCase): def testEmptyFile(self): fh = six.BytesIO(six.b("")) self...
2
last change
1
.py
py
apache-2.0
greedo/python-xbrl
10049721
<NME> setup.py <BEF> try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import os # This lets the install work when the user does not have BeautifulSoup # installed. VERSION = re.search(r"__version__ = '(.*?)'", open("ofxparse/__init__.py")...
3
added marshmallow to dependencies
2
.py
py
apache-2.0
greedo/python-xbrl
10049722
<NME> gaap.py <BEF> #! /usr/bin/env python # encoding: utf-8 from __future__ import print_function xbrl_parser = XBRLParser(0) # Parse an incoming XBRL file #xbrl = xbrl_parser.parse(file("../tests/sam-20131228.xml")) xbrl = xbrl_parser.parse(file("sam-20140927.xml")) # Parse just the GAAP data from the xbrl object ...
3
fixed one file
9
.py
py
apache-2.0
greedo/python-xbrl
10049723
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
12
Added Requirements to Readme
0
.rst
rst
apache-2.0
greedo/python-xbrl
10049724
<NME> parser.py <BEF> ADDFILE <MSG> correct std selection <DFF> @@ -0,0 +1,537 @@ +import collections +import re +from marshmallow import Serializer, fields, pprint +import pprint + +if 'OrderedDict' in dir(collections): + odict = collections +else: + import ordereddict as odict + +try: + from StringIO import...
537
correct std selection
0
.py
py
apache-2.0
greedo/python-xbrl
10049725
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
1
ignore_errors unused in __init__
2
.py
py
apache-2.0
greedo/python-xbrl
10049726
<NME> gaap.py <BEF> ADDFILE <MSG> added seperate gaap object, serializer, and example <DFF> @@ -0,0 +1,13 @@ +from parser import XBRLParser, GAAP, GAAPSerializer + +# Parse an incoming XBRL file +xbrl = XBRLParser.parse(file("sam-20131228.xml")) + +# Parse just the GAAP data from the xbrl object +gaap_obj = XBRLParser...
13
added seperate gaap object, serializer, and example
0
.py
py
apache-2.0
greedo/python-xbrl
10049727
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
83
adding dei parsing, relax E501 a bit
1
.py
py
apache-2.0
greedo/python-xbrl
10049728
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest import sys import os import six try: import __pypy__ with pytest.raises(XBRLPar...
102
can it build
102
.py
py
apache-2.0
greedo/python-xbrl
10049729
<NME> MANIFEST.in <BEF> ADDFILE <MSG> Create MANIFEST.in <DFF> @@ -0,0 +1,2 @@ +include *.txt +recursive-include docs *.txt
2
Create MANIFEST.in
0
.in
in
apache-2.0
greedo/python-xbrl
10049730
<NME> gaap.py <BEF> from parser import XBRLParser, GAAP, GAAPSerializer # Parse an incoming XBRL file xbrl = XBRLParser.parse(file("sam-20131228.xml")) # Parse just the GAAP data from the xbrl object gaap_obj = XBRLParser.parseGAAP(xbrl) # Serialize the GAAP data serialized = GAAPSerializer(gaap_obj) # Parse just th...
4
updated example
2
.py
py
apache-2.0
greedo/python-xbrl
10049731
<NME> requirements.txt <BEF> pytest==2.8.3 pep8==1.6.2 marshmallow>=2.15.1 beautifulsoup4==4.4.1 ordereddict==1.1 lxml==3.5.0 six==1.9.0 <MSG> Bump lxml from 3.5.0 to 4.6.2 Bumps [lxml](https://github.com/lxml/lxml) from 3.5.0 to 4.6.2. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://gi...
1
Bump lxml from 3.5.0 to 4.6.2
1
.txt
txt
apache-2.0
greedo/python-xbrl
10049732
<NME> .travis.yml <BEF> sudo: false language: python - "2.6" - "2.7" # command to install dependencies install: - pip install -r requirements.txt packages: - build-essential - python-dev - libxml2 - libxml2-dev - libxslt-dev # command to ...
2
hope this works
0
.yml
travis
apache-2.0
greedo/python-xbrl
10049733
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest import sys import os import six try: import __pypy__ except ImportError: __pypy...
248
using lookahead for context, more tests
0
.py
py
apache-2.0
greedo/python-xbrl
10049734
<NME> test_parse.py <BEF> #! /usr/bin/env python # encoding: utf-8 from xbrl import XBRLParser from xbrl import GAAP from xbrl import GAAPSerializer from xbrl import DEISerializer from xbrl import XBRLParserException import pytest import sys import os import six try: import __pypy__ except ImportError: __pypy...
0
small readme fix
1
.py
py
apache-2.0
greedo/python-xbrl
10049735
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
16
we can get DEI and Custom data too
0
.rst
rst
apache-2.0
greedo/python-xbrl
10049736
<NME> requirements.txt <BEF> pytest marshmallow beautifulsoup4 ordereddict lxml==4.6.5 six==1.9.0 <MSG> forgot to add pep8 to requirements <DFF> @@ -1,4 +1,5 @@ pytest +pep8 marshmallow beautifulsoup4 ordereddict
1
forgot to add pep8 to requirements
0
.txt
txt
apache-2.0
greedo/python-xbrl
10049737
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
3
DOC: Commenting bug fix
1
.py
py
apache-2.0
greedo/python-xbrl
10049738
<NME> parser.py <BEF> ADDFILE <MSG> symlink <DFF> @@ -0,0 +1,1 @@ +../python-xbrl/python-xbrl.py \ No newline at end of file
1
symlink
0
.py
py
apache-2.0
greedo/python-xbrl
10049739
<NME> setup.py <BEF> import re import sys #from setuptools import setup, find_packages from distutils.core import setup # Read the version from __init__ to avoid importing python-xbrl while installing. # This lets the install work when the user does not have BeautifulSoup # installed. #VERSION = re.search(r"__version...
11
added init, renamed file, setup corrected
49
.py
py
apache-2.0
greedo/python-xbrl
10049740
<NME> xbrl.py <BEF> #! /usr/bin/env python # encoding: utf-8 import re from marshmallow import Schema, fields import datetime import collections import six import logging try: from StringIO import StringIO except ImportError: from io import StringIO if 'OrderedDict' in dir(collections): odict = collectio...
4
BUG: Fixing bug where trim_decimals returns incorrectly 0 if precision is 0
1
.py
py
apache-2.0
greedo/python-xbrl
10049741
<NME> test.php <BEF> ADDFILE <MSG> Create test.php <DFF> @@ -0,0 +1,16 @@ +<html> +<body> + +<form action="test.php" method="post"> +Name: <input type="text" name="name"><br> +E-mail: <input type="text" name="email"><br> +<input type="submit"> +</form> + +</body> +</html> +<?php + echo "the input is \n"; + var_dump(...
16
Create test.php
0
.php
php
bsd-2-clause
CoolerVoid/raptor_waf
10049742
<NME> __init__.py <BEF> #! /usr/bin/env python # encoding: utf-8 from __future__ import absolute_import from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException version = (1, 1, 0) <MSG> Adding DEISerializer <DFF> @@ -3,6 +3,6 @@ from __future__ import absolute_import -from .xbrl import XBRLPars...
1
Adding DEISerializer
1
.py
py
apache-2.0
greedo/python-xbrl
10049743
<NME> .travis.yml <BEF> sudo: false language: python - "2.6" - "2.7" before_install: apt-get install libxslt1-dev libxml2 # command to install dependencies install: apt: packages: - build-essential - python-dev - libxml2 - libxml2-dev - l...
1
adding sudo
1
.yml
travis
apache-2.0
greedo/python-xbrl
10049744
<NME> README.rst <BEF> |PyPI version| |Travis-CI| |license| **python-xbrl** is a library for parsing `xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__ documents providing output as both a basic model object and serialized objects thur `marshma...
1
Updates for new context support
1
.rst
rst
apache-2.0
greedo/python-xbrl
10049745
<NME> setup.cfg <BEF> ADDFILE <MSG> Create setup.cfg <DFF> @@ -0,0 +1,5 @@ +[bdist_wheel] +# This flag says that the code is written to work on both Python 2 and Python +# 3. If at all possible, it is good practice to do this. If you cannot, you +# will need to generate wheels for each Python version that you support. ...
5
Create setup.cfg
0
.cfg
cfg
apache-2.0
greedo/python-xbrl
10049746
<NME> .travis.yml <BEF> sudo: false language: python python: - "3.4" - "3.3" - "2.7" - "2.6" addons: addons: apt: packages: - python-dev - build-essential - git-core - mercurial-git - libxml2 - libxml2-dev -...
3
trying it another way
6
.yml
travis
apache-2.0
greedo/python-xbrl
10049747
<NME> .travis.yml <BEF> sudo: false language: python python: - "3.4" - "3.3" - "2.7" - "2.6" addons: apt: packages: - build-essential # command to run tests script: - py.test --tb=line -vs - pep8 --exclude='./python-xbrl/gaap.py' # command to install dependencies instal...
1
Merge branch 'master' of https://github.com/greedo/python-xbrl
1
.yml
travis
apache-2.0
greedo/python-xbrl
10049748
<NME> match_algorithms.c <BEF> #include "utils.h" #include "match_algorithms.h" int NextMachineState(char *pat, int M, int state, int x) { // If the character N is same as next character in pattern, then simply increment state if (state < M && x == pat[state]) return state+1; register int fix=state, i=0; ...
1
Update match_algorithms.c
1
.c
c
bsd-2-clause
CoolerVoid/raptor_waf
10049749
<NME> gaap.py <BEF> #! /usr/bin/env python # encoding: utf-8 from __future__ import print_function xbrl_parser = XBRLParser(precision=0) # Parse an incoming XBRL file xbrl = xbrl_parser.parseGAAP(file("../tests/sam-20130629.xml")) # Parse just the GAAP data from the xbrl object gaap_obj = xbrl_parser.parseGAAP(xbrl...
1
fixing example to use parse instead of parseGAAP
1
.py
py
apache-2.0
greedo/python-xbrl