Tax data is the information that the Tax Administration Service has about you, such as identification data, tax address, branches and establishments of your business, your tax characteristics and information complementary to these.
Docker
- Main tools to build this projectFastAPI
- Web framework for building APIs with PythonUvicorn
- Is an ASGI web server implementation for PythonPython
- Programming language widely used in web applications, software development, data science and machine learning (ML)Pyfiscal
- Library that calculates tax data
If you want to install the dependencies and work using Docker, you can simply follow this steps.
Clone the project repository
git clone https://github.com/roottsantiago/docker-tax-data-mx.git
cd docker-tax-data-mx
There are several ways to use the project because there are those using docker-compose.yml
and Dockerfile
. Here's how to use it:
This is for the install part with docker-compose
docker-compose up -d
To stop service from docker-compose
docker-compose down
Section to install with Dockerfile
$ docker build -t docker-tax-data-mx .
To run the Docker image, run the following:
$ docker run -it -p 8000:8000 docker-tax-data-mx
To stop the Docker container:
$ docker ps
$ docker stop <container-id>
You can also just download the existing image from DockerHub.
docker pull roottsantiago/tax_data_mx
Create a container from the image.
$ docker run --name my-container -d -p 8000:8000 roottsantiago/tax_data_mx
Now visit http://localhost:8000
Distributed under the MIT License. See LICENSE
for more information