| 
1 | 1 | # pins-python  | 
2 | 2 | 
 
  | 
3 |  | -[](https://mybinder.org/v2/gh/machow/pins-python/HEAD)  | 
4 |  | - | 
5 | 3 | The pins package publishes data, models, and other Python objects, making it  | 
6 | 4 | easy to share them across projects and with your colleagues. You can pin  | 
7 | 5 | objects to a variety of pin *boards*, including folders (to share on a  | 
@@ -47,13 +45,13 @@ board.pin_write(mtcars.head(), "mtcars", type="csv")  | 
47 | 45 | 
 
  | 
48 | 46 |     Writing pin:  | 
49 | 47 |     Name: 'mtcars'  | 
50 |  | -    Version: 20230321T151326Z-120a5  | 
 | 48 | +    Version: 20230410T151442Z-120a5  | 
51 | 49 | 
 
  | 
52 | 50 | 
 
  | 
53 | 51 | 
 
  | 
54 | 52 | 
 
  | 
55 | 53 | 
 
  | 
56 |  | -    Meta(title='mtcars: a pinned 5 x 11 DataFrame', description=None, created='20230321T151326Z', pin_hash='120a54f7e0818041', file='mtcars.csv', file_size=249, type='csv', api_version=1, version=Version(created=datetime.datetime(2023, 3, 21, 15, 13, 26, 362951), hash='120a54f7e0818041'), tags=None, name='mtcars', user={}, local={})  | 
 | 54 | +    Meta(title='mtcars: a pinned 5 x 11 DataFrame', description=None, created='20230410T151442Z', pin_hash='120a54f7e0818041', file='mtcars.csv', file_size=249, type='csv', api_version=1, version=Version(created=datetime.datetime(2023, 4, 10, 15, 14, 42, 55001), hash='120a54f7e0818041'), tags=None, name='mtcars', user={}, local={})  | 
57 | 55 | 
 
  | 
58 | 56 | 
 
  | 
59 | 57 | 
 
  | 
@@ -84,22 +82,22 @@ A board on your computer is good place to start, but the real power of  | 
84 | 82 | pins comes when you use a board that’s shared with multiple people. To  | 
85 | 83 | get started, you can use `board_folder()` with a directory on a shared  | 
86 | 84 | drive or in DropBox, or if you use [Posit  | 
87 |  | -Connect](https://www.rstudio.com/products/connect/) you can use  | 
88 |  | -`board_rsconnect()`:  | 
 | 85 | +Connect](https://posit.co/products/enterprise/connect/) you can use  | 
 | 86 | +`board_connect()`:  | 
89 | 87 | 
 
  | 
90 | 88 | ```python  | 
91 | 89 | # Note that this uses one approach to connecting,  | 
92 | 90 | # the environment variables CONNECT_SERVER and CONNECT_API_KEY  | 
93 | 91 | 
 
  | 
94 |  | -board = pins.board_rsconnect()  | 
 | 92 | +board = pins.board_connect()  | 
95 | 93 | board.pin_write(tidy_sales_data, "hadley/sales-summary", type="csv")  | 
96 | 94 | ```  | 
97 | 95 | 
 
  | 
98 | 96 | Then, someone else (or an automated report) can read and use your  | 
99 | 97 | pin:  | 
100 | 98 | 
 
  | 
101 | 99 | ```python  | 
102 |  | -board = board_rsconnect()  | 
 | 100 | +board = board_connect()  | 
103 | 101 | board.pin_read("hadley/sales-summary")  | 
104 | 102 | ```  | 
105 | 103 | 
 
  | 
 | 
0 commit comments