°ø¿ø

Å°ÀÇ ¼ø¼­´ë·Î°¡ÀÖ´Â Å° °ª ÀúÀå¼Ò
Áö±Ý ´Ù¿î·Îµå

°ø¿ø ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Peter Teichman
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://teichman.org

°ø¿ø ű×


°ø¿ø ¼³¸í

ParkÀº ¿­¼èÀÇ ¼ø¼­´ë·Î ¼ø¼­´ë·Î ÆÄÀ̽ãÀ»À§ÇÑ Áö¼ÓÀûÀÎ Å° °ª APIÀÔ´Ï´Ù. µÎ °¡Áö Å°¿Í °ª ¸ðµÎ ¹ÙÀ̳ʸ® ¾ÈÀüÇÕ´Ï´Ù. leveldb¿Í À¯»çÇÏÁö¸¸ ÆÄÀ̽ã Ç¥ÁØ ¶óÀ̺귯¸® ¿ÜºÎÀÇ Á¾¼Ó¼ºÀÌ ¾ø½À´Ï´Ù. ¸Å¿ì ½±°Ô »ç¿ëÇϱ⠽±°í ¸î ±â°¡ ¹ÙÀÌÆ®ÀÇ µ¥ÀÌÅÍ·Î È®Àå ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×°ÍÀº ´ç½ÅÀÌ ´ç½ÅÀÇ Çʿ並 ÃæÁ·½ÃÅ°Áö ¸øÇÒ ¶§±îÁö ´ç½ÅÀÌ °ÔÀ¸¸£°Ô µÉ ¼ö ÀÖ½À´Ï´Ù. ±×¶§±îÁö ±×°ÍÀ» »ç¿ëÇϽʽÿÀ. ""KV = park.sqlitestore ( "numbers.park") >>> kv.put ( "1", "Çϳª") >>> KV. ( "2", "2") >>> KV.put ( "3", "3") >>> kv.put ( "4", "4") >>> KV.GET ( "2" ) 'ITerable¿¡¼­ µ¥ÀÌÅÍÀÇ µÎ °¡Áö'µ¥ÀÌÅÍ ¼³Á¤ : >>> kv.put_many ( ) >>> KV.GET ( "3") 'Å°¿Í Ç׸ñÀÇ Å°¿Í Ç׸ñÀÇ TRAVERSAL, ½ÃÀÛ ¹× ³¡ ¼¾¼­ (Æ÷ÇÔ) : >>> KV.PUT ( "1", "ONE") >>> kv.put ( "2", "2") >>> kv.put ( "3", "three") >>> kv.put ( "11", "11", "11") >>> kv.put ( " 12 ","12 ") >>> ¸ñ·Ï (kv.keys () >>> ¸ñ·Ï (kv.keys (key_from = "12") >>> ¸ñ·Ï (kv.keys (key_from = "12", key_to = "2")) > >> ¸ñ·Ï (kv.items (key_from = "12")) ¸ðµç Å°¸¦ ÅëÇÑ ¹Ýº¹ ¶Ç´Â ÁÖ¾îÁø Á¢µÎ»ç°¡ÀÖ´Â Ç׸ñ : >>> kv.put ( "PET / DOG", "PET / DOG", "CANIS LUPUS FAMICIORIS") >>> KV.PUT ( "PET / CAT", "Felis Catus") >>> KV.put ( "¾Ö¿Ï µ¿¹° / ´Á´ë", "Canis Lupus") >>> ¸ñ·Ï (kv.prefix_keys ( "PET /")) >>> ¸ñ·Ï (kv.prefix_keys ( "PET /", strip_prefix = true)) ] ¹ßÀü±â¿Í Àß Áö³»±â ¶§¹®¿¡ ¿¹ : °ø¿ø ¸ðµç °è¼ö ¹øÈ£ (ÀÌ°ÍÀº ½Ã°£ÀÌ °É¸³´Ï´Ù) : def numbers () : iterTools.Count (1)ÀÇ num for key = value = str (num) valuekv.put_many (numbers () ¶Ç´Â Àç±Í ÀûÀ¸·Î ÁÖÂ÷ ·ÎÄà ÆÄÀÏ ½Ã½ºÅÛ¿¡¼­ µð·ºÅ丮ÀÇ ³»¿ë (»ó´ë °æ·Îº°·Î) : def file_item (filename) : open (filename, "r") fd : filename, fd.read () kv.put_many (file_item (os.path) ·çÆ®, µð·ºÅ丮, ÆÄÀÏÀÇ À̸§¿¡ ´ëÇÑ oS.Walk (µð·ºÅ丮)ÀÇ ÆÄÀÏ¿¡ ´ëÇÑ °¡ÀÔ (root, name)) Á¦Ç°ÀÇ È¨ÆäÀÌÁö


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

gs_export.

¾îµò°¡¿¡ »ý¼º µÈ ÇÁ·ÎÆÄÀÏÀ» ´ýÇÁÇÏ°í º¯°æ »çÇ×À» ¾Ë¸®´Â ÀÛÀº ½© ½ºÅ©¸³Æ® ...

50

´Ù¿î·Îµå