ofs.

Àº Ç÷¯±×ÀÎ ¹æÇâÀÇ ·Î¿ì ·¹º§ ºí·Î ½ºÅä¾î¸¦ Á¦°øÇÕ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

ofs. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • The Apache License 2.0
  • °Ô½ÃÀÚ À̸§:
  • Ben O'Steen, Friedrich Lindenberg and Rufus Pollock
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://bitbucket.org/okfn/

ofs. ű×


ofs. ¼³¸í

Ç÷¯±×ÀÎ ÁöÇâÀû ÀÎ Àú±Þ Blobstore¸¦ Á¦°øÇÕ´Ï´Ù ofs´Â ¹öŶ / ¿ÀºêÁ§Æ® ½ºÅ丮Áö ¶óÀ̺귯¸®ÀÔ´Ï´Ù. "bucket / object 'ÀúÀå¼ÒÀÇ ºñÆ® ½ºÆ®¸² (+ °ü·Ã ¸ÞŸ µ¥ÀÌÅÍÀÇ ºñÆ®)À» ÀúÀåÇÏ´Â °øÅë API¸¦ Á¦°øÇÕ´Ï´Ù. * ÆÄÀÏ ½Ã½ºÅÛ (+ Pairtree) * S3 ȣȯ : S3, Google ½ºÅ丮Áö, À¯Ä® Ƽ½º, Archive.org * RIAK (¹ö±â) * 'REST'ÀúÀå¼Ò (REST / RESTSTORE.PY - http://bitbucket.gry/pudo/repod/¿¡¼­ ±¸Çö ÂüÁ¶) * ¹é¾÷ Ãß°¡ ¿©±â¿¡ ¶óÀ̺귯¸®¸¦ »ç¿ëÇϽʽÿÀ : * Ãß»óÈ­ : °øÅë ÄÚµå ÀÛ¼ºÇÏÁö¸¸ ´Ù¸¥ ½ºÅ丮Áö ¹é¿£µå¸¦ »ç¿ëÇϽʽÿÀ. »ç¿ë¹ý (·ÎÄà ¹öÀü - 'Æä¾î¸®'¹× 'SimpleJSON'¿¡ µû¶ó ´Ù¸§) : >>> ofs.local °¡Á® ¿À±â >>> o = ofs () ( 'o = ofs (storage_dir = "data", uri_base = "urn : uuid :", hashing_type = "md5") '¹öŶÀ» ÁÖÀåÇϽʽÿÀ - ÀÌ´Â ±âÁ¸ ones ¸ñ·Ï¿¡ ¹öŶÀ» Ãß°¡ÇÕ´Ï´Ù >>> uuid_id = o.claim_a_bucket () >>> uuid_id'4aaa43c DF5BA44E2AD25ACDBD1CF2F70 '# ¹öŶ À̸§À» ¼±ÅÃÇϽʽÿÀ. »õ UUID°¡ ´ë½Å Çü¼ºµÇ°í ¹ÝȯµË´Ï´Ù >>> BUCKET ( "foo") >>> BUCET_ID'FO '>>> BUCET_ID = O.CLAIM_A_BUCKET ( "foo") >>> bucket_id '1BF93208521545879E79C13614CD12F0'# ÆÄÀÏÀ» ÀúÀåÇϽʽÿÀ : >>> o.put_stream (bucket_id, "foo.txt", ¿­±â ( "foo ....)) { '_label': 'foo. txt ','_content_length ': 10,'_checksum ':'md5 : 10Feda25F8DA2E2EBFBE25F8DA2E2EBFBE646EAEAEA2E2EBFBE646EAEA2E2EBFBE646EAEA2E2EBFBE646EAEA351224 ','_last_modified ':'2010-08-02T11 : 37 : 21 ','_creation_date ':'2010-08-02T11 : 37 : 21 ' } # or : >>> o.put_stream (bucket_id, "foo.txt", "asidaisdiasjdiajsidjasidji") { '_label': 'foo.txt', '_content_length': 10, '_checksum': 'md5 : 10feda25f8da2e2ebfbe646EAEA-351224', '_last_modified': '2010-08-02T11 : 37 : 21', '_creation_date': '2010-08-02T11 : 37 : 21'} # ÀϺΠ¸Å°³ º¯¼ö°¡ÀÖ´Â ÆÄÀÏ Ãß°¡ : >>> o.put_stream (bucket_id " foooo ","asidaisdiasjdiajsidjasidji ", params = {"origle_uri ":"http : // .... "}) { '_label': 'foooo', 'origion_uri': 'http : // ....', '_last_modified': '2010-08-02T11 : 39:11 ','_Checksum ':'MD5 : 3D690D7E0F4479C5A7038B8A4572D038B8A4572D038B8A4572DATE ':'2010-08-02T11 : 39 : 11 ','_Content_Length ': 26} # ÀÚ¿øÀ» °¡¸®Å°´Â ±âº» URLÀ» ¾òÀ¸½Ê½Ã¿À >>> o .get_URL (bucket_id, "foo") "ÆÄÀÏ : ///opt/ofs_store/pairtree_root/1b/f9/32/....../obj/foo" "http : // ..." "ftp : // ..."±âÁ¸ ¸ÞŸ µ¥ÀÌÅÍ¿¡ Ãß°¡ : >>> o.update_metadata (bucket_id, "foooo", { 'foo': 'bar'}) { ' _label ':'foooo ','original_uri ':'http : // .... ','_last_modified ':'2010-08-02T11 : 39 : 11 ','_checksum ':'md5 : 3D690D7E0F4479C5A7038B8A4572D08B8A4572D0FE ','_creation_date ': 39 : 11', '_content_length': 26, 'foo': 'bar'} # »èÁ¦ >>> o.remove_metadata_keys (bucket_id, "foooo", ) { '_label': 'foooo', 'origle_uri': 'http : // ....', '_last_modified': '2010-08-02T11 : 39 : 11', '_checksum': 'md5 : 3D690D7E0F4479C5A7038B8A4572D05F8A4572D0FE', '_creation_date': '2010-08-02T11 : 39 : 11', '_content_length': 26} # BLOB »èÁ¦ >>> O.Exists (bucket_id, "foooo") true >>> od el_stream (bucket_id, "foooo") >>> o.exists (bucket_id, "foooo") false # o.list_buckets () Ç׸ñ¿¡ ´ëÇÑ Ç°¸ñ¿¡ ´ëÇÑ ¹öŶÀÇ ID¸¦ ¹Ýº¹ÇÕ´Ï´Ù. ... Àμâ Ç׸ñ ... 447536aa0f1B411089D123997389D12399738E2399738E244826B0A33974480A2A26D34FA0D494D 4AAA43CDF5BA44E2AD25ACDBD1CF2F70 .... µî ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã


ofs. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

errorreport.

À¥ ÀÀ¿ë ÇÁ·Î±×·¥ÀÇ °³¹ß Áß¿¡ HTML ¿À·ù º¸°í¼­¸¦ Á¦°øÇÏ°í ¿À·ù¿¡ ´ëÇÑ À̸ÞÀÏ º¸°í¼­ occurrin ... ...

123

´Ù¿î·Îµå