Skip to main content

Extract and handy data from Ativa Investimentos website

Project description

ativa-investimentos-data 🚀

PyPI

This project is a test for creating a Django library. 🧩

Installation 📦

You can install the library using pip or poetry:

pip install ativa-investimentos-data
# or
poetry add ativa-investimentos-data

Configuration ⚙️

Add ativa_investimentos_data to the INSTALLED_APPS list in your settings.py:

INSTALLED_APPS = [
    # ... other apps ...
    'ativa_investimentos_data',
]

Migrations 🗄️

After installing and configuring, run the following commands:

python manage.py makemigrations
python manage.py migrate

🎉 Done! Your Django library is installed and ready to use.

Running locally as a developer 🖥️

To run the Django project locally during development, follow the steps below:

git clone https://github.com/GustavoRizzo/ativa-investimentos-data.git
cd ativa-investimentos-data
poetry install
poetry run task run-demo

For a more complete setup, you can run the comands:

poetry run task migrate
poetry run task createsuperuser
# or
poetry run task setup  # that will do the same as above

Tests 🧪

To run the tests, use the command below inside the demo_project directory:

poetry run task test

Linting 🧹

To check for linting issues, use the command below:

poetry run task lint
poetry run task lint-fix  # to fix issues automatically

Updating and publishing the library 🚢

To update the version, build, and publish your library, use the commands below:

poetry version patch  # to bump the version (e.g.: 0.1.0 → 0.1.1)
poetry build
tar -tzf dist/*.tar.gz | head -20  # to see the files inside the package
poetry publish

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ativa_investimentos_data-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ativa_investimentos_data-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file ativa_investimentos_data-0.1.0.tar.gz.

File metadata

  • Download URL: ativa_investimentos_data-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.0 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for ativa_investimentos_data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b9dd11f3d040db981c278986b3db2e9c193b2a743e01649ce917a16103d4f982
MD5 ce040890243894bef69ce0125ed7d05b
BLAKE2b-256 006cf5b4935118cdd23204fc777698492da78bf9bc92f8b59d215e64bebf9e40

See more details on using hashes here.

File details

Details for the file ativa_investimentos_data-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ativa_investimentos_data-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.0 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for ativa_investimentos_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92c009660f75666df7eb7ea4416ccc1dc513b9246238dded935a649bf51b16b8
MD5 c636b4a1cc03bd2ee08381a98078eb10
BLAKE2b-256 a53eabbe937bb8a42d454afa3e31348b0a6df2a2cd66d00a5c170e07a25f0c7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page