GetStockNews PyPI packaging
newscraper-pypi holds the metadata needed to build and publish the get-stock-news distribution. The actual application source lives in ../NewScraper, which is why the pyproject.toml maps the package directory back to that folder.
Layout
pyproject.tomldeclares the project metadata, dependencies, and theget-stock-newsconsole script.README.mdis bundled into the sdist/wheel as the long description.LICENSEmirrors the MIT license used by the code inNewScraper.
Building locally
- Switch into this directory:
cd newscraper-pypi. - Prepare the build tools (only required once per environment):
python -m pip install --upgrade build twine
- Build the distributables:
python -m build
- (Optional) Verify the CLI by reinstalling the wheel:
python -m pip install --force-reinstall dist/get_stock_news-*.whl get-stock-news --help
- Run
python -m twine check dist/*before publishing.
Publishing checklist
- Ensure
../NewScraper/README.mdandNewScraper/RELEASE_GUIDE.md(or other docs you refer to) align with thepyproject.tomlversion. - Tag the git repository (if that workflow applies) before uploading.
- Upload with
python -m twine upload dist/*once sign-off is received. Do not publish until you have explicit confirmation from the release owner.
Metadata
Release files for get-stock-news 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| get_stock_news-0.1.0.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| get_stock_news-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.0 kB
Release files / get_stock_news-0.1.0.tar.gz
| Download URL | get_stock_news-0.1.0.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b05990babefc0a46ff7f317ee7dd5968da5acab260c3a3deccf9bdd50f32951c
|
|
BLAKE2b-256 checksum How to use checksums |
147112e941255a532c4da15bf41b091739f1ed5d44b235583d8d91a52e3654d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / get_stock_news-0.1.0-py3-none-any.whl
| Download URL | get_stock_news-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2818f212d78eae9533fe5538f3e7349bd1e815ae9ab7b301d35da70e26943c75
|
|
BLAKE2b-256 checksum How to use checksums |
dfda2f1b0c5b254136344712be3f0b6251e63d20581ec73c59b9f4b66ffdd981
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|