Skip to main content

micros-cli

A skeleton command line program in Python.

Usage

To authenticate with AWS (use /home/USERNAME/.aws/ on Linux/macOS, and C:UsersUSERNAME.awsas aws-folder):

# on windows the micros authenticate <aws-folder> <aws_key> <aws_secret>

Create a new project:

micros create <project>

Deploy your files to S3:

micros deploy <project> <directory> [–create_www] [–create_hosted]

Run the project locally (use this command in the root of your project):

micros run <port>

Delete the static website and remove all files (permanent):

micros delete <project>

Show help dialog:

micros –help

Show current version:

micros –version

Options:

--help

Show this screen.

--version

Show version.

--create_www

Create a second S3 bucket with prepended ‘www.’ which redirects to the default

--create_host

Create hosted Route 53 zone on AWS

Examples:

micros authenticate ~/.aws/ 76231 18290

micros create festive_season

micros run 8080

micros deploy festive_season local/directory/

micros delete festive_season

Installation

Install dependencies:

pip install -e .[test]

Run tests:

python setup.py test

Install as a user:

pip install micros

Metadata

Release files for micros 1.0.3

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

Source distribution (sdist)

Source distribution for micros 1.0.3
File Size Uploaded Provenance
micros-1.0.3.tar.gz 7.6 kB Without provenance Details

Release files / micros-1.0.3.tar.gz

Download URL micros-1.0.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a36b967b130a5e04e141a80b3580e7d81bb2bd506f69ec6770829c50850126ed
BLAKE2b-256 checksum
How to use checksums
b5b3d539766411a174763809144f1467587d5120d709591bd62136316662e0d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for micros 1.0.3

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