Adding README and .gitignore
Removes .placeholder file
Adds Apache-2.0 LICENSE file.
Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Creates spdx package.
Adds SPDX license list v1.19 spdx/config/spdx_licenselist_v1.19.csv.
Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Creates configuration module for common constants.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds minimal tests for spdx.document module:
	module tests/document_tests.py
	class TestVersion for spdx.document.Version.
	class TestDocument for spdx.document.Document.
	class TestLicense for spdx.document.License.

Creates Initial spdx.document module:
	License class for representing single licenses, currently the model only supports licenses in the SPDX license list.
	Version class for representing document version.
	Document class top-level model representing an SPDX document.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds LICENSE_LIST_VERSION constant to spdx.config module.
Adds creation_info field to spdx.document.Document class.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds CreationInfo test cases:
	module tests/creationinfo_tests.py
	Class TestCreationInfo, test cases for spdx.creationinfo module.

Adds spdx.creationinfo module:
	Creator class, base class for entities.
	Organization, Tool and Person classes for representing Organization, Tool and Person entities.
	CreationInfo class for representing a document's creation info.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Creates package module spdx.package:
	Package class representing spdx:package RDF class.
Adds package field to spdx.document.Document class.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Creates spdx.parsers package spdx/parsers:
	Initial TagValue lexer skeleton spdx.parsers.lexers.tagvalue.

Improves spdx.document.Document documentation.
Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Changes type of config.LICENSE_LIST_VERSION from str to spdx.document.Version
Moves spdx.document.Version class to it's own module spdx.version.
Improves spdx.version.Version documentation.
Improves documentation for spdx.creationinfo module.

Updates tests to reflect changed Version class location.
Creates test file for tag/value parser tests/tag_value_parser_tests.py.
Updates tests to reflect changed LICENSE_LIST_VERSIOn type.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds UNKNOWN and NOASSERTION keywords to tag/value lexer.
Adds examples taken from https://github.com/goneall/SPDX-Tools
Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds README.md file.
Removes old README file.
Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Creates spdx.utils module:
	datetime_iso_format function for converting a datetime instance to an iso8601 string.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds spdx.review module:
	Review class for representing spdx:Review RDF class.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Changes Creator to use utils module for datetime conversions.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds reviews field to Document model

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Tag/Value lexer modifications:
	Removes generic value TOKEN.
	Changes priority of newline rule.
	Changes TEXT rule regex.
	Adds whitespace rule for ignoring extra whitespace.
	Adds KEYWORD rule for looking up keywords (tags).
	Adds LINE rule.
	Adds build method for building lexer.
	Adds token method for returning next token.
	Adds read method for reading input.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Improves src formatting according to PEP-8.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Restructured project tree:
	src/spdx is now a top-level directory.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds UNKNOWN token to tag/value lexer.
Modifies token priorities.
Lexer now removes trailing and leading whitespace from values before returning them.

Tag/value lexer tests:
	Implements stub class tests.tag_value_parser_tests.TestLexer.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>
Adds test_pacakage method to TestLexer class to test package related tokens.

Signed-off-by: Ahmed H. Ismail <ahm3d.hisham@gmail.com>