title
stringlengths
12
112
published
stringlengths
19
23
url
stringlengths
28
28
video_id
stringlengths
11
11
channel_id
stringclasses
5 values
id
stringlengths
16
31
text
stringlengths
0
596
start
float64
0
37.8k
end
float64
2.18
37.8k
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t162.0
So we'll go to our project. We have our template st card component.
162
172
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t166.0
Now there's a few things we need to do for this.
166
181
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t172.0
So the first one is create a build distribution for the react component or react part of our component.
172
186
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t181.0
So we'll come into I think here and we'll do that at the moment.
181
191
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t186.0
There's no build directory. We're going to make one.
186
195
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t191.0
So we need to open a terminal window for that.
191
203
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t195.0
So I'm just pulling one up now.
195
209
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t203.0
OK. And I'll just navigate to this directory. So documents.
203
214
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t209.0
Projects.
209
219
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t214.0
Component. Component template.
214
222
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t219.0
Template.
219
227
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t222.0
And then in there we want to go st card component.
222
233
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t227.0
We might need to change the name of this by the way. I'm not sure.
227
237
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t233.0
And front end.
233
247
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t237.0
OK. So from within here we need to use node package manager to create the build distribution.
237
253
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t247.0
So come to the article.
247
257
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t253.0
Oh that is something we also need to do. So let's not forget that.
253
263
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t257.0
So before we before we do that we also need to.
257
267
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t263.0
Go to init.py.
263
272
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t267.0
And up here we need to make sure we set release to true.
267
279
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t272.0
Now release is false whilst we're putting everything together but as soon as we want to actually distribute it
272
288
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t279.0
or publish it we need to set it to true. So beforehand this is this was being run.
279
295
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t288.0
OK. So it was saying you need to load st card component from local host 3 0 0 1.
288
302
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t295.0
Obviously when people are using this component in the future they're not going to be running the component on the local host.
295
312
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t302.0
Instead what they are going to do is they're going to download a package which is going to contain this front end build distribution directory.
302
320
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t312.0
And from there they'll get the component they will be built from there.
312
325
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t320.0
OK. So I think I don't know.
320
328
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t325.0
So anything else. Oh and also this this will not be run anymore.
325
332
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t328.0
So this is like the demo app that we were putting together before.
328
337
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t332.0
That will no longer be run. So yeah that's fine.
332
343
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t337.0
We just need to change that nothing else needs to be changed.
337
351
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t343.0
Then we're now our front end directory. We just write this npm run build.
343
361
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t351.0
Let's do that. Let me open this so we can see what's going on here.
351
372
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t361.0
Hopefully this will go well and we'll see the build directory appear in the front end on the left.
361
376
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t372.0
Might take a moment as well.
372
383
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t376.0
OK. So the build folder is ready to be deployed and we can come over here and we see we have build and it has all of these.
376
389
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t383.0
So this is our this is our component in JavaScript.
383
399
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t389.0
OK. Now with that we can we have the build distribution for the actual react component.
389
403
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t399.0
Now we need to create the distribution for the Python distribution.
399
411
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t403.0
OK. So let's go ahead and do that. Scroll down a little bit.
403
414
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t411.0
So this is one thing I think we need might need to change.
411
421
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t414.0
So changing the name parameter in setup.py because at the moment it's stcardComponent.
414
425
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t421.0
I don't think it needs to be that anymore.
421
435
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t425.0
Yeah. I think I'm going to need to change this to stcardComponent2.
425
438
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t435.0
So let's go ahead and do that.
435
444
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t438.0
OK. So we have initpy here. We're going to go to setup.py.
438
450
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t444.0
So here. We have the name of component.
444
455
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t450.0
And I think we'll also need to change this template name.
450
461
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t455.0
So this will be stcardComponent2.
455
472
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t461.0
OK. Now we should be able to go ahead and create the component or create the Python component.
461
477
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t472.0
OK. First we need to Python setup.py.
472
486
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t477.0
We need to write sdist and bdistwheel like that.
477
491
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t486.0
OK. We run that and we should find a...
486
494
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t491.0
So we need to go one more.
491
497
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t494.0
Fold it up. Then run it again.
494
503
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t497.0
So from this we'll find that we get a dist folder here. So dist.
497
512
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t503.0
So in here we should find we have this tar file and this wheel file.
503
520
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t512.0
And it's those two that we're going to upload to the Python package index.
512
522
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t520.0
And to do that we're going to need something called twine.
520
527
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t522.0
So we first install that pip install twine.
522
531
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t527.0
I already have it downloaded so I won't run it again.
527
533
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t531.0
And then we run Python.
531
537
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t533.0
m twine upload.
533
542
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t537.0
And then we need to specify that we're going to upload it to the Python package index.
537
549
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t542.0
And the only other option you have here is the test Python package index which can be quite...
542
551
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t549.0
I would recommend you look into that.
549
559
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t551.0
Like if you're putting a package out there that's quite good to test that the package is going to work.
551
565
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t559.0
I have a video and article I think on Python packages.
559
574
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t565.0
So maybe... I'll put a link to that in the description so you can take a look if you're interested in figuring this out a bit more.
565
581
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t574.0
So we're just going to go with the Python package index rather than the test Python package index.
574
588
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t581.0
And we want to specify that we're going to be pulling everything from the distribution folder.
581
593
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t588.0
So let's run that.
588
595
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t593.0
And it will ask us to login.
593
599
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t595.0
So my username...
595
604
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t599.0
Oh this is another thing. So you will need to sign up on the same website I mentioned before.
599
610
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t604.0
It's I think at pipi.org.
604
616
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t610.0
So you need to sign up and then you can go ahead and do this.
610
619
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t616.0
File already exists. OK.
616
623
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t619.0
This is because I already have...
619
625
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t623.0
You see here it's using stcard component.
623
629
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t625.0
So I need to make this stcard component 2.
625
631
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t629.0
So we'll go through everything in here.
629
635
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t631.0
So this actually I didn't need to rename that all.
631
637
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t635.0
So we can ignore that.
635
641
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t637.0
So let's rename all this to 2.
637
645
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t641.0
It's also in init.py.
641
650
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t645.0
This one we don't really need to change but we'll do anyway.
645
654
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t650.0
2. Is there anything else in there?
650
661
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t654.0
I don't think so. So delete this.
654
666
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t661.0
I'll delete the distribution folder and the build folder. I don't know.
661
670
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t666.0
OK. I'll delete that as well.
666
675
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t670.0
And then in here we need to change this because the directories change.
670
681
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t675.0
So the manifest and also in setup.py changes to 2 as well.
675
687
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t681.0
OK. Now let's rerun this again.
681
690
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t687.0
So we go to this.
687
693
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t690.0
Python. Yep. Run that.
690
697
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t693.0
Create our distribution folder.
693
703
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t697.0
And then we're going to use twine again. So hopefully this time it'll work.
697
708
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t703.0
OK. So now we have stcard component number 2.
703
712
Streamlit for ML #5.3 - Publishing Components to Pip
2022-02-28 17:00:29 UTC
https://youtu.be/lZ2EaPUnV7k
lZ2EaPUnV7k
UCv83tO5cePwHMt1952IVVHw
lZ2EaPUnV7k-t708.0
We can go ahead and actually have a look at that website.
708
718