Skip to main content
contas_orama
======================================

|build-status-image| |pypi-version|

Descrição
-------------

Sistema de controles de finanças pessoais.
Usuário pode criar uma conta e fazer lançamentos na mesma.

Usuário poderá ver o extrato e consultar o saldo em períodos e
datas arbitrárias.

Requerimentos
--------------

- Python
- Django
- Django REST Framework

Instalação
------------

Instalação usa ``pip``\ …

.. code:: bash

$ pip install contas_orama

Utilização
----------

1. Em settings.py adicione "contas_orama" e "rest_framework" em INSTALLED_APPS:

.. code:: bash

INSTALLED_APPS = [
...
'rest_framework',
'contas_orama',
]

Ainda em settings.py adicione o seguinte bloco de comando:

.. code:: bash

REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS':
'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 20
}

O código acima se refere a [paginação](http://www.django-rest-framework.org/api-guide/pagination/#pagination).

Dessa forma, em views onde ocorrem listagens de objetos, só serão listados
20 contas e/ou 20 lançamentos.

Mudar o parâmetro 'PAGE_SIZE' se desejar um número diferente.


2. Inclua a URL no urls.py do seu projeto.

.. code:: bash

url('^contas_orama/', include('contas_orama.urls')),

3. Crie os modelos ...

.. code:: bash

$ python manage.py migrate

4. Crie novos usuários (não é permitido acessar as contas sem login) ...

... code:: bash

$ python manage.py createsuperusers

5. Visitar http://127.0.0.1:8000/contas/ para gerir as contas.


Testando
--------

Para executar os testes:

.. code:: bash

$ python manage.py test contas_orama


Metadata

Release files for contas-orama 0.1.0

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

Source distribution (sdist)

Source distribution for contas-orama 0.1.0
File Size Uploaded Provenance
contas_orama-0.1.0.tar.gz 11.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for contas-orama 0.1.0
File Interpreter ABI Platform
contas_orama-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / contas_orama-0.1.0.tar.gz

Download URL contas_orama-0.1.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
66f8a0a65032b723ec50cfaef64ffa07ca841ea2ebe4d60bc704fc173cbe6b7e
BLAKE2b-256 checksum
How to use checksums
9cd96ab78bc82a7b003219399b7f83d3e34592ed95a64ad7c90d1d6c4de5316a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.2

Release files / contas_orama-0.1.0-py3-none-any.whl

Download URL contas_orama-0.1.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c87631ddca6d84061a761c77567f9051f131c88621abab6eac0557c636d4ea57
BLAKE2b-256 checksum
How to use checksums
ea0adc3fa8daf8672b3bf8042fb0bc2928535b640401a112c4af90b7dd78a606
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.2

Security for contas-orama 0.1.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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