Skip to main content

Stonksfeed

I need to figure out how to make local development on stonksfeed easier. Since I'm now using DynamoDB the database is in AWS which makes it little more difficult to run locally. There is however a project I can use that allows me run a docker container. SAM App allows me to run the lambda functions which is nice however it comes with its own scaffolding that is difficult to run with Terraform. This has me asking ... Do I reallly need SAM App? Can I get away with simply using the Stonksfeed package, DynamoDB local, and pytest? The AWS Lambda functions should be primarily constructed with functions contained in stonksfeed that are covered by tests.

What is the most ideal way to architect lambda functions that pull together news from RSS feeds?

I had created the RSS feeders separately but maybe I should put those in a loop.

OK, So i can have a CloudWatch event trigger my AWS lambda function like a cronjob.

I also need to update my Lambda function to check for any new articles and only update those.

I need a way to label an article as new.

In the future, I'd also like to pin articles or to delete them but those can wait for now.


rss_feeds = [
    {""},
]




This seems like a workable solution. Where should I start?

There are a few problems I need to work through.

AWS Lambda / SAM App

DynamoDB

Stonksfeed Python Package

Terraform

S3

Metadata

Release files for stonksfeed 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stonksfeed 0.1.7
File Size Uploaded Provenance
stonksfeed-0.1.7.tar.gz 16.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for stonksfeed 0.1.7
File Interpreter ABI Platform
stonksfeed-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 35.5 kB

Release files / stonksfeed-0.1.7.tar.gz

Download URL stonksfeed-0.1.7.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
70e367dd62785d80761b4879427094b38b0a3349205f39ab628bfe0edd55f44c
BLAKE2b-256 checksum
How to use checksums
4cd5a92fd19bf4ecc65cbfa5dcaabea7dc768abcce76ab08a103be40eb2bef9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.12.3 Darwin/23.4.0

Release files / stonksfeed-0.1.7-py3-none-any.whl

Download URL stonksfeed-0.1.7-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7957e4864ae557fbfd549971ddcdfc6721d55f32ab8a1cf2fdeb4376285df4c
BLAKE2b-256 checksum
How to use checksums
cfaaf9c9103221e12159ad3b49cbfb6a02fd72b01498f30b75adc06d057e3491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.12.3 Darwin/23.4.0

Security for stonksfeed 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page