Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tests/file_test.py: uses get_nodedirs function to fetch list of node ↵ | Siddharth Ravikumar | 2015-01-13 | 1 | -1/+2 | |
| | | | | directories. | |||||
* | tests/config_test.py: modified test config info. | Siddharth Ravikumar | 2015-01-13 | 1 | -8/+8 | |
| | ||||||
* | combox/file.py: added mk_nodedir function. | Siddharth Ravikumar | 2015-01-13 | 1 | -0/+13 | |
| | ||||||
* | combox/crypto.py: wrote split_and_encrypt & decrypt_and_glue functions | Siddharth Ravikumar | 2015-01-13 | 1 | -0/+61 | |
| | ||||||
* | combox/config.py: added get_nodedirs function. | Siddharth Ravikumar | 2015-01-13 | 1 | -0/+16 | |
| | ||||||
* | combox/config.py: the config functions does its job irrespective of whether ↵ | Siddharth Ravikumar | 2015-01-13 | 1 | -21/+19 | |
| | | | | combox was configure before or not. | |||||
* | updated tests/test-config/config.yaml | Siddharth Ravikumar | 2015-01-13 | 1 | -4/+4 | |
| | ||||||
* | updated tests/crypto_test.py: password read from config file. | Siddharth Ravikumar | 2015-01-13 | 1 | -9/+6 | |
| | ||||||
* | updated README | Siddharth Ravikumar | 2015-01-13 | 1 | -10/+17 | |
| | ||||||
* | rewrote the read_shards() and write_shards() function in combox/file.py. | Siddharth Ravikumar | 2015-01-13 | 3 | -34/+60 | |
| | | | | | | | | | Tests were accordingly modded and now use the test config.yaml to split and write shards to dirs. modified: combox/file.py modified: tests/crypto_test.py modified: tests/file_test.py | |||||
* | updated.gitignore | Siddharth Ravikumar | 2015-01-13 | 1 | -0/+1 | |
| | ||||||
* | added new directories and test combox config under tests/ | Siddharth Ravikumar | 2015-01-13 | 3 | -0/+11 | |
| | | | | | | | | These *will* be used in the tests. new file: tests/shard-dir-0/.foo new file: tests/shard-dir-1/.foo new file: tests/test-config/config.yaml | |||||
* | updated .gitignore | Siddharth Ravikumar | 2015-01-12 | 1 | -0/+3 | |
| | ||||||
* | updated setup.py: add platform and license info. | Siddharth Ravikumar | 2015-01-12 | 1 | -0/+2 | |
| | ||||||
* | Added `nose' for combox/config.py, combox/crypto.py, combox/file.py | Siddharth Ravikumar | 2015-01-12 | 3 | -0/+209 | |
| | | | | | | new file: tests/config_test.py new file: tests/crypto_test.py new file: tests/file_test.py | |||||
* | deleted old test files in tests/ | Siddharth Ravikumar | 2015-01-12 | 4 | -151/+0 | |
| | | | | | | | deleted: tests/combox_tests.py deleted: tests/test_config.py deleted: tests/test_crypto.py deleted: tests/test_file.py | |||||
* | modified: combox/config.py - input is read through a function instead of ↵ | Siddharth Ravikumar | 2015-01-12 | 1 | -9/+22 | |
| | | | | using raw_input directly | |||||
* | Added back ol' test files. | Siddharth Ravikumar | 2015-01-12 | 4 | -0/+121 | |
| | | | | | | | new file: tests/files/the-red-star.jpg new file: tests/test_config.py new file: tests/test_crypto.py new file: tests/test_file.py | |||||
* | deleted: combox/combox.py | Siddharth Ravikumar | 2015-01-12 | 1 | -243/+0 | |
| | ||||||
* | added back combox/config.py and combox/crypto.py | Siddharth Ravikumar | 2015-01-12 | 2 | -0/+166 | |
| | ||||||
* | added back combox/file.py | Siddharth Ravikumar | 2015-01-12 | 1 | -0/+127 | |
| | ||||||
* | updated setup.py: added `pycrypto' as a required python package. | Siddharth Ravikumar | 2015-01-12 | 1 | -1/+1 | |
| | ||||||
* | updated setup.py | Siddharth Ravikumar | 2015-01-12 | 1 | -3/+3 | |
| | ||||||
* | consolidated everything into combox/combox.py. | Siddharth Ravikumar | 2015-01-12 | 7 | -268/+127 | |
| | | | | | | | | | | | | tests were removed. will write tests using `nose` later. renamed: combox/file.py -> combox/combox.py deleted: combox/config.py deleted: combox/crypto.py renamed: tests/test_config.py -> tests/combox_tests.py deleted: tests/files/the-red-star.jpg deleted: tests/test_crypto.py deleted: tests/test_file.py | |||||
* | added setup.py | Siddharth Ravikumar | 2015-01-12 | 1 | -0/+38 | |
| | ||||||
* | updated .gitignore | Siddharth Ravikumar | 2015-01-12 | 1 | -1/+2 | |
| | ||||||
* | combox/config.py: added comment | Siddharth Ravikumar | 2015-01-12 | 1 | -1/+2 | |
| | ||||||
* | updated .gitignore | Siddharth Ravikumar | 2015-01-12 | 1 | -1/+6 | |
| | ||||||
* | moved combox/tests -> tests/ | Siddharth Ravikumar | 2015-01-12 | 5 | -0/+0 | |
| | | | | | | | | renamed: combox/tests/__init__.py -> tests/__init__.py renamed: combox/tests/files/the-red-star.jpg -> tests/files/the-red-star.jpg renamed: combox/tests/test_config.py -> tests/test_config.py renamed: combox/tests/test_crypto.py -> tests/test_crypto.py renamed: combox/tests/test_file.py -> tests/test_file.py | |||||
* | new file: etc/storage.yaml -- contains the file storage format. | Siddharth Ravikumar | 2014-11-21 | 1 | -0/+13 | |
| | ||||||
* | tests/test_config.py: test file for config.py | Siddharth Ravikumar | 2014-11-21 | 1 | -0/+22 | |
| | ||||||
* | modified: config.py -- configuration thingy is now a function + the ↵ | Siddharth Ravikumar | 2014-11-21 | 1 | -24/+29 | |
| | | | | passhrase is sha224 summed. | |||||
* | combox/config.py: initial version of combox configuration done. | Siddharth Ravikumar | 2014-11-13 | 1 | -0/+76 | |
| | ||||||
* | Updated README: edited program description. | Siddharth Ravikumar | 2014-11-06 | 1 | -2/+3 | |
| | ||||||
* | updated README: added etymology section and fixed typos. | Siddharth Ravikumar | 2014-11-06 | 1 | -3/+8 | |
| | ||||||
* | added README | Siddharth Ravikumar | 2014-11-06 | 1 | -0/+48 | |
| | ||||||
* | Added crypto.py: Contains function that encrypt data and decrypt ciphers ↵ | Siddharth Ravikumar | 2014-11-05 | 2 | -0/+136 | |
| | | | | | | | | using AES. Functions defined: pad, encrypt, decrypt, encrypt_shards, decrypt_shards. Also added: tests/test_crypto.py | |||||
* | file.py: wrote two new functions -- write_shards(), read_shards() | Siddharth Ravikumar | 2014-11-05 | 2 | -1/+51 | |
| | | | | | modified: file.py modified: tests/test_file.py | |||||
* | updated file.py: fixed typo in glue_data documentation. | Siddharth Ravikumar | 2014-10-30 | 1 | -1/+1 | |
| | ||||||
* | updated combox/file.py: renamed split_file -> split_data and glue_file -> ↵ | Siddharth Ravikumar | 2014-10-30 | 2 | -35/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | glue_data split_data: reads a string or a stream of bytes and splits them into `n' parts. glue_data: reads an array of strings / stream of bytes and glues them into one string / stream of bytes. read_file: reads content from file and returns it. --- "Python has been an important part of Google since the beginning, and remains so as the system grows and evolves. Today dozens of Google engineers use Python, and we're looking for more people with skills in this language." said Peter Norvig, director of search quality at Google, Inc. --- Google has employed a Gingrich-era Republican as its head lobbyist in DC. Now, Google is effectively helping Comcast kill the Internet as we know it, and end "Net Neutrality" forever. -- SumOfUs.org Sign a petition to ask Google to stand up for Net Neutrality: http://action.sumofus.org/a/googlesupportnn/ | |||||
* | renamed: utils/file.py -> file.py, tests/utils_file.py -> tests/test_file.py | rsiddharth | 2014-10-30 | 3 | -1/+1 | |
| | | | | utils/ directory deleted now. | |||||
* | Initial commit: File splitter & File gluer done. | rsiddharth | 2014-10-29 | 9 | -0/+795 | |
new file: .gitignore new file: AUTHORS new file: COPYING new file: combox/__init__.py new file: combox/tests/__init__.py new file: combox/tests/files/the-red-star.jpg new file: combox/tests/utils_file.py new file: combox/utils/__init__.py new file: combox/utils/file.py I like to write python FWIW. But after reading a dialect of Lisp when I come back to python, it does not look very beautiful. I guess I'm pretty convinced that there is no language that can ape the beauty of Lisp. |